Commit Graph

11 Commits

Author SHA1 Message Date
Andre Staltz 743cc074d7
implement pagination in allow-list overview 2021-02-24 15:54:36 +02:00
Andre Staltz 0aa8265cd4
prettify the allow-list main page 2021-02-23 12:23:16 +02:00
Henry f1f4e9dcb9 add CSRF protection
updates #14
2021-02-17 12:22:05 +01:00
Henry 60ca1bfb37 fix redirect 2021-02-16 12:33:25 +01:00
Henry 412545ac50 small fixes
* news/overview was still using PostID
* fix singular in testing {{ i18npl ... }}
2021-02-16 10:33:28 +01:00
Henry b82ff3051a add test for remove 2021-02-15 18:54:00 +01:00
Henry 29d884b4fc allow-list: add test for add 2021-02-15 18:26:20 +01:00
Henry a528002361 cleanup internal sqlite error 2021-02-15 17:21:06 +01:00
Henry 9dcab464cb small cleanup 2021-02-15 15:08:34 +01:00
Henry 58f795d5e6 route with query params instead of named routers
Since we don't use the web/router through and through to setup handler
functions, accessing the named route varaibles doesn't work inside those
handler functions.

Since I dont find it acceptable to juggle two concepts here I switch the
url generation to classical get query paramters (route?varA=xyz&varB=2).
2021-02-15 14:43:55 +01:00
Henry 6416d1c215 allow list interface 2021-02-15 14:43:32 +01:00