Commit Graph
36 Commits
Author SHA1 Message Date
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
itismadnessandGitea 1b3403b5f0 replace builtin template engine with twig (#48) 2019-11-02 13:30:35 +00:00
SpineandGitea d7e79c814f convert tabs to spaces, take 2 (#13) 2019-09-18 19:37:35 +00:00
itismadnessandGitea 211ce4d173 replace tabs with spaces (#12) 2019-09-17 22:09:49 +00:00
itismadnessandnobody 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
itismadnessandGitea 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
itismadness 29a63bac20 Use to store the user agent string parse 2018-04-25 11:53:39 -04:00
itismadness 4c6f7fba40 Switch to whichbrowser/parser to get browser/os as well as version 2018-02-14 14:27:30 -05:00
itismadness d5ab5882ee Fix variable reference for G::\$LoggedUser 2018-02-06 22:24:32 -05:00
itismadness 58ff3f97b9 Add documentation for VALIDATE class 2018-02-01 19:29:04 -05:00
itismadness 8039090a33 Build basic setup for future OOP classes/testing (!27)
Squashed commit of the following:

Author: itismadness <[email protected]>

    Implement new app structure
    remove unneeded migration for testing
    improve migrations
    comment out up() function for now
    add new migrations
    rename classes to singular form
    update another util function
    implement more testing
    rename test to tester
    add unit test framework
2018-01-28 22:03:49 -05:00
itismadness 787d82f2cb Begin implementation for single entry point for Gazelle (!54)
Squashed commit of the following:

Author: itismadness <[email protected]>

    Improve some path stuff
    don't allow people going to pages that don't exist better
    Implement single access point for .php files that don't exist
2018-01-27 16:42:55 -05:00
itismadness 2b823d086d Fix CLI commands not working on the site
Squashed commit of the following:

Author: itismadness <[email protected]>

    Fix CLI commands breaking
2018-01-23 14:23:28 -05:00
itismadness ba6eafe7c4 Add apply.php to allow people to apply to staff (!15)
Squashed commit of the following:

Author: itismadness <[email protected]>

    add link to apply on staff.php

Author: Spine <[email protected]>

    Initial implementation of Applicant feature
    Access applicant board through a custom permission
    allow the framework to be run from the command-line
    fix spelling

Author: itismadness <[email protected]>

    add migration for applicant stuff

Author: Athena <[email protected]>

    fix small bug introduced by last push

Author: Spine <[email protected]>

    various grammar tweaks
2018-01-18 18:00:31 -05:00
itismadness 0013383030 Remove mobile detection and redirect to m.apollo.rip or mention of mobile app (!22)
Squashed commit of the following:

Author: Spine <[email protected]>
    Since we do not have a vhost for mobile (e.g. m.apollo.rip) there is no need to detect whether to switch to it.

    - any anyway, it was redirecting to xanax.rip
    - we should go responsive anyway
    - set focus on first text element
2018-01-17 20:13:26 -05:00
itismadness d45d7ae2f8 add improved mod tools for adding new logs or deleting individual logs 2017-11-30 22:45:35 -05:00
itismadness 2ac66226f6 merge master 2017-11-03 09:55:01 -04:00
itismadness d631b203da merge master 2017-10-20 10:58:19 +01:00
itismadness 126963094f fix usage of HTTP_REFERER superglobal 2017-10-13 13:04:14 -04:00
itismadness 6fbddd62ce fix branch 2017-10-01 10:18:13 -04:00
O 72bce94a79 Revert "Merge branch 'reenable' into 'master'"
This reverts merge request !72
2017-10-01 15:14:21 +03:00
itismadness c08f019239 bonus points wip 2017-09-28 10:14:36 -04:00
itismadness 0046c66a68 set can_leech = '1' on approved enable requests 2017-09-26 21:21:16 -04:00
itismadness c3646c72d7 initial cloudflare IP fix 2017-02-07 13:36:22 -05:00
A 4dc87d0c22 initial commit 2016-12-19 22:55:12 -05:00