Commit Graph

258 Commits

Author SHA1 Message Date
Flavio Copes
bc7efe0dd4 Fix weird issue in the language code being added twice when saving a page in a new language 2015-10-01 14:59:07 +02:00
Flavio Copes
faec665d9f Only track hits on human-generated requests, fixes #195 2015-09-30 18:46:53 +02:00
Andy Miller
8055dfc8ba Fix for #184 where redirects had hardcoded /admin/ in them. 2015-09-18 10:07:49 -06:00
Andy Miller
1c7928a114 Added ability to render front-end templates in markdown preview #185 2015-09-17 11:41:14 -06:00
Andy Miller
3fc3a40c17 fix for missing phpinfo method: #175 2015-09-15 16:23:57 -06:00
Andy Miller
1ce6688a61 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-09-15 16:07:11 -06:00
Andy Miller
36e741bc7a Pass theme flag into Installer::install() so it knows to use copyInstall() 2015-09-15 16:07:05 -06:00
Flavio Copes
632e3efa94 Fix permissions being added as arrays in dataPermissions() 2015-09-15 12:02:18 +02:00
Flavio Copes
a48e70228d Add pages permission to dataPermissions(), fixes #172 2015-09-15 11:58:26 +02: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
cfeb350c8b Merge pull request #170 from getgrav/feature/keepalive-in-admin
Keepalive in admin. Fires a 'keepAlive' task 5s before the end of the admin session
2015-09-14 15:59:30 +02:00
Flavio Copes
0e2317032b Keepalive in admin. Fires a 'keepAlive' task 5s before the end of the admin session 2015-09-14 15:58:34 +02: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
Flavio Copes
2a3572850c Revert "Include non routable pages (e.g. modular pages) in the pages list filter"
This reverts commit f6ea2f612a.
2015-09-10 09:15:00 +02:00
Flavio Copes
f6ea2f612a Include non routable pages (e.g. modular pages) in the pages list filter 2015-09-10 09:11:52 +02:00
Andy Miller
b722c2295c added non modular and colorized 2015-09-09 21:38:28 -06:00
Andy Miller
20509e0011 Added more mode options 2015-09-09 19:37:29 -06:00
Flavio Copes
aa625fcfc5 Fix filtering by pagestate when also filtering by page type 2015-09-09 22:03:28 +02:00
Flavio Copes
23d99e557e Fixes showing multiple page types 2015-09-09 21:18:30 +02:00
Flavio Copes
08c2eea5c4 taskFilterPages can filter by page type too 2015-09-09 09:28:53 +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
mufac
69623b22d8 Fix missing dollar sign
grav_limit was a constant when it should be a variable.
2015-09-01 19:45:59 -05:00
Flavio Copes
72ac5c0b89 Fix offline fatal error on GPM initialization 2015-09-01 18:14:54 +02:00
Andy Miller
42510b63b8 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2015-08-29 10:44:03 -06:00
Andy Miller
e2e1076e8e support for independent file name and template override 2015-08-29 10:43:58 -06:00
Flavio Copes
ea30fcc43f Fallback to english if Language::getDefault() returns null (e.g. user sets the interface in a language, but translations are disabled) 2015-08-29 14:39:37 +02:00
Flavio Copes
193e4c9a86 Fix deleting responsive media. Fixes #111 2015-08-28 18:55:23 +02:00
Flavio Copes
697c9a4524 Prevent an error when there are no pages in the site 2015-08-28 16:02:32 +02:00
Flavio Copes
4295a5daba Fix for redirect after saving a page when multilang is not enabled 2015-08-26 10:25:14 +02:00
Flavio Copes
cdb4d2b7f4 Fallback to default lang if no string is found 2015-08-24 19:09:07 +02:00
Flavio Copes
9d9191974e Fix switching lang for subpages 2015-08-21 18:01:20 +02:00
Flavio Copes
ff0dffaca3 Always redirect back to pages 2015-08-21 15:54:21 +02:00
Flavio Copes
40b406977c Only delete the folder if it's the last language of this page 2015-08-21 15:54:08 +02:00
Andy Miller
d2b76ba93a Merge branch 'develop' into feature/work-on-languages-workflow
Conflicts:
	classes/controller.php
2015-08-20 18:15:09 -06:00
Andy Miller
8aa5c0ac2f various fixes for redirects and parents 2015-08-20 18:11:54 -06:00
Andy Miller
0af4d223fe redirect to rawroute 2015-08-20 15:39:13 -06:00
Andy Miller
3692dca100 Default to english if language is not set 2015-08-20 15:23:50 -06:00
Andy Miller
8e09213dc9 Fix for #84 - unique page counting 2015-08-20 15:23:20 -06:00
Andy Miller
6333c5886c Fix for #84 - unique page counting 2015-08-20 14:55:24 -06:00
Flavio Copes
5ad210029b Solve issue in redirect with adding a new page (and other situations) 2015-08-20 19:55:33 +02:00
Andy Miller
b50cbbc778 Default to english if language is not set 2015-08-20 11:29:37 -06:00
Flavio Copes
576a4f0765 Incorporate andy fixes, and correctly set redirects on switching language and saving as a new language 2015-08-20 17:00:46 +02:00
Flavio Copes
bf4f728232 Fix redirect for new pages 2015-08-20 16:03:54 +02:00
Flavio Copes
16fe926e5d Make sure that saving a page just saves it in its own language 2015-08-20 15:17:45 +02:00