]>
CyberLeo.Net >> Repos - Github/YOURLS.git/log
྅༻ Ǭɀħ ༄༆ཉ [Fri, 26 Oct 2018 17:04:53 +0000 (19:04 +0200)]
Merge pull request #2452 from adigitalife/patch-1
Update yourls_add_new_link function
adigitalife [Fri, 26 Oct 2018 06:48:12 +0000 (09:48 +0300)]
Update functions.php
I added $return to post_add_new_link:
yourls_do_action( 'post_add_new_link', $url, $keyword, $title, $return );
This makes it easier to add conditional actions. For example, I might want to do certain actions depending on whether $return['status'] is 'success' or 'fail'.
྅༻ Ǭɀħ ༄༆ཉ [Tue, 18 Sep 2018 01:00:50 +0000 (03:00 +0200)]
Merge pull request #2439 from dgw/login-form-hooks
Add top, bottom, and end hooks to the login form
dgw [Mon, 17 Sep 2018 20:46:25 +0000 (15:46 -0500)]
Add top, bottom, and end hooks to the login form
Plugins can use these to add extra fields, for OpenID login, accepting
two-factor authentication codes, etc.
Fixes #2436.
྅༻ Ǭɀħ ༄༆ཉ [Fri, 14 Sep 2018 18:24:13 +0000 (20:24 +0200)]
Merge pull request #2435 from dgw/hands-off-referrers
Remove referrer meta tag from admin head
dgw [Fri, 14 Sep 2018 06:39:18 +0000 (01:39 -0500)]
Remove referrer meta tag from admin head
It's not clear why this tag was added, and it's even less clear what
benefit there would be to keeping it. Its only real function seems to be
leaking YOURLS' admin panel location (see #2432), which is not desirable.
A hook (or hooks) will likely be added to let plugins control referrer
behavior, by adding the relevant HTTP header(s) and/or meta tag(s).
ozh [Sun, 9 Sep 2018 16:21:37 +0000 (18:21 +0200)]
More celebrity stuff
ozh [Sun, 5 Aug 2018 17:34:22 +0000 (19:34 +0200)]
Tell (Google)bots not to index short URLs
Should fix #2202
Matthew C [Wed, 1 Aug 2018 13:49:36 +0000 (15:49 +0200)]
Fixed link to contributors graph.
྅༻ Ǭɀħ ༄༆ཉ [Sun, 20 May 2018 11:12:27 +0000 (13:12 +0200)]
Merge pull request #2399 from ochristi/fix_missing_tag
fixed missing closing pre-tag for debug out
o0c [Sat, 19 May 2018 12:49:47 +0000 (14:49 +0200)]
fixed missing closing pre-tag for debug out
Léo Colombaro [Thu, 3 May 2018 15:24:08 +0000 (17:24 +0200)]
Update issue templates to follow new GitHub features
See https://blog.github.com/2018-05-02-issue-template-improvements/
Léo Colombaro [Mon, 30 Apr 2018 10:42:05 +0000 (12:42 +0200)]
Remove majordome-bot noise for long reply for now
Would be relevant to introduce filter on username
dgw [Sat, 3 Mar 2018 06:28:21 +0000 (00:28 -0600)]
Merge pull request #2370 from dgw/2356-sort-by-title
Add option to sort by title in admin UI
dgw [Thu, 1 Mar 2018 13:44:00 +0000 (07:44 -0600)]
Add option to sort by title in admin UI
Implements & resolves #2356
guessi [Fri, 23 Feb 2018 15:24:33 +0000 (23:24 +0800)]
Fix LICENSE link in README.md
[skip ci]
྅༻ Ǭɀħ ༄༆ཉ [Mon, 15 Jan 2018 06:43:44 +0000 (07:43 +0100)]
Merge pull request #2357 from dgw/share-tweaks
Share tweaks: https + 280 chars on Twitter
dgw [Sun, 14 Jan 2018 18:58:16 +0000 (11:58 -0700)]
Use HTTPS for Twitter/Facebook sharers
As long as I was touching the share code, it seemed silly to leave plain
HTTP links in there.
dgw [Sun, 14 Jan 2018 18:57:24 +0000 (11:57 -0700)]
Twitter share length changed 140 -> 280
Resolves #2352
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Jan 2018 09:12:41 +0000 (10:12 +0100)]
Merge pull request #2345 from joshp23/bypass-yourls_html_addnew()
add filter to bypass yourls_html_addnew()
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Jan 2018 09:12:12 +0000 (10:12 +0100)]
Fix spacing & add braces
Josh Panter [Fri, 5 Jan 2018 16:00:18 +0000 (11:00 -0500)]
allow variables to pass when bypassing html_addnew
Josh Panter [Thu, 4 Jan 2018 00:21:11 +0000 (19:21 -0500)]
add filter to bypass yourls_html_addnew()
Pop VeKind [Mon, 4 Dec 2017 22:54:14 +0000 (06:54 +0800)]
Exception - Cannot find config.php - Wrong Directory Bug - Subdirectory Install
The YOURLS directory was removed but the dirname() structure was not
changed. Throws exception - Cannot find config.php - in subdirectory
install.
྅༻ Ǭɀħ ༄༆ཉ [Fri, 1 Dec 2017 07:12:56 +0000 (08:12 +0100)]
Merge pull request #1935 from cemeyer2/cemeyer2-proper-http-codes
use correct http status code for rate limiting
Léo Colombaro [Thu, 30 Nov 2017 13:07:27 +0000 (14:07 +0100)]
fix probot .github links
relative links do not work
Léo Colombaro [Wed, 29 Nov 2017 21:57:54 +0000 (22:57 +0100)]
fix probot config
missing `.payload` attribute
https://probot.github.io/api/latest/global.html#payload
྅༻ Ǭɀħ ༄༆ཉ [Wed, 29 Nov 2017 21:24:08 +0000 (22:24 +0100)]
Merge pull request #2328 from YOURLS/add-code-of-conduct-1
Add Code of Conduct
Léo Colombaro [Wed, 29 Nov 2017 21:09:02 +0000 (22:09 +0100)]
Add Code of Conduct
https://www.contributor-covenant.org/
Léo Colombaro [Tue, 28 Nov 2017 17:19:34 +0000 (18:19 +0100)]
improve PHPDoc and Exception usage
Léo Colombaro [Tue, 28 Nov 2017 18:16:01 +0000 (19:16 +0100)]
strict psr-4 structure
flat yourls packages
ref http://www.php-fig.org/psr/psr-4/
Léo Colombaro [Tue, 28 Nov 2017 16:30:19 +0000 (17:30 +0100)]
improve composer with extra metadata
explicite ref to issues reporting location and project type
Léo Colombaro [Tue, 28 Nov 2017 16:10:50 +0000 (17:10 +0100)]
remove travis builds for hhvm
hhvm is not anymore mainstream since php7
Léo Colombaro [Tue, 28 Nov 2017 12:17:27 +0000 (13:17 +0100)]
rewords and typos for probot
[ci skip]
Léo Colombaro [Mon, 27 Nov 2017 22:53:17 +0000 (23:53 +0100)]
first probot usage try config
using https://github.com/bkeepers/workflow
Léo Colombaro [Tue, 28 Nov 2017 12:09:05 +0000 (13:09 +0100)]
license meta tweaks
simplify and fix MIT license content to match legal requirements, which
are sometimes very strict
see https://choosealicense.com/licenses/mit/
see https://opensource.org/licenses/MIT
[ci skip]
Léo Colombaro [Mon, 27 Nov 2017 22:33:54 +0000 (23:33 +0100)]
fix issue template typos and duplications
Léo Colombaro [Mon, 27 Nov 2017 22:26:00 +0000 (23:26 +0100)]
move contribution docs inside .github
྅༻ Ǭɀħ ༄༆ཉ [Mon, 27 Nov 2017 20:42:34 +0000 (21:42 +0100)]
Merge pull request #2323 from flokX/master
Update placeholder to https://
Florian [Sun, 26 Nov 2017 12:09:41 +0000 (13:09 +0100)]
Update placeholder to https://
and motivate users to use the secure version of the url.
྅༻ Ǭɀħ ༄༆ཉ [Mon, 6 Nov 2017 20:36:09 +0000 (21:36 +0100)]
Merge pull request #2314 from YOURLS/findconfig
Fix "find config"
྅༻ Ǭɀħ ༄༆ཉ [Sun, 5 Nov 2017 22:33:08 +0000 (23:33 +0100)]
Contributors gallery
ozh [Fri, 3 Nov 2017 09:30:20 +0000 (10:30 +0100)]
Fix "find config".
realpath() seems to have many caveats depending on the platform
Léo Colombaro [Thu, 2 Nov 2017 10:09:08 +0000 (11:09 +0100)]
missing slash for path handling in Config
fixes #2312
fixes #2311
྅༻ Ǭɀħ ༄༆ཉ [Thu, 2 Nov 2017 12:04:33 +0000 (13:04 +0100)]
Added bit about stats
[skip ci]
྅༻ Ǭɀħ ༄༆ཉ [Sun, 29 Oct 2017 17:25:04 +0000 (18:25 +0100)]
Merge pull request #2294 from YOURLS/bootstrap
Make bootstrap more modular
྅༻ Ǭɀħ ༄༆ཉ [Sat, 7 Oct 2017 08:29:34 +0000 (10:29 +0200)]
Merge pull request #2301 from YOURLS/checkbranch
Match YOURLS branch with Unit test branch
ozh [Sat, 7 Oct 2017 08:27:39 +0000 (10:27 +0200)]
Remove [Remove xdebug]
We don't care about speeding tests up. [skip ci]
Léo Colombaro [Thu, 5 Oct 2017 15:25:54 +0000 (17:25 +0200)]
improve issue template
ozh [Mon, 2 Oct 2017 06:28:54 +0000 (08:28 +0200)]
Remove Xdebug for performance, apparently
ozh [Sun, 1 Oct 2017 19:41:16 +0000 (21:41 +0200)]
`git branch --list` doesn't work
ozh [Sat, 30 Sep 2017 18:23:19 +0000 (20:23 +0200)]
ceedee dot dot, bleh
ozh [Sat, 30 Sep 2017 18:16:57 +0000 (20:16 +0200)]
Checkout on UT if possible
ozh [Sat, 30 Sep 2017 17:47:50 +0000 (19:47 +0200)]
Match YOURLS branch with Unit test branch
ozh [Mon, 18 Sep 2017 20:54:26 +0000 (22:54 +0200)]
Rename Exception class for clarity
ozh [Sun, 17 Sep 2017 13:43:32 +0000 (15:43 +0200)]
Fix docblock
[skip ci]
ozh [Sun, 17 Sep 2017 11:50:15 +0000 (13:50 +0200)]
Rearrange a bit logic in the constructor
྅༻ Ǭɀħ ༄༆ཉ [Thu, 14 Sep 2017 19:39:45 +0000 (21:39 +0200)]
Working JS API example
Fixes #2257
[skip ci]
ozh [Thu, 14 Sep 2017 17:55:24 +0000 (19:55 +0200)]
Let's throw Exceptions on error
It will scare Average Joe even more, and is a bit more testable, although tests here are trivial
ozh [Thu, 14 Sep 2017 13:54:39 +0000 (15:54 +0200)]
More modularity
ozh [Wed, 13 Sep 2017 20:48:24 +0000 (22:48 +0200)]
Attempt at making bootstrap more modular
The idea is to try and make the unit test bootstrapping less stupid with less duplicated code.
ozh [Wed, 13 Sep 2017 20:45:48 +0000 (22:45 +0200)]
Toggle error reporting as well as SQL log
ozh [Wed, 13 Sep 2017 20:33:50 +0000 (22:33 +0200)]
More checks before loading plugins.
(Will help boot process of unit tests)
ozh [Tue, 12 Sep 2017 19:57:15 +0000 (21:57 +0200)]
WTF indenting
[skip ci]
ozh [Thu, 7 Sep 2017 22:42:51 +0000 (00:42 +0200)]
Move mbstring compat stuff out into vendor
Let's trust more symfony than our half baked 15 lines function.
ozh [Thu, 7 Sep 2017 21:49:17 +0000 (23:49 +0200)]
Update composer for http_build_url
[skip ci]
ozh [Thu, 7 Sep 2017 16:16:55 +0000 (18:16 +0200)]
Move http_build_url out to /vendor
Will make things cleaner.
Also, refactored a bit yourls_lowercase_scheme_domain() for clarity.
ozh [Thu, 7 Sep 2017 16:01:10 +0000 (18:01 +0200)]
Allow readme.md as well as README.md
྅༻ Ǭɀħ ༄༆ཉ [Wed, 6 Sep 2017 20:04:59 +0000 (22:04 +0200)]
Merge pull request #2289 from YOURLS/issue2288
More checks at init for need to install. Should fix #2288
ozh [Wed, 6 Sep 2017 19:58:28 +0000 (21:58 +0200)]
More checks at init for need to install
྅༻ Ǭɀħ ༄༆ཉ [Tue, 5 Sep 2017 19:48:06 +0000 (21:48 +0200)]
Merge pull request #2279 from YOURLS/trusty
Fix tests on PHP 5.3
྅༻ Ǭɀħ ༄༆ཉ [Tue, 5 Sep 2017 19:46:05 +0000 (21:46 +0200)]
Merge pull request #2282 from YOURLS/aurasql
Remove ezSQL, use PDO + Aura.Sql
ozh [Sun, 3 Sep 2017 20:23:30 +0000 (22:23 +0200)]
Remove leftover @todo note
[skip ci]
ozh [Sun, 3 Sep 2017 20:11:48 +0000 (22:11 +0200)]
More PDO::getAttribute wrapping
Damn you PHP 5.4
ozh [Sun, 3 Sep 2017 19:53:03 +0000 (21:53 +0200)]
Connect to DB before getting attribute
Attempt to fix the "PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute'" thrown on PHP 5.4. It could be that issuing PDO::getAttribute() before being connected to the DB prevents exception from being caught
ozh [Sun, 3 Sep 2017 17:50:20 +0000 (19:50 +0200)]
PDOException instead of just Exception
ozh [Sun, 3 Sep 2017 17:39:40 +0000 (19:39 +0200)]
Test for PDO::getAttribute
ozh [Sun, 3 Sep 2017 16:43:27 +0000 (18:43 +0200)]
Case sensitive pathname. Duuuh.
ozh [Sun, 3 Sep 2017 12:57:58 +0000 (14:57 +0200)]
Reset tests
ozh [Sat, 2 Sep 2017 17:09:56 +0000 (19:09 +0200)]
Update ydb->query() functions
[skip ci]
ozh [Sat, 2 Sep 2017 17:08:39 +0000 (19:08 +0200)]
Deprecated escape func; tweak string validation
[skip ci]
ozh [Fri, 1 Sep 2017 17:50:50 +0000 (19:50 +0200)]
Update ydb->get_results()
[skip ci]
ozh [Fri, 1 Sep 2017 16:34:35 +0000 (18:34 +0200)]
Update ydb->get_var()
[skip ci]
ozh [Fri, 1 Sep 2017 15:30:33 +0000 (17:30 +0200)]
Replace ydb->get_col()
[skip ci]
ozh [Thu, 31 Aug 2017 19:03:59 +0000 (21:03 +0200)]
Update ->get_row functions
[skip ci]
ozh [Thu, 31 Aug 2017 18:12:10 +0000 (20:12 +0200)]
Docblock for my future self
[skip ci]
ozh [Thu, 31 Aug 2017 18:07:25 +0000 (20:07 +0200)]
Update db stats and queries
[skip ci]
ozh [Thu, 31 Aug 2017 18:06:15 +0000 (20:06 +0200)]
No more need for is dead or alive functions
[skip ci]
ozh [Mon, 28 Aug 2017 19:16:27 +0000 (21:16 +0200)]
Rename function, more explicit name
[skip ci]
ozh [Mon, 28 Aug 2017 19:08:21 +0000 (21:08 +0200)]
Backward compatibility finished.
As of now, all unit tests (some slightly rewritten) pass.
Now, onto rewriting queries
[skip ci]
ozh [Wed, 23 Aug 2017 11:03:29 +0000 (13:03 +0200)]
Options sanity checks
As is, all current test units for options pass
[skip ci]
ozh [Tue, 22 Aug 2017 07:06:23 +0000 (09:06 +0200)]
Misc stuff
ozh [Tue, 22 Aug 2017 05:48:41 +0000 (07:48 +0200)]
Fix logic: options were not working
ozh [Mon, 21 Aug 2017 20:33:33 +0000 (22:33 +0200)]
Missing docblocks, no big deal
[skip ci]
ozh [Mon, 21 Aug 2017 20:22:22 +0000 (22:22 +0200)]
More typos.
Thanks, scrutinizer-ci :kissing:
[skip ci]
ozh [Mon, 21 Aug 2017 20:13:11 +0000 (22:13 +0200)]
Smarter test for DB dead or alive
[skip ci]
ozh [Mon, 21 Aug 2017 19:32:25 +0000 (21:32 +0200)]
ezSQL compat functions, and $infos stuff
[skip ci]
ozh [Mon, 21 Aug 2017 19:31:22 +0000 (21:31 +0200)]
Typo
ozh [Mon, 21 Aug 2017 13:19:55 +0000 (15:19 +0200)]
Logger object & ezSQL get_row() compat
[skip ci]
ozh [Sun, 20 Aug 2017 15:57:19 +0000 (17:57 +0200)]
Plugins
I think in the end we could have a couple nice objects (Plugins/API.php, Plugins/Files.php and Plugins/Pages.php) to take all the complex logic out of functions-plugins.php
[skip ci]