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
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
Andy Miller
9b1ada8633
Fixed issue with deleting files in config based YAML files
2019-08-09 16:45:31 -06:00
Matias Griese
7533ad5219
Added data() twig function to create data object from an array
2019-07-19 13:42:40 +03:00
Andy Miller
c318d88f03
Fix '+New Folder' to work with new parent picker
2019-07-11 09:15:07 -06:00
Matias Griese
c3b7285fa2
Fixed 2FA regenerate for Flex Users
...
# Conflicts:
# CHANGELOG.md
2019-07-01 11:50:31 -06:00
Matias Griese
b2276071d4
Fixed 2FA regenerate for Flex Users
2019-07-01 20:43:53 +03:00
Matias Griese
30e38312c5
Fixed double slashes in Admin::adminRoute()
2019-07-01 20:35:53 +03:00
Matias Griese
121469311d
Fixed redirect when using full path on subfolder install
2019-07-01 20:18:42 +03:00
Matias Griese
bf4329c2d1
Merge branch 'feature/multilang' of github.com:getgrav/grav-plugin-admin into 1.10
...
# Conflicts:
# CHANGELOG.md
# classes/plugin/AdminController.php
# classes/plugin/Twig/AdminTwigExtension.php
2019-06-29 14:57:22 +03:00
Matias Griese
8872455e1a
Much improved multi-language support for pages
...
Added `Admin::redirect()` method to allow redirects to be used outside of controllers
Added `$admin->adminRoute()` method and `admin_route()` twig function to create language aware admin page links
Renamed `Admin::route()` to `Admin::getCurrentRoute()` and deprecated the old call
Admin redirects should now work better with multiple languages enabled
Fixed default language being renamed to `page.en.md` (English) instead of keeping existing `page.md` filename
2019-06-27 14:39:03 +03:00
Andy Miller
2d6619a5da
Smarter handling of symlinks in parent field
2019-06-24 16:36:17 -06:00
Andy Miller
4c20470137
More windows fixes for parent field
2019-06-24 11:22:38 -06:00
Andy Miller
da2f761aeb
Fixed issue with windows paths in parent field #1699
2019-06-22 17:24:20 -06:00
Matias Griese
fba6118836
Merge branches '1.10' and 'develop' of github.com:getgrav/grav-plugin-admin into 1.10
...
# Conflicts:
# CHANGELOG.md
# blueprints.yaml
# themes/grav/js/admin.min.js
2019-06-20 22:15:16 +03:00
Matias Griese
f2a8194572
Resetting a user's password clears the user's site access [grav#2528]
2019-06-20 22:13:04 +03:00
Matias Griese
902447a50c
WIP: Added new controller for admin
2019-06-18 12:15:58 +03:00
Matias Griese
c74cc716e9
Fixed admin caching issues
2019-06-14 12:19:31 +03:00
Matias Griese
4be66fd382
Group admin tasks for better readability
2019-06-14 11:39:37 +03:00
Andy Miller
526e2e097d
flipped order
2019-06-13 09:55:39 -06:00
Andy Miller
20c34bdbee
Default to folders only
2019-06-07 19:08:48 -06:00