21 Commits

Author SHA1 Message Date
Ben Thomson
3363b219f6 Delay backend controller middleware until after request is processed (#4190)
Credit to @bennothommo. Fixes #4183.
2019-03-21 01:19:28 -06:00
Larry Barker
5c15687032 Support CMS module being present but disabled (#4202)
Credit to @LarBearrr
2019-03-19 16:31:14 -06:00
Ben Thomson
57a074364e Allow controller middleware in backend controllers (#4106)
Credit to @bennothommo Related: https://github.com/octobercms/october/pull/4088
2019-02-27 14:27:41 -06:00
Luke Towers
d6f8cc179d Support abort(404) in the backend module 2019-02-21 10:44:58 -06:00
Luke Towers
d6e680799f Reduce reliance on CMS module from Backend module
added backend 404 view, fixed return to backend URL in the access denied view on backend only instances
2019-01-15 11:46:48 -06:00
Denis Denisov
2b16bad0fe Ignore controllers of disabled plugins (#3923)
Fixes #3905. Credit to @w20k
2018-11-15 13:51:11 -06:00
Nathan van der Werf
62c59a4903 Refactor ternary operators to null coalescing operators 2018-08-15 19:15:13 +02:00
Nathan van der Werf
123145fd54 Remove unnecessary parentheses 2018-08-15 18:49:52 +02:00
Samuel Georges
0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges
171b14c6ab Nicer error message when no DB and backend access attempt
This is for flat-file sites that don't use a database. If debug mode is on, it will show an error page with advice to set up the database. If debug mode is off, it will simply show a 404 page. Previously it was a nasty exception/plain error page.
2016-06-05 07:16:11 +10:00
Pásztor Gábor
31457bd2ee Cleanup 2016-01-15 10:20:57 +01:00
Samuel Georges
1a037bad04 Add the ability to include middleware in CMS / Backend controllers
Add init.php script to plugins
Fixes https://github.com/octobercms/library/issues/106
2015-04-21 20:07:34 +10:00
Samuel Georges
e50a220fae Fixes an issue where unix users get locked out of the backend 2015-02-12 21:02:47 +11:00
Samuel Georges
fbf46519b4 Implement plugins_path() usage 2015-02-07 15:37:07 +11:00
Samuel Georges
ed22cc9186 Migrate bootstrap process 2015-02-04 19:31:41 +11:00
Stefan Talen
7dc24cfff1 Updating backend/classes 2014-10-10 23:12:50 +02:00
Sam Georges
3fe08dfaf4 Minor fix 2014-08-08 22:02:46 +10:00
jofrysutanto
cbc1a7688f Camel-casing controller action in backend for friendlier action naming in backend controller 2014-08-04 22:56:49 +10:00
Sam Georges
6388ecef52 private -> protected 2014-08-01 13:58:59 +10:00
Sam Georges
63b98f56c5 Allow routing to nothing without looking up from the Request object 2014-07-14 19:06:23 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00