Commit Graph

17 Commits

Author SHA1 Message Date
Alice Gaudon b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
Alice Gaudon 38a9c6ad15 user registration: fix late user save for when a user id is needed 2020-08-26 14:03:41 +02:00
Alice Gaudon 272688da26 Reduce the amount of SQL requests made for authentication 2020-07-28 12:10:29 +02:00
Alice Gaudon be6e659ca2 ModelFactory: refactor make into create 2020-07-27 10:52:39 +02:00
Alice Gaudon 21b7def9e4 Fix some model refactor usages 2020-07-26 11:37:01 +02:00
Alice Gaudon a79e2292d7 Greatly simplify authentication system 2020-07-25 10:33:20 +02:00
Alice Gaudon 24de732167 Improve approval mode component security, reliability and usage 2020-07-24 13:00:20 +02:00
Alice Gaudon 7a1656ea7f Change public_url config field name to base_url 2020-07-24 12:59:44 +02:00
Alice Gaudon f127abbc74 Finish promoting email views and add backend controller 2020-07-20 17:32:32 +02:00
Alice Gaudon ec5b2b9aa0 Revamp model system
- Add model relations
- Get rid of SQL_CALC_FOUND_ROWS (deprecated)
- Eager loading
2020-06-27 14:45:05 +02:00
Alice Gaudon c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
Alice Gaudon 6026037aa8 Add support for authenticating user against custom request-proof matching 2020-06-14 11:59:02 +02:00
Alice Gaudon 0970ff3116 Make model primaryKey dynamic (allows for composite primary keys) 2020-06-04 14:59:41 +02:00
Alice Gaudon 8882df4c0d Improve verbosity of auth error 2020-04-25 16:08:20 +02:00
Alice Gaudon 0207ad5001 Add register callback to optionally save more models 2020-04-25 09:36:20 +02:00
Alice Gaudon faeafbd68d Pass session to auth methods 2020-04-25 09:35:49 +02:00
Alice Gaudon ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00