Commit Graph

198 Commits

Author SHA1 Message Date
Simon DELAGE 3c8cf4a94e Renamed privatePage() to privateStart() 2014-09-07 12:15:24 +02:00
Simon DELAGE 45bfa03d22 Changed some options' text 2014-09-07 12:08:01 +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 5c22f95583 Modified default templates for localization 2014-09-07 10:16:42 +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 e83baa691b Removed old default for 'templatepath' 2014-09-07 06:39:51 +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 9f825ed647 Improved helper
Can now provide different types of link to private namespace or public
page
2014-09-06 10:16:04 +02:00
Simon DELAGE 55add7eb37 Got helper working 2014-09-03 04:32:55 +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 a8b8f56a76 And again *sob* 2014-09-03 03:07:21 +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 61bb29b755 Changed plugin.info.txt 2014-08-31 03:17:07 +02:00
Simon DELAGE fe71204944 Fixed ACL
Also changed some settings defaults and text
2014-08-31 03:13:16 +02:00
Simon DELAGE 77554d9fc3 And again... :( 2014-08-30 17:49:00 +02:00
Simon DELAGE 47ce1a8f46 Clarified more ;) 2014-08-30 17:48:04 +02:00
Simon DELAGE f46093f1e6 Clarified english language options 2014-08-30 17:45:12 +02:00
Simon DELAGE df098f672b Removed outdate language sttings.php
From now on, those files would become more and more outdated.
2014-08-30 17:27:01 +02:00
Simon DELAGE f44791e18e Finally done with fixes 2014-08-30 17:13:04 +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 9fa81cafef Update README.md 2014-08-30 14:11:32 +02:00
Simon DELAGE fc5ead370d Create README.md 2014-08-30 14:10:57 +02:00
Simon DELAGE c1232ecf36 Latest known source (v3.0.4) 2014-08-30 13:23:38 +02:00
Simon DELAGE a8ceae6314 Delete .gitattributes 2014-08-30 12:03:48 +02:00
Simon DELAGE e68b272cf7 :neckbeard: Added .gitattributes 2014-08-30 12:02:32 +02:00