Commit Graph

75 Commits

Author SHA1 Message Date
Djamil Legato
6b34336599 [WIP] Ajax Files Upload (#748)
* Reworked the `file` field. All files get uploaded via Ajax and are stored upon Save

This improves the Save task tremendously as now there is no longer the need of waiting for the files to finish uploading. Fully backward compatible, `file` field now includes also a `limit` and `filesize` option in the blueprints. The former determines how many files are allowed to be uploaded when in combination with `multiple: true` (default: 10), the latter determines the file size limit (in MB) allowed for each file (default: 5MB)

* Added support for `accept: [‘*’]` to allow any file type

* Minor tweaks in the comments and messages

* Delete any orphan file when discarding the uploaded files session

* Minor optimization

* Fixed issue with `_json` elements where nested fields merging would get stored in an unexpected way

* Potential fix for wrong order of value in Datetime

* Fixed nested fields for files

* Fixed tmp streams

* Minor cleanup

* Update JSON data when removing a file. Implemented task to remove files that haven’t been saved yet, from the flash object session

* Ensure temporary files are deleted when removing un-saved files from the flash object session

* Fixed wrong reference of HTML file field when clicking on the drop zone area to pick a file

* Added JSON template for pages

* fix a CSS issue in page order

* More CSS fixes

* Trigger file field mutation when adding or removing a file

* Recompiled JS

* Removed twig templates that are no longer needed

* Fixed issue with nested header fields in a page, not properly merging data

* [internal] Fixed issue with collections not capable of handling both param and dot notations at the same time

* Reorganized FileField structure to be more consistent with the other fields

* Added support for dynamically created file fields (ie, autoinitialization on new lists items)

* Added translationable strings for file uploads errors

* Added translasions for all Dropzone available strings

* Changed default values
2016-08-29 11:12:09 -07:00
Andy Miller
cdeb11100f Added clear-tmp to clear dropdown 2016-08-25 21:40:37 -06:00
Flavio Copes
240dc7a7f3 Translations for session path and custom base url options 2016-08-25 15:52:09 +02:00
Andy Miller
e982490f85 lang update for EXTERNAL_URL 2016-08-17 14:19:48 -06:00
Flavio Copes
988f4a0389 [WIP] Notifications (#599)
Adds a new notifications feature to the Admin plugin. It will now lookup notifications which are set up on getgrav.org and will inform users, and also alert for new updates and provide awareness on various topics.

Also fixes issue with Array field in `value_only` mode, improperly displaying the key when novalue was set, and fixes issue with drag handlers in Array not showing/hiding properly (#950)

Updated FontAwesome to 4.6.3
2016-08-11 19:17:02 +02:00
Flavio Copes
5e294ca362 Add translation strings for force_ssl system config option 2016-07-21 14:37:10 +02:00
Andy Miller
7295e2e3ca Fixed up the languages 2016-07-13 17:08:41 -06:00
Djamil Legato
cf3114d730 Added a filter field in Plugins and Themes list views, to allow for quick search of a particular resource 2016-07-11 16:04:22 -07:00
Flavio Copes
64a88c916c Feature: Ability to Login with Email
Thanks to @gsumpster for https://github.com/getgrav/grav-plugin-admin/pull/685

* implemented email-login, close #674
* changed placeholder text
* Fix Utils namespace thing
* Drop use
* Cleanup styling
2016-07-07 18:47:48 +02:00
Djamil Legato
d2acf2dfe2 Implemented Sorting for Themes and Plugins views (fixes #583) 2016-06-27 18:54:02 -07:00
Flavio Copes
00f5294466 Add cache help strings 2016-06-13 11:17:02 +02:00
Flavio Copes
8926171940 Fix eng lang strings for memcached config 2016-06-13 11:17:02 +02:00
Andy Miller
de5ec64332 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2016-06-12 21:43:12 +01:00
Andy Miller
56133a5a56 Updated lang file for file size errors 2016-06-12 21:42:56 +01:00
Flavio Copes
99bc525095 Translate some missing string, fix #629 2016-06-10 15:10:24 +02:00
Flavio Copes
fd9af0ec96 Add lang strings for redis/memcache/memcached config 2016-06-09 12:33:36 +02:00
Andy Miller
77e2e65c60 Don't show email address when sending forgot pw instructions #571 2016-06-02 12:38:49 -06:00
Andy Miller
2bbcc16a90 Added page legend #637 2016-06-02 12:34:02 -06:00
Andy Miller
6f2f216218 Revert "Add lang strings for new old CSS / JS minify toggle"
This reverts commit 9ab343bd9b.
2016-05-31 11:25:29 -06:00
Andy Miller
9ab343bd9b Add lang strings for new old CSS / JS minify toggle 2016-05-30 23:07:41 -06:00
Andy Miller
ea6e16ea2c Added languages 2016-05-30 20:21:15 -06:00
Flavio Copes
bc4e5c9504 Fix #608 localize media blueprint 2016-05-27 13:32:26 +02:00
Andy Miller
22a5935e70 Change "Page File" to "Page Template" per #573 2016-05-26 17:04:20 -06:00
Andy Miller
1ea0fb955e changelog updates 2016-05-26 17:00:25 -06:00
Andy Miller
8cd0279b01 Feature/upload improvements (#617)
* various improvements.. needs cleanup

* more progress - supports deeply nested + pages

* Getting close now!

* more progress!

* some cleanup

* use data[_json] to store page-based upload

* Smarter logic to get nested form fields

* some refactoring/cleanup

* Fixed issue with removing multiple files in pages

* Refactor and support `destination: page@:/images` and `destination: self@` syntax for file fields

* Prettifying the upload field

* Handling Files API to better represent the selected files in the input field

* Better plurarl string

* Fixed harcoded height for input field

* revamped CSS!!!

* `fancy: false` turns off fancy styling

* Create folder if not exists

* Add support for @theme/theme@ destination

* Fixed create directory functionality to take into account resolved paths

* Don't allow @self on page to be uploaded to if not created

* added field languages

* css tweaks

* language integration
2016-05-26 14:49:45 -06:00
Flavio Copes
772c3bbf68 Add missing lang string 2016-05-09 09:57:28 +02:00
Andy Miller
3fd928ac18 Fix forgot/reset password process of sending escaped HTML emails 2016-05-06 13:55:36 -06:00
Andy Miller
cd25c85caa Fix missing lang string #561 2016-05-04 21:30:16 -06:00
Andy Miller
270e2a2bf5 updated languages 2016-05-04 16:21:44 -06:00
Andy Miller
987bbf63d4 Added 'CHARACTERS' lang string 2016-05-04 15:54:05 -06:00
Flavio Copes
2246a44ce5 Fix #554 translations in page's tooltip 2016-05-04 15:09:32 +02:00
Flavio Copes
cb16c429e6 Fix #556 translate email buttons titles 2016-05-04 14:57:40 +02:00
Flavio Copes
38d3a70cb7 Fix #539 "Drop files here to upload" text not translated. Also translate Insert and Delete buttons 2016-05-03 11:10:54 +02:00
Flavio Copes
473487bbca Fix #547 "You cannot add media files..." text not translated 2016-05-03 10:49:04 +02:00
Flavio Copes
90b569c56b Fix #548 "Page is not visible, ordering disabled" text not translated after changing user language. 2016-05-03 10:47:15 +02:00
Andy Miller
b32ac918ad Added publishing translation string - #540 2016-05-02 18:52:01 -06:00
Andy Miller
59dbec5371 updated message 2016-04-26 12:42:16 -06:00
Andy Miller
99aaebdf1a version update with version notice 2016-04-26 12:10:56 -06:00
Flavio Copes
c56c2103aa Add a message if installed on Grav < 1.1.0-beta.1 2016-04-26 18:53:13 +02:00
Andy Miller
78b750a7e4 Fix for languages 2016-04-20 14:06:40 -06:00
Andy Miller
2aebf55e3a language updates 2016-04-20 13:43:37 -06:00
Flavio Copes
85922f93ac Handle gpm events in Admin (#508)
* Fix removing packages

* npm install "babel-preset-es2015": "^6.6.0"

* Run gulp

* Handle messages in packages install/remove/update procedures
2016-04-20 18:55:58 +02:00
Andy Miller
3f81adea0f Added some new lang strings 2016-04-14 15:26:58 -06:00
Andy Miller
6b2a8d4ef0 Added new lang strings for GPM releases 2016-04-12 15:49:52 -06:00
Andy Miller
1702821915 Fixed another stupid typo 2016-04-06 18:38:28 -06:00
Marc-Antoine Thevenet
b020f4c4a3 Update en.yaml
Typo?
2016-04-06 20:15:52 -04:00
Andy Miller
29d9835e87 Added lang strings for new Asset pipeline options 2016-04-06 17:30:44 -06:00
Quy
5c84e770e3 Update en.yaml 2016-03-30 11:31:28 -07:00
Quy
f84198b841 Update language strings 2016-03-30 11:23:23 -07:00
Flavio Copes
6d9f9a0886 Merge branch 'develop' into feature/admin-gpm-dependencies 2016-03-26 18:00:19 +01:00