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
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
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
16d2f0a752
Added new Toggle and Task for switching gpm release
2016-04-15 16:18:02 -06:00
Flavio Copes
927a0f4ad1
Revert "Fix for modular preview not functioning as expected #254 "
...
This reverts commit a2275b8b73 .
2016-04-12 14:14:52 +02:00
Flavio Copes
9da5f5595a
Return 401 unauthorized and exit if trying to access a file outside the backups folder
2016-04-08 10:49:59 +02:00
Flavio Copes
f81f21e0ae
Use scope also in admin registration / login form
...
BC issue: if using Admin `develop/ 1.1` with Form != latest develop,
the Admin-side registration form (the one that pops up when Admin is
installed but no accounts are found) will not work. Not something users
would stumble upon: only appears when Admin 1.1 it'll be possible to
use config-title@: theme.antimatter.some_config to set the title
dynamically based on a theme config option is installed but it's not
yet configured, and Form is not up to date. When 1.1 will be released,
also the Form plugin will have a newer update that will be installed
automatically.
2016-04-07 13:09:26 +02:00
Flavio Copes
3677c498f9
Fix redirect after switching language in a page exiting context
2016-04-04 11:13:57 +02:00
Flavio Copes
6d9f9a0886
Merge branch 'develop' into feature/admin-gpm-dependencies
2016-03-26 18:00:19 +01:00
Flavio Copes
57a7a60efd
Avoid returning an error in Admin itself, just in the JSON response
...
This prevents the error to appear on a subsequent admin page reload
2016-03-19 15:41:46 +01:00
Flavio Copes
1044ffebf1
Show a more meaningful error message if post_max_size is too low to handle a media upload
2016-03-19 11:54:19 +01:00
Flavio Copes
2c00618b87
Handle error when trying to remove a package that other packages depend on.
2016-03-17 15:57:10 +01:00
Flavio Copes
fd6f1691af
Merge branch 'develop' into feature/admin-gpm-dependencies
2016-03-16 11:46:51 +01:00
Matias Griese
de82a05194
Issue when saving tab-based plugin configuration ( #452 )
2016-03-16 11:09:48 +02:00
Flavio Copes
6b22932d43
Call GPM::checkPackagesCanBeInstalled() when trying to install/update a package
2016-03-15 19:36:00 +01:00
Flavio Copes
e30a2871e9
Handle errors during install: Install old next-significant-release dependency
2016-03-14 17:52:11 +01:00
Flavio Copes
1da2ce7e8c
Detect error while installing packages, show message and cancel button
2016-03-11 15:17:18 +01:00
Flavio Copes
934079fa39
Drop old controller tasks
2016-03-10 22:09:48 +01:00
Flavio Copes
d9ffd603ea
More groundwork to allow installing multiple packages at once
2016-03-09 21:19:13 +01:00
Flavio Copes
68a183c05c
getDependenciesNeededToInstall accepts an array to ease transition to handling multiple packages
2016-03-09 19:40:23 +01:00
Flavio Copes
c0f73bf6ed
Actually remove a package
2016-03-08 11:37:04 +01:00
Flavio Copes
856a325a17
Add taskPackageDependencies, taskInstallDependenciesOfPackage, taskInstallPackage
2016-03-07 11:33:23 +01:00
Flavio Copes
2417c88ecd
Generalize taskRemovePlugin into taskRemovePackage
2016-03-06 11:57:27 +01:00
Flavio Copes
c9b6b01607
Complete remove plugin task. Handle failure.
2016-03-05 20:57:13 +01:00
Flavio Copes
382fd32916
Steps towards deleting dependencies when removing a plugin
2016-03-05 18:46:41 +01:00
Flavio Copes
707a7b71ed
Lint controller
2016-03-05 12:11:13 +01:00
Djamil Legato
f5e1ea01f2
Merge remote-tracking branch 'origin/develop' into feature/es6_revamp
...
# Conflicts:
# themes/grav/css-compiled/template.css
# themes/grav/css-compiled/template.css.map
# themes/grav/scss/template/_editor.scss
# themes/grav/scss/template/_forms.scss
# themes/grav/scss/template/_remodal.scss
# themes/grav/templates/partials/base.html.twig
# themes/grav/templates/partials/dashboard-statistics.html.twig
2016-03-02 11:13:06 -08:00
Djamil Legato
aa73b82832
Implemented Preview button and states abstraction for toolbar
2016-03-01 19:00:29 -08:00
Gavin Roberts
772172821b
Updated taskSave to ensure route is prefixed with a forward slash
2016-02-27 07:54:17 +00:00
Djamil Legato
eed783e1ed
Merge branch 'develop' into feature/es6_revamp
2016-02-18 15:49:58 -08:00
Flavio Copes
3efbf05bea
Clear cache after adding new folder, fix #393
2016-02-12 10:17:19 +01:00
Flavio Copes
c2a1a7b192
Lint
2016-02-12 10:17:19 +01:00
Djamil Legato
22055f8a19
Merge remote-tracking branch 'origin/develop' into feature/es6_revamp
...
# Conflicts:
# languages/en.yaml
# themes/grav/css-compiled/template.css
# themes/grav/css-compiled/template.css.map
# themes/grav/templates/forms/fields/tabs/tabs.html.twig
2016-02-09 13:04:16 -08:00
Flavio Copes
b68a12fd11
Merge branch 'develop' into feature/new-folder-modal
2016-02-04 21:05:00 +01:00
Djamil Legato
35fa588438
Reworked Admin JS with ES6
2016-02-01 11:27:34 -08: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
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
d5dea81d94
Fix issue when adding folders to subfolders. Also fix when ordering is < 10, and fix when there's no other folder
2016-01-16 17:22:08 +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
b775dc189a
Drop unused code
2016-01-15 12:57:17 +01:00
Flavio Copes
0f3101bc95
Save folder controller task
2016-01-15 12:57:09 +01:00
Andy Miller
2725c14334
Added a new onAdminSave event right before saving an object - #384
2016-01-14 17:59:00 -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
53bbbf9fc2
Docblocks / coding style improvement
2016-01-10 17:39:57 +01:00
Flavio Copes
d493006236
Fix #387 Parent not loaded on admin form on save
2016-01-09 18:59:34 +01:00