Commit Graph

56 Commits

Author SHA1 Message Date
Felix Albrigtsen 968048496a Update global config variables 2024-03-12 19:33:09 +01:00
Felix Albrigtsen fef79575a7 WIP: move sql_config.php to config.php 2024-03-05 14:35:46 +01:00
Peder Bergebakken Sundt 39126936b0 Fix bug with single digit dates 2018-10-25 00:32:04 +02:00
Peder Bergebakken Sundt c3ada63c69 Whoops
I really feel like doing a commit ammend with force push...
2018-08-29 19:18:22 +02:00
Peder Bergebakken Sundt 59463ebdfb Fix bug where days with string length 1 would break mysql 2018-08-29 19:03:05 +02:00
Peder Bergebakken Sundt 6d13f47815 Set theme-color to #024 2018-08-14 03:29:10 +02:00
Peder Bergebakken Sundt 7dc892b757 Ensure all pages react to mobile browsers
In addition: add <header> to all pages
2018-08-14 02:09:57 +02:00
Peder Bergebakken Sundt 9f7ef8bdb1 Remove debug statement from motd editor 2018-08-13 18:57:07 +02:00
Peder Bergebakken Sundt 79e413d194 Switch to useing markdown for user formatted text 2018-08-12 03:52:55 +02:00
Peder Bergebakken Sundt 5ef3bc68a0 Revert pagesize test value commited in 5205a3f0 2018-08-12 00:59:28 +02:00
Peder Bergebakken Sundt 5205a3f095 Fix filter and pagination combo on admin event page 2018-08-12 00:52:34 +02:00
Peder Bergebakken Sundt 88e258a0fb Add some HTML5 doctypes 2018-08-10 00:20:03 +02:00
Peder Bergebakken Sundt 29a41f5ad8 Fix admin event editor
The date field was a lot of work, but it's a lot easier to use now.
2018-08-10 00:19:16 +02:00
Peder Bergebakken Sundt 13518f7fff Fix admin event list style 2018-08-10 00:18:28 +02:00
Peder Bergebakken Sundt 90ece46dd7 Minor tweaks to design, labels and navbar 2018-08-09 22:28:34 +02:00
Peder Bergebakken Sundt d92e53f0b7 Disallow invalid event dates.
this froze the simpleevent class
2018-08-09 22:27:28 +02:00
Peder Bergebakken Sundt cb3949f6e8 Fix changing user permissions. usernames with _ in them would be split into multiple users
This page is utterly broken and deserves a rewrite.
delimiting fields with "_" is a bad idea.
But i'm too lazy to be bothered. Don't call me when the db breaks
2018-08-06 23:33:04 +02:00
Peder Bergebakken Sundt 32cc4ec27f Fix MOTD
It now won't require there to be at least one entry in the motd table.
I also tidied up the motd class
2018-08-06 23:33:32 +02:00
Markus Wang Halvorsen e60195d431 Migrate project owners to the project member table
... to keep project membership tidy and centralized
This puts organizer fitlers out of commission for now
2018-02-26 16:24:50 +01:00
Markus Wang Halvorsen d984dfb89c Begin work on project pages
Also store project owners' emails as contact info
2018-02-24 19:41:57 +01:00
Markus Wang Halvorsen 6777048dac Fix login button on all pages
By passing PDO to the login bar so admins get their link
2018-02-24 17:02:00 +01:00
Markus Wang Halvorsen 32f9653a6d Prepare for merge 2018-02-24 16:53:17 +01:00
Markus Wang Halvorsen 9f935cd810 Implode with <br> 2018-02-14 17:55:41 +01:00
Yorin Anne De Jong ba0fe09d06 Workaround for PHP 5 2018-02-13 19:10:47 +01:00
Yorin Anne De Jong 73efba625b Add a central include file 2018-02-13 19:08:41 +01:00
Yorin Anne De Jong 24b6af1799 Add admin button to user menu, if admin 2018-02-13 18:30:49 +01:00
Markus Wang Halvorsen 1db31b9e56 Add MOTD 2018-02-13 16:58:54 +01:00
Markus Wang Halvorsen af97383e01 last one of these i promise 2018-02-13 16:54:39 +01:00
Markus Wang Halvorsen 98f882233c Implode project description everywhere else
Forgot these
2018-02-13 16:41:03 +01:00
Markus Wang Halvorsen 5e10d53c36 Fix newlines in project descriptions 2018-02-13 16:28:59 +01:00
Markus Wang Halvorsen 774f2754a0 Remove rogue header tag 2018-02-13 15:51:57 +01:00
Markus Wang Halvorsen 05dee57ded Remove gender inequality
Got a complaint that the admin tools title wasn't very inclusive towards the fairer sex. The title has been edited to be gender neutral
2018-02-13 15:00:14 +01:00
Yorin Anne De Jong ebedc31fb6 Norwegian localisation fixes 2018-02-10 18:08:53 +01:00
Peder Bergebakken Sundt 25da4a80f2 Fix navbar on some pages 2018-02-10 18:05:38 +01:00
Markus Wang Halvorsen 0b0707eafe Fix html for the rest of the main pages 2018-02-10 16:23:17 +01:00
Markus Wang Halvorsen c4c5389fe8 Fix admin css 2018-02-10 16:13:18 +01:00
Markus Wang Halvorsen 56e6766520 Move navbar CSS to its own file 2018-02-10 15:04:57 +01:00
Markus Wang Halvorsen 689975f262 Admins can add new users to usergroup system
new users meaning users who aren't in the usergroup system for the website yet.

also spicier no access messages
2017-11-11 20:37:04 +01:00
Markus Wang Halvorsen bb965aadd2 Admins can now set groups for new users
new users meaning users who don't already have any usergroups set
2017-11-11 19:13:59 +01:00
Markus Wang Halvorsen 9241a0404a Only show buttons for admin pages you can access 2017-11-11 17:21:04 +01:00
Markus Wang Halvorsen ee42e932e9 Fix requires for admin landing page 2017-11-11 17:15:02 +01:00
Markus Wang Halvorsen 3d3903eadc Check usergroups when accessing admin panel 2017-11-11 17:06:56 +01:00
Markus Wang Halvorsen 1ce3490ff0 Usergroup system 2017-11-11 17:00:08 +01:00
Yorin Anne De Jong 6574bd576e Generalize navigation and PHP configuration 2017-11-11 15:20:58 +01:00
Peder Bergebakken Sundt 9068042a7e Remove "active" in navbar in adminpanel 2017-11-11 14:08:35 +01:00
Peder Bergebakken Sundt eb62ce4d99 Fix navbar in /admin/prosjekter/ 2017-11-11 13:55:01 +01:00
Peder Bergebakken Sundt 53d97b5ccd Fix navbar in adminpanel 2017-10-28 20:55:40 +02:00
Markus Wang Halvorsen 446d966e80 Add simple login button & indicator to navbar 2017-10-28 17:19:40 +02:00
Markus Wang Halvorsen 7e3d256f93 Add project admin interface 2017-10-28 16:44:56 +02:00
Markus Wang Halvorsen 751967c5fa Add filtering to activity admin page 2017-10-28 16:11:36 +02:00