Commit Graph

2223 Commits

Author SHA1 Message Date
Matias Griese
1e67bb8011 Fixed error when checking missing log file [#2088] 2021-03-04 15:50:35 +02:00
Andy Miller
a8116b5431 better fix for flexpage height 2021-02-25 10:35:26 -07:00
Mohammad Anbarestany
eacc62e0d5 Update rtl.css (#2083) 2021-02-24 08:37:56 -08: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
Andy Miller
40286bd46e flex pages admin better uses available space - fixes #3232 2021-02-19 06:48:53 -07:00
Andy Miller
a60b98932a fixed max backups of zero #2070 2021-02-16 12:48:59 -07:00
Matias Griese
10d81d9df1 Merge remote-tracking branch 'origin/develop' into develop 2021-02-11 20:54:49 +02:00
Matias Griese
fb15acc50c Fixed toggleable checkboxes being unchecked in fieldset columns [#2063] 2021-02-11 20:54:10 +02:00
Djamil Legato
2495083aab Removed noscript template, because 2021... 2021-02-10 15:26:17 -08:00
Matias Griese
3dfa8bca9f Fixed changelog button showing up in Info page even if user cannot access it 2021-02-10 15:34:49 +02:00
Matias Griese
a8983a003d Fixed ACL for Configuration tabs [#771] 2021-02-10 15:26:02 +02:00
Djamil Legato
ecc8939e17 Tweaks in handling of uploaded files (#1429) 2021-02-09 10:59:27 -08:00
Stephan Strate
ba193b84cc conditionally add form action to blueprint creation forms 2021-02-09 18:41:03 +02:00
Stephan Strate
4f0c7e552c allow blueprint creation forms action 2021-02-09 18:41:03 +02:00
Andy Miller
dc23997ad0 Ensure preset.css loads last 2021-02-08 17:12:32 -07:00
Matias Griese
d757a36b8c Fixed HTML Entities in titles [#2028] 2021-02-08 19:38:52 +02:00
Karmalakas
a0b0fa0495 Add item at the top if top button is clicked in list field (#2055)
* Add item at the top if top button is clicked in list field

Pretty much title says it all. IMO it makes much more sense, that top button would add item at the top, because if list is long enough, you are not even seeing if something happens when item is added at the bottom. Created this PR because of [the question asked in forum](https://discourse.getgrav.org/t/blueprint-type-list-new-data-on-top-of-array/15254).

So the solution would be either like this PR suggests, or button actions should be configurable via Admin config somewhere.

* Change added item placement for List field

Add field `palecement` property check.

If `top` or `bottom`, both buttons add item to top or bottom.
If `position`, item is added depending on a clicked button position -
  if top button is clicked, item added to top and if bottom button - item added to bottom.

Defaults to bottom

* Revert empty line at EOF
2021-02-06 20:36:28 -08:00
Djamil Legato
4ff373a8b1 Fixed field type range not taking into account legitimate 0 values 2021-01-25 20:29:15 -08:00
Andy Miller
5de805e340 Added special fonts back 2021-01-22 09:42:38 -07:00
Djamil Legato
b8c47c32b3 Added watch.sh for compiling SCSS with native sass compiler 2021-01-20 10:32:24 -08:00
Andy Miller
41305c9d34 Fixes #2022 2021-01-20 11:26:57 -07:00
Matias Griese
5def01f9fe Merge branch 'develop' of github.com:getgrav/grav-plugin-admin into 1.10
 Conflicts:
	CHANGELOG.md
2021-01-12 16:08:22 +02:00
Matias Griese
9c4ad3eaca Fixed evaluating default value in hidden field 2021-01-12 16:07:46 +02:00
Matias Griese
8e157bac5a Fixed taxonomy field not listing existing options in Flex Pages 2020-12-23 21:07:23 +02:00
Matias Griese
a0fce62e31 Regression: Values inside Fieldset do not display [#1995] 2020-12-23 20:23:55 +02: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
d383680f96 Fixed missed highlight on the selected page in Parents field 2020-12-17 23:28:53 -08:00
Djamil Legato
cdbfd5e998 Recompiled JS 2020-12-14 17:52:41 -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
80f1273a5c Do not force admin config 2020-12-14 17:41:58 -08:00
Djamil Legato
8202818268 Fixed Page Picker not passing admin token 2020-12-14 17:33:12 -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
6bf7f10797 Updated dependencies 2020-12-10 12:09:00 -08:00
Matias Griese
0381aa4643 Regression: Values inside Fieldset do not display [#1995] 2020-12-10 14:51:26 +02:00
Djamil Legato
9521592c43 Fixed Plugins references in Themes details page. 2020-12-09 21:03:44 -08:00
Djamil Legato
11d3e90642 Various fixes in Themes List and Details pages 2020-12-09 20:41:21 -08:00
Djamil Legato
ff963a7453 Cleanup 2020-12-09 20:23:47 -08:00
Djamil Legato
b041385d89 Load gumroad in Themes list and details 2020-12-09 20:12:53 -08:00
Matias Griese
16ccab535d Fixed pages field escaping issues, needs Grav update, too [#1990] 2020-12-09 15:29:41 +02:00
Matias Griese
4b3c41cc28 Fixed filepicker, pagemediaselect fields with multiple: true and array: true [#1580] 2020-12-01 21:29:51 +02:00
Matias Griese
be6428922d Merge branch 'develop' of github.com:getgrav/grav-plugin-admin into 1.10
 Conflicts:
	admin.php
	classes/plugin/AdminController.php
	composer.lock
	vendor/composer/autoload_classmap.php
	vendor/composer/autoload_psr4.php
	vendor/composer/autoload_real.php
	vendor/composer/autoload_static.php
	vendor/composer/installed.json
2020-12-01 09:24:05 +02:00
Andy Miller
c32fa412b7 fixes for GHSA-85r3-mf4x-qp8f 2020-11-30 16:22:39 -07:00
Andy Miller
5eb2e6375f Merge branch 'advisory-fix-1' into develop
# Conflicts:
#	CHANGELOG.md
2020-11-30 16:00:52 -07:00
Andy Miller
f77aa31685 Added scheduler warning 2020-11-30 15:42:01 -07:00
Andy Miller
474ca66a8b default to cron off 2020-11-30 15:34:54 -07:00
Matias Griese
9be238c4cb Fixed stringable objects breaking the inputs 2020-11-25 15:42:35 +02:00