514 Commits

Author SHA1 Message Date
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
b2fa3d1c13 PageMedia can now be collapsed and thumbnails previewed smaller, in order to save room on the page. Selection will be remembered. 2022-02-03 13:59:14 -08:00
Djamil Legato
4e6e5c37b8 Clean file names before displaying metadata modal 2022-01-21 15:47:51 -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
366512cd6b Removed leftover alert 2021-08-02 12:21:57 -07: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
fa0c13bf85 Fixed issue with slugify where single curly quotes in titles would translate to straight single quote (fixes #2101) 2021-05-02 22:06:30 -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
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
Djamil Legato
d02f3a12e2 Fixed issue preventing Drag & Drop of media files while in Expert Mode (fixes #1927) 2021-04-20 12:18:58 -07:00
Djamil Legato
a2fe02bb0a Prevent Save actions from Flex Objects to trigger the unsaved unload notice (fixes #2125) 2021-04-20 10:42:30 -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
72116dcbca Fixed notifications that would not be remembered as hidden + various improvements 2020-12-21 15:29:42 -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
539b8ac876 Exposed **Cookies** class (Grav.default.Utils.Cookies) for developers that need it in Admin. 2020-12-10 12:13:32 -08:00
Djamil Legato
6ab274466c Cookies now explicitly set SameSite to Lax unless otherwise specified (fixes #1998) 2020-12-10 12:13:21 -08:00
Djamil Legato
bd87db1931 Fixed KeepAlive issue where too large of a session value would fire the keep alive immediately (fixes #1860) 2020-11-20 17:27:01 -08:00
Djamil Legato
296ded003a Added modal to confirm updating Grav as well as cool down counter before enabling Update button (fixes #1257) 2020-11-18 16:17:18 -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
1351dd8689 Fixed remodal issue triggering close when selecting a dropdown item ending outside of scope (fixes #1682) 2020-11-16 22:57:56 -08:00
Djamil Legato
45e48b9f87 Fixed folder auto-naming in Add Module (fixes #1937) 2020-11-16 21:21:10 -08:00
Djamil Legato
9f4e480b90 Remember the open state of the sidebar (fixes #1973) 2020-11-16 21:14:48 -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
f3673160bf Added some flexibility to allow for installation of plugin/theme from whithin the same page
# Conflicts:
#	themes/grav/js/admin.min.js
#	themes/grav/js/vendor.min.js
2020-09-04 20:37:06 -07:00
Djamil Legato
b13d3aa2df Fixed issue that would force a page reload when failing to install/update a plugin or theme.
# Conflicts:
#	CHANGELOG.md
#	themes/grav/js/admin.min.js
#	themes/grav/js/vendor.min.js
2020-09-03 21:28:55 -07:00
Djamil Legato
d3011181f0 Fixed URI encode for the preview of images names 2020-07-22 09:44:10 -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
Andy Miller
4d32db02ec fixed recompile outside of page admin config 2020-05-07 22:44:55 -06:00
Andy Miller
a07800908f proper fix for recompile 2020-05-07 21:54:12 -06:00
Andy Miller
26d3995f05 quicktray support + fix recompile 2020-05-07 21:48:33 -06:00
Andy Miller
4815a1da44 cleaner color picker 2020-05-07 19:41:19 -06:00
Ricardo
41e73821f9 fix js download filename 2020-05-07 21:38:15 +01:00
Ricardo
0a83e26d53 Added theme whitelabel export functionality 2020-05-07 21:20:08 +01:00