Commit Graph

110 Commits

Author SHA1 Message Date
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
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