Commit graph

92 commits

Author SHA1 Message Date
Simon DELAGE f1f64e3456 Added Public Namespace instead of page possibility 2015-11-22 09:01:29 +01:00
Simon DELAGE bebd766062 Minor improvements
Changed ACL system message to info type, fixed and simplified helper's
'getPublicID()'
2015-11-22 08:43:40 +01:00
Simon DELAGE 268e9a6f9d Fixed minor typo
Extra space in 'loggedinas' string when using Fontawesome
2015-10-04 13:04:51 +02:00
Simon DELAGE 50aa60436f Added private namespace skeleton feature 2015-10-04 11:21:48 +02:00
Simon DELAGE 3d8f6fbf30 Fixed issue #16
'DOKUWIKI_STARTED' event is never triggered on image details page. Added
'DETAIL_STARTED' event hook to initialize plugin.
2015-10-03 16:40:29 +02:00
Simon DELAGE 9b4bfd546d Added an option to disable redirection 2015-08-20 00:35:29 +02:00
Simon DELAGE e3368abf3e Added a missing space 2015-07-17 22:51:31 +02:00
Simon DELAGE a9c6ce408b Added Fontawesome links on event 2015-07-10 21:53:41 +02:00
Simon DELAGE 0e53545242 Workaround for issue #10
ACL function shouldn't do anything when user is not authentified (was
previously triggering ACL update message)
2015-06-27 16:28:03 +02:00
Simon DELAGE 22602c27b0 Added page ID's to event user links 2015-06-22 18:46:43 +02:00
Simon DELAGE 5599cac7f5 Update action.php
Removed enwanted 'break'
2015-06-20 18:36:20 +02:00
Simon DELAGE fc51f65cdd Attempt to avoid any risk of infinite loop 2015-06-20 18:31:11 +02:00
Simon DELAGE ca512439bb Added event to replace user interwiki link
Issue #11
2015-06-19 02:33:37 +02:00
Simon DELAGE f97060f118 Changed redirections to hopefully fix infinite loop 2015-06-18 09:14:39 +02:00
Simon DELAGE a8323791cf New option to choose action on page creation 2015-06-13 02:05:52 +02:00
Simon DELAGE aa8d83c944 Fix about [savedir] option (pointed by BMolitor)
Destination folder was previously based on DOKU_CONF instead of
[savedir] option. This wasn't blocking anything but was incorrect. Also
added a lang string and changed text of [tempates_path] option.
2015-06-05 00:03:49 +02:00
Simon DELAGE 21ba3adfda Left a debuging message 2015-05-12 14:00:25 +02:00
Simon DELAGE bbbe4cb9ef Stupid syntax error correction
This was a non blocking bug just preventing a success/error message from
being shown and throwing an error.
2015-05-12 13:54:59 +02:00
Simon DELAGE 1e30b8bfc0 Fixed a bug in folder creation(s)
Bug prevented plugin to create required base folders for templates,
users' namespaces or public pages (was tested at early dev stage but
forgot te test it again later)
2015-02-11 12:55:04 +01:00
Simon DELAGE 7410099319 Major changes to ACL function
Only writing to ACL file when needed instead of rewriting every rules
each time and cleaning duplicate lines
2015-02-01 15:56:10 +01:00
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