Commit Graph

149 Commits

Author SHA1 Message Date
Flavio Copes
3d2966c181 Last nonce fixes 2015-11-22 17:41:49 +01:00
Flavio Copes
59fd550136 Add nonce to backup download link 2015-11-20 20:27:18 +01:00
Flavio Copes
1f6bda7d75 Add nonce verification to all get requests with the task param 2015-11-19 22:54:17 +01:00
Flavio Copes
1c8a33f7a9 Make sure we don't process the nonce as a Data value 2015-11-19 19:17:48 +01:00
Flavio Copes
37f98cc4f3 Let handling slash replacement automatically 2015-11-17 11:57:46 +01:00
Flavio Copes
d2763660fe Handle nonce in admin logout too 2015-11-17 11:56:21 +01:00
Flavio Copes
949c96fe3b Fix class name 2015-11-13 18:45:55 +01:00
Flavio Copes
1840eb80f3 Only check for nonce if the getNonce method exists (nonces are implemented in Grav) 2015-11-13 18:20:18 +01:00
Flavio Copes
efb63f7873 Only check nonce on POST requests 2015-11-10 17:53:09 +01:00
Flavio Copes
567c1dac01 Fix 'if'! 2015-11-09 15:09:31 +01:00
Flavio Copes
2d097313b4 Improve verification of nonce 2015-11-06 17:26:35 +01:00
Flavio Copes
24f3df1c76 Use Grav nonce functionality 2015-11-06 15:32:26 +01:00
Andy Miller
179958e697 Redirect to correct page when you change folder/slug 2015-10-22 15:10:27 -06: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