Commit Graph

83 Commits

Author SHA1 Message Date
Flavio Copes
d3e352ef98 Show the access levels filters 2015-10-21 18:41:49 +02:00
Flavio Copes
a94a9bf0eb Handle getting configuration data for groups 2015-10-20 19:32:33 +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
Andy Miller
3fc3a40c17 fix for missing phpinfo method: #175 2015-09-15 16:23:57 -06: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
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
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
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
697c9a4524 Prevent an error when there are no pages in the site 2015-08-28 16:02:32 +02:00
Flavio Copes
cdb4d2b7f4 Fallback to default lang if no string is found 2015-08-24 19:09:07 +02:00
Andy Miller
8aa5c0ac2f various fixes for redirects and parents 2015-08-20 18:11:54 -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
Matias Griese
c6b1f1d2eb Fix blueprints to be loaded by using blueprints:// stream (#38) 2015-08-20 11:58:14 +03:00
Andy Miller
d773a878de Fix for #54 issue - Call to a member function path() on a non-object 2015-08-19 12:51:55 -06:00
Flavio Copes
79bafcd6ab Correctly set the default language when not set in the user yaml (fixes language not changing problem) 2015-08-19 10:17:50 +02:00
Flavio Copes
29a6af26f3 Fix untranslated string 2015-08-18 21:13:04 +02:00
Flavio Copes
84bd5605f0 Fix session variable if not set before 2015-08-18 21:07:11 +02:00
Flavio Copes
4f3ef359c8 Fix getting the site languages 2015-08-18 19:44:07 +02:00
Flavio Copes
0cd5c60e5d Defaults to english 2015-08-18 19:27:10 +02:00
Flavio Copes
38016fa5af Independent admin-side translate functionality 2015-08-18 18:48:15 +02:00
Flavio Copes
9976e2c72d Fix language change requiring a logout to be applied (still requires a second page reload) 2015-08-18 16:04:00 +02:00
Flavio Copes
3ec0cf22d2 Merge develop 2015-08-18 14:37:56 +02:00
Andy Miller
df11f9ee45 adminLanguages function 2015-08-17 18:22:15 -06:00
Flavio Copes
ca9139b5c7 Handle the special case of message post-login 2015-08-17 18:49:06 +02:00
Flavio Copes
266c964e36 Merge branch 'develop' into feature/translate-admin 2015-08-17 16:42:39 +02: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
dd41509c79 Drop unneeded line 2015-08-14 17:37:51 +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
65cf04faed progress so far.. 2015-08-14 06:23:16 -06:00
Flavio Copes
716c36edf3 Use PLUGIN_ADMIN. prefix for translations 2015-08-13 20:44:56 +02:00
Andy Miller
61f1908750 Added a phpinfo page under configuration 2015-08-11 18:30:27 -06:00
Flavio Copes
fe8446aa08 Fix fatal error on deleting the homepage 2015-08-07 12:05:34 +02:00
Andy Miller
273db412d0 force modular class for modular template type 2015-08-05 19:04:55 -06:00
Andy Miller
6f4783e236 handle modular templates on create 2015-08-05 18:07:55 -06:00
Andy Miller
7e1b5db4ee Improved logic for saving and added 'guess' the visibility functionality 2015-08-05 15:30:30 -06:00
Andy Miller
c59d5d4c9f adds/removes numeric order when changing visibility status 2015-08-05 13:22:46 -06:00
Flavio Copes
90e6ba9f07 Document methods 2015-07-30 12:20:25 +02:00