Matias Griese
9e3f19818d
Oops, bug fix
2020-03-03 15:01:17 +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
87f3fd83ff
Pass phpstan level 1 tests
2020-02-04 11:22:27 +02:00
Matias Griese
146411dd1d
ACL access updates
2020-02-03 13:52:58 +02:00
Matias Griese
87b8c4ac6a
Cleanup
2020-02-03 13:21:19 +02:00
Matias Griese
cd286ad30c
Fixed editing own user
2020-02-03 12:15:51 +02:00
Matias Griese
c92290adcd
Missing permissions check
2020-02-03 11:51:09 +02:00
Matias Griese
3221917b94
Added default data permission
2020-02-03 11:48:10 +02:00
Matias Griese
e51d4f57ca
Added new configuration permission checks
2020-02-03 11:43:18 +02:00
Matias Griese
9c929f15a4
Cleanup acl_picker field
2020-01-31 11:56:03 +02:00
Matias Griese
7a5a6ea48a
Improve admin user
2020-01-30 13:07:57 +02:00
Matias Griese
6abcdae5d6
Updated code for Grav 1.7.0-rc.4
2020-01-30 11:02:32 +02:00
Matias Griese
0e043aa0a9
Fixed admin_route() twig function to work properly with Grav 1.7.0-rc.4, which fixes Route base
2020-01-28 18:56:37 +02:00
Matias Griese
3c74b219fe
Better logged in user handling (Flex)
2020-01-21 09:46:42 +02:00
Matias Griese
fb9c17379d
Fixed saving data with empty field, default value (from config, plugin, theme) was used instead
2020-01-16 19:51:53 +02:00
Matias Griese
5153266c7e
Fixed another case of bad profile link
2020-01-16 15:48:47 +02:00
Matias Griese
31f4e8ee03
DEPRECATED onAdminRegisterPermissions event and the corresponding admin methods
2020-01-15 16:05:16 +02:00
Andy Miller
31b8a8e12b
Added an Admin::getChangelog() method
2019-12-09 10:58:49 -07:00
Andy Miller
b2e5508d0f
Merge branch 'develop' into 1.10
...
# Conflicts:
# CHANGELOG.md
# blueprints.yaml
2019-12-04 16:20:43 -07:00
Matias Griese
c292c54ae4
Minor change
2019-12-03 21:25:21 +02:00
Matias Griese
5352f5eff0
Fixed saving configuration in PHP 7.4
2019-12-03 12:26:56 +02:00
Matias Griese
d252286947
Updated deprecated $page->modular() method calls to $page->isModule()
2019-11-15 21:51:47 +02:00
Matias Griese
f67f722252
Added support for hiding parts of admin by Deny permissions (Flex Users only)
2019-11-13 11:49:18 +02:00
Matias Griese
c30b2f2d1c
Fixed permissions field with nested permissions
2019-11-11 20:30:18 +02:00
Andy Miller
6485d6f99b
removed static log list for dynamic one via onAdminLogFiles #1765
2019-10-25 10:51:44 -06:00
Andy Miller
55dda9d576
Merge branch 'develop' into 1.10
...
# Conflicts:
# CHANGELOG.md
# themes/grav/css-compiled/preset.css.map
# themes/grav/css-compiled/template.css
# themes/grav/css-compiled/template.css.map
# themes/grav/templates/pages.html.twig
2019-10-23 15:25:38 -06:00
Fabien Basmaison
a3358c0e65
Fix accept for SVG files in file uploaders: ( #1732 )
...
Using `accept: 'image/svg+xml' to only allow SVG file to be uploaded should now work.
The `preg_match` was comparing `svgggg…xml` with `svg+xml`.
Check the [List of Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml#image ) for more potential issues.
2019-10-23 14:48:06 -06:00
Andy Miller
0a1ec11a0a
Fix for deleting user avatar (regular users)
2019-09-19 12:55:46 -06:00
Matias Griese
899d05fb7c
Fixed Admin::redirect() check for /admin, /en/admin, /root/admin or /root/en/admin
2019-09-16 21:59:56 +03:00
Matias Griese
52ba79f954
Fixed redirect with absolute language URL
2019-09-11 19:49:47 +03:00
Matias Griese
495ebcb42b
Keep language setting for AJAX requests
2019-09-11 18:05:45 +03:00
Matias Griese
f52816814a
Merge remote-tracking branch 'origin/1.10' into 1.10
2019-09-06 14:28:03 +03:00
Matias Griese
a5bceca905
Changed Admin::getAdminRoute() to return language as it was in the request
2019-09-06 14:27:52 +03:00
Andy Miller
d41a8be8fa
Sanitize Page Media
2019-09-03 12:18:20 -06:00
Andy Miller
789981b845
Add ability to Sanitize SVGs on upload
2019-09-03 11:56:22 -06:00
Matias Griese
0e23631038
Fixed regression: Do not require Flex Objects plugin [grav#2653]
2019-08-30 09:40:14 +03:00
Matias Griese
73fd485a72
Do not remove language code in admin if language is set/forced
2019-08-29 16:28:19 +03:00
Matias Griese
58f8871450
If Flex pages are enabled, dashboard should use Flex regardless of Grav page type setting
2019-08-27 12:36:05 +03:00
Matias Griese
ec44621b68
Remove caching from Pages count (regular)
2019-08-27 10:57:33 +03:00
Matias Griese
4af1da9d95
Optimize datetime field
2019-08-26 15:09:04 +03:00
Matias Griese
5dad360946
Fix compatibility regression
2019-08-26 10:51:10 +03:00
Matias Griese
31f96c771f
Major speedup on Dashboard (latest pages using Flex)
2019-08-24 13:20:16 +03:00
Matias Griese
74236c6da5
Improved page initialization logic
2019-08-23 20:45:51 +03:00
Matias Griese
fcc76d7470
Fixed typo in the code
2019-08-23 12:58:56 +03:00
Matias Griese
8ddc56eec5
Pages: Updated parent field logic
2019-08-23 12:54:41 +03:00
Matias Griese
5e219c8197
Optimize admin for speed (only load frontend pages on demand)
2019-08-22 19:25:59 +03:00
Matias Griese
9197985de5
Merge remote-tracking branch 'origin/1.10' into 1.10
2019-08-14 20:36:42 +03:00
Matias Griese
d0abf2eb66
Better support for clockwork logs
2019-08-14 20:36:33 +03:00
Andy Miller
741e2285e5
Fixed issue with deleting files in config based YAML files
...
# Conflicts:
# CHANGELOG.md
2019-08-09 16:46:20 -06:00