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
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
deaeccfffc
After login, redirect to the original URL called
...
Fix an annoying issue in Admin, when loading an inner page
(`/admin/pages/whatever`) and I'm logged out, after login I'm always
sent to the dashboard, while it should bring to the page I called in
the first place
2016-04-01 12:41:40 +02:00
Flavio Copes
a9bb36eb0c
Revert "Temporary change - force GPM refresh for admin"
...
This reverts commit 637637b350 .
2016-03-26 18:06:28 +01: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
637637b350
Temporary change - force GPM refresh for admin
...
Marked to remove prior to merging the PR
2016-03-15 20:04:56 +01: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
532093e86d
Add getDependenciesNeededToInstall, used by the controller
2016-03-07 11:31:18 +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
33abe0d4ca
Merge branch 'develop' into feature/admin-gpm-dependencies
2016-03-05 12:11:55 +01:00
Flavio Copes
707a7b71ed
Lint controller
2016-03-05 12:11:13 +01:00
Flavio Copes
419ca2181b
Extract getPackageFromGPM
2016-03-04 19:20:57 +01:00
Flavio Copes
aed9f90e16
Return a flat array of direct dependencies from dependenciesThatCanBeRemovedWhenRemoving, not recurse into packages
2016-03-04 19:20:48 +01:00
Flavio Copes
fecb1b179a
Rename dependencies to dependenciesThatCanBeRemovedWhenRemoving, be more specific. Remove unused parameter
2016-03-04 18:08:30 +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
Flavio Copes
97e17500f4
Add dependencies() method in Admin
...
Generate an array of nested dependencies for a package, optionally
without duplicates
2016-03-01 19:52:24 +01:00
Flavio Copes
4e2be47479
Lint gpm
2016-03-01 19:50:12 +01:00