Commit Graph

2600 Commits

Author SHA1 Message Date
Andy Miller
2000ec0cda selected CSS 2017-07-31 15:26:55 -06:00
Andy Miller
4d4933c82f Fix for iconpicker CSS 2017-07-31 15:14:46 -06:00
Flavio Copes
deaa11f895 Allow short format by adding format: short in the blueprint field definition 2017-07-26 18:29:57 +02:00
Flavio Copes
835405cd86 Fix closing hover when multiple items are used in the same page 2017-07-21 16:39:27 +02:00
Flavio Copes
e947a5ef3d Working inside lists 2017-07-21 15:35:23 +02:00
Flavio Copes
c227963540 Pick FA icons from yaml file
To update icons: dump the content of
https://rawgit.com/FortAwesome/Font-Awesome/master/src/icons.yml in
`themes/grav/templates/forms/fields/iconpicker/icons.yaml`
2017-07-14 17:42:20 +02:00
Andy Miller
76d6bc87a8 loading now thanks to @w00fz 2017-07-11 16:19:32 -06:00
Andy Miller
63275849ac Initial commit 2017-07-11 15:59:39 -06:00
Andy Miller
250611ecab Prepare for release 1.5.0-rc.4 2017-07-05 11:13:46 -06: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
d802b97fe8 Add check before resetting folder 2017-06-30 21:11:56 +02:00
Flavio Copes
793f19dd2c If folder is empty/not sent, fallback to page slug, fix #1146 2017-06-30 21:09:54 +02: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
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