Commit Graph

198 Commits

Author SHA1 Message Date
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
Djamil Legato
8c1f47396c Fixed issue with array field nested in list that were losing their index order when the list reordered 2019-07-17 11:06:39 -07:00
Djamil Legato
1542931d99 Fixed issue with array field nested in list that were losing their index order when the list reordered 2019-07-17 10:42:01 -07:00
Djamil Legato
7fa8bca2e9 Better support for array field into list field
# Conflicts:
#	CHANGELOG.md
2019-07-09 17:00:24 -07:00
Djamil Legato
788329c3d2 Better support for array field into list field 2019-07-08 17:56:35 -07:00
Djamil Legato
4add413d11 Fixed configuration reference in admin 2019-07-01 11:26:24 -07:00
Djamil Legato
2e85583141 Fixed missing check for maximum allowed files in files field 2019-06-18 19:02:31 -07:00
Djamil Legato
eabf2fc3a9 Reworked move modal for pages to use the new parents field 2019-06-08 20:40:59 -07:00
Djamil Legato
7da0be9a97 Update parent page title upon selection 2019-06-08 17:32:05 -07:00
Djamil Legato
2a1ba67822 Pass the field name to the controller task 2019-06-07 17:20:31 -07:00
Djamil Legato
3a224b36fa Fixed and optimized instances to prevent multiple initializations of parents field 2019-06-07 16:29:06 -07:00
Djamil Legato
b6917d799f Implemented selection of the finder node 2019-06-07 12:36:07 -07:00
Djamil Legato
3bc8783b53 Added title on node items to support long filenames when ellipsis truncation in place 2019-06-06 18:54:43 -07: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
0ef89856fb Removed leftover console.log breaking the JS 2019-06-05 18:16:42 -07:00
Djamil Legato
429bc363dc Moved finderjs in-house since it’s going to go under heavy modifications 2019-06-05 16:09:21 -07:00
Djamil Legato
cf1bd7d014 Various fixes and optimizations 2019-06-01 22:14:22 -07:00
Djamil Legato
50d03aeb29 Added async loader, hooked up errors, attached leaf clicking. 2019-06-01 21:34:20 -07:00