summaryrefslogtreecommitdiffstats
path: root/giglogadmin.php
Commit message (Collapse)AuthorAgeFilesLines
* Made giglog visible for admins onlyAndreaChirulescu2022-02-071-92/+98
|
* Change how we load the plugin.Harald Eilertsen2021-09-111-14/+24
| | | | | | | | | | | | | | Since we now have code that should be available, both on the public blog and in the admin section, we need to be more graular when loading the various parts of the plugin. We still try to avoid loading admin-only parts for the public blog, but allways load the parts that we need in either case. Also avoid running the db migrations when running unit tests, as the schema is copied over from the dev environment it just caues problems. Finally, don't hardcode unit tests to always be in_admin, but rather determine that for each test.
* Minor tweak: Only load plugin if in admin side.Harald Eilertsen2021-09-041-9/+11
|
* Remove obsolere require.Harald Eilertsen2021-09-041-1/+0
|
* Remove obsolete shortcodes.Harald Eilertsen2021-09-041-11/+0
| | | | These are no longer in use, and have been replaced by the admin screens.
* Update db tables if needed on every load.Harald Eilertsen2021-09-041-1/+2
| | | | | No need to deactivate/activate plugin to get the right version of the tables.
* Begin move roles and status field to concerts table.Harald Eilertsen2021-06-271-0/+1
|
* Add function to generate selection boxes.Harald Eilertsen2021-05-241-0/+1
|
* Psalm fixesHarald Eilertsen2021-05-081-2/+6
|
* Auto fixup missing return types by PsalmHarald Eilertsen2021-05-081-5/+7
|
* Add license comment _after_ the php opening tag.Harald Eilertsen2021-04-141-6/+6
|
* Switch to Reuse for license handling.Harald Eilertsen2021-04-141-0/+5
| | | | Run `reuse lint` to verify that all material is licensed.
* Enque admin stylesheet in a better place.Harald Eilertsen2021-04-061-2/+3
| | | | The original location caused an ugly warning.
* Merge branch 'andreaschanges' into devHarald Eilertsen2021-04-061-0/+3
|\
| * Added CSS for giglog admin page and some small adjustments in Taken bybehaviorAndreaChirulescu2021-04-051-0/+3
| |
* | Make concert table buttons work.Harald Eilertsen2021-04-051-0/+2
|/ | | | | | Moved processing of POST requests to it's own method, and added a visual clue that a slot has been selected. Also moved relevant code into the AdminPage class.
* Fix helpfiles include.Harald Eilertsen2021-03-111-20/+22
| | | | | | | - Include for photographers help was missing. - Fix callable for adding help files. - Make add_help_files method static - Some whitespace fixes.
* Moved helpfiles inside giglog admin classAndreaChirulescu2021-03-101-45/+31
| | | | Added help file for photo galleries
* added help file for reviewersAndreaChirulescu2021-03-101-0/+43
|
* Implement upload of gig data files.Harald Eilertsen2021-03-071-1/+3
|
* Add a sub page for importing gigs in admin.Harald Eilertsen2021-02-231-2/+11
| | | | Just an emtpy placeholder for now.
* Add top level menu to WordPress admin menu.Harald Eilertsen2021-02-211-0/+17
| | | | | | | | | | Currently nothing useful on the page, but a placeholder for a more useful page later, and possibly submenus for other functionality. The menu is placed right below the 'Media' menu for now, and is available to anyone with the 'upload_files' capability. Both of these may be adjusted later if there's a better location or other capabilities fit better.
* Freudian slip or typo? You decide!Harald Eilertsen2021-02-211-1/+1
|
* Move menu filter into plugin class.Harald Eilertsen2021-02-211-17/+18
|
* Formatting, no functional change.Harald Eilertsen2021-02-191-8/+13
|
* Merge remote-tracking branch 'andrea/andreaschanges' into devHarald Eilertsen2021-02-191-0/+14
|\
| * Added function to display different menus for logged and not logged usersAndreaChirulescu2021-02-181-0/+14
| |
* | Don't add upload shortcode twiceHarald Eilertsen2021-02-051-1/+0
|/
* Added lines to work with photographers fileAndreaChirulescu2021-02-031-0/+4
|
* Add shortcode to upload files.Harald Eilertsen2021-01-171-0/+2
|
* Add shortcodes to display and process uploads.Harald Eilertsen2021-01-171-0/+2
|
* Add shortcodes to display (public) concert list.Harald Eilertsen2021-01-171-0/+9
|
* Fix embarrasing misnaming of module.Harald Eilertsen2021-01-171-0/+34