]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Move all admin controller into a dedicated group
authorArthurHoaro <arthur@hoa.ro>
Thu, 13 Aug 2020 09:08:13 +0000 (11:08 +0200)
committerArthurHoaro <arthur@hoa.ro>
Thu, 13 Aug 2020 09:08:13 +0000 (11:08 +0200)
commitbedbb845eec20363b928b424143787dbe988eefe
tree6b835ca247e39157b333323a539dde3c410c08f5
parent1a68ae5a29bc33ab80c9cfbe043cb1213551533c
Move all admin controller into a dedicated group

Also handle authentication check in a new middleware for the admin group.
17 files changed:
application/front/ShaarliAdminMiddleware.php [new file with mode: 0644]
application/front/ShaarliMiddleware.php
application/front/controller/admin/SessionFilterController.php
application/front/controller/admin/ShaarliAdminController.php
application/front/controller/visitor/PublicSessionFilterController.php
application/legacy/LegacyController.php
index.php
tests/front/ShaarliAdminMiddlewareTest.php [new file with mode: 0644]
tests/front/ShaarliMiddlewareTest.php
tests/front/controller/admin/SessionFilterControllerTest.php
tests/front/controller/admin/ShaarliAdminControllerTest.php
tests/front/controller/visitor/PublicSessionFilterControllerTest.php
tests/legacy/LegacyControllerTest.php
tpl/default/linklist.paging.html
tpl/default/page.header.html
tpl/vintage/linklist.paging.html
tpl/vintage/page.header.html