Commit Graph
69 Commits
Author SHA1 Message Date
Spine 6e5d05cb97 Create a page to allow users to examine what is seeding where. 2020-10-31 17:27:44 +00:00
Spine 33b5708012 Handle user warnings and staff notes in the User object 2020-10-31 10:20:31 +00:00
Spine ac9611e478 twigify donor rewards page 2020-10-30 19:59:31 +00:00
itismadness 3f9ac69f44 Add ajax endpoints for RED parity 2020-10-28 23:21:40 +00:00
Spine c5f867892e remove db_string() and twigify staff blog 2020-10-26 18:22:31 +00:00
itismadness 6bc3614170 fix persistence of cookie not set when not using 2FA 2020-10-21 08:01:20 +00:00
Spine 84f2e09fa8 refactor invite pool (and remove SQL_CALC_FOUND_ROWS) 2020-10-17 10:59:19 +00:00
itismadness 66804dd826 Implement api tokens to use with ajax endpoint 2020-10-15 00:09:15 +00:00
Spine 4e92900556 next round of refactoring session management 2020-10-11 10:56:42 +00:00
webhead 32d34ab2db Remove custom classloader 2020-10-07 00:03:53 +00:00
itismadness 3d9c94175c fix bulk of phpstan issues in classes/ 2020-10-02 23:56:02 +00:00
Spine 5a85f7201b Contest perfect flac 2020-10-01 20:57:48 +00:00
Spine 24f3cdee9a move user statistics functions to app/ 2020-09-30 15:43:57 +02:00
Spine d341cb2a2a Assimilate class INVITE_TREE into app/InviteTree 2020-09-12 14:58:26 +00:00
Quetzal 1df5228269 move personal collages to bonus store 2020-08-16 09:16:28 +00:00
Spine 3e2aeecbfe Some useful Twig filters (and number_format is already built in). 2020-08-11 15:01:47 +00:00
Spine db20270d27 show SQL error if debugging 2020-08-11 14:44:17 +00:00
Spine 893519eb68 Don't die for a mysql error 2020-07-20 08:11:18 +00:00
Spine f859424279 merge 2020-07-16 00:38:07 +02:00
Spine ec81b6a10d appify donations class 2020-07-10 22:00:29 +00:00
Spine aa6173fa10 refactor permission control panels and add privilege matrix panel 2020-07-07 07:31:43 +00:00
Spine b06c057f2a Tidy up ip_bans, and lay the foundations for IPv4/IPv6 2020-06-26 18:05:53 +00:00
Spine 4d082eb7ac add unread icon main forum table of contents 2020-06-15 18:12:16 +00:00
Spine 6839e6dfdf refactor forum main page cache 2020-06-08 14:47:17 +02:00
Spine 23a8dc919c Gazelle classes using a db or cache derive from Base 2020-05-27 18:36:03 +02:00
Spine 41a2d0c4de Replace 0000-00-00 00:00:00 by NULL in users_info 2020-05-24 10:37:57 +00:00
Spine 11291d9506 Render (most) user moderation fields through twig 2020-05-22 14:00:51 +00:00
Quetzal 849e0545f1 move auth failures to status channel 2020-05-18 08:48:20 +00:00
itismadness f3c8d7c1c3 Remove session_start from all requests, only those that need it 2020-04-30 04:02:49 +00:00
nobody 07983696ee Revert "Only parse user agent details when we go to update session details"
This reverts commit c5421df933.
(Breaks referrals)
2020-04-25 09:02:47 +00:00
itismadness e53005a9a2 set debug for twig equal to gazelle debug_mode 2020-04-21 15:05:35 +00:00
itismadness c5421df933 Only parse user agent details when we go to update session details 2020-04-18 02:06:29 +00:00
itismadness dc34c63805 add more Debug flags on initialization for timing 2020-04-14 02:28:26 +01:00
Quetzal 91fa51bbed clean up usages of $UserID 2020-03-27 15:29:46 +00:00
Quetzal f1cf996239 fix bookmarks 2020-03-27 14:57:35 +00:00
Spine 1f701e97ca kill regex.php, it can be added to config.php 2020-03-21 18:12:22 +01:00
Spine 84081ec2c2 must use G::$DB 2020-03-21 15:06:55 +01:00
Spine 0397e91454 refactor script_start 2020-03-20 21:12:27 +00:00
Spine 2c97f96691 Streamline autoloading and tidy up how required PHP classes are pulled in.
Require files using __DIR__ instead of SERVER_ROOT
    Use `new Class` instead of `NEW Class`
    Class FEED => Feed
    Class VALIDATE => Validate
2020-03-01 12:03:04 +00:00
itismadness 45e7d0f0e5 Improve browser sniffing detection for common tools 2019-12-04 21:30:35 +00:00
itismadness 3cb4b2e72e Replace long array definitions with short tokens (!66) 2019-11-26 03:24:03 +00:00
itismadness 1b3403b5f0 replace builtin template engine with twig (#48) 2019-11-02 13:30:35 +00:00
Spine d7e79c814f convert tabs to spaces, take 2 (#13) 2019-09-18 19:37:35 +00:00
itismadness 211ce4d173 replace tabs with spaces (#12) 2019-09-17 22:09:49 +00:00
itismadness 4d610ef790 Use __DIR__ to find config.php 2019-06-07 14:39:56 +00:00
Eurydice 03e53b9ca2 emergency fixes for PHP 7.3 2019-06-04 22:08:32 +00:00
itismadness 0d959bc9fa Remove mcrypt in favor of openssl (#50) 2018-11-21 17:11:10 +00:00
itismadness 4f8a2c5dad Implement router class (!71)
Squashed commit of the following:

Author: itismadness <[email protected]>

    fix bug with router on ajax calls
    finish up initial router implementation
    Merge branch 'master' into router
    Add tests for router
    Fix boolean on authorized function
    Finish basic implementation for the router
2018-06-12 08:48:15 -04:00
itismadness 9713edbf6e Revert "Initial implementation of router class (!71)"
This reverts commit c3b29697a3.
2018-06-11 23:02:42 -04:00
itismadness c3b29697a3 Initial implementation of router class (!71)
Squashed commit of the following:

Author: itismadness <[email protected]>

    finish up initial router implementation
    Merge branch 'master' into router
    Add tests for router
    Fix boolean on authorized function
    Finish basic implementation for the router
2018-06-11 22:21:13 -04:00