]> CyberLeo.Net >> Repos - Github/YOURLS.git/log
Github/YOURLS.git
10 years agoDeprecated function
ozh [Mon, 30 Dec 2013 07:41:35 +0000 (08:41 +0100)]
Deprecated function

10 years agos/GPL/MIT/
྅༻ Ǭɀħ ༄༆ཉ [Sat, 28 Dec 2013 17:21:05 +0000 (18:21 +0100)]
s/GPL/MIT/

and a few typos / engrish

10 years agoMerge pull request #1570 from YOURLS/fix-1512
྅༻ Ǭɀħ ༄༆ཉ [Sat, 28 Dec 2013 17:16:23 +0000 (09:16 -0800)]
Merge pull request #1570 from YOURLS/fix-1512

Beat servers that trip up on `?u=http://`. Fix #1512

10 years agoNew bookmarklets that beat the ?u=http:// problem
ozh [Sat, 28 Dec 2013 16:34:11 +0000 (17:34 +0100)]
New bookmarklets that beat the ?u=http:// problem

Plus, a Tumblr bookmarklet because everybody and their granny is asking for it.

10 years agourldecode() before processing. Also, Tumblr share.
ozh [Sat, 28 Dec 2013 16:32:57 +0000 (17:32 +0100)]
urldecode() before processing. Also, Tumblr share.

Not sure why, but urldecode() is required on some host (tested on tso.io), otherwise the URL shortened ends up like http://http%3A%2F%2Fblah.cmo%2F

10 years agoShould fix PNS bookmarklet
ozh [Sat, 28 Dec 2013 12:00:18 +0000 (13:00 +0100)]
Should fix PNS bookmarklet

10 years agoIntroduce function yourls_debug_log()
ozh [Thu, 26 Dec 2013 14:40:47 +0000 (15:40 +0100)]
Introduce function yourls_debug_log()

10 years agoComments about that mysterious clone because I'll never remember that in 3 months
ozh [Wed, 25 Dec 2013 15:35:49 +0000 (16:35 +0100)]
Comments about that mysterious clone because I'll never remember that in 3 months
(cherry picked from commit 1fa67f523de93068b3713d41a187316b61d62e2b)

10 years agoActually use values we escape. Duh.
ozh [Wed, 25 Dec 2013 13:15:17 +0000 (14:15 +0100)]
Actually use values we escape. Duh.
(cherry picked from commit bdb51d94369d531ade1c74ebb987f2a36758aa00)

10 years agoUse clone to break object refs. Don't ask.
ozh [Wed, 25 Dec 2013 13:08:42 +0000 (14:08 +0100)]
Use clone to break object refs. Don't ask.

Stolen from people smarter than me:
- http://core.trac.wordpress.org/changeset/9740
- http://core.trac.wordpress.org/changeset/14777
- http://core.trac.wordpress.org/ticket/13480
(cherry picked from commit 09b989d375bac65e692277f61a84fede2fb04ae3)

10 years agoAlso delete option from cache
ozh [Wed, 25 Dec 2013 12:27:54 +0000 (13:27 +0100)]
Also delete option from cache
(cherry picked from commit 93837dc0fdebf2fffad8de596a17d9e29ba4aba7)

10 years agoSync yourls_is_serialized() with its WP counterpart. Also, phpdoc.
ozh [Wed, 25 Dec 2013 11:51:23 +0000 (12:51 +0100)]
Sync yourls_is_serialized() with its WP counterpart. Also, phpdoc.
(cherry picked from commit d5ac2cc16da8632b983f1e0dea7348fafea48c42)

10 years agoMake yourls_add_option() return something. Also, phpdocs.
ozh [Wed, 25 Dec 2013 11:30:35 +0000 (12:30 +0100)]
Make yourls_add_option() return something. Also, phpdocs.
(cherry picked from commit 7466a7eede079380342f39cb7992e8992c2ea7c9)

10 years agoCheck first (with most frequent check first), then compute
ozh [Wed, 11 Dec 2013 17:33:58 +0000 (18:33 +0100)]
Check first (with most frequent check first), then compute

10 years agoDon't check for spam when installing. Fixes #1558.
ozh [Wed, 11 Dec 2013 17:31:57 +0000 (18:31 +0100)]
Don't check for spam when installing. Fixes #1558.

10 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Wed, 11 Dec 2013 16:47:14 +0000 (17:47 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

10 years agoFunction yourls_get_longurl_keywords() to simplify logic between having duplicated...
ozh [Wed, 11 Dec 2013 16:44:36 +0000 (17:44 +0100)]
Function yourls_get_longurl_keywords() to simplify logic between having duplicated keyword or not

10 years agoFix unstored cookie on localhost
LeoColomb [Tue, 10 Dec 2013 18:24:16 +0000 (19:24 +0100)]
Fix unstored cookie on localhost

Fix #1562

10 years agoDon't try to secure HTTPS more with an extra S. Fix #1553
ozh [Wed, 4 Dec 2013 16:39:30 +0000 (17:39 +0100)]
Don't try to secure HTTPS more with an extra S. Fix #1553

10 years agoAdd shorttail for iphone
ozh [Tue, 26 Nov 2013 20:48:38 +0000 (21:48 +0100)]
Add shorttail for iphone

10 years agoFixed typo.
Clayton Daley [Mon, 18 Nov 2013 15:11:32 +0000 (10:11 -0500)]
Fixed typo.

10 years agoAdded filter to yourls_get_longurl_keywords. Fixed typo.
Clayton Daley [Mon, 18 Nov 2013 15:10:47 +0000 (10:10 -0500)]
Added filter to yourls_get_longurl_keywords. Fixed typo.

10 years agoUpdated function name. Deprecated old version. Updated yourls-infos.php.
Clayton Daley [Mon, 18 Nov 2013 03:22:52 +0000 (22:22 -0500)]
Updated function name. Deprecated old version. Updated yourls-infos.php.

10 years agophpass readme
ozh [Sun, 17 Nov 2013 17:36:58 +0000 (18:36 +0100)]
phpass readme

10 years agoNo more tweetdeck. Fixes #1534
ozh [Sun, 17 Nov 2013 17:20:42 +0000 (18:20 +0100)]
No more tweetdeck. Fixes #1534

10 years agoMerge pull request #1542 from LeoColomb/iis-fix
྅༻ Ǭɀħ ༄༆ཉ [Thu, 14 Nov 2013 13:12:07 +0000 (05:12 -0800)]
Merge pull request #1542 from LeoColomb/iis-fix

Update web.config to follow IIS 7.x restrictions

10 years agoUpdate web.config to follow IIS 7.x restrictions
LeoColomb [Wed, 13 Nov 2013 18:40:24 +0000 (19:40 +0100)]
Update web.config to follow IIS 7.x restrictions

Fix #1536
See http://support.microsoft.com/kb/942076

10 years agoFixed Travis error.
Clayton Daley [Sat, 9 Nov 2013 23:41:28 +0000 (18:41 -0500)]
Fixed Travis error.

10 years agoMoved filter into named function.
Clayton Daley [Sat, 9 Nov 2013 23:38:14 +0000 (18:38 -0500)]
Moved filter into named function.

10 years agoClarified comment.
Clayton Daley [Sat, 9 Nov 2013 23:31:53 +0000 (18:31 -0500)]
Clarified comment.

10 years agoAdded sort (order by) options to new yours_get_keywords() function.
Clayton Daley [Sat, 9 Nov 2013 23:19:54 +0000 (18:19 -0500)]
Added sort (order by) options to new yours_get_keywords() function.

10 years agoI want to be able to get all keywords for a specific URL. While the function yourls_...
Clayton Daley [Wed, 16 Oct 2013 22:54:08 +0000 (18:54 -0400)]
I want to be able to get all keywords for a specific URL.  While the function yourls_get_duplicate_keywords() exists, it returns NULL -- instead of a single keyword -- if yourls_allow_duplicate_longurls() is false.  This commit refactors the keyword logic from yourls_allow_duplicate_longurls() into yourls_get_keywords() so a keyword list can be obtained regardless of the state of YOURLS_UNIQUE_URLS.

10 years agos/GPL/MIT/. Closes #1528
ozh [Thu, 31 Oct 2013 10:10:31 +0000 (11:10 +0100)]
s/GPL/MIT/. Closes #1528

10 years agoFollow @claytondaley's suggestion and pimp custom API actions
ozh [Tue, 22 Oct 2013 22:13:32 +0000 (00:13 +0200)]
Follow @claytondaley's suggestion and pimp custom API actions

10 years agoMerge pull request #1510 from alimony/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Thu, 3 Oct 2013 13:27:57 +0000 (06:27 -0700)]
Merge pull request #1510 from alimony/patch-1

Fix file name reference.

10 years agoFix file name reference.
Markus Amalthea Magnuson [Thu, 3 Oct 2013 08:58:52 +0000 (10:58 +0200)]
Fix file name reference.

The file is called `load-yourls.php` not `yourls-load.php`

10 years agoMerge pull request #1504 from YOURLS/fix-decode
྅༻ Ǭɀħ ༄༆ཉ [Wed, 18 Sep 2013 14:43:28 +0000 (07:43 -0700)]
Merge pull request #1504 from YOURLS/fix-decode

Fix multiple encoded URLs

10 years agoAttempt: fix multiple encoded URLs
ozh [Wed, 18 Sep 2013 14:14:53 +0000 (16:14 +0200)]
Attempt: fix multiple encoded URLs

10 years agoUpdate CONTRIBUTING.md
Léo Colombaro [Wed, 11 Sep 2013 12:55:27 +0000 (14:55 +0200)]
Update CONTRIBUTING.md

10 years agorequire instead of include for more security
LeoColomb [Sat, 7 Sep 2013 16:07:26 +0000 (18:07 +0200)]
require instead of include for more security

10 years agoInclude once to avoid duplication
LeoColomb [Sat, 7 Sep 2013 15:49:56 +0000 (17:49 +0200)]
Include once to avoid duplication

10 years agoRevert "Leo doesn't like PHP 5.2 :^Þ"
LeoColomb [Fri, 6 Sep 2013 16:45:38 +0000 (18:45 +0200)]
Revert "Leo doesn't like PHP 5.2 :^Þ"

This reverts commit 7407e8e88e6f8f173538835402c22053baff1a02.

10 years agoMake yourls_load_default_textdomain() return something.
ozh [Fri, 6 Sep 2013 15:35:20 +0000 (17:35 +0200)]
Make yourls_load_default_textdomain() return something.

Will just make UT easier.

10 years agoGeo IP function fix, for IPv4 and IPv6. Fixes #1482
ozh [Fri, 6 Sep 2013 15:10:33 +0000 (17:10 +0200)]
Geo IP function fix, for IPv4 and IPv6. Fixes #1482

10 years agoMake yourls_hash_passwords_now() independent from globals
ozh [Fri, 6 Sep 2013 09:45:34 +0000 (11:45 +0200)]
Make yourls_hash_passwords_now() independent from globals

This will allow to unit test that function on an arbitrary file

10 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Thu, 5 Sep 2013 21:35:08 +0000 (23:35 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

10 years agoPass parameter to yourls_hash_passwords_now(). Will make tests easier.
ozh [Thu, 5 Sep 2013 21:34:45 +0000 (23:34 +0200)]
Pass parameter to yourls_hash_passwords_now(). Will make tests easier.

10 years agoMake install function more nuclear to improves feedback & UT
ozh [Thu, 5 Sep 2013 15:55:28 +0000 (17:55 +0200)]
Make install function more nuclear to improves feedback & UT

10 years agoMerge branch 'master' of https://github.com/ozh/YOURLS
ozh [Thu, 5 Sep 2013 14:37:17 +0000 (16:37 +0200)]
Merge branch 'master' of https://github.com/ozh/YOURLS

10 years agoSafer DB version number, and debug feedback if failure on install
ozh [Thu, 5 Sep 2013 14:36:47 +0000 (16:36 +0200)]
Safer DB version number, and debug feedback if failure on install

Related:
- https://github.com/YOURLS/YOURLS/issues/1479#issuecomment-23428747
- https://core.trac.wordpress.org/ticket/25228

10 years agoCheck REQUEST_URI before actually running tests on it.. duh.
ozh [Wed, 4 Sep 2013 16:33:48 +0000 (18:33 +0200)]
Check REQUEST_URI before actually running tests on it.. duh.

10 years agoBe sure to have REQUEST_URI before trying redirection
LeoColomb [Mon, 2 Sep 2013 17:03:50 +0000 (19:03 +0200)]
Be sure to have REQUEST_URI before trying redirection

10 years agoLeo doesn't like PHP 5.2 :^Þ
ozh [Mon, 2 Sep 2013 16:39:37 +0000 (18:39 +0200)]
Leo doesn't like PHP 5.2 :^Þ

10 years agoAvoid checking an empty array when loading plugins
ozh [Mon, 2 Sep 2013 14:44:41 +0000 (16:44 +0200)]
Avoid checking an empty array when loading plugins

10 years agoClean travis command
LeoColomb [Mon, 2 Sep 2013 10:51:25 +0000 (12:51 +0200)]
Clean travis command

10 years agoString declaration
LeoColomb [Mon, 2 Sep 2013 10:50:03 +0000 (12:50 +0200)]
String declaration

10 years agoFix Travis script
LeoColomb [Mon, 2 Sep 2013 10:14:29 +0000 (12:14 +0200)]
Fix Travis script

10 years agoFix duplicated directory
LeoColomb [Mon, 2 Sep 2013 07:52:40 +0000 (09:52 +0200)]
Fix duplicated directory

10 years agoAdd Travis translations test
LeoColomb [Mon, 2 Sep 2013 07:48:48 +0000 (09:48 +0200)]
Add Travis translations test

10 years agoRemove /e in preg_replace. Fixes #1463
ozh [Sat, 31 Aug 2013 19:43:58 +0000 (21:43 +0200)]
Remove /e in preg_replace. Fixes #1463

This is just a quick fix. This will be replaced in 2.0 with function yourls_replace_string_tokens() from the Feature-Design branch

10 years agoMerge branch 'master' of https://github.com/danielnr/YOURLS into danielnr-master
ozh [Sat, 31 Aug 2013 17:36:25 +0000 (19:36 +0200)]
Merge branch 'master' of https://github.com/danielnr/YOURLS into danielnr-master

10 years agoFix error if SERVER_SOFTWARE is not a defined key
LeoColomb [Sat, 31 Aug 2013 11:03:13 +0000 (13:03 +0200)]
Fix error if SERVER_SOFTWARE is not a defined key

10 years agoREADME Update
LeoColomb [Sat, 31 Aug 2013 10:27:53 +0000 (12:27 +0200)]
README Update

* New CI image
* Releases links

10 years agoMerge pull request #1488 from LeoColomb/master
Léo Colombaro [Sat, 31 Aug 2013 09:49:49 +0000 (02:49 -0700)]
Merge pull request #1488 from LeoColomb/master

Add Continuous Integration

10 years agoAdd emphasis on turning debug on prior to submitting an issue
ozh [Fri, 30 Aug 2013 12:52:47 +0000 (14:52 +0200)]
Add emphasis on turning debug on prior to submitting an issue

10 years agoTypo
LeoColomb [Fri, 30 Aug 2013 09:47:09 +0000 (11:47 +0200)]
Typo

10 years agoFix commands
LeoColomb [Fri, 30 Aug 2013 09:45:56 +0000 (11:45 +0200)]
Fix commands

10 years agoIntroduce Travis
LeoColomb [Fri, 30 Aug 2013 09:38:31 +0000 (11:38 +0200)]
Introduce Travis

10 years agoMerge pull request #1484 from ozh/db_port
྅༻ Ǭɀħ ༄༆ཉ [Wed, 28 Aug 2013 16:51:06 +0000 (09:51 -0700)]
Merge pull request #1484 from ozh/db_port

Handle custom MySQL port

10 years agoLooser check on MySQL server version. Fixes #1479.
ozh [Wed, 28 Aug 2013 16:40:28 +0000 (18:40 +0200)]
Looser check on MySQL server version. Fixes #1479.

10 years agoCast port if any as integer, not default value
ozh [Wed, 28 Aug 2013 13:29:33 +0000 (15:29 +0200)]
Cast port if any as integer, not default value

10 years agoRemove temp comment block
ozh [Wed, 28 Aug 2013 13:07:27 +0000 (15:07 +0200)]
Remove temp comment block

10 years agoAccept 'host:port' notation for PDO, MySQL & MySQLi. Should work.
ozh [Wed, 28 Aug 2013 13:01:13 +0000 (15:01 +0200)]
Accept 'host:port' notation for PDO, MySQL & MySQLi. Should work.

10 years agoGet ip:port for PDO/MySQL(i)
ozh [Wed, 28 Aug 2013 07:21:24 +0000 (09:21 +0200)]
Get ip:port for PDO/MySQL(i)

10 years agoImprove support for non standard DB port
ozh [Fri, 23 Aug 2013 18:30:12 +0000 (20:30 +0200)]
Improve support for non standard DB port

10 years agoUpdate ezSQL to latest revision
ozh [Wed, 28 Aug 2013 08:28:46 +0000 (10:28 +0200)]
Update ezSQL to latest revision

10 years agoGet ip:port for PDO/MySQL(i)
ozh [Wed, 28 Aug 2013 07:21:24 +0000 (09:21 +0200)]
Get ip:port for PDO/MySQL(i)

10 years agoImprove support for non standard DB port
ozh [Fri, 23 Aug 2013 18:30:12 +0000 (20:30 +0200)]
Improve support for non standard DB port

10 years agoInclude latest changes in CHANGELOG.md
LeoColomb [Mon, 19 Aug 2013 08:15:20 +0000 (10:15 +0200)]
Include latest changes in CHANGELOG.md

10 years agoMerge pull request #1425 from YOURLS/Fix-GeoIP
Léo Colombaro [Mon, 19 Aug 2013 08:08:38 +0000 (01:08 -0700)]
Merge pull request #1425 from YOURLS/Fix-GeoIP

Improve & Update GeoIP

10 years agoUpdate latest GeoIP
LeoColomb [Mon, 19 Aug 2013 08:04:15 +0000 (10:04 +0200)]
Update latest GeoIP

10 years agoAdded @OmmJan's VB.Net in the readme. Closes #1449
ozh [Wed, 7 Aug 2013 18:03:07 +0000 (20:03 +0200)]
Added @OmmJan's VB.Net in the readme. Closes #1449

10 years agoReworked @nicwaller's patch
ozh [Tue, 6 Aug 2013 18:38:22 +0000 (20:38 +0200)]
Reworked @nicwaller's patch

10 years agoAddresses issue #1463. Replaces preg_replace '\e' modifier with preg_replace_callback...
Daniel Royston [Mon, 5 Aug 2013 07:00:48 +0000 (00:00 -0700)]
Addresses issue #1463. Replaces preg_replace '\e' modifier with preg_replace_callback as '\e' is depracated as of PHP 5.5.0.

10 years agoFix README
LeoColomb [Sat, 27 Jul 2013 17:01:10 +0000 (19:01 +0200)]
Fix README

10 years agoAdd License link in readme
Léo Colombaro [Sat, 27 Jul 2013 16:48:20 +0000 (18:48 +0200)]
Add License link in readme

10 years agoInclude license text
Léo Colombaro [Sat, 27 Jul 2013 16:46:20 +0000 (18:46 +0200)]
Include license text

Following recommendations by the Free Software Foundation

10 years agoMerge pull request #1457 from hawaiianchimp/patch-1
Léo Colombaro [Sun, 21 Jul 2013 21:25:50 +0000 (14:25 -0700)]
Merge pull request #1457 from hawaiianchimp/patch-1

Fixed bug which displayed direct count instead of redirect count

10 years agoFixed bug which displayed direct count instead of redirect count
Sean Thomas Burke [Tue, 16 Jul 2013 00:49:43 +0000 (17:49 -0700)]
Fixed bug which displayed direct count instead of redirect count

The pie graph shows both redirect and direct statistics, but the count only reflects the direct count in the summary.

10 years agoInclude title parameter in the API example
Nic Waller [Sun, 14 Jul 2013 18:36:56 +0000 (11:36 -0700)]
Include title parameter in the API example

Title should be included as one of the post fields in the example so that people are aware of it, and also aware that NOT including it incurs a significant (10x) performance penalty.

See related issue https://github.com/YOURLS/YOURLS/issues/1454

10 years agoAdd myYOURLS app
྅༻ Ǭɀħ ༄༆ཉ [Mon, 24 Jun 2013 12:08:25 +0000 (14:08 +0200)]
Add myYOURLS app

super neat font icon on http://duocode.co/apps/myyourls/, we should steal this :)

10 years agoFurther improvements
ozh [Wed, 12 Jun 2013 19:12:12 +0000 (21:12 +0200)]
Further improvements

- offload phpass functions to their own reusable functions
- clean option table after config has been hashed

10 years agoMore checks, a few comments, and the phpass test file
ozh [Wed, 12 Jun 2013 16:56:07 +0000 (18:56 +0200)]
More checks, a few comments, and the phpass test file

10 years agoUpdate comments about auto-encrypting passwords
ozh [Wed, 12 Jun 2013 14:54:54 +0000 (16:54 +0200)]
Update comments about auto-encrypting passwords

10 years agoFixing and improving stuff on @nicwaller's patch
ozh [Wed, 12 Jun 2013 14:51:49 +0000 (16:51 +0200)]
Fixing and improving stuff on @nicwaller's patch

- works with "login" => "pass" and 'login' => 'pass'
- works with malformed arrays
- works with any password & special chars
- better error reporting
- l10n instead of hardcoded strings
- less var declared

10 years agoRemove var_dump()
ozh [Tue, 11 Jun 2013 15:38:11 +0000 (17:38 +0200)]
Remove var_dump()

10 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Mon, 10 Jun 2013 21:06:26 +0000 (23:06 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

10 years agoEncode URL & titles in social bookmarklets
ozh [Mon, 10 Jun 2013 21:05:49 +0000 (23:05 +0200)]
Encode URL & titles in social bookmarklets

10 years agoDon't show Quick Share stuff on error. Fixes #1427
ozh [Mon, 10 Jun 2013 15:00:10 +0000 (17:00 +0200)]
Don't show Quick Share stuff on error. Fixes #1427

10 years agoUpdate GeoIP script
LeoColomb [Fri, 7 Jun 2013 15:05:11 +0000 (17:05 +0200)]
Update GeoIP script

* Full support IPv6
* Improvements