Commit Graph

587 Commits (8655258ac3acee9fe768ddf87a47cebc1418bab0)
 

Author SHA1 Message Date
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
Yasen Pramatarov 566b16190e Adds session timeout message 2025-04-13 19:06:48 +03:00
Yasen Pramatarov 5281102e36 Adds a special 'session' class for all session things. 2025-04-13 15:18:53 +03:00
Yasen Pramatarov b6420391e1 Prepares for v0.4 2025-04-12 17:21:34 +03:00
Yasen Pramatarov f8118315e7 Fixes session tests 2025-04-12 16:48:53 +03:00
Yasen Pramatarov d28d69d350 Fixes CSRF issue after login with 2fa code 2025-04-12 16:28:33 +03:00
Yasen Pramatarov 2ca1714992 Fixes session management and increases time to 2 hours w/out "remember me" 2025-04-12 16:22:41 +03:00
Yasen Pramatarov d72dd5fabc Fixes config editing 2025-04-11 18:29:47 +03:00
Yasen Pramatarov d253d87515 Fixes config file editing 2025-04-11 16:55:08 +03:00
Yasen Pramatarov 9d3bb9ef04 Fixes border case of empty profile fields 2025-04-09 09:17:17 +03:00
Yasen Pramatarov f27f3fe62f Fixes tests 2025-04-08 13:13:49 +03:00
Yasen Pramatarov 0d4251b321 Adds forgotten password reset functionality 2025-04-08 12:12:14 +03:00
Yasen Pramatarov 11fa58bd6e Adds site name to the config 2025-04-08 12:02:01 +03:00
Yasen Pramatarov 71b0448004 Adds 2fa to the login page 2025-04-08 10:30:18 +03:00
Yasen Pramatarov eb0a603b8d Updates credentials page and session vars 2025-04-08 10:30:07 +03:00
Yasen Pramatarov 947a4e39c5 Updates 2fa templates 2025-04-08 10:29:21 +03:00
Yasen Pramatarov 7b7e44faf2 Fixes 2fa classes 2025-04-08 10:27:52 +03:00
Yasen Pramatarov ac1581e8de Fix for blank profile fields 2025-04-08 10:24:43 +03:00
Yasen Pramatarov e00599b4f0 Fixes typo 2025-04-07 16:41:22 +03:00
Yasen Pramatarov 200f87ea48 Adds right profile dropdown menu 2025-04-07 16:35:05 +03:00
Yasen Pramatarov 7676bcd1c1 Updates user class for cdentials management 2025-04-07 16:28:56 +03:00
Yasen Pramatarov 925df9b915 Adds credentials page 2025-04-07 16:21:35 +03:00
Yasen Pramatarov 7668ee2040 Adds CSRF protection to profile page 2025-04-07 15:24:53 +03:00
Yasen Pramatarov 90688016e8 Adds class and SQL for two-factor auth 2025-04-07 12:44:22 +03:00
Yasen Pramatarov b4fabb6d59 Fixes border case when timezone is empty but not null 2025-04-07 12:32:54 +03:00
Yasen Pramatarov aa530c20d2 Removes closing php tags 2025-03-17 12:38:24 +02:00
Yasen Pramatarov 69ce646bad Updates changelog 2025-03-03 21:44:35 +02:00
Yasen Pramatarov 08c20fa2b9 Updates changelog 2025-03-03 21:43:47 +02:00
Yasen Pramatarov e2daf22ad7 HTML fixes 2025-02-28 13:50:54 +02:00
Yasen Pramatarov 921f310ac1 Adds CSRF toek to registration 2025-02-24 22:05:20 +02:00
Yasen Pramatarov d9bee210d4 Adds 'ip' to validator 2025-02-24 14:47:23 +02:00
Yasen Pramatarov 2fc6940c11 Adds missing feedback messages to login and security 2025-02-24 14:08:05 +02:00
Yasen Pramatarov ecad8e2801 Adds back auto-blacklisting in rate limiter 2025-02-23 19:35:38 +02:00
Yasen Pramatarov 4a18c344c8 Fixes rate limiting bugs 2025-02-23 19:22:47 +02:00
Yasen Pramatarov 58633313e1 Fixes user tests 2025-02-23 18:03:19 +02:00
Yasen Pramatarov 0f6dda44b8 Gets the client IP from a central place 2025-02-23 17:58:26 +02:00
Yasen Pramatarov b4b5a7ac8f Fixes CSRF 2025-02-23 17:48:02 +02:00
Yasen Pramatarov a45e064c18 Fixes registration logging 2025-02-23 17:47:06 +02:00
Yasen Pramatarov ecb4e0fab4 Fixes login and register forms 2025-02-23 17:28:20 +02:00
Yasen Pramatarov 035681ab28 Fixes app root redirection on ratelimiting 2025-02-23 15:21:40 +02:00
Yasen Pramatarov 34779bb891 Adds proper logging to CSRF middleware 2025-02-23 13:51:36 +02:00
Yasen Pramatarov c61f42792f Adds logging to component class and switches to bound params 2025-02-23 13:15:46 +02:00