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
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
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
5c832dd376
Fixed lost user access when saving user profile without super user permissions [ #1639 ]
2019-03-28 11:14:55 +02:00
Matias Griese
f4c26b6715
Use $grav['accounts'] instead of $grav['users']
2019-03-27 14:52:23 +02:00
Matias Griese
6bc73a32c1
Fixed some issues found by phpstan, remove deprecated method calls (User)
2019-03-20 12:52:16 +02:00
Matias Griese
9d94f889a0
Update all Form classes to rely on PageInterface instead of Page class
2019-03-05 15:46:55 +02:00
Djamil Legato
4516674112
Added logic to allow hiding notifications (x) on the current page
2019-02-13 11:08:58 -08:00
Andy Miller
2b064b6d1a
switch back to default remote notifications
2019-02-12 14:41:58 -07:00
Andy Miller
07c1b449d8
Various fixes for top/dashboard/themes/plugins notifications styling
2019-02-12 13:59:08 -07:00
Andy Miller
7601ad7052
notifications js config
2019-02-11 14:33:48 -07:00
Andy Miller
560edf21f4
use live by default
2019-02-08 22:01:23 -07:00
Andy Miller
5fc89d2bdd
broke out notifications into ‘locations’ in data
2019-02-08 17:58:13 -07:00
Andy Miller
ecde5e79a7
initial feed/notification refactors
2019-02-08 17:17:05 -07:00
Andy Miller
536898f41b
Improved tools permissions handling
2019-02-08 13:53:11 -07:00
Matias Griese
68be7a1881
Fixed avatar image with flex user
2019-02-07 09:58:45 +02:00
Andy Miller
94254b5c6f
Add array support in admin lang strings
2019-01-25 12:25:22 -07:00
Andy Miller
686fe037f6
Merge branch 'develop' into 1.9
2019-01-14 18:13:23 -07:00
Rotzbua
4d5eb659c0
IP pseudonymization for rate limiter ( #1589 )
...
requirement of gdpr
2019-01-14 17:55:56 -07:00
Andy Miller
6d03d638c3
Fixed issue with incorrect setting page to be modular #1573
2019-01-14 11:48:58 -07:00
Matias Griese
d08e4bfd4f
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# classes/adminbasecontroller.php
# themes/grav/js/admin.min.js
2019-01-08 11:36:20 +02:00
Matias Griese
9cc004f188
Fixed deleting file when using file field type [ #1558 ]
2019-01-08 11:28:41 +02:00
Andy Miller
3feadb7bd9
Unset state from user if no super or user admin
2018-12-18 20:18:28 -07:00
Andy Miller
a7c040942c
Unset state from user if no super or user admin
2018-12-18 20:18:01 -07:00
Andy Miller
cf00aac59c
Merge branch 'develop' into 1.9
...
# Conflicts:
# CHANGELOG.md
# themes/grav/app/updates/index.js
# themes/grav/js/admin.min.js
2018-12-13 15:47:25 -07:00
Andy Miller
f0c0af4e8a
Clean user post to ensure dynamically added form fields are not saved
2018-12-13 15:46:26 -07:00
Matias Griese
ba74bf33ad
Code cleanup
2018-12-05 08:20:38 +02:00
Matias Griese
c069c1d69f
Fixed user login / remember me triggering before admin gets initialized
2018-11-21 12:25:20 +02:00
Andy Miller
a62aacd7c6
Fix for entites in path #1524
2018-10-08 12:05:19 -06:00
Andy Miller
8ccc8a3926
Fix for entites in path #1524
2018-10-08 12:01:27 -06:00
Andy Miller
061eb33888
Added Tools -> Reports panel
2018-10-07 14:24:23 -06:00
Matias Griese
e5e344b35c
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# blueprints.yaml
2018-10-04 15:44:43 +03:00
Timothy Cyrus
85bb59e2b6
Change usage of basename where possible ( #1480 )
...
Change usage of basename where possible (#1480 )
2018-10-04 13:43:36 +03:00
Andy Miller
f26a86429a
Merge branch 'develop' into 1.9
...
# Conflicts:
# classes/admincontroller.php
# themes/grav/js/admin.min.js
# themes/grav/js/vendor.min.js
# themes/grav/package-lock.json
2018-09-29 13:10:10 -06:00
Matias Griese
ec93b823ca
Use Url:post() to get the $_POST variable (allows common security checks/filtering for the POST data)
2018-09-17 09:54:27 +03:00
Andy Miller
4b971e871f
Optimizations
2018-09-07 16:23:56 -06:00
Andy Miller
68ab221639
Move Scheduler to Tools
2018-09-07 16:13:07 -06:00
Andy Miller
7c135b110e
Fix redirect after failed login
2018-09-04 11:03:32 -06:00
Andy Miller
0962f77abd
Switched to new Grav Yaml class
2018-08-22 12:45:39 -06:00
Matias Griese
d07d07e30f
Fix admin login redirects for multisite setups
2018-05-23 09:27:26 +03:00
Matias Griese
41565f83d9
Admin login now uses login plugin events (with option admin: true)
2018-05-10 20:04:14 +03:00
Matias Griese
59effd57af
Moved 2FA authentication to login plugin
2018-05-10 10:34:56 +03:00
Matias Griese
12cf325518
Code cleanup
2018-05-10 10:14:18 +03:00
Andy Miller
38c660f2ca
Added option to use old-style ‘new tab’ page preview + fixed #1930
2018-03-20 11:05:11 -06:00
Andy Miller
116f3609ef
Added new and improved Admin Preview
2018-03-11 15:23:25 -06:00
Andy Miller
860ef9616d
increased indent level and default 4 chars indent
2018-03-08 17:11:10 -07:00
Andy Miller
e2c7a005cb
Fixed default lang translation #1361
2018-03-01 16:52:06 -06:00