Commit Graph

352 Commits

Author SHA1 Message Date
Flavio Copes
aa181126cd Fix #1037 issue with editor field in lists 2017-04-12 18:04:34 +02:00
Flavio Copes
9961e28304 Don't change page template if there is no page template field, OR if the template is of type default, or not set
Fixes https://github.com/getgrav/grav-plugin-admin/issues/1059
Fixes https://github.com/getgrav/grav/issues/1403
Fixes https://github.com/getgrav/grav-plugin-admin/issues/1062
2017-04-12 14:09:50 +02:00
Djamil Legato
a7d241e71b Recompilation of vendor js for 'rangetouch' addition 2017-04-09 20:55:51 -07:00
Flavio Copes
4f91d5bb6e Fix #1051 Missing preview in page media for SVG images 2017-04-05 20:47:48 +02:00
Andy Miller
306f4cef16 Merge branch 'feature/ordering-refactor' into develop
# Conflicts:
#	themes/grav/css-compiled/preset.css
#	themes/grav/css-compiled/preset.css.map
2017-03-22 12:09:15 -06:00
Djamil Legato
331c82d652 Hook folder name change to Ordering in order to preserve proper naming upon save 2017-03-21 15:40:13 -07:00
Djamil Legato
46d9501987 Added logic to handle multiple ordering with prefix for cleaner UX and comma separted slug list as value 2017-03-20 19:11:55 -07:00
Ole Vik
b0dff58c45 Improve range-field (#1016)
* Improve range-field

Adds some JS (2.04 KB), SCSS (6.87 KB), and changed Twig to improve the functionality and styling of the range-field.

* Gulp build

* Fix range-field step

* Rangetouch to webpack, gulp rebuild

* Recompile from gulp

* Compliance for nested fields.

Replaces dots with underscores for id-attributes within the field.
2017-03-18 13:52:57 -06:00
Djamil Legato
bd8369fde9 Do not attempt to fetch any notification if settings are disabled (fixes #942) 2017-03-17 07:58:29 -07:00
Djamil Legato
7436037440 Fixed issue with removal of file that has been just uploaded and stored in the session 2017-03-13 13:45:15 -07:00
Djamil Legato
7a7cafd707 Force HTML in upload placeholder message 2017-03-13 13:33:36 -07:00
Djamil Legato
4bae179890 Added JS logic to switch tabs 2017-03-10 15:24:04 -08:00
Djamil Legato
d7fc2ca149 Added tooltip language for uploaded file actions 2017-03-10 12:50:13 -08:00
Djamil Legato
ce0cd892f3 Added custom class for file field 2017-03-10 12:43:51 -08:00
Djamil Legato
7513ff8504 Fixed URL for preview of images 2017-03-10 12:41:42 -08:00
Djamil Legato
e618c4126a Tweaked filepicker field to include view icon. Fixed sizes of thumbnails to 200x150 2017-03-10 12:33:45 -08:00
Djamil Legato
dfeb7c5c4a Initial impelementation of "View" item for pagemedia cards (#1010) 2017-03-08 17:05:08 -08:00
Djamil Legato
49a9c43d4b Updated node_modules 2017-03-08 14:20:28 -08:00
Djamil Legato
e42119f72e When creating a new page, automatically select the Page Template based on Parent Page Child Type (fixes #1008) 2017-03-05 22:27:56 -08:00
Flavio Copes
ebf2de5aea Reinstall now uses direct install internally 2017-02-26 20:09:50 +01:00
Flavio Copes
ec2821183a Only show reinstall option if the latest release is installed 2017-02-26 16:54:47 +01:00
Flavio Copes
3d040a3f8a Disable reinstall for symlinked packages. Fix issue when no updates are available 2017-02-20 21:36:55 +01:00
Flavio Copes
0c91ca5757 Added an option to reinstall a plugin/theme already installed #984 2017-02-19 19:16:03 +01:00
Djamil Legato
f886bf4bb8 Refractored call for getUpdates to be more consistent with the others 2017-02-16 14:10:35 -08:00
Djamil Legato
7c7ba1bb4c Force GPM::getUpdates call to json extension, in order to properly get back JSON response in case of error (#980) 2017-02-16 10:55:53 -08:00
Djamil Legato
b5384a4f8d Fixed Firefox Network Error issue when updating multiple plugins/themes at concurrently (fixes #1301) 2017-02-12 00:01:41 -08:00
Flavio Copes
a0679fda6c Use @2x & @3x fallback images in the filepicker. Fix #952 2017-02-06 18:44:07 +01:00
Flavio Copes
d6e8f31936 Fix issue with array field and value_only: true
Related issue:
https://github.com/getgrav/grav-plugin-sitemap/issues/26
2016-12-17 16:21:59 +01:00
Flavio Copes
d77a57cfa5 Fix prompting to remove Grav itself when removing a package that requires it 2016-12-14 10:10:40 +01:00
Djamil Legato
f5477817b7 Added a delay before reloading the page when a plugin or theme get installed 2016-12-13 19:40:54 -08:00
Andy Miller
f361addd60 Feature/admin fragmentation (#856)
* Separated Admin Controller into a generic and extendable Base controller. Added Autoload for properly loading classes

* Implemented custom class loader to force lowercase

* Removed composer autoloader for classes

* Updates

* Ability to pass custom upload URL for files

* Added new onAdminCanSave event for 3rd party plugins

* Moved files upload GC in onOutputGenerated event

* Cleanup

* Moved autoloader so it is always registering

* Fixed onOutputGenerated event location

* Moved `taskRemoveFileFromBlueprint`,  `taskRemoveMedia `, `canEditMedia` methods to admin base controller

* Allow to globally define `blueprint_type` and `file_url_remove` for the file field

* Moved `isMultilang()` into base controller

* Properly generate thumbnails in proportions for file fields

* Simplified execute restrictions with blacklist
2016-11-07 09:54:10 -07:00
Djamil Legato
0757d49d9f Increased specificity for Colorpicker field to prevent 3rd party conflicts 2016-11-06 19:19:38 -08:00
Djamil Legato
4da49c487d Reverted 1858eb0268 2016-11-02 10:27:39 -07:00
Djamil Legato
fb6abb993a Updated dependencies 2016-11-01 17:49:56 -07:00
Djamil Legato
8bd7f8d666 Dashboard Charts now always refresh no matter what (fixes #753) 2016-10-24 12:12:08 -07:00
Djamil Legato
61982c7da2 Editor link button doesn't prefix links with http:// anymore (fixes #813) 2016-10-24 12:05:47 -07:00
Flavio Copes
ed3a83345c Fix #833 issue with files with accented chars 2016-10-21 17:57:54 +02:00
Flavio Copes
52c7ac956e Push minified js 2016-10-21 16:44:00 +02:00
Flavio Copes
d5f2db76c9 Push minified js 2016-10-21 15:18:01 +02:00
Djamil Legato
d8e3e20be8 Page media and File field images thumbnail are now properly proportionate and 150x100 2016-10-11 11:24:21 -07:00
Djamil Legato
f808e523c2 Recompiled JS 2016-10-02 23:58:27 -07:00
Djamil Legato
c4ed5aff44 Allow filepicker field to peak at the pending uploaded files and optimistically select them (fixes #792) 2016-10-02 14:00:53 -07:00
Djamil Legato
74b756d6a8 Dramatically improved filepicker performance. Data is only ever loaded when the dropdown is on focus, as it was supposed to be. Image preview of a selected item won't be rendered unless the field gains focus to avoid wasting resources. (fixes #788) 2016-10-01 00:09:01 -07:00
Djamil Legato
74b6b1edd8 Fixed regression when disabling the submit button upon save (#802) 2016-09-30 19:09:36 -07:00
Djamil Legato
31b22a322b Fixed issue when reading the file size setting if set to 0 (in Pagemedia and File fields) 2016-09-30 18:18:45 -07:00
Djamil Legato
0219b1c4e3 Fixed Submit buttons getting disabled in case of form invalidity disallowing to submit again (fixes #802) 2016-09-29 17:14:27 -07:00
Djamil Legato
6914ad7999 More dynamic save task detector (internal use) 2016-09-27 14:24:17 -07:00
Djamil Legato
4cd6b52fb0 Handle errors when a resource fails to install 2016-09-24 21:22:18 -07:00
Djamil Legato
a50e269793 Better error handling for Feed when unable to connect 2016-09-18 16:03:53 -07:00
Flavio Copes
58df17dc71 Commit minified JS from previous commit 2016-09-16 18:08:57 +02:00