Commit Graph

3085 Commits

Author SHA1 Message Date
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
Andy Miller
ab74de1108 Updated changelog 2017-06-29 17:12:15 -06: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ó
ee2051eba6 Feature/page types events (#1105)
* Add function which replaces types and modularTypes

* Replace Pages statics with AdminPlugin statics

* Use Event's built-in items rather than data member

* Add configration for hiding page types
2017-06-27 12:43:12 -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
fe6ecf4805 Fix for bad referenced to shouldLoadAdditionalFilesInBackground() #1145 2017-06-23 10:32:00 -06:00
Andy Miller
d3a6c3ee6a Prepare for release 1.5.0-rc.3 2017-06-22 14:11:41 -06: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
Andy Miller
796c9d91de Pass original image filename via taskListMedia() 2017-06-21 15:44:16 -06:00
Flavio Copes
09f4d2b791 Fix #1141 referencing DI element when not initialized 2017-06-21 15:50:31 +02: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
9060e02c55 Fix data call 2017-06-06 17:44:30 +02:00
Andy Miller
1125b28838 Merge branch 'feature/common-media-functionality' into develop
# Conflicts:
#	CHANGELOG.md
2017-06-05 18:18:00 -05:00
Andy Miller
6b5b1c0141 Merge branch 'feature/common-media-functionality' of https://github.com/getgrav/grav-plugin-admin into feature/common-media-functionality
# Conflicts:
#	CHANGELOG.md
2017-06-05 18:16:35 -05: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
Flavio Copes
45fd5ff65f Changelog 2017-06-02 16:25:06 +02:00
Flavio Copes
a05ae36e6a Merge branch 'develop' into feature/common-media-functionality 2017-06-02 16:19:35 +02:00
Andy Miller
2a1867da49 Added Admin::getPageMedia() method 2017-05-31 17:11:46 -06:00
Flavio Copes
27899aa08e Fix issue when tot files < pagination interval 2017-05-31 22:28:31 +02:00
Flavio Copes
1b39ccf05d Set pagination to 20 2017-05-31 19:37:44 +02:00
Flavio Copes
2798aa1e8c Show month names instead of number 2017-05-31 19:32:48 +02:00
Flavio Copes
af73f4f7a2 Add number of media in date filter 2017-05-31 19:27:31 +02:00
Flavio Copes
bfa5cda49a Fix infinite loading when date/type filters are activated and then removed 2017-05-31 19:27:03 +02:00
Flavio Copes
15cb9c62be Fix pagination 2017-05-31 18:13:17 +02:00
Flavio Copes
85c94ef44b Fix page 2017-05-31 17:28:20 +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
Flavio Copes
9e010b551d Fix loading all assets when going from page to all media 2017-05-30 20:04:29 +02:00
Flavio Copes
36133159c4 Merge branch 'feature/common-media-functionality' of https://github.com/getgrav/grav-plugin-admin into feature/common-media-functionality 2017-05-30 19:16:22 +02:00
Flavio Copes
d60c2b4f20 Fill view with media, add infinite loading 2017-05-30 19:14:35 +02:00
Andy Miller
50464b4df4 Updated changelog 2017-05-29 14:36:35 -06:00
Andy Miller
fcbc2ed992 Added option to control how parents select displays 2017-05-29 14:36:01 -06:00
Andy Miller
472d27bf41 recompiled stuff 2017-05-29 14:04:43 -06:00
Flavio Copes
e4532e1844 Fix empty space, center and make it load once. Moved resize to the right to match osx finder resizer 2017-05-29 15:06:02 +02:00
Flavio Copes
cbe3384c04 Fix token issue caused by nested form 2017-05-29 14:31:05 +02: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
97cf523c85 lower any mimetypes 2017-05-27 09:04:17 -06:00