Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/admin
AgeCommit message (Collapse)Author
2022-10-05Update admin/index.phpJT Smith
Co-authored-by: dgw <dgw@technobabbl.es>
2022-10-05TypofixesJT Smith
2022-10-04When adding URLs, new HTML rows should have unique HTML IDs. (#3431)Barry Hughes
* When adding URLs, new HTML rows should have unique HTML IDs. * Fix newly added assertions in Format_General::test_string2htmlid() Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>
2022-05-29Always include `functions-(upgrade|install).php` (#3354)྅༻ Ǭɀħ ༄༆ཉ
Fixes #3326
2022-05-07Fix error `Undefined constant "intval"` when upgrading (#3332)྅༻ Ǭɀħ ༄༆ཉ
Closes #3331
2022-04-09Do not use md5() in yourls_salt() (#3278)྅༻ Ǭɀħ ༄༆ཉ
* Do not use md5() in yourls_salt() * More tests while we're here Fixes #3277
2022-04-03Plugin API : sandbox and uninstall procedure (#3258)྅༻ Ǭɀħ ༄༆ཉ
- foolproof (?) activation sandbox that actually works - uninstall method - Plugin activation sandbox and unit tests - Uninstall script and tests
2022-04-02Add nonce to the logout link (#3264)྅༻ Ǭɀħ ༄༆ཉ
* Add nonce to the logout link * Add tests for cookies being set or reset * More tests: check nonces are different for different actions & users Fixes #3170
2022-03-20Explicitely exit after redirection where needed (#3257)྅༻ Ǭɀħ ༄༆ཉ
Fixes #3217 Would fix #2688 if it weren't already fixed
2021-09-09Sanitize user input in upgrade (#3055)྅༻ Ǭɀħ ༄༆ཉ
2021-08-24Minor security improvements (#3034)྅༻ Ǭɀħ ༄༆ཉ
* Prevent iframe jacking * Enforce nonce on admin login screen
2021-05-07Refactor admin/index.php & more filters (#2912)྅༻ Ǭɀħ ༄༆ཉ
* Move some logic from admin/index.php to own class * Comments & documentation
2021-02-09SVG icons (#2822)simon-eller
Co-authored-by: Ozh <ozh@ozh.org>
2021-01-30Replace double quotes with single quotes, preventing fatal exception when ↵Paul Goodchild
running on MySQL 8 (#2800) Fixes #2799 Co-authored-by: ྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>
2020-10-11Remove `global $ydb` calls and prefer helper function (#2762)྅༻ Ǭɀħ ༄༆ཉ
Fixes #2698 Changes : - Replace all global $ydb; and $ydb->... with yourls_get_db()-> in code and tests - Add tests - Introduce yourls_set_db()
2020-10-10Fix that fucking encoding problem (#2690)྅༻ Ǭɀħ ༄༆ཉ
This commit's changelog - less encode/decode - update jQuery & remove old ones - No encoding in JS - Also, 4 spaces in JS too, duh - IDN domain functions - Use mb_ functions to preverse IDN domains - Support for UTF8MB4 - update install procedure - update upgrade procedure. Note: The log table will be left untouched by the upgrade, it's impossible to make a convenient upgrade script for thousands of rows. The only problem will be if someone uses UTF8 short URLs (eg `http://sho.rt/éé💩`) - Handle normalization of IDN domains & tests - Fix warning on 7.2 and 7.3 - Deal with encoding in bookmarklets - Enclose upgrade queries in a transaction - Force no caching upon install or upgrade. Note: Strange behavior: if YOURLS hosted on an IDN domain, browser (FF at least) caches the redirection from admin/index.php to admin/install.php - Support for IDN YOURLS hosting - Tests for IDN YOURLS hosting - Fix code (that will never get run again) - Don't cache ajax requests - Remove unnecessary function call - Add comment doc block - More IDN sanitizing tests - IDN : Screw the "open dots". Who's going to type domain。com instead of domain.com anyway? Seriously. (although these do pass on my dev box) - Deprecate yourls_lowercase_scheme_domain() - Update doc to reflect DB change
2020-05-09Smarter keyword sanitization (#2682)྅༻ Ǭɀħ ༄༆ཉ
* Smarter keyword sanitizing, based on context * Deprecate yourls_sanitize_string() Fixes #2646. Fixes #2128.
2020-04-20Add missing translations (#2655)྅༻ Ǭɀħ ༄༆ཉ
Fixes #1666 Fixes #1598 Closes #1655
2020-04-18Use SVG logo in lieu of the old PNG one (#2649)྅༻ Ǭɀħ ༄༆ཉ
Ahah. I love this expression, "in lieu of" :) Also, remove those social buttons. I think they're useless and ugly.
2020-04-08Update admin list linkOzh
2020-04-08Link to absolute URLs in admin/plugins.phpOzh
Fixes #2606. Fixes #2605
2018-03-01Add option to sort by title in admin UIdgw
Implements & resolves #2356
2017-09-03Remove leftover @todo noteozh
[skip ci]
2017-08-31Update db stats and queriesozh
[skip ci]
2017-08-181st pass at removing ezSQL. And an Options object.ozh
Work in progress. This won't work for now.
2017-04-20Replace phpversion() with PHP_VERSIONozh
According to my tests, we'll speed things by almost 2.8 seconds every 1 million calls, dude.
2017-04-18Use __DIR__ instead of dirname(__FILE__)ozh
2017-04-04Unused var. Fixes #2197ozh
2017-02-05Introduce yourls_sanitize_url_safe()ozh
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.
2017-02-04Fix curly quote in commentozh
Didn't print too well in editors or on the web
2016-03-12#total_clicks -> #overall_tracking in surrnd. <p>BestNa.me Labs
2016-03-10Additional id for tag containing $total_clicks BestNa.me Labs
Granted the `<strong>` tag containing the number of total clicks its own id (in admin/index.php) (the element should be prominent enough to deserve it).
2016-03-05Merge branch 'refs/heads/pr/1921'Léo Colombaro
* refs/heads/pr/1921: Merge duplicate HTML elements add ARIA landmark
2016-03-05Merge duplicate HTML elementsLéo Colombaro
2016-03-02Adding HTTPs for tumblr linkmaster3395
Adding HTTPs for tumblr link
2015-06-26add ARIA landmarkAudrey
2015-05-11Get die() ouf of yourls_plugin_admin_page()ozh
This will make testing this function a lot easier, and it makes more sense to die after the function call, not within it. [skip ci]
2014-10-28CONCAT_WS instead of CONCATozh
2014-10-27Search across all fieldsozh
2014-10-25Readable JS code for bookmarklets, hell yeah.ozh
Fixes #1710.
2014-02-17Filterable number of rows in admin view. Fixes #1641ozh
Related: #1354
2014-01-13Removes extraneous <?php and ?> tags.boboman13
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.
2014-01-02Fix search for "http://..."ozh
Fixes #1576, followup to #1512
2014-01-02oops, wrong quote breaks stringozh
2014-01-01Filterable charset in content-type headers.ozh
Fixes #1533
2013-12-28New bookmarklets that beat the ?u=http:// problemozh
Plus, a Tumblr bookmarklet because everybody and their granny is asking for it.
2013-12-28urldecode() before processing. Also, Tumblr share.ozh
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
2013-12-28Should fix PNS bookmarkletozh
2013-12-26Introduce function yourls_debug_log()ozh
2013-09-05Safer DB version number, and debug feedback if failure on installozh
Related: - https://github.com/YOURLS/YOURLS/issues/1479#issuecomment-23428747 - https://core.trac.wordpress.org/ticket/25228