Commit Graph

19 Commits

Author SHA1 Message Date
Alice Gaudon 27bd7400e2 ModelQuery: fix backticks on ORDER BY and remove extra useless spaces 2020-09-05 16:09:52 +02:00
Alice Gaudon e403dfa863 ModelQuery: fix field disambiguation 2020-09-05 15:51:44 +02:00
Alice Gaudon 9e38b003f9 Model relations: add recursive query and recursive relation 2020-09-05 14:56:19 +02:00
Alice Gaudon e29b6369af ModelQuery: add groupWhere and test it 2020-09-04 22:16:20 +02:00
Alice Gaudon 84f2f7118a Csrf protection test: migrate to supertest 2020-08-05 12:06:21 +02:00
Alice Gaudon 76811dd0b8 Add more tests for Model 2020-08-05 10:45:13 +02:00
Alice Gaudon 31f974c0a6 Serve static files extra early to avoid useless middlewares execution 2020-07-28 12:11:41 +02:00
Alice Gaudon 3a4755ce98 Give the redirectBack function its own Component back 2020-07-28 10:03:25 +02:00
Alice Gaudon be6e659ca2 ModelFactory: refactor make into create 2020-07-27 10:52:39 +02:00
Alice Gaudon a79e2292d7 Greatly simplify authentication system 2020-07-25 10:33:20 +02:00
Alice Gaudon 40181a973b Fix user schema 2020-07-24 16:13:15 +02:00
Alice Gaudon c0dd48d064 Fix missing fields by default and fix model construction flow 2020-07-24 15:40:40 +02:00
Alice Gaudon 3561614f96 Promote some views to wms-core 2020-07-12 11:47:47 +02:00
Alice Gaudon afdfadd34e Add CsrfProtectionComponent tests and fix missing promise await 2020-07-08 10:58:57 +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 0970ff3116 Make model primaryKey dynamic (allows for composite primary keys) 2020-06-04 14:59:41 +02:00
Alice Gaudon ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00
Alice Gaudon 3bf4f93b74 Force an application to register migrations 2020-04-23 16:03:54 +02:00
Alice Gaudon e77ee6bbdd Add tests 2020-04-23 11:40:55 +02:00