Commit Graph

137 Commits

Author SHA1 Message Date
Flavio Copes
b31eac1592 Handle redirect for new group creation 2015-10-20 16:36:39 +02:00
Flavio Copes
436f6f91e7 Fix saving pages in locale-specific languages in admin 2015-10-03 15:07:05 +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
Flavio Copes
4fac3d951c Drop error log 2015-10-01 15:01:57 +02:00
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
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
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
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
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
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
Andy Miller
e2e1076e8e support for independent file name and template override 2015-08-29 10:43:58 -06:00
Flavio Copes
193e4c9a86 Fix deleting responsive media. Fixes #111 2015-08-28 18:55:23 +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
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
Flavio Copes
5ad210029b Solve issue in redirect with adding a new page (and other situations) 2015-08-20 19:55:33 +02: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
Flavio Copes
c4127be37d Re-added language checks in the controller redirect function. Ensures Grav admin always has the correct language set in the links (otherwise it's not happening). Bring back some lines removed in 8e814e30ad 2015-08-20 15:17:11 +02:00
Andy Miller
8e814e30ad simplified redirect that was causing some issues 2015-08-19 16:54:48 -06:00
Andy Miller
7fcf239132 removed some double slash situations 2015-08-19 16:54:30 -06:00
Andy Miller
7cd4e5b0a6 added missing uninstall strings 2015-08-19 16:53:21 -06:00
Sommerregen
8f57adde65 Minor param_sep fixes 2015-08-19 20:03:05 +02:00
Flavio Copes
616b896cfd Add taskSaveas() to save a page in a new language 2015-08-19 17:28:39 +02:00
Flavio Copes
8d2440d238 Make sure we always have the language code in the URL 2015-08-19 17:27:57 +02:00
Flavio Copes
c2a54b3770 Add a button to switch to a different language version of a page. Uses the switchlanguage task to which I added a redirect parameter to correctly switch the language 2015-08-19 14:32:06 +02:00
Flavio Copes
874d905297 Go on with translations 2015-08-17 17:18:21 +02:00
Flavio Copes
266c964e36 Merge branch 'develop' into feature/translate-admin 2015-08-17 16:42:39 +02:00
Flavio Copes
958a715a3e Go on with translations 2015-08-17 10:26:35 +02:00
Andy Miller
d7ed057911 removed old 'visible' logic 2015-08-16 22:42:08 -06:00
Andy Miller
274c4ca410 Fix for page not redirecting when changing folder name - #67 (requires grav update) 2015-08-14 15:00:48 -06:00
Andy Miller
059cab3504 finishing the visibility updates 2015-08-14 14:28:24 -06:00
Flavio Copes
ecfc77df1c Admin language switcher. Enabled only if multilang is active. Allows to switch pages content to the desired language 2015-08-14 19:12:04 +02:00
Flavio Copes
b80678c74b Move translate function so it's accessible from all admin parts. Correctly change $l->translate() calls to it 2015-08-14 15:05:33 +02:00
Andy Miller
7c8b3363b9 fix for empty tags being saved in page 2015-08-14 06:41:43 -06:00