]> CyberLeo.Net >> Repos - Github/YOURLS.git/log
Github/YOURLS.git
6 years agoNum queries functions
ozh [Sun, 20 Aug 2017 12:01:13 +0000 (14:01 +0200)]
Num queries functions

6 years agoVar $option (and low level functions) in YDB
ozh [Sat, 19 Aug 2017 20:15:20 +0000 (22:15 +0200)]
Var $option (and low level functions) in YDB

Keep $option low level functions and var in YDB, so new \Option don't start from zero each time and actually read value from $ydb instead of getting from DB each time.

Also, enforce utf8 at connection, is this a good idea? Test units will tell, later.

Also, more stuff here and there.

6 years agoChange autoloader for YOURLS stuff
ozh [Sat, 19 Aug 2017 07:21:29 +0000 (09:21 +0200)]
Change autoloader for YOURLS stuff

It was OK in YOURLS itself, but not the unit tests since they are bypassing load-yourls.php

6 years ago1st pass at removing ezSQL. And an Options object.
ozh [Fri, 18 Aug 2017 17:56:01 +0000 (19:56 +0200)]
1st pass at removing ezSQL. And an Options object.

Work in progress. This won't work for now.

6 years agoRemove old link
྅༻ Ǭɀħ ༄༆ཉ [Tue, 15 Aug 2017 13:12:51 +0000 (15:12 +0200)]
Remove old link

Was: http://code.google.com/p/yourls/issues/detail?id=137

6 years agoAnother sunday morning random test
྅༻ Ǭɀħ ༄༆ཉ [Tue, 15 Aug 2017 09:25:31 +0000 (11:25 +0200)]
Another sunday morning random test

6 years agoRemove Google Plus button
ozh [Sun, 13 Aug 2017 16:49:59 +0000 (18:49 +0200)]
Remove Google Plus button

Also, no more tweet count :(
Also, let's see if LinkedIn interests people

6 years agoTry to run tests on HHVM
྅༻ Ǭɀħ ༄༆ཉ [Wed, 9 Aug 2017 17:02:13 +0000 (19:02 +0200)]
Try to run tests on HHVM

6 years agoMerge pull request #2278 from YOURLS/geoip2
྅༻ Ǭɀħ ༄༆ཉ [Wed, 9 Aug 2017 16:38:50 +0000 (18:38 +0200)]
Merge pull request #2278 from YOURLS/geoip2

Update GeoIP to GeoIP2

6 years agoUpdate GeoIP to GeoIP2
ozh [Wed, 9 Aug 2017 15:56:11 +0000 (17:56 +0200)]
Update GeoIP to GeoIP2

6 years agoWhitespace: 4 by default, except 2 for JS
ozh [Wed, 9 Aug 2017 09:54:53 +0000 (11:54 +0200)]
Whitespace: 4 by default, except 2 for JS

6 years agoUpdate readme
ozh [Tue, 8 Aug 2017 20:41:23 +0000 (22:41 +0200)]
Update readme

- remove "upgrade from 1.3" (it's been 10 years or so)
- add "install guides"

6 years agoMerge pull request #2276 from eli0tc/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Fri, 4 Aug 2017 16:12:32 +0000 (18:12 +0200)]
Merge pull request #2276 from eli0tc/patch-1

Fix logout in stats page for nginx

6 years agoFix logout in stats page
eli0tc [Fri, 4 Aug 2017 12:52:18 +0000 (14:52 +0200)]
Fix logout in stats page

Changed the relative path to a full path using yourls_admin_url()

6 years agoImprove issue template for newbies
Léo Colombaro [Sat, 22 Jul 2017 11:52:46 +0000 (13:52 +0200)]
Improve issue template for newbies

6 years ago// @codeCoverageMeh
ozh [Thu, 22 Jun 2017 22:00:16 +0000 (00:00 +0200)]
// @codeCoverageMeh

6 years agoRefactor yourls_get_request() to allow for tests
ozh [Tue, 20 Jun 2017 21:12:04 +0000 (23:12 +0200)]
Refactor yourls_get_request() to allow for tests

6 years agoMerge pull request #2261 from mle86/optional-www
྅༻ Ǭɀħ ༄༆ཉ [Tue, 20 Jun 2017 16:29:32 +0000 (18:29 +0200)]
Merge pull request #2261 from mle86/optional-www

Support optional www. prefix

6 years agoSupport optional www. prefix
mle86 [Fri, 9 Jun 2017 11:18:48 +0000 (13:18 +0200)]
Support optional www. prefix

This way, both http[s]://sho.rt/xyz _and_ http[s]://www.sho.rt/xyz will work,
no matter if YOURLS_SITE has a www. prefix or not.

(The earlier str_replace call would never remove a "www." prefix from YOURLS_SITE even though the comment said so.
 This worked okay so far because the remaining domain name (with or without www.)
 would then be removed from HTTP_HOST, forcing users to use the correct domain name.)

7 years agoAdd .editorconfig
ozh [Thu, 1 Jun 2017 19:59:04 +0000 (21:59 +0200)]
Add .editorconfig

7 years agoMerge pull request #2258 from dgw/meta-hook
྅༻ Ǭɀħ ༄༆ཉ [Tue, 30 May 2017 06:13:09 +0000 (08:13 +0200)]
Merge pull request #2258 from dgw/meta-hook

Add hook for plugins to add meta tags

Fixes #2256

7 years agoAdd hook for plugins to add meta tags
dgw [Mon, 29 May 2017 23:47:13 +0000 (18:47 -0500)]
Add hook for plugins to add meta tags

Resolves #2256

7 years agoMerge pull request #2252 from YOURLS/issue2238
྅༻ Ǭɀħ ༄༆ཉ [Mon, 22 May 2017 14:33:34 +0000 (16:33 +0200)]
Merge pull request #2252 from YOURLS/issue2238

Move 3rd party stuff in /vendor

7 years agoForgot a couple files...
ozh [Mon, 22 May 2017 13:45:57 +0000 (15:45 +0200)]
Forgot a couple files...

7 years agoUpdate pomo to 1.3
ozh [Mon, 22 May 2017 13:27:23 +0000 (15:27 +0200)]
Update pomo to 1.3

7 years ago(Unrelated: fix docblocks)
ozh [Sat, 20 May 2017 11:43:38 +0000 (13:43 +0200)]
(Unrelated: fix docblocks)

[skip ci]

7 years agoTweak wording
ozh [Sat, 20 May 2017 11:30:27 +0000 (13:30 +0200)]
Tweak wording

7 years agoUpdate build script && less files
ozh [Fri, 19 May 2017 21:16:50 +0000 (23:16 +0200)]
Update build script && less files

Build script:
- Smarter
- Needs an argument to specify directory to clean
- Test run option and help
- Pizzas and lasers

Less files:
- no need to keep composer.json files

7 years agoMove 3rd party stuff in vendor
ozh [Thu, 18 May 2017 17:46:09 +0000 (19:46 +0200)]
Move 3rd party stuff in vendor

7 years agoRefine logic when checking for new version
ozh [Fri, 12 May 2017 21:40:32 +0000 (23:40 +0200)]
Refine logic when checking for new version

- always display an update notice if new version
- when applicable and checking for a new version, do it only twice

7 years agoRefine logic in checking new version
ozh [Fri, 12 May 2017 21:31:28 +0000 (23:31 +0200)]
Refine logic in checking new version

- perform checks once per session when applicable
- always display update notice if applicable

7 years agoAdd empty `active_plugins` entry on install
ozh [Fri, 12 May 2017 06:18:07 +0000 (08:18 +0200)]
Add empty `active_plugins` entry on install

Otherwise, `yourls_load_plugins()` triggers an extra SQL query on each page load till one plugin has been activated or deactivated to create the entry in the option table.

7 years agoMore explicitnessly explicitness
ozh [Tue, 2 May 2017 19:26:23 +0000 (21:26 +0200)]
More explicitnessly explicitness

See #2244

7 years agoBump for next dot release
ozh [Tue, 2 May 2017 19:25:55 +0000 (21:25 +0200)]
Bump for next dot release

7 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS 1.7.2
ozh [Sun, 23 Apr 2017 13:08:06 +0000 (15:08 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

7 years agoRevert geoip lib update
ozh [Sun, 23 Apr 2017 13:07:48 +0000 (15:07 +0200)]
Revert geoip lib update

Fixes #2237

7 years agoMerge pull request #2236 from YOURLS/travis
྅༻ Ǭɀħ ༄༆ཉ [Sun, 23 Apr 2017 07:36:12 +0000 (09:36 +0200)]
Merge pull request #2236 from YOURLS/travis

Shorten travis config file && add 7.2

7 years agoAdd PHP 7.2 for the lulz
྅༻ Ǭɀħ ༄༆ཉ [Sat, 22 Apr 2017 21:52:25 +0000 (23:52 +0200)]
Add PHP 7.2 for the lulz

7 years agoShorten travis config file
྅༻ Ǭɀħ ༄༆ཉ [Sat, 22 Apr 2017 21:45:31 +0000 (23:45 +0200)]
Shorten travis config file

7 years agoUpdate CHANGELOG and readme
ozh [Sat, 22 Apr 2017 18:31:13 +0000 (20:31 +0200)]
Update CHANGELOG and readme

[skip ci]

7 years agoMerge pull request #2235 from YOURLS/libs
྅༻ Ǭɀħ ༄༆ཉ [Sat, 22 Apr 2017 18:03:20 +0000 (20:03 +0200)]
Merge pull request #2235 from YOURLS/libs

Update 3rd party libs

Fixes #2070. Fixes #2067.

7 years agoUpdate JS
ozh [Sat, 22 Apr 2017 17:59:50 +0000 (19:59 +0200)]
Update JS

- jQuery to latest 2.x version (let's avoid updating to 3.x and requiring either a complete refactor or using their migrate plugin. This said, if anyone is up to submitting a PR to do so, feel free :)
- clipboad lib

7 years agoRevert jakeasmith/http_build_url
ozh [Sat, 22 Apr 2017 17:41:14 +0000 (19:41 +0200)]
Revert jakeasmith/http_build_url

I believe the updated version doesn't work as it should. And I remember we already tried this updated version and reverted it exactly the same :)

7 years agoUpdate rmccue/Requests to 1.7
ozh [Sat, 22 Apr 2017 17:32:11 +0000 (19:32 +0200)]
Update rmccue/Requests to 1.7

7 years agoUpdate jakeasmith/http_build_url
ozh [Sat, 22 Apr 2017 16:32:54 +0000 (18:32 +0200)]
Update jakeasmith/http_build_url

7 years agoUpdate ozh/BookmarkletGen
ozh [Sat, 22 Apr 2017 16:24:49 +0000 (18:24 +0200)]
Update ozh/BookmarkletGen

7 years agoUpdate GeoIP
ozh [Sat, 22 Apr 2017 16:24:10 +0000 (18:24 +0200)]
Update GeoIP

7 years agoMerge pull request #2234 from YOURLS/nitpicks
྅༻ Ǭɀħ ༄༆ཉ [Fri, 21 Apr 2017 21:24:07 +0000 (23:24 +0200)]
Merge pull request #2234 from YOURLS/nitpicks

Nitpicks

7 years agoAnother $int over $in since it's about int
ozh [Thu, 20 Apr 2017 20:15:10 +0000 (22:15 +0200)]
Another $int over $in since it's about int

7 years agoLess extract(), less crap, more clarity
ozh [Thu, 20 Apr 2017 20:01:09 +0000 (22:01 +0200)]
Less extract(), less crap, more clarity

:wc:

7 years agoBetter var name. $int for int, not $in, innit?
ozh [Thu, 20 Apr 2017 19:57:44 +0000 (21:57 +0200)]
Better var name. $int for int, not $in, innit?

:trollface:

7 years agofast and furious finish
྅༻ Ǭɀħ ༄༆ཉ [Thu, 20 Apr 2017 15:08:46 +0000 (17:08 +0200)]
fast and furious finish

7 years agoMerge pull request #2233 from YOURLS/phpass
྅༻ Ǭɀħ ༄༆ཉ [Thu, 20 Apr 2017 13:56:28 +0000 (15:56 +0200)]
Merge pull request #2233 from YOURLS/phpass

Update phpass

7 years agoUpdate phpass
ozh [Thu, 20 Apr 2017 09:12:05 +0000 (11:12 +0200)]
Update phpass

Use more modern package from hautelook/phpass, but keep 5.3-5.5 compat
Also, remove that test file. This should never have been included in the first place.

7 years agoReplace phpversion() with PHP_VERSION
ozh [Thu, 20 Apr 2017 07:33:42 +0000 (09:33 +0200)]
Replace phpversion() with PHP_VERSION

According to my tests, we'll speed things by almost 2.8 seconds every 1 million calls, dude.

7 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Thu, 20 Apr 2017 07:28:56 +0000 (09:28 +0200)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

7 years agoBump requirements & match wiki
ozh [Thu, 20 Apr 2017 07:27:40 +0000 (09:27 +0200)]
Bump requirements & match wiki

Also, death to JSON format, it sucks.

7 years agoMerge pull request #2232 from YOURLS/issue2122
྅༻ Ǭɀħ ༄༆ཉ [Thu, 20 Apr 2017 07:16:50 +0000 (09:16 +0200)]
Merge pull request #2232 from YOURLS/issue2122

Streamline login & cookie. Fix #2232

7 years agoSome phpdoc while we're here
ozh [Wed, 19 Apr 2017 21:34:10 +0000 (23:34 +0200)]
Some phpdoc while we're here

[skip ci]

7 years agoNo more PHP 5.2 checks
ozh [Wed, 19 Apr 2017 21:30:13 +0000 (23:30 +0200)]
No more PHP 5.2 checks

7 years agoRemove password verification
ozh [Wed, 19 Apr 2017 21:27:19 +0000 (23:27 +0200)]
Remove password verification

7 years agoweeeeee more badges. I'm silly tonight.
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:51:08 +0000 (22:51 +0200)]
weeeeee more badges. I'm silly tonight.

![ozh](https://opencollective.com/yourls/contributors/0/avatar)

7 years agoMerge pull request #2230 from piamancini/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:33:28 +0000 (22:33 +0200)]
Merge pull request #2230 from piamancini/patch-1

Add backers and sponsors from Open Collective

Let's give this a try, we'll see 😸

7 years agoStyle and love
྅༻ Ǭɀħ ༄༆ཉ [Wed, 19 Apr 2017 20:29:07 +0000 (22:29 +0200)]
Style and love

7 years agoAdd backers and sponsors from Open Collective
Pia Mancini [Tue, 18 Apr 2017 21:48:31 +0000 (17:48 -0400)]
Add backers and sponsors from Open Collective

Now your open collective backers and sponsors can to appear directly on your README.
see how it'll look [here](https://github.com/apex/apex#backers)
[More info](https://github.com/opencollective/opencollective/wiki/Github-banner)
Also add badges on top

7 years agoMerge pull request #2228 from gmolop/patch-2
྅༻ Ǭɀħ ༄༆ཉ [Tue, 18 Apr 2017 20:41:27 +0000 (22:41 +0200)]
Merge pull request #2228 from gmolop/patch-2

Add offset for CURRENT_TIMESTAMP

7 years agoAdd offset for CURRENT_TIMESTAMP
gmo [Tue, 18 Apr 2017 10:26:23 +0000 (12:26 +0200)]
Add offset for CURRENT_TIMESTAMP

https://github.com/YOURLS/YOURLS/issues/2221

7 years agoMerge pull request #2227 from YOURLS/dir1820
྅༻ Ǭɀħ ༄༆ཉ [Mon, 17 Apr 2017 21:11:01 +0000 (23:11 +0200)]
Merge pull request #2227 from YOURLS/dir1820

Use __DIR__ instead of dirname(__FILE__)

Should speed up things by several zilliseconds. Fixes #1820

7 years agoUse __DIR__ instead of dirname(__FILE__)
ozh [Mon, 17 Apr 2017 21:03:37 +0000 (23:03 +0200)]
Use __DIR__ instead of dirname(__FILE__)

7 years agoUse PHP_VERSION_ID
྅༻ Ǭɀħ ༄༆ཉ [Mon, 17 Apr 2017 20:36:22 +0000 (22:36 +0200)]
Use PHP_VERSION_ID

This makes calls to phpversion() and version_compare() unnecessary. Fixes #1951

7 years agoUpdate LICENSE
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 20:45:48 +0000 (22:45 +0200)]
Update LICENSE

7 years agoMinor README tweaks
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 11:23:29 +0000 (13:23 +0200)]
Minor README tweaks

7 years agoMerge pull request #2144 from Ramoonus/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 11:14:49 +0000 (13:14 +0200)]
Merge pull request #2144 from Ramoonus/patch-1

unit test with php 7.1

7 years agoBack at picking PHPUnit version, with path fix
྅༻ Ǭɀħ ༄༆ཉ [Sun, 16 Apr 2017 09:31:43 +0000 (11:31 +0200)]
Back at picking PHPUnit version, with path fix

7 years agoReverting to simpler ; trying the class_alias way
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:57:05 +0000 (23:57 +0200)]
Reverting to simpler ; trying the class_alias way

7 years agoAttempt 667
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:42:08 +0000 (23:42 +0200)]
Attempt 667

7 years agoAttempt number 666 at running desired PHPunit bin
྅༻ Ǭɀħ ༄༆ཉ [Sat, 15 Apr 2017 21:36:22 +0000 (23:36 +0200)]
Attempt number 666 at running desired PHPunit bin

7 years agoSelect PHPUnit version
྅༻ Ǭɀħ ༄༆ཉ [Fri, 14 Apr 2017 20:03:02 +0000 (22:03 +0200)]
Select PHPUnit version

7 years agoCheck PHPUnit version
྅༻ Ǭɀħ ༄༆ཉ [Fri, 14 Apr 2017 15:58:56 +0000 (17:58 +0200)]
Check PHPUnit version

I can really commit to someone else's fork ??

7 years agoUnused var. Fixes #2197
ozh [Tue, 4 Apr 2017 17:33:31 +0000 (19:33 +0200)]
Unused var. Fixes #2197

7 years agoTuning stat graphs (make vAxis start at 0)
ozh [Tue, 4 Apr 2017 17:13:30 +0000 (19:13 +0200)]
Tuning stat graphs (make vAxis start at 0)

See #2204

7 years agoTune regexp parsing. Fixes #2155
ozh [Sun, 2 Apr 2017 16:29:31 +0000 (18:29 +0200)]
Tune regexp parsing. Fixes #2155

We make a regexp from the charset, and used to specify that `-` was to be escaped but this has been fixed in PHP 5.2
We now escape `@`, which is also used as the regexp delimiter in yourls-loader.php, so now `@` can also be used in short URL charset

7 years agoMore readable argument.
ozh [Sat, 25 Mar 2017 18:59:44 +0000 (19:59 +0100)]
More readable argument.

7 years agoFix redirection after logging
ozh [Sat, 25 Mar 2017 18:35:20 +0000 (19:35 +0100)]
Fix redirection after logging

Fixes #2213. Fixes #2206.

7 years agoMerge branch 'master' of https://github.com/YOURLS/YOURLS
ozh [Sun, 5 Feb 2017 15:06:29 +0000 (16:06 +0100)]
Merge branch 'master' of https://github.com/YOURLS/YOURLS

7 years agoIntroduce yourls_sanitize_url_safe()
ozh [Sun, 5 Feb 2017 15:04:50 +0000 (16:04 +0100)]
Introduce yourls_sanitize_url_safe()

Remove anti CRLF checks from yourls_sanitize_url() and yourls_esc_url() because some legit URLs have %0A or %0D
We're just stripping those, using new function yourls_sanitize_url_safe(), for internal redirection when target location isn't hardcoded.

7 years agoFix curly quote in comment
ozh [Sat, 4 Feb 2017 19:08:40 +0000 (20:08 +0100)]
Fix curly quote in comment

Didn't print too well in editors or on the web

7 years agoRemove overzealous check
ozh [Sat, 4 Feb 2017 12:55:59 +0000 (13:55 +0100)]
Remove overzealous check

For instance, http://example.com/?req=http;//blah should not be modified into http://example.com/?req=http://blah

If the user fucks up and enter http;//blah instead of http://blah, well, too bad for them.

7 years agoMerge pull request #2191 from nickreiner/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Wed, 25 Jan 2017 20:09:24 +0000 (21:09 +0100)]
Merge pull request #2191 from nickreiner/patch-1

Added tutorials to readme.html

7 years agoAdded tutorials to readme.html
nickreiner [Wed, 25 Jan 2017 19:13:59 +0000 (20:13 +0100)]
Added tutorials to readme.html

Our tutorials for CentOS and Shared were the things that were missing from your readme.

Now you have tutorials for (almost) every scenario. :)

7 years agoUpdate README.md
Nick [Tue, 4 Oct 2016 19:14:06 +0000 (20:14 +0100)]
Update README.md

7 years agoFix typo in readme.html
Jed Northridge [Wed, 28 Sep 2016 21:31:22 +0000 (17:31 -0400)]
Fix typo in readme.html

7 years agoMerge pull request #2150 from JDLH/bug-2149_spelling-mistake-readme
྅༻ Ǭɀħ ༄༆ཉ [Mon, 26 Sep 2016 05:36:08 +0000 (07:36 +0200)]
Merge pull request #2150 from JDLH/bug-2149_spelling-mistake-readme

Fix spelling error "intended" in readme.html

7 years agoFix spelling error "intended" in readme.html
Jim DeLaHunt [Sun, 25 Sep 2016 22:36:42 +0000 (15:36 -0700)]
Fix spelling error "intended" in readme.html

7 years agounit test with php 7.1
Ramon van Belzen [Fri, 16 Sep 2016 16:55:46 +0000 (18:55 +0200)]
unit test with php 7.1

7 years agoWhitelist tel: protocol
྅༻ Ǭɀħ ༄༆ཉ [Thu, 25 Aug 2016 21:28:48 +0000 (23:28 +0200)]
Whitelist tel: protocol

Fixes #2135

7 years agoInfo random vs sequential
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Aug 2016 16:37:37 +0000 (18:37 +0200)]
Info random vs sequential

Because some people cannot search, apparently.

7 years agoMerge pull request #2126 from rosehosting/patch-1
྅༻ Ǭɀħ ༄༆ཉ [Sun, 7 Aug 2016 16:27:26 +0000 (18:27 +0200)]
Merge pull request #2126 from rosehosting/patch-1

Added RoseHosting

7 years agoAdded RoseHosting
RoseHosting.com [Mon, 25 Jul 2016 12:54:29 +0000 (07:54 -0500)]
Added RoseHosting

Our tutorial and our 'endorsement'

8 years agoMerge pull request #2066 from Preovaleo/master
ozh [Thu, 19 May 2016 18:44:55 +0000 (20:44 +0200)]
Merge pull request #2066 from Preovaleo/master

Change zeroclipboard to clipboardjs. Goodbye flash.

Fixes #2047