Commit Graph

317 Commits

Author SHA1 Message Date
Andy Miller
64bbed1312 Revert "minor tweaks"
This reverts commit d437bd117a.
2025-10-18 12:29:51 -06:00
Andy Miller
d437bd117a minor tweaks 2025-10-18 12:27:32 -06:00
Andy Miller
39aa026f3f restore tool - mostly working 2025-10-18 12:14:52 -06:00
Andy Miller
796c61e66d restore tool - but not curretly working 2025-10-18 12:04:25 -06:00
pips
8dc503c842 fix(force_ssl): use scheme instead of server var (#2435)
using some proxy / load balancer may not properly set server https index, thus leading to infinite redirection on force_ssl parameter set to true

align https detection with grav-core code:

a1c116dd82/system/src/Grav/Common/Service/PagesServiceProvider.php (L72-L78)
2025-01-06 14:22:34 +00:00
Matias Griese
5c1e6d6d52 Require **Grav 1.7.32**, **Form 6.0.0**, **Login 3.7.0**, **Email 3.1.6** and **Flex Objects 1.2.0** 2022-03-23 13:44:14 +02:00
Djamil Legato
834a012256 Fixed regression preventing new elements field from saving its state 2022-02-09 14:50:12 -08:00
Matias Griese
e40490f98f Minor fix for element field 2022-02-04 19:23:13 +02:00
Matias Griese
396e32b76e Made path handling unicode-safe, use new Utils::basename() and Utils::pathinfo() everywhere 2022-01-26 14:11:10 +02:00
Matias Griese
58806748b9 Minor improvement 2021-12-08 17:38:50 +02:00
Andy Miller
a47cef44a5 Moved CSS preset compile 2021-04-15 14:13:33 -06:00
Matias Griese
9fca08ab43 Regression: Fixed broken 2FA form [#2109] 2021-04-07 14:14:04 +03:00
Matias Griese
4e18aef93f Merge remote-tracking branch 'security/advisory-fix-1' into develop
# Conflicts:
#	admin.php
2021-04-06 19:47:34 +03:00
Matias Griese
c97177e0ee Prevent expert editing mode from anyone else than super users [#2094] 2021-03-31 12:16:40 +03:00
Matias Griese
9a86b83dee Fixed admin controller running before setting $grav['page'] 2021-03-30 18:51:07 +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
49348067a5 Fixed ERR_TOO_MANY_REDIRECTS with HTTPS = 'On' [#2100] 2021-03-23 10:36:05 +02:00
Matias Griese
d56a4ba922 Better field type definitions for file, pagemedia, filepicker and pagemediafield 2021-03-17 19:12:18 +02:00
Matias Griese
e115eba2cc Fixed wrong language in Admin Tools [#2077] 2021-02-23 21:05:20 +02:00
Matias Griese
2cd783dfa6 Fixed Admin creating empty user/config/info.yaml file (the file can be safely removed, it is not in use) 2021-02-18 15:38:49 +02:00
Matias Griese
a8983a003d Fixed ACL for Configuration tabs [#771] 2021-02-10 15:26:02 +02:00
Matias Griese
63d9758fdc Fixed Call to a member function trackHit() on null [#2049] 2021-02-01 16:25:06 +02:00
Matias Griese
a0fce62e31 Regression: Values inside Fieldset do not display [#1995] 2020-12-23 20:23:55 +02:00
Matias Griese
d9c73e2edb Post merge conflicts 2020-12-01 09:51:43 +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
Matias Griese
c604c05491 Remove comments 2020-11-26 15:55:02 +02:00
Djamil Legato
77fd8900f3 It is now possible to use regex as values for "Hide page types in Admin" and "Hide modular page types in Admin" settings (fixes #1828) 2020-11-21 15:15:55 -08:00
Djamil Legato
ee67dddd8d Statistics is now Page View Statistics (fixes #1885) 2020-11-20 16:13:27 -08:00
Andy Miller
8f4aca88d7 Merge branch 'develop' into 1.10
# Conflicts:
#	CHANGELOG.md
#	blueprints.yaml
#	classes/plugin/Admin.php
#	classes/plugin/AdminController.php
#	languages/en.yaml
#	themes/grav/css-compiled/fonts.css
#	themes/grav/css-compiled/fonts.css.map
#	themes/grav/css-compiled/template.css
#	themes/grav/css-compiled/template.css.map
#	themes/grav/js/admin.min.js
#	themes/grav/js/vendor.min.js
#	themes/grav/scss/fonts.scss
2020-10-07 17:35:49 -06:00
Andy Miller
ba609fa45a compatibility for nextgen editor 2020-10-05 18:46:39 -06:00
Matias Griese
8b6679855c Fixed proxy/browser caching issues in admin pages 2020-09-14 13:46:59 +03:00
Andy Miller
474c939b59 simplified handling 2020-05-09 14:21:46 -06:00
Andy Miller
d55dc72ef6 handle index array of presets 2020-05-09 14:21:03 -06:00
Andy Miller
8fe8d4b1d8 much new custom admin stuff 2020-05-08 17:50:03 -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
e7e49607d4 handle error on compile 2020-04-19 18:31:11 -06:00
Andy Miller
6a2abce7bf optimization for onAdminSave() to only call compileScss if in admin plugin 2020-04-19 18:19:22 -06:00
Andy Miller
bfcbca18dd optimizations + fixes 2020-04-19 18:14:12 -06:00
Andy Miller
9d713f1783 various old/bad references to admin-whitebox 2020-04-19 16:45:10 -06:00
Andy Miller
0eb6a19c84 fixed preset path 2020-04-19 16:38:13 -06:00
Andy Miller
630e6bf834 added admin whitebox functionality 2020-04-18 17:45:11 -06:00
Matias Griese
5b92914a03 Fixed issue with blueprint when using theme:// in dynamic form field 2020-02-26 19:19:25 +02:00
Matias Griese
8483873e02 Added keysOnly parameter to AdminPlugin::pagesTypes() and AdminPlugin::pagesModularTypes() methods, ignore parameter to Admin::types() and Admin::modularTypes() methods 2020-02-25 13:58:36 +02:00
Matias Griese
20ae10bcb4 Added some debugging messages (turned off by default) 2020-02-10 22:19:39 +02:00
Matias Griese
87b8c4ac6a Cleanup 2020-02-03 13:21:19 +02:00
Matias Griese
e51d4f57ca Added new configuration permission checks 2020-02-03 11:43:18 +02:00
Matias Griese
65e86f3e97 Added twig variable for user 2020-01-30 12:32:10 +02:00
Matias Griese
5810b7450c Added filtering for acl_picker field 2020-01-28 22:24:29 +02:00