Matias Griese
9f3bcd11b1
Fixed elements field when it's used inside list field
2022-02-03 20:14:20 +02:00
Matias Griese
c763004a94
Make elements field options to work with int and bool values
2022-01-10 21:08:51 +02:00
Djamil Legato
c58c7aebb9
Fixed elements field to properly allow unlimited combinations
2022-01-10 11:01:38 -08:00
Djamil Legato
a1e4e5979e
Ensure autocomplete select trigger is not remembered by browsers
2022-01-10 10:17:15 -08:00
Djamil Legato
25e91cff23
Implemented js logic to handle new elements field
2022-01-07 21:49:32 -08:00
Andy Miller
e0dd768b97
removed old tab code
2022-01-07 18:17:17 -07:00
Andy Miller
74a5000e04
first whack at new elements field
2022-01-07 17:28:46 -07:00
Markus Weimar
ed7ffc708e
Localize dialog buttons, add icons ( #2207 )
2021-12-15 14:35:51 -07:00
Matias Griese
3f39a7768d
Deprecated Twig in order field
2021-12-09 15:51:44 +02:00
Matias Griese
af9cdc3e41
Fixed deprecation warnings on taxonomy and xss fields
2021-12-09 14:58:54 +02:00
Andy Miller
2c7683fd61
fix display of %s not showing user
2021-09-13 17:43:03 -06:00
Matias Griese
2f9b0a179c
Fixed regression Argument 4 passed to Grav\Plugin\Form\TwigExtension::prepareFormField() must be of the type array [ #2177 ]
2021-09-01 12:47:51 +03:00
Andy Miller
e5135ecf83
Merge branch 'develop' of github.com:getgrav/grav-plugin-admin into develop
2021-08-20 10:14:22 -06:00
Andy Miller
c397f18fdd
fixes issue #2167
2021-08-20 10:14:16 -06:00
Matias Griese
e6e7a5dbab
Admin form now use layout admin, meaning you can create admin specific field templates by forms/fields/myfield/admin-field.html.twig
2021-08-20 14:30:12 +03:00
Matias Griese
e9d36b97a8
Stop using |tu filter, Grav already has the same logic in |t for admin
2021-08-18 14:12:03 +03:00
Matias Griese
43da7c909d
Updated forms and nested fields to use new form logic
2021-08-12 14:13:19 +03:00
Matias Griese
7317e755e5
Fixed missing values in fieldset form field
2021-08-09 21:12:57 +03:00
Karmalakas
643f3a76c7
Add logic to allow fieldset form field inside a list field ( #2159 )
...
* Add logic to allow fieldset form field inside a list field
* Fix code style
2021-07-18 14:05:36 -06:00
Djamil Legato
b57202f20f
Added timestamp as title in logs date ( fixes #2141 )
2021-06-04 11:57:19 -07:00
Matias Griese
251cf976b0
Fixed missing Remove Theme button when the theme is inactive
2021-06-03 20:42:53 +03:00
Andy Miller
bd5ea0e958
Revert "logout should use ajax.json"
...
This reverts commit 5953a802f9 .
2021-06-02 12:17:53 -06:00
Andy Miller
5953a802f9
logout should use ajax.json
2021-06-01 12:26:17 -06:00
Andy Miller
13dfe58feb
use base64_encode filter rather than function
2021-05-13 12:49:59 -06:00
Andy Miller
6e5839ded6
lang strings
2021-05-05 13:42:03 -06:00
Andy Miller
1ceebec29f
improve plugin enabled logic
2021-05-05 12:53:07 -06:00
Andy Miller
3aae171297
improve activation logic
2021-05-05 12:14:04 -06:00
Andy Miller
ac4d1588f0
Added a min_height: option for list field
2021-04-28 14:16:58 -06:00
Djamil Legato
9e24446604
Adding back unsaved changes warning for this first version of copy modal implementation
2021-04-23 09:19:44 -07:00
Djamil Legato
dcea287e2f
Prevent unload popup when performing a copy action
2021-04-23 09:15:51 -07:00
Matias Griese
a49b1f18c9
Fixed bug in tag translation
2021-04-23 17:04:29 +03:00
Matias Griese
61f6c3cda4
Fixed missing/wrong page categories and tags when multi-language support is enabled [ #2107 ]
2021-04-23 15:16:08 +03:00
Matias Griese
1b26b4ca7d
Fixed permission check for configuration save [ #2130 ]
2021-04-23 11:21:41 +03:00
Djamil Legato
c9be7941e9
More changes to the copy modal
2021-04-20 23:42:58 -07:00
Djamil Legato
cf5974b4d4
Updated task to copy
2021-04-20 23:20:18 -07:00
Djamil Legato
38af7a75fe
Initial setup for new copy page modal ( #1738 )
2021-04-20 22:17:21 -07:00
Djamil Legato
e16f1243cc
Added refresh action button for Folder to ease the regeneration of the slug based on the title. Available also as API entry Grav.default.Forms.Fields.FolderField.Regenerate() ( #1738 )
2021-04-20 15:45:56 -07:00
Andy Miller
0ad907be01
Support native spell checkers in codemirror editor #1266
2021-04-20 14:13:01 -06:00
Matias Griese
da8a7b574c
Improve ACL checks for the tasks
2021-04-12 22:06:43 +03:00
Matias Griese
6db7e4a637
Fixed You have been logged out message when entering to 2FA authentication due to /admin/task:getNotifications AJAX call [ #2109 ]
2021-04-08 10:43:47 +03:00
Matias Griese
9fca08ab43
Regression: Fixed broken 2FA form [ #2109 ]
2021-04-07 14:14:04 +03:00
Matias Griese
c4d90bfcd3
Fixed missing admin-preset.css in multisite environments
2021-04-07 11:47:05 +03:00
Matias Griese
4e18aef93f
Merge remote-tracking branch 'security/advisory-fix-1' into develop
...
# Conflicts:
# admin.php
2021-04-06 19:47:34 +03:00
Matias Griese
c97177e0ee
Prevent expert editing mode from anyone else than super users [ #2094 ]
2021-03-31 12:16:40 +03:00
Matias Griese
aa4f80eec1
Greatly improve login related actions for Admin
...
* Better isolate admin to prevent session related vulnerabilities
* Removed support for custom login redirects for improved security
* Shorten forgot password link lifetime from 7 days to 1 hour
* Fixed login related pages being accessible from admin when user has logged in
* Fixed admin user creation and password reset allowing unsafe passwords
* Fixed missing validation when registering the first admin user
* Fixed reset password email not to have session specific token in it
2021-03-26 14:39:37 +02:00
Djamil Legato
c45e9bd45e
Fixed and enhanced Range field to be Lists compatible ( fixes #2062 )
2021-03-22 17:59:13 -07:00
Djamil Legato
43f16f6491
Fixed issue where Add New modal would close if selecting an item outside of the modal window. It is now necessary go through the Cancel button and clicking the overlay won't trigger the closing of the modal ( fixes #2089 , fixes #2065 )
2021-03-18 16:09:32 -07:00
Djamil Legato
6ff6e9b54a
Fixed legacy Pages having old modular reference instead of module ( fixes #2093 )
2021-03-18 15:39:23 -07:00
Matias Griese
1e67bb8011
Fixed error when checking missing log file [ #2088 ]
2021-03-04 15:50:35 +02:00
Mohammad Anbarestany
d87233c630
Support for RTL languages ( #2078 )
...
* RTL-Support
* Standard Format
* shorter code
* default Arabic font
* fix for Configuration section
for "system>Assets>Collections" section to support RTL we should change inline style element created by admin.min.js so i've added an if statement to check <body> direction is RTL or not...
* Update rtl.css
* Multi level fix for RTL
in admin config under system>assets there is an input text which you can add child(s) under it... i've added several if statements to check Page direction and put margin-right instead of margin-left for RTL languages... i also wrote an style to override margin-left just in case ;)
* improvements
* fixes
* fix
* fix
* fix
* Update rtl.css
* first complete RTL style 👍
* Faster computation of direction
* Faster evaluation for margin direction (and simplified)
Co-authored-by: Djamil Legato <djamil+github@djamil.it >
2021-02-23 10:16:33 -08:00