Commit Graph

119 Commits

Author SHA1 Message Date
Flavio Copes
68a183c05c getDependenciesNeededToInstall accepts an array to ease transition to handling multiple packages 2016-03-09 19:40:23 +01:00
Flavio Copes
532093e86d Add getDependenciesNeededToInstall, used by the controller 2016-03-07 11:31:18 +01:00
Flavio Copes
382fd32916 Steps towards deleting dependencies when removing a plugin 2016-03-05 18:46:41 +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
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
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
Djamil Legato
6271eeddff Added new DateTime field 2016-02-05 23:49:39 -08:00
Flavio Copes
d200f7a72c 🎨 Code hints, docblocks 2016-02-04 20:59:11 +01:00
Flavio Copes
30a08f6203 🚧 Simplify admin translate method 2016-02-04 20:59:11 +01:00
Flavio Copes
5170a9d2c4 🎨 Drop unused code, format, PHPDoc 2016-02-04 20:59:11 +01:00
Flavio Copes
c62fb6bdb5 Fix #390 Incorrect number of pages being displayed 2016-01-28 14:03:53 +01:00
Matias Griese
d902c9f8b4 Improve support for user defined blueprints in Configuration 2016-01-22 21:52:25 +02: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
Andy Miller
585b83d6a7 Fix for wrong page count - #390 2016-01-14 17:52:11 -07:00
Flavio Copes
8e34aa3c30 Drop old logs code 2016-01-10 18:22:06 +01:00
Flavio Copes
53bbbf9fc2 Docblocks / coding style improvement 2016-01-10 17:39:57 +01:00
Andy Miller
45c8d83666 should use implicit toString() 2016-01-09 15:41:03 -07:00
Andy Miller
196b6736ab more robust .yaml filename checker 2016-01-09 15:30:45 -07:00
Flavio Copes
a7c3401a81 Use Grav::instance 2016-01-04 21:04:12 +01:00
Flavio Copes
ae1b2a074c Show any configuration item Grav finds under user/config, if there is an associated blueprint provided
Also, organize current system/site/info files under a common
config.html.twig. Delete info/site/system twig files. Preserve BC by
setting the template of system/site/info to "config", in the pages.
2016-01-03 17:53:04 +01:00
Andy Miller
853d934c5e Fix for language picker to use new individual language files 2015-12-18 17:28:31 -07:00
Flavio Copes
e6d04b089a Merge branch 'develop' into feature/integrate-with-admin-pro 2015-12-01 18:09:52 +01:00
Flavio Copes
36b79b2b83 Check to prevent failure 2015-11-30 19:00:12 +01:00
Flavio Copes
018c22e7e9 Fix getting strings translated when the default lang is != 'en' and does not contain them 2015-11-30 16:10:54 +01:00
Flavio Copes
e82c347508 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-30 15:58:40 +01:00
Tyler Cosgrove
f0a51f1e35 Add logic to check if pages even exist.
There was a problem with the dashboard page when checking for latest pages if there were no pages in the user/pages folder.
2015-11-29 09:49:51 -05:00
Flavio Copes
1185502982 MIssing semicolon 2015-11-26 12:49:21 +01:00
Flavio Copes
453d2f7403 Stub for backups 2015-11-26 12:13:07 +01:00
Flavio Copes
16d745b377 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-21 16:40:18 +01:00
Flavio Copes
e6cddea054 Add nonce to GravAdmin.config.admin_nonce to be used by JS. Drop jQuery DOM references to #admin-nonce 2015-11-21 16:15:23 +01:00
Djamil Legato
98ca723214 Ensuring plugin and themes objects exist before continuing 2015-11-19 20:06:08 -08:00
Flavio Copes
ce672e4919 Nonce-verify install/uninstall themes 2015-11-19 23:01:14 +01:00
Flavio Copes
cb8643b178 Moved groups data to admin pro 2015-11-01 15:58:07 +01:00
Flavio Copes
d3e352ef98 Show the access levels filters 2015-10-21 18:41:49 +02:00
Flavio Copes
a94a9bf0eb Handle getting configuration data for groups 2015-10-20 19:32:33 +02:00
Flavio Copes
772074cd97 Refs https://github.com/getgrav/grav-plugin-data-manager/issues/5
What happened is that pages added by plugins in the admin get counted
as normal site pages. Counting only routable and modular pages solves
the issue without messing with iterating over page types added by
plugins
2015-10-02 11:47:26 +02:00
Flavio Copes
d2daa17352 Add static helper methods to be used by the new page blueprints, and store the information in the session when creating a new page 2015-10-01 15:33:33 +02:00
Andy Miller
3fc3a40c17 fix for missing phpinfo method: #175 2015-09-15 16:23:57 -06:00
Andy Miller
b9290e4779 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-09-14 09:39:50 -06:00
Andy Miller
0549445e4b removed a couple of todo messages 2015-09-14 09:39:45 -06:00
Flavio Copes
be33876bc0 Fix issue in offline admin 2015-09-13 20:27:01 +02:00
Andy Miller
fe6fec16db change getPage() method to public 2015-09-11 12:22:15 -06:00
Andy Miller
6aea8f11a0 More support for redirect in admin 2015-09-11 10:47:54 -06:00
Flavio Copes
d66ecd58fd Conform to authorize 2015-09-11 15:00:03 +02:00
Andy Miller
42e7cb16e4 php->kendo js date conversion 2015-09-08 14:58:31 -06:00
Andy Miller
1e91e22c19 added template types to filter input 2015-09-08 11:31:39 -06:00
Andy Miller
0113cdcf59 Check to ensure template has modular templates before showing add modular button 2015-09-08 11:13:52 -06:00