]>
CyberLeo.Net >> Repos - Github/YOURLS.git/log
ozh [Sun, 3 May 2015 10:37:13 +0000 (12:37 +0200)]
Filter helper functions
return true, false, null, zero, '', []
ozh [Wed, 29 Apr 2015 14:51:35 +0000 (16:51 +0200)]
Allow brackets in URLs. Fixes #1814
I can't think of a good reason not to.
྅༻ Ǭɀħ ༄༆ཉ [Wed, 29 Apr 2015 14:34:34 +0000 (16:34 +0200)]
Merge pull request #1894 from YOURLS/atlowercase
Improve lowercasing of scheme & domain
Fixes #1890
ozh [Wed, 29 Apr 2015 14:25:09 +0000 (16:25 +0200)]
Correct @since, duh
ozh [Wed, 29 Apr 2015 14:20:56 +0000 (16:20 +0200)]
Improve lowercasing of scheme & domain
Fixes #1890
ozh [Sun, 26 Apr 2015 17:13:26 +0000 (19:13 +0200)]
Remove unnecessary compat functions
I mean, dude. PHP 4. Please.
ozh [Sat, 25 Apr 2015 09:47:05 +0000 (11:47 +0200)]
Avoid notice when not set
In case a custom DB layer has rewritten the SQL query for instance
ozh [Thu, 23 Apr 2015 21:44:20 +0000 (23:44 +0200)]
Allow custom table creation on install
This allows for instance an SQLite driver which requires slightly modified tables
ozh [Thu, 23 Apr 2015 21:38:27 +0000 (23:38 +0200)]
Make sure we can bypass newer version check
ozh [Mon, 20 Apr 2015 17:50:06 +0000 (19:50 +0200)]
For hackers: add comment about preventing XSS
ozh [Thu, 16 Apr 2015 18:04:04 +0000 (20:04 +0200)]
Use same timestamp in redirect than in new link
Ozh,
I found a problem in Yourls. It's not necessarily a problem with the code, but a problem none the less.
In functions.php, the timestamp is being written to the yourls_log and yourls_url db's differently, and depending on how the server is set up, it can cause a problem.
function yourls_log_redirect() writes the time with MySQL's NOW() keyword, while function yourls_insert_link_in_db() writes it with PHP's date('Y-m-d H:i:s'). On the webhost that I'm using, MySQL is using the server's time, not UTC, so it's 4 hours different than PHP's time, since PHP is being set with date_default_timezone_set( 'UTC' );
This drove me nuts for quite awhile until I realized what was going on. Once I switched from NOW() to date('Y-m-d H:i:s') the problem went away and all my times are now the same. I believe both functions should use the same system for time so as to avoid this scenario.
BTW, great script! I know I probably shouldn't ask ;) but... any idea when the next version will be released? I read something about version 2.0 awhile back, but haven't heard anything since.
Thanks,
Frank
ozh [Thu, 16 Apr 2015 17:42:01 +0000 (19:42 +0200)]
Wording. Fixes #1846
྅༻ Ǭɀħ ༄༆ཉ [Thu, 16 Apr 2015 14:09:16 +0000 (16:09 +0200)]
Merge pull request #1882 from YOURLS/noobsite
Smarter domain convention in examples and source
ozh [Fri, 10 Apr 2015 20:46:06 +0000 (22:46 +0200)]
Smarter domain convention in examples and source
In config, readmes, editable files: the generic YOURLS install will be http://your-own-domain-here.com/ so that noob users get an obvious warning when they misconfigure something
In source comments, presumably read by hackers who have a clue, the generic YOURLS install will be http://sho.rt/. The generic long URL can be http://example.com/something-whatever
Closes #1841
྅༻ Ǭɀħ ༄༆ཉ [Thu, 12 Mar 2015 20:45:30 +0000 (21:45 +0100)]
Prevent installation with default username/password.
Fixes #1864
BestNa.me Labs [Tue, 10 Mar 2015 18:43:46 +0000 (19:43 +0100)]
Merge pull request #1 from YOURLS/master
Update from original
Léo Colombaro [Tue, 10 Mar 2015 18:13:40 +0000 (19:13 +0100)]
Merge pull request #1862 from BstName/bugfix
Correction in yourls_die(): 'html_head' should be 'html_footer'
BestNa.me Labs [Sun, 8 Mar 2015 18:38:59 +0000 (19:38 +0100)]
Correction in yourls_die(): 'html_head' should be 'html_footer'
Now checking for html_footer action before the call to yourls_html_footer() (code was checking for html_head action instead, which is wrong).
྅༻ Ǭɀħ ༄༆ཉ [Sat, 28 Feb 2015 23:57:01 +0000 (00:57 +0100)]
Merge pull request #1854 from fredl99/patch-1
Update functions-l10n.php
Fredl [Sat, 28 Feb 2015 16:33:21 +0000 (17:33 +0100)]
Update functions-l10n.php
´yourls_load_custom_textdomain´ can't read *.po files when ´$path´ is an absolute path on the server and the leading slash is removed. (´trim´ removes on both ends)
ozh [Mon, 15 Dec 2014 06:54:07 +0000 (07:54 +0100)]
Add tini.link in the showcase
ozh [Fri, 5 Dec 2014 15:46:56 +0000 (16:46 +0100)]
Ignore my tests files :-P :poop:
ozh [Sun, 30 Nov 2014 10:49:25 +0000 (11:49 +0100)]
Sync with recent Requests commits. Fixes #1796
ozh [Wed, 5 Nov 2014 21:54:33 +0000 (22:54 +0100)]
Fetch titles with an optional fallback string
ozh [Wed, 5 Nov 2014 21:35:51 +0000 (22:35 +0100)]
Stricter scheme detection
Valid: something1337:somepath
Invalid: 1337something:somepath
ozh [Wed, 5 Nov 2014 16:13:16 +0000 (17:13 +0100)]
No need to optimize here
ozh [Mon, 3 Nov 2014 22:46:54 +0000 (23:46 +0100)]
Close output buffer. Should fix UT on Travis.
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!
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
ozh [Sun, 2 Nov 2014 20:10:41 +0000 (21:10 +0100)]
Hopefully suppress timezone warnings. Fixes #1804.
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"
ozh [Sun, 2 Nov 2014 08:51:08 +0000 (09:51 +0100)]
Allow hooks with anonymous closures. See #1800.
ozh [Sat, 1 Nov 2014 14:48:53 +0000 (15:48 +0100)]
Google favicon update. Fixes #1803
ozh [Sat, 1 Nov 2014 12:08:33 +0000 (13:08 +0100)]
Still stabbing #1783
ozh [Fri, 31 Oct 2014 22:27:51 +0000 (23:27 +0100)]
Allow editing of URLs containing %
Die, issue #1783 !
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
྅༻ Ǭɀħ ༄༆ཉ [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
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.
྅༻ Ǭɀħ ༄༆ཉ [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.
ozh [Tue, 28 Oct 2014 20:28:59 +0000 (21:28 +0100)]
Oopsie, EOF newline
ozh [Tue, 28 Oct 2014 20:23:04 +0000 (21:23 +0100)]
Delegate cookie name to its own function
ozh [Tue, 28 Oct 2014 20:06:28 +0000 (21:06 +0100)]
Unique cookie name per install
྅༻ Ǭɀħ ༄༆ཉ [Tue, 28 Oct 2014 19:18:35 +0000 (20:18 +0100)]
Merge pull request #1788 from YOURLS/searchany
Search across all fields
ozh [Tue, 28 Oct 2014 19:17:35 +0000 (20:17 +0100)]
CONCAT_WS instead of CONCAT
྅༻ Ǭɀħ ༄༆ཉ [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.
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.
ozh [Mon, 27 Oct 2014 20:03:19 +0000 (21:03 +0100)]
Search across all fields
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.
ozh [Mon, 27 Oct 2014 11:45:22 +0000 (12:45 +0100)]
Hail contributors
ozh [Sun, 26 Oct 2014 18:00:37 +0000 (19:00 +0100)]
Deprecated function leftover, oopsie.
ozh [Sun, 26 Oct 2014 15:34:41 +0000 (16:34 +0100)]
Deprecate yourls_apply_filters (plural). Fixes #1671.
ozh [Sat, 25 Oct 2014 18:34:25 +0000 (20:34 +0200)]
Add title to API action "expand". Closes #1759
Thanks @digitaltoast, neat idea.
྅༻ Ǭɀħ ༄༆ཉ [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.
྅༻ Ǭɀħ ༄༆ཉ [Sat, 25 Oct 2014 17:20:55 +0000 (19:20 +0200)]
Merge pull request #1782 from YOURLS/bookmarklets
Readable JS for bookmarklets
ozh [Sat, 25 Oct 2014 08:04:37 +0000 (10:04 +0200)]
Readable JS code for bookmarklets, hell yeah.
Fixes #1710.
ozh [Fri, 24 Oct 2014 15:20:35 +0000 (17:20 +0200)]
Merge branch 'master' into bookmarklets
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.
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.
ozh [Fri, 24 Oct 2014 13:42:15 +0000 (15:42 +0200)]
Clean <head>. Fixes #1762.
྅༻ Ǭɀħ ༄༆ཉ [Sat, 11 Oct 2014 08:19:52 +0000 (10:19 +0200)]
Merge pull request #1777 from silsha/master
Remove 'gay' from filterlist
྅༻ Ǭɀħ ༄༆ཉ [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
silsha [Fri, 10 Oct 2014 23:03:44 +0000 (01:03 +0200)]
Remove 'gay' from filterlist
Viktor Szépe [Fri, 10 Oct 2014 22:44:59 +0000 (00:44 +0200)]
no **S**trong in markdown
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
ozh [Fri, 5 Sep 2014 19:36:10 +0000 (21:36 +0200)]
Stuff loaded over HTTPS to prevent mixed content
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
ozh [Wed, 3 Sep 2014 18:48:54 +0000 (20:48 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Wed, 3 Sep 2014 18:48:33 +0000 (20:48 +0200)]
New URL for shorttail
ozh [Sat, 30 Aug 2014 19:47:17 +0000 (21:47 +0200)]
Include BookmarkletGen
྅༻ Ǭɀħ ༄༆ཉ [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.
Justin Smith [Thu, 21 Aug 2014 19:48:18 +0000 (14:48 -0500)]
Adding a line break for URLs that are very long.
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
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
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
ozh [Tue, 6 May 2014 09:38:47 +0000 (11:38 +0200)]
More helpful "URL exists" notice. Fixes #1676
ozh [Tue, 6 May 2014 09:29:21 +0000 (11:29 +0200)]
Avoid notices with incomplete plugin headers
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.
྅༻ Ǭɀħ ༄༆ཉ [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.
Rodney Beede [Sat, 26 Apr 2014 18:37:16 +0000 (13:37 -0500)]
Updated generic error message
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.
ozh [Wed, 26 Mar 2014 21:53:36 +0000 (22:53 +0100)]
Make sprintf'ed strings sprintf-safe. Fixes #1665.
ozh [Mon, 17 Mar 2014 20:09:52 +0000 (21:09 +0100)]
If applicable, always echo the favicon. Fixes #1656
ozh [Tue, 25 Feb 2014 19:56:30 +0000 (20:56 +0100)]
Showcase: CUNY
ozh [Mon, 17 Feb 2014 07:34:06 +0000 (08:34 +0100)]
Filterable number of rows in admin view. Fixes #1641
Related: #1354
ozh [Sun, 9 Feb 2014 12:13:06 +0000 (13:13 +0100)]
Move requires in their own function (for UT)
ozh [Sat, 8 Feb 2014 21:44:39 +0000 (22:44 +0100)]
phpdoc clarification
ozh [Sat, 8 Feb 2014 20:07:34 +0000 (21:07 +0100)]
Allow unsetting locale
ozh [Sat, 8 Feb 2014 10:23:50 +0000 (11:23 +0100)]
Notice if translation not found. Fixes #1628
ozh [Fri, 7 Feb 2014 21:23:29 +0000 (22:23 +0100)]
Constructors must not return values
ozh [Fri, 7 Feb 2014 21:00:33 +0000 (22:00 +0100)]
Comply to RFC 3986. Fixes #1630.
ozh [Fri, 7 Feb 2014 14:54:34 +0000 (15:54 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Fri, 7 Feb 2014 14:14:50 +0000 (15:14 +0100)]
Heh. Just found out about str_shuffle().
ozh [Fri, 7 Feb 2014 10:16:44 +0000 (11:16 +0100)]
Check if DB server is dead
ozh [Thu, 6 Feb 2014 13:02:06 +0000 (14:02 +0100)]
Require connection handle before running a query
ozh [Thu, 6 Feb 2014 12:33:42 +0000 (13:33 +0100)]
Don't forget to call parents' constructors, duh.
ozh [Tue, 4 Feb 2014 15:29:02 +0000 (16:29 +0100)]
Sync ezSQL
ozh [Tue, 4 Feb 2014 15:22:50 +0000 (16:22 +0100)]
Constructor constructor defined twice twice, oops
ozh [Tue, 4 Feb 2014 15:12:12 +0000 (16:12 +0100)]
Move function to db file. Comply to debug mode.
ozh [Sun, 2 Feb 2014 19:30:57 +0000 (20:30 +0100)]
Simpler base encoding checks
ozh [Sun, 2 Feb 2014 18:07:14 +0000 (19:07 +0100)]
Checks. Fix #1608.