Commit Graph

1296 Commits

Author SHA1 Message Date
Djamil Legato
8b494f5842 Added MultiLang support for within Page 2016-02-05 12:38:22 -08:00
Djamil Legato
eff1efd3d6 Enabling sourcemaps for minified JS 2016-02-05 12:37:59 -08:00
Djamil Legato
ed0d0f5b29 Loading compressed JS versions 2016-02-05 12:37:48 -08:00
Djamil Legato
15d2d0f64e Removed and ignored uncompressed js and sourcemaps 2016-02-05 12:37:32 -08:00
Djamil Legato
ce5bc47fb3 Added .gitattributes to normalize Linguist 2016-02-04 17:39:33 -08:00
Djamil Legato
cb7c3a6b04 Fixed check for reordering 2016-02-01 17:38:51 -08:00
Djamil Legato
67417719ff Properly check if Ordering should be enabled or not, even if a value is already available. 2016-02-01 17:20:26 -08:00
Djamil Legato
09a47041dc Updated dev depenendencies 2016-02-01 16:37:00 -08:00
Djamil Legato
d1dd065876 Fixed Media's Modal error notifier not being closable. 2016-02-01 16:36:49 -08:00
Djamil Legato
03011899c9 Fixed Response class to handle Whoops errors when in JSON format 2016-02-01 16:36:11 -08:00
Djamil Legato
8f13951020 Handling errors caused by adding/removing files. Fixed issue with removal of files 2016-02-01 16:35:37 -08:00
Djamil Legato
a846b73e46 Added more lang strings for Medias 2016-02-01 16:34:50 -08:00
Djamil Legato
35fa588438 Reworked Admin JS with ES6 2016-02-01 11:27:34 -08:00
Flavio Copes
c62fb6bdb5 Fix #390 Incorrect number of pages being displayed 2016-01-28 14:03:53 +01:00
Flavio Copes
13c60ed833 Add a logout button when not authorized to access a page in Admin
Otherwise if the user cannot access any page it needs to clear the
cache to be able to logout and login again
2016-01-28 13:52:28 +01:00
Flavio Copes
80eef0a919 🐛 Fix preview and insertion of images with non-lowercase extension 2016-01-26 14:32:01 +01:00
Flavio Copes
5e1004f06f 🎨 Cut previewTemplate in multiple lines, 2016-01-26 14:32:01 +01:00
Andy Miller
086ed34bc0 Fix theme_url in admin for #407 2016-01-24 19:27:53 -07:00
Matias Griese
6e824d1528 Merge remote-tracking branch 'origin/develop' into develop 2016-01-22 21:52:34 +02:00
Matias Griese
d902c9f8b4 Improve support for user defined blueprints in Configuration 2016-01-22 21:52:25 +02:00
Flavio Copes
29641a6f5b Fix issue with selector
Refs
https://stackoverflow.com/questions/13438945/jquery-tools-error-uncaught
-error-syntax-error-unrecognized-expression-href
2016-01-22 18:30:30 +01:00
Matias Griese
d0e87bddb1 Add support for admin based blueprints 2016-01-22 10:42:38 +02:00
Matias Griese
732d9f66b0 Add possibility to hide Configuration section/tab 2016-01-22 10:38:07 +02:00
Flavio Copes
03087bed27 Use common language strings in blueprints 2016-01-21 14:40:54 +01:00
Matias Griese
77639e71cf Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# Conflicts:
#	classes/controller.php
2016-01-21 09:51:35 +02:00
Matias Griese
0424975657 Improve type hints 2016-01-21 09:46:38 +02:00
Flavio Copes
9f7b55476a Add noindex, nofollow across the entire admin theme if no other robots headers are set on a page 2016-01-18 08:56:43 +01:00
Flavio Copes
51c0a9301c Better solution for previous commit. On Linux glob might return false. Check prior to casting to array.
From the PHP manual: on some systems it is impossible to distinguish
between empty match and an error.
2016-01-17 23:08:19 +01:00
Flavio Copes
73d8396553 On Linux glob might return a ['0' => false] array
From the PHP manual: on some systems it is impossible to distinguish
between empty match and an error.
2016-01-17 23:04:34 +01:00
Flavio Copes
096259dc3f Escape page title 2016-01-17 20:55:55 +01:00
Flavio Copes
876d0acb6b Escape page titles 2016-01-17 20:52:05 +01:00
Flavio Copes
5816a34e64 Escape user values in nav template 2016-01-17 10:51:40 +01:00
Flavio Copes
08135ee843 Fix PHP error happening when uploading file without extension if the JS dropzone uploader is configured to allow empty file extensions 2016-01-16 18:49:42 +01:00
Flavio Copes
f068b48fce Don't reveal Grav filesystem path when trying to delete non-existing images 2016-01-16 18:30:26 +01:00
Flavio Copes
1602f2c870 Fix #396 Check frontmatter for validity prior to saving
If saving in Expert mode and the frontmatter field contained invalid
yaml, the page content was changed to the error description.

Instead, avoid saving the page and return an error in the Admin
interface.
2016-01-16 16:24:38 +01:00
Flavio Copes
6df159277a Revert "Prepend config with authorize check"
This reverts commit 25c10e297e.
2016-01-16 10:34:07 +01:00
Flavio Copes
6ed680109c Add correct acl setting to config page 2016-01-16 10:33:46 +01:00
Flavio Copes
25c10e297e Prepend config with authorize check 2016-01-16 10:12:27 +01:00
Andy Miller
687d633204 Merge branch 'release/1.0.7' into develop 2016-01-15 19:10:06 -07:00
Andy Miller
9b7863f8ec version update 2016-01-15 19:09:55 -07:00
Andy Miller
4eded02516 Added access check for config pages 2016-01-15 19:00:30 -07:00
Flavio Copes
9df722e7eb Fix #391 IE/Edge issue in saving Form 2016-01-15 15:15:46 +01:00
Andy Miller
2725c14334 Added a new onAdminSave event right before saving an object - #384 2016-01-14 17:59:00 -07:00
Andy Miller
585b83d6a7 Fix for wrong page count - #390 2016-01-14 17:52:11 -07:00
Flavio Copes
2a36608b59 When no route field is added to a page blueprint, just put it as a root page instead of throwing an error 2016-01-14 00:22:26 +01:00
Flavio Copes
769033739a Add pages dashboard via onAdminDashboard event too.
Allow 3 twig var placements:

grav.twig.plugins_hooked_dashboard_widgets_top
grav.twig.plugins_hooked_dashboard_widgets_main
grav.twig.plugins_hooked_dashboard_widgets_bottom
2016-01-11 11:34:15 +01:00
Flavio Copes
78facc0da0 Typo 2016-01-11 11:17:38 +01:00
Flavio Copes
8e34aa3c30 Drop old logs code 2016-01-10 18:22:06 +01:00
Flavio Copes
2c9630b7af Add onAdminDashboard event. Move maintenance and Statistics widgets on their own partial, add to Twig::plugins_hooked_dashboard_widgets on onAdminDashboard 2016-01-10 17:39:57 +01:00
Flavio Copes
53bbbf9fc2 Docblocks / coding style improvement 2016-01-10 17:39:57 +01:00