]> CyberLeo.Net >> Repos - Github/YOURLS.git/log
Github/YOURLS.git
10 years agoMerge branch 'master' into http-lib
ozh [Mon, 30 Dec 2013 16:59:04 +0000 (17:59 +0100)]
Merge branch 'master' into http-lib

10 years agoCleaning: deprecated stuff in their own file
ozh [Mon, 30 Dec 2013 16:53:10 +0000 (17:53 +0100)]
Cleaning: deprecated stuff in their own file

Having all deprecated functions in one place will make it easier to check whether some are still in use, see 57f69f08c ...

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 agoProper "dude, update" message
ozh [Fri, 27 Dec 2013 18:21:25 +0000 (19:21 +0100)]
Proper "dude, update" message

10 years agoCheck core version - complete. ish.
ozh [Fri, 27 Dec 2013 15:44:51 +0000 (16:44 +0100)]
Check core version - complete. ish.

Test further. Test also when upgrading.

10 years agoFine tune logic. Code later.
ozh [Thu, 26 Dec 2013 22:01:42 +0000 (23:01 +0100)]
Fine tune logic. Code later.

10 years agoFilterable proxy definition check
ozh [Thu, 26 Dec 2013 20:57:08 +0000 (21:57 +0100)]
Filterable proxy definition check

10 years agoProxy support. Little commit, huge feature.
ozh [Thu, 26 Dec 2013 17:04:17 +0000 (18:04 +0100)]
Proxy support. Little commit, huge feature.

10 years agoAdd HTTP errors to debug log
ozh [Thu, 26 Dec 2013 15:12:23 +0000 (16:12 +0100)]
Add HTTP errors to debug log

10 years agoMerge branch 'master' into http-lib
ozh [Thu, 26 Dec 2013 15:04:27 +0000 (16:04 +0100)]
Merge branch 'master' into http-lib

Conflicts:
includes/functions.php

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 agoMove api.y.org stuff to functions-http.php
ozh [Thu, 26 Dec 2013 14:07:19 +0000 (15:07 +0100)]
Move api.y.org stuff to functions-http.php

I didn't like having functions-update.php and functions-upgrade.php, made no sense.
Plus, it's all about HTTP requests.

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 against api.yourls.org/core/version/1.0/
ozh [Wed, 25 Dec 2013 18:16:37 +0000 (19:16 +0100)]
Check against api.yourls.org/core/version/1.0/

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

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.

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

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

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.

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.

10 years ago(we're in the middle of something -- dont use)
ozh [Wed, 18 Dec 2013 22:49:31 +0000 (23:49 +0100)]
(we're in the middle of something -- dont use)

10 years agoCore version check -- first pass
ozh [Wed, 18 Dec 2013 16:58:20 +0000 (17:58 +0100)]
Core version check -- first pass

10 years agoUn-windowsify YOURLS_CONFIGFILE
ozh [Wed, 18 Dec 2013 13:27:38 +0000 (14:27 +0100)]
Un-windowsify YOURLS_CONFIGFILE

10 years agoMerge
ozh [Fri, 13 Dec 2013 21:14:53 +0000 (22:14 +0100)]
Merge

10 years agoImprove yourls_get_remote_title()
ozh [Fri, 13 Dec 2013 21:08:22 +0000 (22:08 +0100)]
Improve yourls_get_remote_title()

Neat! Works nicely with various charset declared within HTML or by server response.

10 years agoyourls_get_remote_title() with Requests. TODO: a couple TODO regarding charset &...
ozh [Tue, 12 Nov 2013 10:47:40 +0000 (11:47 +0100)]
yourls_get_remote_title() with Requests. TODO: a couple TODO regarding charset & encoding, see source

10 years agoMore consistent HTTP functions.
ozh [Tue, 12 Nov 2013 09:56:07 +0000 (10:56 +0100)]
More consistent HTTP functions.

All the try/catch logic around Requests should be in this file

10 years agoMore easily filterable timeout
ozh [Tue, 12 Nov 2013 08:47:30 +0000 (09:47 +0100)]
More easily filterable timeout

(because I think it'll be the only stuff people will need to filter)

10 years agoImplement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.

10 years agoAdd Requests 1.6
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6

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 agoyourls_get_remote_title() with Requests. TODO: a couple TODO regarding charset &...
ozh [Tue, 12 Nov 2013 10:47:40 +0000 (11:47 +0100)]
yourls_get_remote_title() with Requests. TODO: a couple TODO regarding charset & encoding, see source

10 years agoMore consistent HTTP functions.
ozh [Tue, 12 Nov 2013 09:56:07 +0000 (10:56 +0100)]
More consistent HTTP functions.

All the try/catch logic around Requests should be in this file

10 years agoMore easily filterable timeout
ozh [Tue, 12 Nov 2013 08:47:30 +0000 (09:47 +0100)]
More easily filterable timeout

(because I think it'll be the only stuff people will need to filter)

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 agoMerge branch 'http-lib' of https://github.com/YOURLS/YOURLS into http-lib
ozh [Thu, 31 Oct 2013 10:20:36 +0000 (11:20 +0100)]
Merge branch 'http-lib' of https://github.com/YOURLS/YOURLS into http-lib

10 years agoImplement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.

10 years agoAdd Requests 1.6
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6

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 agoImplement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.

10 years agoAdd Requests 1.6
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6

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