Giter Club home page Giter Club logo

casimir's People

Contributors

benjaminarthurt avatar chusopr avatar nhoizey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

casimir's Issues

Transfer ownership

@chusopr I'm not using Casimir anymore, and have no time to maintain it. Would you like me to transfer ownership of the repository to you, so that you can maintain it?

API breaks when reCaptcha enabled.

API breaks when reCaptcha enabled. returning "Error: Input provided by user is not valid". Perhaps this could be fixed by having an API key config option that allows reCaptcha to be bypassed when using the API.

Question about the license

Hi I'm using wordpress to make a theme for a company, well they want to have a url shortener integration.

My question is if I can work with your url shortener script or Im not allowed. ( I gonna modify style and probably some parts. )

Sorry Im not good with license :P

BTW: Epic job :D

Correct configuration for nginx

Hi:

If someone is using nginx for the shortner, this configuration is gonna help you:

server {

listen 256.15.14.123:80;  (IP:PORT)
server_name example.net www.example.net;
root /var/www/example.net;
include php;
access_log  /var/www/cdlst.net-access.log;
error_log  /var/www/cdlst.net-error.log;   


if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }

}

Hope that helps you :D

Cannot view shortened links

I'm using Kali Linux (Debian) with Apache 2.2 and MySql 5.5.31. I installed the lastest version of Casimir and have followed your documentation instructions. I can shorten a link, yet when I click on the shortened link, it doesn't bring me to the site.

I have the site enabled with "a2enmod enabled".

screen shot 2013-07-16 at 10 55 11 am
[The above picture shows I have a shortened link]
screen shot 2013-07-16 at 10 55 27 am
[This above picture shows that I clicked on the link]
screen shot 2013-07-16 at 11 26 47 am
[The above picture shows that I have a MySQL entry]

'?' missing in link from stats

shortened links start with a '?' after the host part. But the links created in the stats do not have these. Therefore the links in the stats do not work.

Accept-Language is not used if country code is not provided

Since setlocale($category, $locale) only works if $locale has country code (xx_XX), an Accept-Language without contry code won't load expected language.

For example, an Accept-Language header like this:

Accept-Language es,de-DE

Will load German when Spanish is expected.

Hide git files

When the webroot is cloned from git, the default .htaccess file allows access to the .git and .gitignore.

caching system ?

what about adding a minimalist page caching system to casimir ?

mysqli php 5.5 deprecated errors

hi

I fixed it in : neofutur@f08d74a
converted all the mysql to mysqli functions.

but couldnt find a way to send a pull request for just that commit.

will remove errors like :

PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in html/inc/Casimir.php

Tabs and spaces mixed in indentation

Some people prefer to use tabs to indent code and some others prefer spaces.
For sure, both of them have good reasons to make their choices.
What sucks is mixing spaces and tabs when indenting code mainly because not all the editors use the same spaces-per-tab configuration making it uncomfortable to read code.
Please make a choice! Indent with tabs xor spaces!
indent

deprecated ereg

Deprecated: Function ereg() is deprecated in /inc/Casimir.php on line 31 sur gw.gd
= not php 5.3 friendly ;(

I ll try to fix it in my fork

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.