]> CyberLeo.Net >> Repos - Github/YOURLS.git/log
Github/YOURLS.git
9 years agoClose output buffer. Should fix UT on Travis.
ozh [Mon, 3 Nov 2014 22:46:54 +0000 (23:46 +0100)]
Close output buffer. Should fix UT on Travis.

9 years agoRevert "Better yourls_int2string() & yourls_string2int()"
ozh [Mon, 3 Nov 2014 22:40:00 +0000 (23:40 +0100)]
Revert "Better yourls_int2string() & yourls_string2int()"

Sadly, this may fail for large numbers or large strings. Thanks, unit tests!

9 years agoBetter yourls_int2string() & yourls_string2int()
ozh [Mon, 3 Nov 2014 21:57:41 +0000 (22:57 +0100)]
Better yourls_int2string() & yourls_string2int()

50% faster and without needing BCMaths extension.
Tested with 20,000,000 random numbers and random strings to make sure they produce same results as previous functions

9 years agoHopefully suppress timezone warnings. Fixes #1804.
ozh [Sun, 2 Nov 2014 20:10:41 +0000 (21:10 +0100)]
Hopefully suppress timezone warnings. Fixes #1804.

9 years agoRemove 5.2 from Travis
ozh [Sun, 2 Nov 2014 10:57:44 +0000 (11:57 +0100)]
Remove 5.2 from Travis

It made it impossible to test 5.3+ only PHP syntax. From now on and till the min version requirement is officially 5.3, consider YOURLS to be "most likely 5.2 compatible"

9 years agoAllow hooks with anonymous closures. See #1800.
ozh [Sun, 2 Nov 2014 08:51:08 +0000 (09:51 +0100)]
Allow hooks with anonymous closures. See #1800.

9 years agoGoogle favicon update. Fixes #1803
ozh [Sat, 1 Nov 2014 14:48:53 +0000 (15:48 +0100)]
Google favicon update. Fixes #1803

9 years agoStill stabbing #1783
ozh [Sat, 1 Nov 2014 12:08:33 +0000 (13:08 +0100)]
Still stabbing #1783

9 years agoAllow editing of URLs containing %
ozh [Fri, 31 Oct 2014 22:27:51 +0000 (23:27 +0100)]
Allow editing of URLs containing %

Die, issue #1783 !

9 years agoLess noob requests about why they've been "hacked"
ozh [Fri, 31 Oct 2014 21:33:31 +0000 (22:33 +0100)]
Less noob requests about why they've been "hacked"

Seriously. https://www.google.com/search?q=%22we+have+hacked+this+title%22

9 years agoMerge pull request #1798 from chtaube/docfix/ie
྅༻ Ǭɀħ ༄༆ཉ [Thu, 30 Oct 2014 18:05:02 +0000 (19:05 +0100)]
Merge pull request #1798 from chtaube/docfix/ie

Make readme.html work on IE11. Fixes #1797

9 years agoFixes getTabs() in readme.html to work on IE 11
Christian Taube [Wed, 29 Oct 2014 22:51:30 +0000 (22:51 +0000)]
Fixes getTabs() in readme.html to work on IE 11

d.innerHTML returns `<li class="Tab" id="MoreTab" ...` on IE 11, while
the regex expects `<li id="MoreTab" ...` It seems like IE is changing
the order of the attributes within the tags.

9 years agoMerge pull request #1792 from YOURLS/authcookie
྅༻ Ǭɀħ ༄༆ཉ [Tue, 28 Oct 2014 20:30:49 +0000 (21:30 +0100)]
Merge pull request #1792 from YOURLS/authcookie

Fix domain/subdomain cookie mismatch. Fixes #1673.

9 years agoOopsie, EOF newline
ozh [Tue, 28 Oct 2014 20:28:59 +0000 (21:28 +0100)]
Oopsie, EOF newline

9 years agoDelegate cookie name to its own function
ozh [Tue, 28 Oct 2014 20:23:04 +0000 (21:23 +0100)]
Delegate cookie name to its own function

9 years agoUnique cookie name per install
ozh [Tue, 28 Oct 2014 20:06:28 +0000 (21:06 +0100)]
Unique cookie name per install

9 years agoMerge pull request #1788 from YOURLS/searchany
྅༻ Ǭɀħ ༄༆ཉ [Tue, 28 Oct 2014 19:18:35 +0000 (20:18 +0100)]
Merge pull request #1788 from YOURLS/searchany

Search across all fields

9 years agoCONCAT_WS instead of CONCAT
ozh [Tue, 28 Oct 2014 19:17:35 +0000 (20:17 +0100)]
CONCAT_WS instead of CONCAT

9 years agoMerge pull request #1791 from chtaube/docfix/1
྅༻ Ǭɀħ ༄༆ཉ [Tue, 28 Oct 2014 15:30:48 +0000 (16:30 +0100)]
Merge pull request #1791 from chtaube/docfix/1

Updated readme.html to point to nginx config in wiki. Removed outdated links.

9 years agoUpdated readme to point to nginx config in wiki. Removed outdated links.
Christian Taube [Tue, 28 Oct 2014 14:41:29 +0000 (14:41 +0000)]
Updated readme to point to nginx config in wiki. Removed outdated links.

9 years agoSearch across all fields
ozh [Mon, 27 Oct 2014 20:03:19 +0000 (21:03 +0100)]
Search across all fields

9 years agoExtra space for translation without trailing space
ozh [Mon, 27 Oct 2014 17:12:07 +0000 (18:12 +0100)]
Extra space for translation without trailing space

That trailing space in the translatable string was dumb, eh.

9 years agoHail contributors
ozh [Mon, 27 Oct 2014 11:45:22 +0000 (12:45 +0100)]
Hail contributors

9 years agoDeprecated function leftover, oopsie.
ozh [Sun, 26 Oct 2014 18:00:37 +0000 (19:00 +0100)]
Deprecated function leftover, oopsie.

9 years agoDeprecate yourls_apply_filters (plural). Fixes #1671.
ozh [Sun, 26 Oct 2014 15:34:41 +0000 (16:34 +0100)]
Deprecate yourls_apply_filters (plural). Fixes #1671.

9 years agoAdd title to API action "expand". Closes #1759
ozh [Sat, 25 Oct 2014 18:34:25 +0000 (20:34 +0200)]
Add title to API action "expand". Closes #1759

Thanks @digitaltoast, neat idea.

9 years agoMerge pull request #1728 from armsby/master
྅༻ Ǭɀħ ༄༆ཉ [Sat, 25 Oct 2014 18:28:59 +0000 (20:28 +0200)]
Merge pull request #1728 from armsby/master

Use rawurldecode() instead of urldecode()

Use case: shorten http://example.com/a+b/ and edit it.

9 years agoMerge pull request #1782 from YOURLS/bookmarklets
྅༻ Ǭɀħ ༄༆ཉ [Sat, 25 Oct 2014 17:20:55 +0000 (19:20 +0200)]
Merge pull request #1782 from YOURLS/bookmarklets

Readable JS for bookmarklets

9 years agoReadable JS code for bookmarklets, hell yeah.
ozh [Sat, 25 Oct 2014 08:04:37 +0000 (10:04 +0200)]
Readable JS code for bookmarklets, hell yeah.

Fixes #1710.

9 years agoMerge branch 'master' into bookmarklets
ozh [Fri, 24 Oct 2014 15:20:35 +0000 (17:20 +0200)]
Merge branch 'master' into bookmarklets

9 years agoDon't prefill empty input field. Fixes #1716.
ozh [Fri, 24 Oct 2014 15:11:59 +0000 (17:11 +0200)]
Don't prefill empty input field. Fixes #1716.

No need to use a jQuery fallback, by the way.

9 years agoMore API samples & details. Fixes #1764.
ozh [Fri, 24 Oct 2014 14:39:05 +0000 (16:39 +0200)]
More API samples & details. Fixes #1764.

Also, good bye Magra. Couldn't see it anymore. Welcome Fira Sans.

9 years agoClean <head>. Fixes #1762.
ozh [Fri, 24 Oct 2014 13:42:15 +0000 (15:42 +0200)]
Clean <head>. Fixes #1762.

9 years agoMerge pull request #1777 from silsha/master
྅༻ Ǭɀħ ༄༆ཉ [Sat, 11 Oct 2014 08:19:52 +0000 (10:19 +0200)]
Merge pull request #1777 from silsha/master

Remove 'gay' from filterlist

9 years agoMerge pull request #1776 from szepeviktor/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Sat, 11 Oct 2014 08:19:11 +0000 (10:19 +0200)]
Merge pull request #1776 from szepeviktor/patch-1

no **S**trong in GH markdown

9 years agoRemove 'gay' from filterlist
silsha [Fri, 10 Oct 2014 23:03:44 +0000 (01:03 +0200)]
Remove 'gay' from filterlist

9 years agono **S**trong in markdown
Viktor Szépe [Fri, 10 Oct 2014 22:44:59 +0000 (00:44 +0200)]
no **S**trong in markdown

9 years agoMore noob friendliness
ozh [Tue, 9 Sep 2014 13:03:55 +0000 (15:03 +0200)]
More noob friendliness

- Explain DB driver. Fixes #1721
- No, it's not define('http://mydomain.com', 'http://site.com'). Fixes several issues.
- Emphasize use of a text editor, see https://github.com/YOURLS/YOURLS/issues/1715#issuecomment-54931268

9 years agoStuff loaded over HTTPS to prevent mixed content
ozh [Fri, 5 Sep 2014 19:36:10 +0000 (21:36 +0200)]
Stuff loaded over HTTPS to prevent mixed content

9 years agoAdd debug info if auth cookie cannot be stored
ozh [Thu, 4 Sep 2014 11:15:55 +0000 (13:15 +0200)]
Add debug info if auth cookie cannot be stored

See #1754 https://github.com/YOURLS/YOURLS/issues/1754#issuecomment-54304363

9 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Wed, 3 Sep 2014 18:48:54 +0000 (20:48 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

9 years agoNew URL for shorttail
ozh [Wed, 3 Sep 2014 18:48:33 +0000 (20:48 +0200)]
New URL for shorttail

9 years agoInclude BookmarkletGen
ozh [Sat, 30 Aug 2014 19:47:17 +0000 (21:47 +0200)]
Include BookmarkletGen

9 years agoMerge pull request #1748 from magno32/staging
྅༻ Ǭɀħ ༄༆ཉ [Thu, 21 Aug 2014 21:11:29 +0000 (23:11 +0200)]
Merge pull request #1748 from magno32/staging

Adding a line break for URLs that are very long.

9 years agoAdding a line break for URLs that are very long.
Justin Smith [Thu, 21 Aug 2014 19:48:18 +0000 (14:48 -0500)]
Adding a line break for URLs that are very long.

9 years agoUpdate functions-html.php
armsby [Tue, 15 Jul 2014 09:51:31 +0000 (11:51 +0200)]
Update functions-html.php

switched from urldecode to rawurldecode in line 464 as urldecode decode + sign in to space and invalidate the url rawurldecode does not

9 years agoAdd an empty composer.json to push YOURLS on Packagist
Leo Colombaro [Sat, 28 Jun 2014 15:38:48 +0000 (17:38 +0200)]
Add an empty composer.json to push YOURLS on Packagist

This will allow fetching YOURLS via Composer

10 years agoRevert "More helpful "URL exists" notice. Fixes #1676"
ozh [Tue, 6 May 2014 12:08:49 +0000 (14:08 +0200)]
Revert "More helpful "URL exists" notice. Fixes #1676"

Revert 8085ddb -- messages should not contain HTML as they are also
used by the API

10 years agoMore helpful "URL exists" notice. Fixes #1676
ozh [Tue, 6 May 2014 09:38:47 +0000 (11:38 +0200)]
More helpful "URL exists" notice. Fixes #1676

10 years agoAvoid notices with incomplete plugin headers
ozh [Tue, 6 May 2014 09:29:21 +0000 (11:29 +0200)]
Avoid notices with incomplete plugin headers

10 years agoNo need to substr() URLs. Fixes #1689
ozh [Mon, 5 May 2014 13:48:12 +0000 (15:48 +0200)]
No need to substr() URLs. Fixes #1689

URLs are stored in the DB as `text`, so the limit enforced by MySQL will be 65536 -- no need to enforce anything ourselves.

10 years agoMerge pull request #1684 from rbeede/master
྅༻ Ǭɀħ ༄༆ཉ [Sun, 27 Apr 2014 17:41:15 +0000 (19:41 +0200)]
Merge pull request #1684 from rbeede/master

Remove XSS from examplepage.php. Fixes #1683.

10 years agoUpdated generic error message
Rodney Beede [Sat, 26 Apr 2014 18:37:16 +0000 (13:37 -0500)]
Updated generic error message

10 years agoRemove XSS vulnerability
Rodney Beede [Sat, 26 Apr 2014 18:36:32 +0000 (13:36 -0500)]
Remove XSS vulnerability

Removed the unsanitized $_SERVER variables to remove the XSS vulnerability.

10 years agoMake sprintf'ed strings sprintf-safe. Fixes #1665.
ozh [Wed, 26 Mar 2014 21:53:36 +0000 (22:53 +0100)]
Make sprintf'ed strings sprintf-safe. Fixes #1665.

10 years agoIf applicable, always echo the favicon. Fixes #1656
ozh [Mon, 17 Mar 2014 20:09:52 +0000 (21:09 +0100)]
If applicable, always echo the favicon. Fixes #1656

10 years agoShowcase: CUNY
ozh [Tue, 25 Feb 2014 19:56:30 +0000 (20:56 +0100)]
Showcase: CUNY

10 years agoFilterable number of rows in admin view. Fixes #1641
ozh [Mon, 17 Feb 2014 07:34:06 +0000 (08:34 +0100)]
Filterable number of rows in admin view. Fixes #1641

Related: #1354

10 years agoMove requires in their own function (for UT)
ozh [Sun, 9 Feb 2014 12:13:06 +0000 (13:13 +0100)]
Move requires in their own function (for UT)

10 years agophpdoc clarification
ozh [Sat, 8 Feb 2014 21:44:39 +0000 (22:44 +0100)]
phpdoc clarification

10 years agoAllow unsetting locale
ozh [Sat, 8 Feb 2014 20:07:34 +0000 (21:07 +0100)]
Allow unsetting locale

10 years agoNotice if translation not found. Fixes #1628
ozh [Sat, 8 Feb 2014 10:23:50 +0000 (11:23 +0100)]
Notice if translation not found. Fixes #1628

10 years agoConstructors must not return values
ozh [Fri, 7 Feb 2014 21:23:29 +0000 (22:23 +0100)]
Constructors must not return values

10 years agoComply to RFC 3986. Fixes #1630.
ozh [Fri, 7 Feb 2014 21:00:33 +0000 (22:00 +0100)]
Comply to RFC 3986. Fixes #1630.

10 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Fri, 7 Feb 2014 14:54:34 +0000 (15:54 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

10 years agoHeh. Just found out about str_shuffle().
ozh [Fri, 7 Feb 2014 14:14:50 +0000 (15:14 +0100)]
Heh. Just found out about str_shuffle().

10 years agoCheck if DB server is dead
ozh [Fri, 7 Feb 2014 10:16:44 +0000 (11:16 +0100)]
Check if DB server is dead

10 years agoRequire connection handle before running a query
ozh [Thu, 6 Feb 2014 13:02:06 +0000 (14:02 +0100)]
Require connection handle before running a query

10 years agoDon't forget to call parents' constructors, duh.
ozh [Thu, 6 Feb 2014 12:33:42 +0000 (13:33 +0100)]
Don't forget to call parents' constructors, duh.

10 years agoSync ezSQL
ozh [Tue, 4 Feb 2014 15:29:02 +0000 (16:29 +0100)]
Sync ezSQL

10 years agoConstructor constructor defined twice twice, oops
ozh [Tue, 4 Feb 2014 15:22:50 +0000 (16:22 +0100)]
Constructor constructor defined twice twice, oops

10 years agoMove function to db file. Comply to debug mode.
ozh [Tue, 4 Feb 2014 15:12:12 +0000 (16:12 +0100)]
Move function to db file. Comply to debug mode.

10 years agoSimpler base encoding checks
ozh [Sun, 2 Feb 2014 19:30:57 +0000 (20:30 +0100)]
Simpler base encoding checks

10 years agoChecks. Fix #1608.
ozh [Sun, 2 Feb 2014 18:07:14 +0000 (19:07 +0100)]
Checks. Fix #1608.

10 years agoSend requests to AYO using `https` whenever possible
ozh [Sun, 2 Feb 2014 16:18:45 +0000 (17:18 +0100)]
Send requests to AYO using `https` whenever possible

10 years agoSync ezSQL
ozh [Sat, 1 Feb 2014 17:19:11 +0000 (18:19 +0100)]
Sync ezSQL

10 years agoDon't check for new version when updating or installing.
ozh [Sat, 1 Feb 2014 16:49:15 +0000 (17:49 +0100)]
Don't check for new version when updating or installing.

Fixes #1617.

10 years agoReorder, newsletter, issue template
྅༻ Ǭɀħ ༄༆ཉ [Tue, 28 Jan 2014 13:28:04 +0000 (14:28 +0100)]
Reorder, newsletter, issue template

10 years agoBe sure we will not see any test files
Léo Colombaro [Mon, 27 Jan 2014 17:49:30 +0000 (18:49 +0100)]
Be sure we will not see any test files

10 years agoWow! Cool .gitattributes do cool stuff.
Léo Colombaro [Sat, 25 Jan 2014 21:11:21 +0000 (22:11 +0100)]
Wow! Cool .gitattributes do cool stuff.

* Diff driver: http://git-scm.com/docs/gitattributes#_generating_diff_text
* Exclude if archive: http://git-scm.com/book/ch7-2.html#Exporting-Your-Repository & http://alexbilbie.com/2012/11/exclude-objects-with-gitattributes/

10 years agoBetter wording attempt.
ozh [Sat, 18 Jan 2014 16:06:10 +0000 (17:06 +0100)]
Better wording attempt.

Because, well, https://twitter.com/ozh/statuses/424572484789493760

10 years agoFix phpdoc comments
ozh [Fri, 17 Jan 2014 19:53:58 +0000 (20:53 +0100)]
Fix phpdoc comments

10 years agoMerge pull request #1602 from boboman13/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Mon, 13 Jan 2014 15:07:08 +0000 (07:07 -0800)]
Merge pull request #1602 from boboman13/patch-1

Removes extraneous <?php and ?> tags.

10 years agoPreparing for 1.7.1 & fix Travis 5.2
ozh [Mon, 13 Jan 2014 14:58:58 +0000 (15:58 +0100)]
Preparing for 1.7.1 & fix Travis 5.2

10 years agoRemoves extraneous <?php and ?> tags.
boboman13 [Mon, 13 Jan 2014 07:37:58 +0000 (23:37 -0800)]
Removes extraneous <?php and ?> tags.

This commit removes the extraneous <?php and ?> tags. These are not only removed for code readability, as the PHP code is much easier to read in this new form, but also as with PHP, extraneous spacing and line breaks between the <?php and ?> tags will cause extra spacing and line breaks sent to the client. This also means that there will be saved bandwidth.

10 years agoBump to 1.7 1.7
ozh [Thu, 9 Jan 2014 20:46:53 +0000 (21:46 +0100)]
Bump to 1.7

10 years ago+ proxy support
ozh [Wed, 8 Jan 2014 17:24:14 +0000 (18:24 +0100)]
+ proxy support

10 years agoGeoIP DBs - january 2014
ozh [Wed, 8 Jan 2014 17:21:39 +0000 (18:21 +0100)]
GeoIP DBs - january 2014

10 years agoLink to phone home explanations
ozh [Wed, 8 Jan 2014 16:12:05 +0000 (17:12 +0100)]
Link to phone home explanations

10 years agoUndeprecate: yourls_has_interface() is used in the future
ozh [Wed, 8 Jan 2014 16:10:20 +0000 (17:10 +0100)]
Undeprecate: yourls_has_interface() is used in the future

10 years agoDead links are dead
ozh [Wed, 8 Jan 2014 15:28:32 +0000 (16:28 +0100)]
Dead links are dead

10 years agoWrong comment
ozh [Wed, 8 Jan 2014 15:08:28 +0000 (16:08 +0100)]
Wrong comment

10 years agoWrong version
ozh [Tue, 7 Jan 2014 17:20:32 +0000 (18:20 +0100)]
Wrong version

10 years agostats include 'num_pages'
ozh [Mon, 6 Jan 2014 15:02:37 +0000 (16:02 +0100)]
stats include 'num_pages'

10 years ago1.7-RC1
ozh [Fri, 3 Jan 2014 08:29:33 +0000 (09:29 +0100)]
1.7-RC1

10 years agoRephrase & reorder the changelog
ozh [Fri, 3 Jan 2014 00:20:13 +0000 (01:20 +0100)]
Rephrase & reorder the changelog

This is the sales pitch for geeks. Has to be sexy! :)

10 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Thu, 2 Jan 2014 18:23:15 +0000 (19:23 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

10 years agoEscape all the things.
ozh [Thu, 2 Jan 2014 18:22:46 +0000 (19:22 +0100)]
Escape all the things.

Damnit, it's ashaming. Fixes #1475, #1532 & #1531

10 years agoUpdate CHANGELOG.md
Léo Colombaro [Thu, 2 Jan 2014 15:43:01 +0000 (16:43 +0100)]
Update CHANGELOG.md

10 years agoFix search for "http://..."
ozh [Thu, 2 Jan 2014 13:09:48 +0000 (14:09 +0100)]
Fix search for "http://..."

Fixes #1576, followup to #1512