Commit graph

92 commits

Author SHA1 Message Date
Simon DELAGE aa260f2242 Simplified and improved templates
Changed to simple more developped localized templates
2014-09-09 08:38:50 +02:00
Simon DELAGE b0865ce8d2 Changed process to use old template again
Previous process was to rename files but it is better to leave all files
as they are and choose wich source to use
2014-09-08 17:31:36 +02:00
Simon DELAGE b00823906a Changed process to use old template
rename it to replace userhomepage_private.default to get rid of it
2014-09-08 09:12:49 +02:00
Simon DELAGE 9a636083fe Removed test on null templatepath 2014-09-08 08:39:23 +02:00
Simon DELAGE 1ea6bba8ed Missing patch to revert lang strings 2014-09-07 19:05:41 +02:00
Simon DELAGE 3921f0fffc And again... 2014-09-07 17:59:07 +02:00
Simon DELAGE e110867700 Delayed creation of templates
Waiting for 'create' options to be set
2014-09-07 16:46:00 +02:00
Simon DELAGE c0e65f46d2 Switched uhpreplace to global and require_once 2014-09-07 16:26:27 +02:00
Simon DELAGE 29562ca0a9 Got local replacement to work 2014-09-07 15:13:54 +02:00
Simon DELAGE f8b44f400c Added local replacement patterns 2014-09-07 15:01:34 +02:00
Simon DELAGE 3c8cf4a94e Renamed privatePage() to privateStart() 2014-09-07 12:15:24 +02:00
Simon DELAGE 8488c1c86f Cleaned up files and checked indentation 2014-09-07 11:51:44 +02:00
Simon DELAGE 0bc23734bf Moved acl plugin called 2014-09-07 11:36:44 +02:00
Simon DELAGE 9847091c9d Changed ACL operations order
To respect the same order of entries as ACL plugin when "Update" button
is used
2014-09-07 11:14:20 +02:00
Simon DELAGE b039f6695b Patch after setting default templatepath to null 2014-09-07 10:15:14 +02:00
Simon DELAGE 942e6c20e9 Added option for ACL for public pages
And fixed a few things in ACL to make sure we use clean IDs and use
right string if
2014-09-07 09:20:39 +02:00
Simon DELAGE ac71e08bdf Added ACL for public pages 2014-09-07 07:20:41 +02:00
Simon DELAGE 4774ace4a7 Improved template one more step
Localized "Private Namespace" and "Public Page" strings
2014-09-06 20:39:56 +02:00
Simon DELAGE 970d6da8d5 Improved template process
Tu use any replacement pattern from
https://www.dokuwiki.org/namespace_templates
2014-09-06 19:45:24 +02:00
Simon DELAGE 45a8099bf3 Choosed to move outdated functions to helper
As comments for now
2014-09-03 03:52:47 +02:00
Simon DELAGE 33a1a0908d Added a very basic helper
And removed old equivalent and outdated functions
2014-09-03 03:50:59 +02:00
Simon DELAGE 8bb4f0838a Reintruduced old templatepath option
For backward compatibility: if the old template is found, it will be
used as a source
2014-09-03 03:29:33 +02:00
Simon DELAGE d0e28e1412 Fixed wrong file names 2014-09-03 03:05:30 +02:00
Simon DELAGE 49f9bb064a Renamed templates from .txt to .default
To avoid confusion
2014-09-03 02:57:52 +02:00
Simon DELAGE 63d4b4c4f0 Shortened templates names
And changed to keep a copy of original template
2014-09-03 02:52:22 +02:00
Simon DELAGE 96781dbd83 Added more flexibility for templates 2014-09-03 01:45:56 +02:00
Simon DELAGE 71d672d3e6 Corrected indentation 2014-09-02 02:55:38 +02:00
Simon DELAGE a44093f735 Got it to work
Cleaned up the code, removed unneeded function, reordered
creation(s)/redirection operations
2014-09-02 02:05:54 +02:00
Simon DELAGE 814bc41469 Revert "Added option to edit public page"
This reverts commit 2d3ab28a4c.
2014-09-02 00:59:24 +02:00
Simon DELAGE 2d3ab28a4c Added option to edit public page
Edit private page option will not work wich is a good thing: after first
login, user will be redirected to his private namespace start page so he
won't forget to edit it while he might not even know he has a public one
2014-09-01 19:18:16 +02:00
Simon DELAGE 8d12996bd9 Enabled using template if edit option is on 2014-09-01 18:52:10 +02:00
Simon DELAGE debd5ac34a Check against create_... 2014-09-01 18:39:57 +02:00
Simon DELAGE 19f19f6f92 Added public page creation 2014-09-01 18:37:07 +02:00
Simon DELAGE 75232deb62 Changed template stuff
Patern on [templatepath] option was preventing to change the path. Also
renamed _template.txt to _template_private.txt and changed code
accordingly.
2014-09-01 15:57:34 +02:00
Simon DELAGE 4bfeddd685 Inverted misplaced comments 2014-08-31 05:34:34 +02:00
Simon DELAGE d837e213cd Improved redirection function
Redirect to private namespace on login if Translation plugin redirected
to translated version of wiki start page
2014-08-31 05:33:25 +02:00
Simon DELAGE 887df19155 Reindent action.php
Also removed useless functions
2014-08-31 04:10:39 +02:00
Simon DELAGE 11eb488530 Updated comments
/**
* <file description>
* Previous authors: James GuanFeng Lin, Mikhail I. Izmestev, Daniel
Stonier
* @author: Simon Delage <simon.geekitude@gmail.com>
* @license: CC Attribution-Share Alike 3.0 Unported
<http://creativecommons.org/licenses/by-sa/3.0/>
*/
2014-08-31 03:29:56 +02:00
Simon DELAGE fe71204944 Fixed ACL
Also changed some settings defaults and text
2014-08-31 03:13:16 +02:00
Simon DELAGE b372aa5693 Messed up with git commits ;) 2014-08-30 17:07:19 +02:00
Simon DELAGE fa3793216f Fix
No change, only fixed settings.php files to fix options, added
plugin.info.txt, cleaned up some files
2014-08-30 17:04:26 +02:00
Simon DELAGE c1232ecf36 Latest known source (v3.0.4) 2014-08-30 13:23:38 +02:00