Flavio Copes
ce672e4919
Nonce-verify install/uninstall themes
2015-11-19 23:01:14 +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
4f6291761b
Only get the last 7 days in the week count calculation
2015-10-06 14:56:29 +02:00
Flavio Copes
436f6f91e7
Fix saving pages in locale-specific languages in admin
2015-10-03 15:07:05 +02:00
Flavio Copes
772074cd97
Refs https://github.com/getgrav/grav-plugin-data-manager/issues/5
...
What happened is that pages added by plugins in the admin get counted
as normal site pages. Counting only routable and modular pages solves
the issue without messing with iterating over page types added by
plugins
2015-10-02 11:47:26 +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
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