Commit Graph

628 Commits (ed1c30535845a353f7ee80049cdc69906a3ef2f0)
 

Author SHA1 Message Date
Yasen Pramatarov ed1c305358 Fixes config code 2025-04-24 14:30:35 +03:00
Yasen Pramatarov 13f2ca4fe4 Moves database connection to DatabaseConnector core class 2025-04-24 14:12:24 +03:00
Yasen Pramatarov 891e85b0bb Adds DatabaseConnector core class 2025-04-24 13:57:08 +03:00
Yasen Pramatarov c2f0fe6793 Moves config loading to ConfigLoader core class 2025-04-24 13:52:37 +03:00
Yasen Pramatarov 7dfbe49996 Adds ConfigLoader core class 2025-04-24 13:49:52 +03:00
Yasen Pramatarov ed0baf18d3 Moves plugin disovery and hooks code away from index 2025-04-24 13:32:45 +03:00
Yasen Pramatarov 8628985361 Adds HookDispatcher core class for plugin hooks 2025-04-24 13:25:30 +03:00
Yasen Pramatarov facddb0d6d Adds PluginManager core class 2025-04-24 13:25:03 +03:00
Yasen Pramatarov 9797caa58e Moves session auth logic to the new core/Router class 2025-04-24 12:37:59 +03:00
Yasen Pramatarov 9c896d9e0e Creates /app/core/ for core infrastructure code, essential for the app 2025-04-24 12:34:27 +03:00
Yasen Pramatarov bccd48014b Removes no more used session middleware 2025-04-23 13:58:43 +03:00
Yasen Pramatarov 10083ff7af Adds 'logout' and 'register' to login redirect whitelist 2025-04-23 13:57:11 +03:00
Yasen Pramatarov cfa8540be9 Removes username forms autofocus 2025-04-23 13:56:07 +03:00
Yasen Pramatarov 3657dd70cf Fixes session timeout and login issues 2025-04-23 13:54:59 +03:00
Yasen Pramatarov e88229bee2 Troubleshoots login redirects 2025-04-22 16:20:56 +03:00
Yasen Pramatarov 0b59072d9b Adds login redirection to original requested page 2025-04-22 15:31:50 +03:00
Yasen Pramatarov 6542df9074 Fixes the tests 2025-04-17 10:59:40 +03:00
Yasen Pramatarov 40c646291e Removes old registration core code 2025-04-17 10:45:29 +03:00
Yasen Pramatarov 4877354e8d Fixes register plugin 2025-04-17 10:41:40 +03:00
Yasen Pramatarov 61d23cd8c2 Lets plugins add themselves to the public pages 2025-04-17 10:36:45 +03:00
Yasen Pramatarov 8dfd54eb9f Replaces hardcoded register link with a plugin hook 2025-04-17 10:31:35 +03:00
Yasen Pramatarov af8d86321f Removes hardcoded "register" page 2025-04-17 10:30:34 +03:00
Yasen Pramatarov 26817c1bb6 Adds registration plugin 2025-04-17 10:29:31 +03:00
Yasen Pramatarov 6443eb9b00 Makes plugin system plugin-name agnostic 2025-04-17 10:20:37 +03:00
Yasen Pramatarov 14eefb99e9 Adds "manage plugins" right 2025-04-17 09:46:19 +03:00
Yasen Pramatarov 3915ca6633 Prepares for plugins. Autodiscovery and hooks. 2025-04-16 20:23:27 +03:00
Yasen Pramatarov 5246c47ee6 Makes csrf_token a global constant and moves it to includes 2025-04-16 13:11:51 +03:00
Yasen Pramatarov 221a6e8139 Removes system settings entries from sidebar menu 2025-04-15 22:43:23 +03:00
Yasen Pramatarov b098096930 Uses $userId instead of session var 2025-04-15 22:40:29 +03:00
Yasen Pramatarov 47779baa5e Adds top right system menu 2025-04-15 22:37:49 +03:00
Yasen Pramatarov eebdbc409c Adds top right help menu 2025-04-15 22:29:55 +03:00
Yasen Pramatarov 95530ed5f0 Adds CSRF to profile edit pages 2025-04-15 18:10:17 +03:00
Yasen Pramatarov 0a7f3737c5 Explicitly adds/removes rights, makes possible to remove all rights 2025-04-15 18:05:09 +03:00
Yasen Pramatarov 9cb7812144 Bugfixes 2025-04-15 17:57:13 +03:00
Yasen Pramatarov 4625321079 Removes length check for old password 2025-04-14 19:39:51 +03:00
Yasen Pramatarov 1c2c1a76fa Fixes bugs in login ratelimiting 2025-04-14 19:36:07 +03:00
Yasen Pramatarov 8d64bf7c6e Ratelimits only failed login attempts 2025-04-14 19:12:26 +03:00
Yasen Pramatarov 45181c11c5 Fixes db connection issues 2025-04-14 18:07:15 +03:00
Yasen Pramatarov e96480807c Updates SQL schemas 2025-04-14 18:06:44 +03:00
Yasen Pramatarov 9e94639657 Makes password at least 8 chars 2025-04-14 15:48:54 +03:00
Yasen Pramatarov 649a94c560 Fixes to show session expiration only once 2025-04-14 15:31:19 +03:00
Yasen Pramatarov 8655258ac3 Standartizes $userId as user ID variable in whole app 2025-04-14 10:39:58 +03:00
Yasen Pramatarov 67ba6b38c7 Session expiration bug fix 2025-04-14 10:06:13 +03:00
Yasen Pramatarov 16854f0f77 Fixes tests and adds Session unit test 2025-04-13 20:51:52 +03:00
Yasen Pramatarov 582b5492fe Removes unneded login reirects 2025-04-13 20:05:10 +03:00
Yasen Pramatarov 101f4c539a Validates pagination vars 2025-04-13 19:49:47 +03:00
Yasen Pramatarov 522cded113 Implements the session class 2025-04-13 19:46:48 +03:00
Yasen Pramatarov f77e15bf44 Implements the new session class 2025-04-13 19:34:13 +03:00
Yasen Pramatarov dbdbe1bf49 Switches to session class in templates 2025-04-13 19:12:28 +03:00
Yasen Pramatarov d3f0c90272 Removes code duplicating with session class 2025-04-13 19:11:52 +03:00