Commit Graph

393 Commits

Author SHA1 Message Date
Djamil Legato
86c9d33b64 Fixed tmp find resource 2016-08-25 12:44:33 -07:00
Djamil Legato
19799ce2db Updated Selfupgrade and Install tasks to use tmp:// for storing the downloaded packages 2016-08-23 16:35:41 -07:00
Andy Miller
18c3b3e39f Potential Curl fix for invalid cert errors with News Feeds 2016-08-15 10:45:58 -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
4a50d2f0e2 Only avoid overwriting files (introduced in b159581156) if avoid_overwriting is set on the field 2016-08-02 17:48:07 +02:00
Flavio Copes
b159581156 Avoid overwriting a file when uploaded with the same filename through the Admin blueprint file type 2016-08-02 16:22:20 +02:00
Djamil Legato
e234acb581 Fixed issue in selfupgrade where the package would get downloaded in the wrong destination 2016-07-19 11:23:59 -07:00
Andy Miller
65cfce624e Get media 'fresh' every time 2016-07-18 15:42:38 -06:00
Andy Miller
1382223fe6 cache/compiled upload fix for https://github.com/getgrav/grav/issues/938 2016-07-16 10:52:06 -06:00
Andy Miller
7295e2e3ca Fixed up the languages 2016-07-13 17:08:41 -06:00
Flavio Copes
1c19190929 Lint 2016-07-07 18:55:52 +02:00
Flavio Copes
e8ca08ed8d Fix method name 2016-07-07 18:53:37 +02: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
Flavio Copes
35013859cf Remove unused method 2016-07-04 18:02:24 +02:00
Flavio Copes
a4e3f262e9 Assign the correct ordering when saving a page that didn't have ordering set before 2016-06-21 16:26:44 +02:00
Flavio Copes
d76e75cb04 Handle case where $input['order'] is set but empty.
Re #628 fix issue when saving a modular child folder as 05.something
and being reset to 01.something upon save
2016-06-21 15:38:34 +02:00
Flavio Copes
3cac054de6 Append progressive number to the copied page title. Fix #394 2016-06-15 13:55:16 +02:00
Flavio Copes
1ad76c04f9 Re #394 update slug, route and raw route with appended number when doing a copy of the page (#537)
Does not change the page title, just the page route property if set in the header, to avoid two pages with the same slug / route / raw route. Handles ordering too, and pages with custom slug. Independently updates the slug and the folder name.
2016-06-07 23:10:34 +02:00
Flavio Copes
c59a8c355f Remove special case of media now that we have types nested under media.types 2016-06-03 10:23:50 +02:00
Andy Miller
1bb97fdea9 Simply fall back to en if no admin language set. - #641 2016-06-02 17:21:34 -06:00
Andy Miller
7b13526e1e Another missed reference 2016-06-02 15:14:14 -06:00
Andy Miller
77e2e65c60 Don't show email address when sending forgot pw instructions #571 2016-06-02 12:38:49 -06:00
Flavio Copes
45e9e77179 Handle special case of media configuration (#638)
* Handle special case of media configuration

Since it's a list of dynamically generated entries, without parent, we
cannot merge in the post data with the defaults, or the defaults are
always saved, and we cannot remove existing fields

* Correctly handle reading and saving

* Improve implementation
2016-06-02 12:21:35 -06:00
Flavio Copes
9c35c8f5a9 Fix #635 Activating a theme throw "Data type 'system' doesn't exist!" error 2016-06-02 11:55:59 +02:00
Flavio Copes
e4f128438f Don't try to uninstall admin/form/login/email plugins 2016-05-27 14:41:33 +02: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
Djamil Legato
bb362cd1e8 Minor cleanup to controller 2016-05-17 18:24:56 -07:00
Djamil Legato
809600b3c5 File fix, ensure FILES object is available before continuing 2016-05-17 16:59:16 -07:00
Andy Miller
48f311b458 Fix for #595 2016-05-17 16:52:22 -06:00
Andy Miller
2d9d71c444 Feature/file upload refactor (#598)
* refactor

* Added support for multiple files

* fixed appearance a bit

* Always store files as full path => obj data

* added some error handling

* Do not go nested when storing file

* Refactored to not need blueprint set in blueprint
2016-05-17 16:46:00 -06:00
Andy Miller
a78c017f91 added support for multiple date formats 2016-05-10 16:53:19 -06:00
Andy Miller
710d2c6fd5 Try to guess the format! 2016-05-10 13:32:17 -06:00
Andy Miller
b0ce609c4c escape and lowercase username in all cases #577 2016-05-09 19:29:27 -06:00
Andy Miller
3fd928ac18 Fix forgot/reset password process of sending escaped HTML emails 2016-05-06 13:55:36 -06:00
Andy Miller
79a49fdcbc Fix for translations not substituting text properly #567 2016-05-06 13:36:16 -06:00
Andy Miller
50c4b5dc61 fix for username not finding anyone 2016-05-06 13:34:54 -06:00
Andy Miller
c99bedf111 Better error messages for exceptions thrown in obj->validate() #594 2016-05-05 10:35:40 -06:00
Flavio Copes
4afa565382 Fix #563 Invalid argument supplied for foreach 2016-05-05 16:28:56 +02:00
Andy Miller
b5a651eca9 added onAdminRegisterPermissions event 2016-05-04 14:26:27 -06:00
Andy Miller
98a19f01e4 Fixed login/logout message translations. 2016-05-03 13:36:06 -06:00
Andy Miller
a4b50437fd Fix for #551 (visibility toggle on new page not working) 2016-05-03 10:35:11 -06:00
Flavio Copes
cf72ea93fc Fix passing the correct version property to the json_response 2016-04-29 16:23:45 +02:00
Flavio Copes
ad5aa7588d Fix version in Grav update message 2016-04-29 15:20:45 +02:00
Flavio Copes
45f7665d2d Change user view name 2016-04-27 22:44:42 +02:00
Flavio Copes
33e363affa Merge pull request #524 from getgrav/feature/show-account-page-for-login-acl
Show account page for users with admin.login ACL
2016-04-27 11:48:16 -06:00
Flavio Copes
7128543e8a Fix #500 translate admin login form 2016-04-25 10:18:29 +02:00
Flavio Copes
115e0c1e91 Use locator instead of CACHE_DIR 2016-04-25 10:18:29 +02:00
Flavio Copes
2cc07fe883 Remove leftover return 2016-04-21 09:25:45 +02:00
Djamil Legato
69459ec611 Fixed toggler for stable/testing channel 2016-04-20 15:59:46 -07:00
Flavio Copes
18b4dc9358 Drop testing code 2016-04-20 18:57:13 +02:00