Commit graph

72 commits

Author SHA1 Message Date
Simon DELAGE 7fb70b83e2 Changed ACL file write process for DW function
Replaced file_put_contents with io_saveFile
2015-01-20 00:56:39 +01:00
Simon DELAGE 896f344cea Added a test on useacl option before any ACL action 2015-01-11 13:26:26 +01:00
Simon DELAGE 5a615a99a1 Fixing bug on Public pages ACL 2014-12-18 01:40:21 +01:00
Simon DELAGE 2e38729a9f Added an option to disable automated ACL 2014-12-06 18:08:11 +01:00
Simon DELAGE 8c3c622475 Replaced file_exists calls with is_file 2014-10-26 09:21:51 +01:00
Simon DELAGE 273933839f Made correction based on user problem
A user had a strange problem: plugin would not create the template and
there was some kind of infinite loop on login but he found a simple fix
that doesn't seem to have any side effect
2014-10-10 18:20:26 +02:00
Simon DELAGE ec14ae2f79 Corrected a major bug with farm setup
Duplicate lines in ACL file were not cleaned up, eventually leading to
it's corruption
2014-09-30 23:27:21 +02:00
Simon DELAGE 4e3b0577d8 Templates were not read from correct place
Because of preceding commit
2014-09-28 16:23:17 +02:00
Simon DELAGE 82148c514d Corrected templates destination in farm setup
If templates' destination was in data/pages, they where created in
farmer's folder instead of animal's
2014-09-27 14:31:56 +02:00
Simon DELAGE bc9a2a89c6 Fixed redirection when logging in through cookie
A timestamp is store in init() when a user is logged in. If user's
private namespace start page exists within 2 seconds he will be
redirected to it unless he requires any page other than wiki start page.
2014-09-21 19:17:21 +02:00
Simon DELAGE f376cf5f10 Bug correction
When path to old template is emptied in settings
2014-09-14 19:37:37 +02:00
Simon DELAGE 75d25e5295 Added a replacement pattern
For private namespace start page
2014-09-13 12:16:35 +02:00
Simon DELAGE f7aa65f4c4 Many ACL changes + republishing 2014-09-13 02:13:16 +02:00
Simon DELAGE 2b5fa08ca9 Added option to set ACL on templates 2014-09-12 09:40:51 +02:00
Simon DELAGE bd68596c7c Added folder creation to copyFile() 2014-09-12 08:43:45 +02:00
Simon DELAGE f838dc5c08 Commit bug? 2014-09-11 22:50:42 +02:00
geekitude 3a1a6e11cb Improved ACL (including if both ns=user) 2014-09-11 18:26:01 +02:00
Simon DELAGE bf3e6d6227 Changed copy messages 2014-09-11 08:49:17 +02:00
Simon DELAGE 507847e3b4 Simplified system messages 2014-09-11 08:33:39 +02:00
Simon DELAGE 6e1ec0a8fa Corrected and improved localization
Reintroduced localization for privatenamespace and publicpage (used in
helper) and localized system messages (templates copy and pages
creations)
2014-09-10 23:22:19 +02:00
Simon DELAGE f96bac6443 Better msg() at better time
User must be logged in, not full path shown, changed event launching
init() to get messages right after saving related otpions
2014-09-10 21:43:16 +02:00
Simon DELAGE fcd9d37c9a Wrong msg() for public page 2014-09-10 17:47:18 +02:00
Simon DELAGE a1f5a381b5 Added msg() to private ns and public page creation 2014-09-10 17:45:25 +02:00
Simon DELAGE fb6429a121 Removed some useless localizaton
$lang must be loaded later
2014-09-10 17:42:00 +02:00
Simon DELAGE 48695e1d93 Syntax typo on function call :$ 2014-09-10 17:21:12 +02:00
Simon DELAGE 88f5d81264 Trying new process on templates copy with msg() 2014-09-10 17:09:50 +02:00
Simon DELAGE 7608b0e18d Corrected path to source templates
And changed all files to mode Unix (LF) end of lines
2014-09-09 23:47:30 +02:00
Simon DELAGE c2c7198455 Forgot an outdated comment 2014-09-09 22:01:49 +02:00
Simon DELAGE 2c7bda473c Localized templates are now working 2014-09-09 21:51:02 +02:00
Simon DELAGE 1d8e1189ec Finished templates localization 2014-09-09 20:59:31 +02:00
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