Commit Graph

87 Commits

Author SHA1 Message Date
Matias Griese
1136a1007e Fixed configuration not fully updating on save [#2149] 2021-05-26 10:48:50 +03:00
Matias Griese
a01170576a Updated SCSS compiler to v1.5 2021-05-18 18:32:32 +03:00
Andy Miller
1ceebec29f improve plugin enabled logic 2021-05-05 12:53:07 -06:00
Andy Miller
3aae171297 improve activation logic 2021-05-05 12:14:04 -06:00
Matias Griese
9d21a98f61 Theme update - custom files overwritten #2135 2021-04-29 14:58:48 +03:00
Djamil Legato
438c9716cc Better Pages default permissions 2021-04-22 11:57:40 -07:00
Matias Griese
7ed36e462e Fixed error reporting for AJAX tasks if user has no permissions 2021-04-14 21:43:40 +03:00
Matias Griese
cde46a2eb0 Regression: Fixed broken plugin/theme installer in admin 2021-04-14 13:54:01 +03:00
Matias Griese
9383007b93 Better document admin tasks 2021-04-14 13:40:02 +03:00
Matias Griese
da8a7b574c Improve ACL checks for the tasks 2021-04-12 22:06:43 +03:00
Matias Griese
aa4f80eec1 Greatly improve login related actions for Admin
* Better isolate admin to prevent session related vulnerabilities
* Removed support for custom login redirects for improved security
* Shorten forgot password link lifetime from 7 days to 1 hour
* Fixed login related pages being accessible from admin when user has logged in
* Fixed admin user creation and password reset allowing unsafe passwords
* Fixed missing validation when registering the first admin user
* Fixed reset password email not to have session specific token in it
2021-03-26 14:39:37 +02:00
Matias Griese
b3d66b3d3a Rename internal save methods 2021-03-19 18:06:24 +02:00
Matias Griese
b7271bc424 Regression: Fixed enabling/disabling plugin or theme corrupting configuration 2021-02-19 22:04:04 +02:00
Matias Griese
64e41b034e Fixed fatal error in admin if POST request has data in it [#2074] 2021-02-18 15:33:38 +02:00
Matias Griese
417d82769b Fixed onAdminAfterAddMedia event always pointing to the home page [#1905] 2021-02-10 13:08:34 +02:00
Matias Griese
725ed07ad9 Fixed onAdminAfterDelMedia event always pointing to home page [#1905] 2021-02-10 12:57:43 +02:00
Matias Griese
6328489170 Provide media object and filename in onAdminAfterDelMedia event [#1905] 2021-02-10 12:40:25 +02:00
Matias Griese
5ed810a2ab Fixed fatal error when moving a page using the old implementation [#2019] 2021-01-18 12:40:13 +02:00
Matias Griese
de3a557b80 Display controller exceptions in debugger 2021-01-18 12:05:24 +02:00
Matias Griese
1d669c5fb9 Minor code improvements 2021-01-08 18:57:41 +02:00
Djamil Legato
72116dcbca Fixed notifications that would not be remembered as hidden + various improvements 2020-12-21 15:29:42 -08:00
Matias Griese
d9c73e2edb Post merge conflicts 2020-12-01 09:51:43 +02:00
Matias Griese
432ef4bb1a Composer update after merge 2020-12-01 09:37:58 +02:00
Matias Griese
be6428922d Merge branch 'develop' of github.com:getgrav/grav-plugin-admin into 1.10
 Conflicts:
	admin.php
	classes/plugin/AdminController.php
	composer.lock
	vendor/composer/autoload_classmap.php
	vendor/composer/autoload_psr4.php
	vendor/composer/autoload_real.php
	vendor/composer/autoload_static.php
	vendor/composer/installed.json
2020-12-01 09:24:05 +02:00
Djamil Legato
4e45a22837 Minor wording change for unauthorized downloads 2020-10-28 11:11:09 -07:00
Andy Miller
d063ac669b Cleaner error messages 2020-09-03 22:28:47 -06:00
Matias Griese
6bcc5f7636 Fixed a glitch which allows user to delete entire pages directory, Admin 1.10 edition [#1941] 2020-08-28 13:38:58 +03:00
Matias Griese
44dca2df75 Made all the onAdmin CRUD events to pass object (and backwards compatible page) to make them easier to use 2020-08-28 12:32:45 +03:00
Matias Griese
16fb712770 Do not use $pages->dispatch() to find a page, it redirects! 2020-05-22 20:06:40 +03:00
Andy Miller
0cfc7e031c Fixes for broken parents field 2020-05-22 10:32:30 -06:00
Andy Miller
4d32db02ec fixed recompile outside of page admin config 2020-05-07 22:44:55 -06:00
Andy Miller
a07800908f proper fix for recompile 2020-05-07 21:54:12 -06:00
Andy Miller
26d3995f05 quicktray support + fix recompile 2020-05-07 21:48:33 -06:00
Ricardo
99bdfe167e improvement for empty names 2020-05-07 21:44:22 +01:00
Ricardo
59e8cbecb2 slugifying the name 2020-05-07 21:37:56 +01:00
Ricardo
0a83e26d53 Added theme whitelabel export functionality 2020-05-07 21:20:08 +01:00
Andy Miller
f8fede7da7 Added taskConvertUrls() 2020-04-30 13:27:10 -06:00
Andy Miller
c295cb0322 refactors + support for onAdminCompilePresetSCSS() event 2020-04-20 13:08:23 -06:00
Andy Miller
981585a657 renamed Whitebox to WhiteLabel 2020-04-20 09:57:44 -06:00
Andy Miller
e1b571a655 store preset in asset:// rather than admin plugin 2020-04-19 23:52:23 -06:00
Andy Miller
009c89482e fix preview/compile ajax calls 2020-04-19 18:37:30 -06:00
Andy Miller
bfcbca18dd optimizations + fixes 2020-04-19 18:14:12 -06:00
Andy Miller
630e6bf834 added admin whitebox functionality 2020-04-18 17:45:11 -06:00
Andy Miller
f324209ced renamed for clarity 2020-03-06 17:10:32 -07:00
Andy Miller
9adb54e2e6 dispatch() -> find() as dispatch can redirect 2020-03-06 12:43:20 -07:00
Andy Miller
f127d28bcd Add children flag in parent field data response 2020-03-06 12:37:01 -07:00
Andy Miller
559e2adbf2 Fix for homepage in pages as it uses a route 2020-03-06 12:33:26 -07:00
Andy Miller
5c130ccca0 Fixed parent field not working with regular pages 2020-03-06 11:15:04 -07:00
Matias Griese
9e3f19818d Oops, bug fix 2020-03-03 15:01:17 +02:00
Matias Griese
87f3fd83ff Pass phpstan level 1 tests 2020-02-04 11:22:27 +02:00