Commit Graph

187 Commits

Author SHA1 Message Date
Andy Miller
c1311567b4 more progress with the registration 2015-12-09 21:37:34 -07:00
Andy Miller
fb30324187 started work on admin registration logic 2015-12-04 11:58:28 -07:00
Andy Miller
74923aba86 Force timestamp on assets based on GRAV_VERSION 2015-12-03 16:57:27 -07:00
Andy Miller
1f3ef3aebb Use new methods to disable CSS/JS Pipeline if available (without effecting config) #318 2015-12-03 14:47:34 -07:00
Flavio Copes
3af03e2f8e Throw exception when used within the PHP builtin webserver 2015-12-03 17:29:46 +01:00
Flavio Copes
e82c347508 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-30 15:58:40 +01:00
Andy Miller
6f97eb2613 force translations to be on while processing admin translations #299 2015-11-29 21:51:07 -07:00
Flavio Copes
5591ae6836 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-26 12:14:27 +01:00
Andy Miller
fd24c84a4a display Error page if the page is not found 2015-11-25 15:43:26 -07:00
Flavio Copes
970d77219e Fixes https://github.com/getgrav/grav/issues/476, replace default themes service with admin own theme service to avoid loading the default theme 2015-11-25 18:31:28 +01:00
Flavio Copes
16d745b377 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-21 16:40:18 +01:00
Andy Miller
86a6d56a23 Set default lang for pages on fresh session 2015-11-20 11:02:52 -07:00
Flavio Copes
aa11f29290 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-01 14:03:10 +01:00
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
d387994898 Allow translating filter popup titles 2015-10-21 19:54:10 +02:00
Flavio Copes
ba07370b07 Print admin version only if in admin 2015-10-20 10:36:48 +02:00
Flavio Copes
269a3296db Move controller initialization to its own method so it's easily overriddeable 2015-10-19 11:46:51 +02:00
Flavio Copes
d5e9ce756b Fix for swapping with admin pro if available 2015-10-16 21:16:34 +02: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