216 Commits

Author SHA1 Message Date
Andy Miller
1680968442 support AVIF image drag/dropping 2024-10-25 14:57:44 +01:00
Djamil Legato
87cd7c0129 Fixed initial elements state not being restored 2022-04-01 15:08:30 -07:00
Ricardo Verdugo
c673f93680 Ricardo118 patch collection (#2235)
* Update collections.js

* compile js
2022-02-09 17:26:02 -08:00
Djamil Legato
0aa99cd3de Improved logic of list item confirmation by allowing to toggle on/off when clicking on the trash can 2022-02-08 20:58:22 -08:00
Djamil Legato
fa4122efcb List field items will now require confirmation before getting deleted 2022-02-08 20:53:51 -08:00
Djamil Legato
b51acae26d Ensure page media thumb is properly size on drop 2022-02-04 10:51:37 -08:00
Djamil Legato
152b384e1c Fixed issue uploading non-images media when Resolution setting enabled in Admin (fixes #2172) 2022-02-04 09:50:20 -08:00
Djamil Legato
d610d6ca4b Clean filename before presenting it to error modal 2022-01-21 15:17:09 -08:00
Djamil Legato
c58c7aebb9 Fixed elements field to properly allow unlimited combinations 2022-01-10 11:01:38 -08:00
Djamil Legato
25e91cff23 Implemented js logic to handle new elements field 2022-01-07 21:49:32 -08:00
Djamil Legato
eb4d9703db Treat WebP as image when inserting / drag & dropping (fixes #2150) 2021-05-27 13:37:09 -07:00
Djamil Legato
250eb3e0e4 ixed display issue with "+ Add Page" and picking a different route (fixes #2136, fixes #2145) 2021-05-27 13:13:54 -07:00
Djamil Legato
084002bd77 Editor: Do not assume images URLs are going to be http:// (wrong assumption plus not SSL) (fixes #2127) 2021-05-02 21:57:15 -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
Djamil Legato
c45e9bd45e Fixed and enhanced Range field to be Lists compatible (fixes #2062) 2021-03-22 17:59:13 -07:00
Djamil Legato
c61d91c7a8 Fixed issue where Adding a new page and canceling from within Editing would alter the Parent location of the edited page (fixes #2067) 2021-03-22 17:12:37 -07:00
Djamil Legato
ea64270d9b Include alt text and title for images added to the editor (#2098) 2021-03-18 15:21:53 -07:00
Frederik Schubert
11737be3a9 Fixed issue with replacing * in page flex collections (#2092)
Co-authored-by: Frederik <frederik@ferdynator.de>
2021-03-18 14:47:19 -07:00
Djamil Legato
d962316740 Recompiled JS and update Changelog (#2078) 2021-02-23 10:22:17 -08: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
Djamil Legato
8d80d0f75e Fixed unnecessary closing bracket cuasing JS error (fixes #2079) 2021-02-22 09:24:33 -08:00
Djamil Legato
ecc8939e17 Tweaks in handling of uploaded files (#1429) 2021-02-09 10:59:27 -08:00
Djamil Legato
2f737d2771 Recompiled JS 2020-12-14 17:47:57 -08:00
Djamil Legato
b0c6b99cab Always pass admin nonce 2020-12-14 17:45:08 -08:00
Djamil Legato
5cc2216185 Upgraded node dependencies to latest version. Improved speed of JS compilation. 2020-11-18 13:36:30 -08:00
Djamil Legato
ed8f24a8e7 Better support for array field key/value when either key or value is empty (fixes #1972) 2020-11-16 20:46:00 -08:00
Djamil Legato
01dfc8415e Stop propagation of ACL add button in ACL picker (fixes flex-objects#83) 2020-11-12 10:32:37 -08:00
Djamil Legato
69610907bf Fixed Safari issue with new ACL picker field (fixes #1955) 2020-10-08 12:20:30 -07:00
Djamil Legato
73fde930a9 Disabled the EXIF library for Dropzone for fixing the orientation as it was getting applied twice (fixes #1923) 2020-07-20 16:47:58 -07:00
Andy Miller
9998acb7fe Feature/new scrollbars (#1883)
* reworked scrollbars to use simplebar + native styling

* Fix ajax in flexobject pages

* stub scrollbar object

* various fixes
2020-05-09 17:43:03 -06:00
Andy Miller
8fe8d4b1d8 much new custom admin stuff 2020-05-08 17:50:03 -06:00
Djamil Legato
4921ac638e Added badge count for children in the Parents field and prevent loading Pages in Parents field if they don't have children 2020-03-22 14:55:10 -07:00
Djamil Legato
6658a31fc0 Properly target parent from child 2020-01-31 14:17:57 -08:00
Djamil Legato
3765f10b71 Added logic to handle parents in permissions field 2020-01-31 12:56:56 -08:00
Djamil Legato
f847d9430a Updated admin dependencies. Brought in datetime picker and upped the bootstrap dep (fixes #1807) 2020-01-31 11:53:58 -08:00
Djamil Legato
6a8245b818 Reworked ACL/CRUDP picker to use more sophisticated JSON syntax 2020-01-28 17:09:49 -08:00
Djamil Legato
5a7e88462a Passing ‘’ instead of ‘ ‘ for indeterminate state 2020-01-28 15:17:25 -08:00
Djamil Legato
35913e72c8 (CRUDP): Initial page permissions crudp field 2020-01-27 13:05:06 -08:00
Djamil Legato
b018795218 (field: page_access —> acl_picker): made field reusable. Added basic logic to handle different data sources 2020-01-22 14:25:47 -08:00
Djamil Legato
d3a9d98308 Added custom field logic for Page Access 2020-01-17 16:24:55 -08:00
ricardo118
ebd16639dc added on_demand option for filepicker (#1809)
on_demand: true option for filepicker field allows for users to only load the filepicker when the select field is clicked on. This is very useful for pages with many filepickers or large media files, as the page speed improves significantly
2020-01-17 12:29:43 -07:00
Djamil Legato
2f2bb64bdc Potential fix array within list (#1774) 2019-10-28 14:27:54 -07:00
Djamil Legato
1f65633791 Moved task getLeveListing to action 2019-09-18 11:54:15 -07:00
Djamil Legato
4600eb08af Fixed check for parents within modals 2019-08-23 12:27:43 -07:00
Djamil Legato
9da0a508b9 Fixed name 2019-08-22 12:02:09 -07:00
Djamil Legato
5645da0c0e Changed url task for parents field 2019-08-22 11:58:43 -07:00
Andy Miller
26e8192295 Merge branch 'develop' into 1.10
# Conflicts:
#	CHANGELOG.md
#	blueprints.yaml
#	themes/grav/js/admin.min.js
2019-08-21 15:13:17 -06:00
Djamil Legato
1ac925b117 Fixed regression with files in admin not allowing types other than images (fixes #1737) 2019-08-21 10:09:18 -07:00
Andy Miller
c2f4362e33 Merge branch 'develop' into 1.10
# Conflicts:
#	themes/grav/app/forms/fields/files.js
#	themes/grav/css-compiled/template.css
#	themes/grav/css-compiled/template.css.map
#	themes/grav/js/admin.min.js
2019-08-14 11:54:23 -06:00
Djamil Legato
b5bf334340 Fixed file form field failing resolution checks in certain circumstances 2019-07-31 16:57:41 -07:00