Commit Graph

99 Commits

Author SHA1 Message Date
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
Andy Miller
65cf04faed progress so far.. 2015-08-14 06:23:16 -06:00
Flavio Copes
e0675355e2 Centralized translate() function in the controller 2015-08-13 21:18:03 +02:00
Flavio Copes
716c36edf3 Use PLUGIN_ADMIN. prefix for translations 2015-08-13 20:44:56 +02:00
Flavio Copes
7b18ddb740 Correctly set the file name including the language if set 2015-08-12 19:05:30 +02:00
Sommerregen
0165f53d44 Fixes #30, added logout page 2015-08-08 11:16:04 +02:00
Djamil Legato
d98644277c Added isSymlink logic to determine if Grav is symbolically linked or not. 2015-08-07 13:31:15 -07:00
Flavio Copes
39870339b3 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into feature/work-on-toggleables 2015-08-07 09:06:32 +02:00
Andy Miller
8921b8afb1 put a safety check around new unsetRoute() method 2015-08-06 18:29:29 -06:00
Djamil Legato
4f3c37aefb Implemented button groups and hooked up all different types of Clear Cache available 2015-08-06 16:15:41 -07:00
Andy Miller
90f07e0d1c removed overkill stuff 2015-08-06 16:19:36 -06:00
Andy Miller
7b3e300e87 added multiple clear type support 2015-08-06 16:16:18 -06:00
Andy Miller
ec49b3983c Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# By Flavio Copes
# Via Flavio Copes
* 'develop' of https://github.com/getgrav/grav-plugin-admin:
  Fix #12 link to rockettheme.com, thanks @symac
  A better update success message. Update the version in the footer.
  Show error message if Grav is symlinked, and stop the upgrade process
  Manage permissions
  Add feedback during/after upgrade
  Remove unneeded code
  Update Grav when pressing the "Update Grav Now" button
2015-08-06 11:03:28 -06:00
Andy Miller
0511409567 Fix for #15 - requires grav update though. 2015-08-06 11:03:14 -06:00
Flavio Copes
7b705d3595 A better update success message. Update the version in the footer. 2015-08-06 17:23:08 +02:00
Flavio Copes
66764b2255 Show error message if Grav is symlinked, and stop the upgrade process 2015-08-06 16:35:45 +02:00
Flavio Copes
473511d948 Manage permissions 2015-08-06 15:16:22 +02:00
Flavio Copes
01c73d1451 Update Grav when pressing the "Update Grav Now" button 2015-08-06 09:34:55 +02:00
Andy Miller
1945099227 clear cache on page delete 2015-08-05 19:11:09 -06:00
Andy Miller
75774e65af more robust order handling 2015-08-05 18:10:15 -06:00
Andy Miller
5ca737b8de ensure we don't change page type when it's empty 2015-08-05 18:09:08 -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
ac6a79f069 removed a typo 2015-08-05 13:24:17 -06:00
Andy Miller
c59d5d4c9f adds/removes numeric order when changing visibility status 2015-08-05 13:22:46 -06:00
Flavio Copes
dd150f67f7 Work on toggleables 2015-08-04 19:28:42 +02:00
Andy Miller
3f530f53db better check for empty fields 2015-08-03 17:04:48 -06:00
Andy Miller
bdeafc2b63 add option to clean header of empty values 2015-08-03 16:09:34 -06:00
Andy Miller
bc74072dea Merge branch 'develop' of bitbucket.org:rockettheme/grav-plugin-admin into develop
# By Flavio Copes
# Via Flavio Copes
* 'develop' of bitbucket.org:rockettheme/grav-plugin-admin:
  Assign the correct parent when copying a page
  Correctly redirect to the new page after a copy
2015-08-03 09:50:30 -06:00
Andy Miller
d376f324d3 removed filter/validate 2015-08-03 09:50:05 -06:00
Flavio Copes
5b3f11be7e Assign the correct parent when copying a page 2015-08-03 17:07:12 +02:00
Flavio Copes
319b7a3963 Correctly redirect to the new page after a copy 2015-08-03 16:49:27 +02:00
Flavio Copes
3584edac1d Fix error in copying a root page 2015-08-03 11:47:32 +02:00
Flavio Copes
1d2fc734ec Fix double slash in path 2015-08-03 11:46:55 +02:00
Andy Miller
05e06a7555 take header into account and process page properly 2015-07-30 19:53:06 -06:00
Djamil Legato
535d8faf79 Fixed processMarkdown task 2015-07-30 14:55:25 -07:00
Flavio Copes
90e6ba9f07 Document methods 2015-07-30 12:20:25 +02:00
Andy Miller
1f6bd44b25 first whack at a processMarkdown json method 2015-07-29 14:04:06 -06:00
Andy Miller
47c2723827 added messages to dashboard in proper place 2015-07-28 16:10:48 -06:00
Andy Miller
7b21fe8a46 ability to save and redirect to saved page 2015-07-28 11:11:43 -06:00