Andy Miller
f8fede7da7
Added taskConvertUrls()
2020-04-30 13:27:10 -06:00
Matias Griese
b363309646
Fixed language redirect adding extra language prefix in Flex
2020-04-24 12:34:46 +03:00
Andy Miller
fdb68b4c6b
Merge branch '1.10' into feature/whitebox
2020-04-21 10:34:11 -06:00
Matias Griese
a49212262c
Fixed custom folder in mediapicker field not working with streams
2020-04-21 12:03:59 +03: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
e7e49607d4
handle error on compile
2020-04-19 18:31:11 -06:00
Andy Miller
bfcbca18dd
optimizations + fixes
2020-04-19 18:14:12 -06:00
Ricardo
3eb846a720
fixed the file_put_contents bug
2020-04-19 22:08:46 +01: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
367d55d5e0
Revert "Fix for visible state when creating new pages #1831 "
...
This reverts commit 0f87a2691b .
2020-03-06 12:39:15 -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
0f87a2691b
Fix for visible state when creating new pages #1831
2020-03-06 11:17:14 -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
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
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