Commit Graph

914 Commits

Author SHA1 Message Date
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
Djamil Legato
9466d784e9 Implemented filters in folderlisting task for parents field 2019-06-07 17:20:56 -07:00
Andy Miller
a962e4ffbf use rawroute() 2019-06-07 14:16:59 -06:00
Andy Miller
ee4fd383c3 Fixed root showing in multiple columns 2019-06-06 16:38:03 -06:00
Djamil Legato
3bbd33f995 Added support for root selection in parents field 2019-06-06 09:27:44 -07:00
Djamil Legato
aa56662aa2 Various fixes plus support for defaultPath selection when async data 2019-06-05 22:07:07 -07:00
Djamil Legato
032862780e More payload fixes for getFolderListing 2019-06-05 16:08:39 -07:00
Andy Miller
7256a5645d Force array_values() 2019-06-04 14:27:15 -06:00
Djamil Legato
616a45a76b Minor tweaks 2019-06-04 12:55:10 -07:00
Matias Griese
f4d5ccf731 Use $grav->exit() instead of exit() 2019-06-03 13:17:16 +03:00
Andy Miller
ed41aabe85 removed path again (was in for debugging) 2019-06-02 21:50:40 -06:00
Andy Miller
8c9f747a59 works with intial:true and returns a name and value 2019-06-02 21:46:40 -06:00
Andy Miller
d52423faaa function reorg 2019-06-02 14:44:06 -06:00
Matias Griese
d2630409ef Added support for Twig 2.11 (1.40 compatible) 2019-06-02 15:21:24 +03:00
Djamil Legato
2b08758b57 Nixed path from payload 2019-06-01 20:24:30 -07:00
Djamil Legato
7aeadbf6e0 Do not set an extension if the type is a directory 2019-06-01 20:23:11 -07:00
Djamil Legato
09f5dbbcc0 Inizial rework and implementation of parent field as finder 2019-06-01 00:32:36 -07:00
Matias Griese
cc03729964 Use PSR-4 for plugin classes 2019-05-31 14:43:16 +03:00
Andy Miller
42d95e5fde reset order to finder default 2019-05-28 22:31:53 +02:00
Andy Miller
af9d03c952 Added taskGetFolderListing() 2019-05-28 22:31:46 +02:00
Andy Miller
856be28b3a PSR 7 Fixes 2019-05-27 19:21:17 +03:00
Matias Griese
8926284389 If 2019-05-16 11:54:18 +03:00
Matias Griese
474571f2eb Fixed admin not detecting any existing users when Flex users are being used 2019-05-02 14:13:52 +03:00
Andy Miller
42179435eb Fixed issue saving page with non-standard language #1667 2019-04-29 18:00:12 -06:00
Matias Griese
044ab3a578 Only invalidate cache on creating new/deleting page to speed up the recovery 2019-04-26 10:03:06 +03:00
Andy Miller
aeb2da478e text 2019-04-21 14:02:55 -06:00
Andy Miller
a8fd054936 Added YAML Linter reports section 2019-04-20 17:43:26 -06:00
Matias Griese
4fa59f18e8 Uploaded Avatar removed from user's yaml when editing the user [#1647] 2019-04-15 11:27:39 +03:00
Andy Miller
929aa195dc Remove status message when picking folder for move #1650 2019-04-13 17:51:46 -06:00
Andy Miller
33c84222d7 Fix for Page saving issues [#1648 2019-04-13 17:42:43 -06:00
Andy Miller
2a4ebb1075 no longer needed 2019-04-12 19:46:35 -06:00
Matias Griese
354ff90e69 Fixed avatar saving for data user (improved) 2019-04-10 20:57:00 +03:00