]>
CyberLeo.Net >> Repos - Github/YOURLS.git/log
ozh [Tue, 31 Dec 2013 11:50:08 +0000 (12:50 +0100)]
Ditch hhvm. But PHP 5.2 has to work.
ozh [Mon, 30 Dec 2013 21:55:54 +0000 (22:55 +0100)]
What's wrong with 5.2 again? Also, testing hhvm
/rmccue/Requests gets proper testing with 5.2
ozh [Mon, 30 Dec 2013 18:35:50 +0000 (19:35 +0100)]
Shuntable edit & delete link functions.php
Will make features such as #1572 easier
ozh [Mon, 30 Dec 2013 17:22:00 +0000 (18:22 +0100)]
Deprecated stuff to their file
ozh [Mon, 30 Dec 2013 16:59:04 +0000 (17:59 +0100)]
Merge branch 'master' into http-lib
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 ...
ozh [Mon, 30 Dec 2013 07:41:35 +0000 (08:41 +0100)]
Deprecated function
྅༻ Ǭɀħ ༄༆ཉ [Sat, 28 Dec 2013 17:21:05 +0000 (18:21 +0100)]
s/GPL/MIT/
and a few typos / engrish
྅༻ Ǭɀħ ༄༆ཉ [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
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.
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
ozh [Sat, 28 Dec 2013 12:00:18 +0000 (13:00 +0100)]
Should fix PNS bookmarklet
ozh [Fri, 27 Dec 2013 18:21:25 +0000 (19:21 +0100)]
Proper "dude, update" message
ozh [Fri, 27 Dec 2013 15:44:51 +0000 (16:44 +0100)]
Check core version - complete. ish.
Test further. Test also when upgrading.
ozh [Thu, 26 Dec 2013 22:01:42 +0000 (23:01 +0100)]
Fine tune logic. Code later.
ozh [Thu, 26 Dec 2013 20:57:08 +0000 (21:57 +0100)]
Filterable proxy definition check
ozh [Thu, 26 Dec 2013 17:04:17 +0000 (18:04 +0100)]
Proxy support. Little commit, huge feature.
ozh [Thu, 26 Dec 2013 15:12:23 +0000 (16:12 +0100)]
Add HTTP errors to debug log
ozh [Thu, 26 Dec 2013 15:04:27 +0000 (16:04 +0100)]
Merge branch 'master' into http-lib
Conflicts:
includes/functions.php
ozh [Thu, 26 Dec 2013 14:40:47 +0000 (15:40 +0100)]
Introduce function yourls_debug_log()
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.
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 )
ozh [Wed, 25 Dec 2013 13:15:17 +0000 (14:15 +0100)]
Actually use values we escape. Duh.
(cherry picked from commit
bdb51d94369d531ade1c74ebb987f2a36758aa00 )
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 )
ozh [Wed, 25 Dec 2013 12:27:54 +0000 (13:27 +0100)]
Also delete option from cache
(cherry picked from commit
93837dc0fdebf2fffad8de596a17d9e29ba4aba7 )
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 )
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 )
ozh [Wed, 25 Dec 2013 18:16:37 +0000 (19:16 +0100)]
Check against api.yourls.org/core/version/1.0/
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
ozh [Wed, 25 Dec 2013 13:15:17 +0000 (14:15 +0100)]
Actually use values we escape. Duh.
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
ozh [Wed, 25 Dec 2013 12:27:54 +0000 (13:27 +0100)]
Also delete option from cache
ozh [Wed, 25 Dec 2013 11:51:23 +0000 (12:51 +0100)]
Sync yourls_is_serialized() with its WP counterpart. Also, phpdoc.
ozh [Wed, 25 Dec 2013 11:30:35 +0000 (12:30 +0100)]
Make yourls_add_option() return something. Also, phpdocs.
ozh [Wed, 18 Dec 2013 22:49:31 +0000 (23:49 +0100)]
(we're in the middle of something -- dont use)
ozh [Wed, 18 Dec 2013 16:58:20 +0000 (17:58 +0100)]
Core version check -- first pass
ozh [Wed, 18 Dec 2013 13:27:38 +0000 (14:27 +0100)]
Un-windowsify YOURLS_CONFIGFILE
ozh [Fri, 13 Dec 2013 21:14:53 +0000 (22:14 +0100)]
Merge
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.
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
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
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)
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6
ozh [Wed, 11 Dec 2013 17:33:58 +0000 (18:33 +0100)]
Check first (with most frequent check first), then compute
ozh [Wed, 11 Dec 2013 17:31:57 +0000 (18:31 +0100)]
Don't check for spam when installing. Fixes #1558.
ozh [Wed, 11 Dec 2013 16:47:14 +0000 (17:47 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS
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
LeoColomb [Tue, 10 Dec 2013 18:24:16 +0000 (19:24 +0100)]
Fix unstored cookie on localhost
Fix #1562
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
ozh [Tue, 26 Nov 2013 20:48:38 +0000 (21:48 +0100)]
Add shorttail for iphone
Clayton Daley [Mon, 18 Nov 2013 15:11:32 +0000 (10:11 -0500)]
Fixed typo.
Clayton Daley [Mon, 18 Nov 2013 15:10:47 +0000 (10:10 -0500)]
Added filter to yourls_get_longurl_keywords. Fixed typo.
Clayton Daley [Mon, 18 Nov 2013 03:22:52 +0000 (22:22 -0500)]
Updated function name. Deprecated old version. Updated yourls-infos.php.
ozh [Sun, 17 Nov 2013 17:36:58 +0000 (18:36 +0100)]
phpass readme
ozh [Sun, 17 Nov 2013 17:20:42 +0000 (18:20 +0100)]
No more tweetdeck. Fixes #1534
྅༻ Ǭɀħ ༄༆ཉ [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
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
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
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
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)
Clayton Daley [Sat, 9 Nov 2013 23:41:28 +0000 (18:41 -0500)]
Fixed Travis error.
Clayton Daley [Sat, 9 Nov 2013 23:38:14 +0000 (18:38 -0500)]
Moved filter into named function.
Clayton Daley [Sat, 9 Nov 2013 23:31:53 +0000 (18:31 -0500)]
Clarified comment.
Clayton Daley [Sat, 9 Nov 2013 23:19:54 +0000 (18:19 -0500)]
Added sort (order by) options to new yours_get_keywords() function.
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.
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
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6
ozh [Thu, 31 Oct 2013 10:10:31 +0000 (11:10 +0100)]
s/GPL/MIT/. Closes #1528
ozh [Tue, 22 Oct 2013 22:13:32 +0000 (00:13 +0200)]
Follow @claytondaley's suggestion and pimp custom API actions
ozh [Mon, 21 Oct 2013 21:56:43 +0000 (23:56 +0200)]
Implement use of Requests - first pass.
ozh [Mon, 21 Oct 2013 20:21:35 +0000 (22:21 +0200)]
Add Requests 1.6
྅༻ Ǭɀħ ༄༆ཉ [Thu, 3 Oct 2013 13:27:57 +0000 (06:27 -0700)]
Merge pull request #1510 from alimony/patch-1
Fix 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`
྅༻ Ǭɀħ ༄༆ཉ [Wed, 18 Sep 2013 14:43:28 +0000 (07:43 -0700)]
Merge pull request #1504 from YOURLS/fix-decode
Fix multiple encoded URLs
ozh [Wed, 18 Sep 2013 14:14:53 +0000 (16:14 +0200)]
Attempt: fix multiple encoded URLs
Léo Colombaro [Wed, 11 Sep 2013 12:55:27 +0000 (14:55 +0200)]
Update CONTRIBUTING.md
LeoColomb [Sat, 7 Sep 2013 16:07:26 +0000 (18:07 +0200)]
require instead of include for more security
LeoColomb [Sat, 7 Sep 2013 15:49:56 +0000 (17:49 +0200)]
Include once to avoid duplication
LeoColomb [Fri, 6 Sep 2013 16:45:38 +0000 (18:45 +0200)]
Revert "Leo doesn't like PHP 5.2 :^Þ"
This reverts commit
7407e8e88e6f8f173538835402c22053baff1a02 .
ozh [Fri, 6 Sep 2013 15:35:20 +0000 (17:35 +0200)]
Make yourls_load_default_textdomain() return something.
Will just make UT easier.
ozh [Fri, 6 Sep 2013 15:10:33 +0000 (17:10 +0200)]
Geo IP function fix, for IPv4 and IPv6. Fixes #1482
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
ozh [Thu, 5 Sep 2013 21:35:08 +0000 (23:35 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Thu, 5 Sep 2013 21:34:45 +0000 (23:34 +0200)]
Pass parameter to yourls_hash_passwords_now(). Will make tests easier.
ozh [Thu, 5 Sep 2013 15:55:28 +0000 (17:55 +0200)]
Make install function more nuclear to improves feedback & UT
ozh [Thu, 5 Sep 2013 14:37:17 +0000 (16:37 +0200)]
Merge branch 'master' of https://github.com/ozh/YOURLS
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
ozh [Wed, 4 Sep 2013 16:33:48 +0000 (18:33 +0200)]
Check REQUEST_URI before actually running tests on it.. duh.
LeoColomb [Mon, 2 Sep 2013 17:03:50 +0000 (19:03 +0200)]
Be sure to have REQUEST_URI before trying redirection
ozh [Mon, 2 Sep 2013 16:39:37 +0000 (18:39 +0200)]
Leo doesn't like PHP 5.2 :^Þ
ozh [Mon, 2 Sep 2013 14:44:41 +0000 (16:44 +0200)]
Avoid checking an empty array when loading plugins
LeoColomb [Mon, 2 Sep 2013 10:51:25 +0000 (12:51 +0200)]
Clean travis command
LeoColomb [Mon, 2 Sep 2013 10:50:03 +0000 (12:50 +0200)]
String declaration
LeoColomb [Mon, 2 Sep 2013 10:14:29 +0000 (12:14 +0200)]
Fix Travis script
LeoColomb [Mon, 2 Sep 2013 07:52:40 +0000 (09:52 +0200)]
Fix duplicated directory
LeoColomb [Mon, 2 Sep 2013 07:48:48 +0000 (09:48 +0200)]
Add Travis translations test
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
ozh [Sat, 31 Aug 2013 17:36:25 +0000 (19:36 +0200)]
Merge branch 'master' of https://github.com/danielnr/YOURLS into danielnr-master