Commit Graph

1464 Commits

Author SHA1 Message Date
Djamil Legato
316008f59c Fixed mediapicker field inside lists not properly updating the value on the target input (fixes #1157) 2017-07-17 12:35:59 -06:00
Djamil Legato
16c0614f05 Implemented offline mode 2017-07-15 11:15:10 -06:00
Djamil Legato
c114f89b95 Fixed Lists issue when reindexing, causing Radio fields to potentially lose their checked status (related: 1d55ffc, fixes #1154) 2017-07-12 12:22:13 -07:00
Djamil Legato
2a031fd607 Fixed number prefix of sortable pages 2017-07-11 16:59:10 -07:00
Djamil Legato
e0f9fd2ee8 Fixed fetch issue throwing error when request not completed and while unloading the page (fixes #1301) 2017-07-10 15:35:12 -07:00
Djamil Legato
05660fcaab Modules updates 2017-07-10 15:32:41 -07:00
Flavio Copes
047c320997 Escape the uri basename before using it in Twig 2017-07-03 17:13:04 +02:00
Flavio Copes
e42ed63577 Escape the uri basename before using it in Twig 2017-07-03 17:12:34 +02:00
Djamil Legato
76aa17b6b1 Exposing removed nodes mutations and through mutation_removed._grav event 2017-06-30 15:44:49 -07:00
Djamil Legato
17ffd59331 Fixed selectunique field. Now more reliable when adding/removing list tiems. 2017-06-30 15:44:15 -07:00
Flavio Copes
9590fed32a Multilevel field: Fix issue in rendering base-level array items, re #1150 2017-06-30 20:56:43 +02:00
Andy Miller
185bf71019 Reverted media.yaml + Fixed textarea color 2017-06-30 12:11:12 -06:00
Flavio Copes
96adb61489 Fix changing value of top-level items. Re #1150#issuecomment-312133492 2017-06-30 17:14:39 +02:00
Flavio Copes
da7bc7a755 Multilevel field: Extract changeAllOccurrencesInTree. Fix adding sibling to item with children that had sub-arrays 2017-06-28 16:26:59 +02:00
Flavio Copes
5ad913efa9 Fix for multilevel field - changing the child name attributes when other values in the tree have the same name 2017-06-28 15:43:10 +02:00
Paul Massendari
1fa667a241 Added field.outerclasses (#1124)
* Added field.outerclasses

Added field.outerclasses to match the common field attributes in the docs.

It seems to me we can remove field.field_classes too but some plugin might depend on it.

* added space before outerclasses
2017-06-27 12:46:39 -06:00
Dávid Szabó
8070b2d086 Fix plugins hooked nav authorize not working with array of permissions (#1148) 2017-06-27 12:44:13 -06:00
Dávid Szabó
2a3fef0435 Add badge to plugins hooked nav (#1147) 2017-06-27 12:01:27 -06:00
Flavio Copes
9ff4cb630d Fix looking at metadata right after image is uploaded 2017-06-27 14:03:02 +02:00
Flavio Copes
ffb3097721 Add multilevel form field (#1135)
Example definition in blueprint:

```yaml
    content:
        type: multilevel
        label: Multi Level
        style: vertical
        validate:
          type: array
```
2017-06-27 13:39:09 +02:00
Djamil Legato
e605f6615f Fixed issue with min/max setting of list collections. Removing a list item would not refresh properly the count 2017-06-26 15:36:51 -07:00
Djamil Legato
eefec466c8 Fixed mediapicker issue where newly added list items would not work 2017-06-26 14:59:22 -07:00
Djamil Legato
ca69c61def Expose Page Media instance to Grav Admin JS API 2017-06-26 11:14:52 -07:00
Andy Miller
d49fc3709e Updated the margin for media preview 2017-06-22 14:10:06 -06:00
Djamil Legato
39427477ee Handle metadata popup for files without metadata 2017-06-22 10:54:54 -07:00
Djamil Legato
dbdd6e2a45 Added info metadata button for preview images. Fixed preview of images 2017-06-21 17:55:33 -07:00
Flavio Copes
5bf721c059 Add back filters to non-modal view and class to enable js 2017-06-06 18:16:59 +02:00
Flavio Copes
e252fae1fd Restore detail views for media 2017-06-06 18:07:53 +02:00
Flavio Copes
f700837e92 Introduce the mediapicker field (#1125)
Added a new `mediapicker` form field which allows to select a media from any page
+ 
Provided an option to control how parent select field displays
2017-06-02 16:28:52 +02:00
Djamil Legato
e6fa905824 Merge branch 'feature/universal_key' into develop
# Conflicts:
#	themes/grav/css-compiled/preset.css.map
#	themes/grav/js/admin.min.js
2017-05-30 14:30:21 -07:00
Djamil Legato
d15c5ade8c Fixed first load not clearing out properly the unique values 2017-05-30 14:27:26 -07:00
ricardo118
eb1c56e51c Added Classes support to range form field (#1120)
* Added Classes support to range form field

Simple change to add support to classes in blueprints added to range field in admin forms

* Minor bugfix for range slider

Without adding the validate here the only way to make the range slider work with a step, say 0.1 is to have `step: 0.1` both inside and outside the validate:

Example:

```
width:
    type: range
    step: 0.1
    validate:
        min: 0
        max: 1
        step: 0.1
```

* Adding classes support to list form field
2017-05-29 12:19:10 +02:00
Andy Miller
39bb55ca3c Allow diff scroll thumb in sidebar 2017-05-26 10:30:59 -06:00
Andy Miller
3f35b7f986 Use default grav thumbnails 2017-05-24 20:22:06 -06:00
Andy Miller
da74bf8f1a recompiled JS 2017-05-24 09:55:36 -06:00
Andy Miller
32619442f9 Merge branch 'feature/universal_key' into develop
# Conflicts:
#	themes/grav/js/admin.min.js
#	themes/grav/js/vendor.min.js
2017-05-24 09:55:22 -06:00
Flavio Copes
173429d892 Fix thumbnails in page media 2017-05-24 15:30:12 +02:00
Djamil Legato
25a81347ed Fixed issue with selectunique options passed as array 2017-05-23 18:45:18 -07:00
Djamil Legato
e5b916a584 Force data-max when selectunique is used 2017-05-23 18:45:01 -07:00
Djamil Legato
9bfb9e27d5 Added logic to uniquely select values with selectunique 2017-05-23 18:30:56 -07:00
Andy Miller
59fa9c69e0 Minor switch toggle css fix 2017-05-23 18:57:53 -06:00
Andy Miller
042c98763d Various form styling improvements 2017-05-23 18:15:35 -06:00
Djamil Legato
7959b46fb2 Added support for dropdowns in key field 2017-05-23 14:15:52 -07:00
Andy Miller
4afefc455a Updates to add universal key to any field 2017-05-23 12:55:02 -06:00
Djamil Legato
5b30a3d83c Cleanup and loading thumbs from cache when available 2017-05-19 13:02:26 -07:00
Djamil Legato
8dfcbac012 Filepicker field now renders thumbnail previews of the selected value on load 2017-05-19 10:47:34 -07:00
Flavio Copes
bf0900fb52 Allow taxonomy field to just list one or more specific taxonomies if the taxonomies field is filled in the blueprint 2017-05-17 14:02:00 +02:00
AvantaR
d96741a6da Remove save button and save location notification when filename isn't set (#1116) 2017-05-17 13:58:04 +02:00
Dávid Szabó
bc011c25c3 Feature custom page options (#1104)
* Add slug util function

* Add custom add modals support
2017-05-16 17:31:57 +02:00
Andy Miller
c30accdea4 Updated changelog and recompiled SCSS 2017-05-15 17:06:40 -06:00