Commit Graph

70 Commits

Author SHA1 Message Date
Flavio Copes
17cb5e8bec Intercept error in connecting to the GPM and tell "Cannot connect to the GPM" instead of "Internal Server Error" 2015-11-01 12:05:07 +01:00
Flavio Copes
5a84b5716c Fix $locator not defined, use existing structure but with locator 2015-10-29 19:15:51 +01:00
Sommerregen
42b3a09982 Minor improvements 2015-10-26 21:30:33 +01:00
Andy Miller
f6d05289ce Rely on context-language for active language 2015-10-24 13:14:00 -06:00
Andy Miller
4239272ebb optimized disable asset pipeline logic 2015-10-24 12:34:10 -06:00
Cord
429604a078 disable asset pipeline in admin only
currently pipelines are also deactivated on frontend
2015-10-24 18:25:15 +02:00
Andy Miller
f0f8cd6c7f Back out lang removal code as it is causing problems 2015-10-23 19:51:02 -06:00
Andy Miller
2f9621ac0f Remove language for ALL urls where it's not needed (outside of pages/ for now) 2015-10-22 15:53:42 -06:00
Andy Miller
6dd0e60c25 Fixed disabling asset pipeline order issue #224 2015-10-22 14:47:47 -06:00
Flavio Copes
a52f2c842b Allow plugins to provide pages in (plugin)/admin/pages/ 2015-09-07 11:49:41 +02:00
Flavio Copes
5658bad347 Call onAdminTemplateNavPluginHook to provide plugins the ability to populate plugins_hooked_nav
Example event handling:

    public function onAdminTemplateNavPluginHook()
    {
        $this->grav['twig']->plugins_hooked_nav['PLUGIN_DATA.DATA'] =
['route' => 'data', 'icon' => 'fa-file-text'];
    }
2015-09-07 11:48:42 +02:00
Andy Miller
58e1aec94b Check for existence of a user account 2015-08-31 17:03:44 -06:00
Flavio Copes
4176b32e61 If all updates are applied, show Fully Updated. Fixes #101
Also include code for a more smooth visualization of the data
2015-08-28 17:31:45 +02:00
Flavio Copes
67519fd632 fix #99 problem with site link 2015-08-25 17:20:07 +02:00
Flavio Copes
68206a04ae Process lang strings needed in the JS files and add them to the window.translations object 2015-08-24 18:49:11 +02:00
Andy Miller
7a3809d2f1 added a save location notice to configuration/site editing pages 2015-08-21 15:33:04 -06:00
Andy Miller
f8d47edbbd refactored the page loop a bit to use _context 2015-08-19 14:58:18 -06:00
Flavio Copes
5e21cbec6e Add tu filter twig extension to admin 2015-08-13 20:26:50 +02:00
Flavio Copes
4de32052c2 Prevent admin plugin to activate when the URL of a page contains its route. Fixes #45 2015-08-11 11:07:24 +02:00
Andy Miller
46c0e1c44b Re #27 - Create system.yaml and site.yaml files 2015-08-08 15:52:34 -06:00
Andy Miller
41ecc3ba6f removed unused config options for login 2015-08-08 15:19:21 -06:00
Djamil Legato
1e470fb156 Added Check for Updates button that does a flushed GPM repository ping 2015-08-07 14:08:12 -07:00
Djamil Legato
d98644277c Added isSymlink logic to determine if Grav is symbolically linked or not. 2015-08-07 13:31:15 -07:00
Flavio Copes
b8c197e4ed Merge branch 'feature/fix-error-on-deleting-homepage' into develop 2015-08-07 19:29:54 +02:00
Andy Miller
5f3903229e disable css/js pipelining in the admin #28 2015-08-07 08:49:53 -06:00
Flavio Copes
fe8446aa08 Fix fatal error on deleting the homepage 2015-08-07 12:05:34 +02:00
Flavio Copes
f2fbd1a06e Remove unneeded code 2015-08-06 15:15:40 +02:00
Djamil Legato
c83ee772e0 Various fixes 2015-08-04 12:53:03 -07:00
Flavio Copes
90e6ba9f07 Document methods 2015-07-30 12:20:25 +02:00
Andy Miller
05bf3e6ae7 added exception for missing plugins 2015-07-27 12:56:16 -06:00
Andy Miller
3f6b0c0fa5 various updates 2015-07-21 22:02:13 -06:00
Andy Miller
23dde43f3e added a forced page extension 2015-07-14 11:01:17 -06:00
Gert
20f33fb097 implement twig template registering in admin plugin 2015-05-20 17:19:12 +02:00
Gert
52acf6304e implement task authorization with AJAX support [fix #47] 2015-05-11 16:37:43 +02:00
Gert
1402e14272 rudimentary backup [fixes #45] 2015-04-27 13:37:22 +02:00
Gert
3222197e83 set admin cookie name 2015-04-11 15:32:21 +02:00
Andy Miller
a69759f275 pulled base_url out of the theme_url to work with assets manager 2015-02-28 13:41:47 -07:00
Andy Miller
2ba434a995 Merge commit 'f2dbf9181ddcafe2cf1884eac2acbfd0a4d2d08d' into develop
* commit 'f2dbf9181ddcafe2cf1884eac2acbfd0a4d2d08d':
  Fix session cookie path for login
2015-01-20 07:10:57 -07:00
Matias Griese
f2dbf9181d Fix session cookie path for login 2015-01-20 14:28:16 +02:00
Pereira Ricardo
1fbff2b767 Fixed route and blueprints locator stream. 2015-01-11 18:33:45 +01:00
Pereira Ricardo
5f1320c8a6 - Add locator where need.
- Fix the switch expert/normal issue into pages edit panel.
- Set default page mode to normal.
2015-01-11 00:47:27 +01:00
Andy Miller
951716ad0b various admin basic/pro updates 2014-12-29 11:31:10 -07:00
Djamil Legato
bdb9394334 Real data updates chart 2014-12-19 16:25:36 -08:00
Matias Griese
6e73469691 Use new method of getting base URL 2014-11-14 20:37:44 +02:00
Djamil Legato
118b3cae7f Real data integration of GPM into admin 2014-10-07 17:01:40 -07:00
Matias Griese
902627efa9 Merge remote-tracking branch 'origin/feature/redesign' into feature/redesign 2014-10-07 12:13:40 +03:00
Matias Griese
33a7df85e3 Optimize admin performance / caching 2014-10-07 12:12:21 +03:00
Andy Miller
bb327b586d added default state for expert setting 2014-10-06 19:03:57 -06:00
Matias Griese
3ba9a155bc Update plugin to use Toolbox classes 2014-10-01 22:28:16 +03:00
Matias Griese
c501097a78 New page: Add title to the frontmatter on expert mode 2014-09-26 13:45:22 +03:00