DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:todo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:todo [2019-03-10 21:10]
runout [Download and Installation]
plugin:todo [2019-09-12 22:24] (current)
Aleksandr formatting
Line 39: Line 39:
 Mostly deprecated since **//​2014-03-17//​**:​ There is an additional instruction page at [[http://​www.eibler.at/​dokuwiki-todo/​index_en.php|http://​www.eibler.at/​dokuwiki-todo/​index_en.php]] in [[http://​www.eibler.at/​dokuwiki-todo/​index_de.php|german]] and [[http://​www.eibler.at/​dokuwiki-todo/​index_en.php|english]] which describes the installation,​ the settings and the DokuWiki [[plugin:​searchpattern|SearchPattern Plugin]] suggestion. Mostly deprecated since **//​2014-03-17//​**:​ There is an additional instruction page at [[http://​www.eibler.at/​dokuwiki-todo/​index_en.php|http://​www.eibler.at/​dokuwiki-todo/​index_en.php]] in [[http://​www.eibler.at/​dokuwiki-todo/​index_de.php|german]] and [[http://​www.eibler.at/​dokuwiki-todo/​index_en.php|english]] which describes the installation,​ the settings and the DokuWiki [[plugin:​searchpattern|SearchPattern Plugin]] suggestion.
  
-====Creating tasks====+==== Creating tasks ==== 
 After installing the plugin, simply enter this information on the page you wish to create the todo list: After installing the plugin, simply enter this information on the page you wish to create the todo list:
  
-     <​todo>​Title of todo Action</​todo>​+  ​<​todo>​Title of todo Action</​todo>​
  
 Each ''<​todo>''​ tag will create one checkbox for the action. Each ''<​todo>''​ tag will create one checkbox for the action.
Line 48: Line 49:
 To create a checkbox that is check by default, create your todo like this: To create a checkbox that is check by default, create your todo like this:
  
-     <todo #>Title of todo Action</​todo>​+  ​<todo #>Title of todo Action</​todo>​
  
-Using bulleted lists (*) is recommended,​ as it will allow you to more easily make a '​list'​ out of your items to do.+Using bulleted lists (''​*''​) is recommended,​ as it will allow you to more easily make a '​list'​ out of your items to do.
  
-====Assign tasks to persons====+==== Assign tasks to persons ====
  
-To assign users use the @ symbol like this:+To assign users use the ''​@'' ​symbol like this:
  
-     <todo @leo>​Task for leo</​todo>​  +  ​<todo @leo>​Task for leo</​todo>​ 
-     ​<todo @leo #>​Completed task for leo</​todo>​+  <todo @leo #>​Completed task for leo</​todo>​
  
 The name of the user can use: The name of the user can use:
-  ​* the following characters: // a-z, A-Z, 0-9, .-_ // \\+ 
 +  ​* the following characters: // a-z, A-Z, 0-9, .-_ // 
   * No (white)spaces are allowed! ​   * No (white)spaces are allowed! ​
 So ''​@leo.eibler'',​ ''​@Leo_Eibler''​ will work but ''​@Leo Eibler''​ will not work! So ''​@leo.eibler'',​ ''​@Leo_Eibler''​ will work but ''​@Leo Eibler''​ will not work!
            
-|{{http://​www.eibler.at/​dokuwiki-todo/​04-en_use_dokuwiki_todo_plugin-task-assign.jpg?​600|Ver. 2013-04-11 user assignment source screenshot}}| +{{http://​www.eibler.at/​dokuwiki-todo/​04-en_use_dokuwiki_todo_plugin-task-assign.jpg?​600|Ver. 2013-04-11 user assignment source screenshot}} 
-{{http://​www.eibler.at/​dokuwiki-todo/​04-en_use_dokuwiki_todo_plugin-task-assign-result.jpg?​600|Ver. 2013-04-11 user assignment result screenshot}} ​ |+ 
 +{{http://​www.eibler.at/​dokuwiki-todo/​04-en_use_dokuwiki_todo_plugin-task-assign-result.jpg?​600|Ver. 2013-04-11 user assignment result screenshot}}
  
 Multiple users can be assigned in one todo (separated by space character). This way a todo can show up in todo lists of different users. Multiple users can be assigned in one todo (separated by space character). This way a todo can show up in todo lists of different users.
  
-   <todo @leo @runout @somebody>​Task for leo and runout and somebody</​todo>​+  ​<todo @leo @runout @somebody>​Task for leo and runout and somebody</​todo>​
  
 ==== Render username ==== ==== Render username ====
  
 Render the username as id, full name or not at all, allowed values: ''​user''​ or ''​real''​ or ''​none''​ Render the username as id, full name or not at all, allowed values: ''​user''​ or ''​real''​ or ''​none''​
 +
   <todo @somebody username:​real>​Task with real username of somebody shown</​todo>​   <todo @somebody username:​real>​Task with real username of somebody shown</​todo>​
  
Line 87: Line 92:
  
 ==== Show/Hide Start/Due Date ==== ==== Show/Hide Start/Due Date ====
 +
 Do (not) show the Start/Due date, allowed values: ''​yes''​ or ''​no''​ Do (not) show the Start/Due date, allowed values: ''​yes''​ or ''​no''​
  
   <todo showdate:​yes start:​YYYY-MM-DD>​Text</​todo>​   <todo showdate:​yes start:​YYYY-MM-DD>​Text</​todo>​
-  ​ 
  
-====Formatting====+==== Formatting ====
  
-Formatting is not allowed inside of the ''<​todo></​todo>''​ tags. However, if you wish for your text to be bold or have some other type of style (other than the default one provided), you can surround the todo tag with the formatting of your choice. The resulting action text should then be displayed with your choice of formatting when your changes have been saved. ​+Formatting is not allowed inside of the ''​%%<​todo></​todo>​%%''​ tags. However, if you wish for your text to be bold or have some other type of style (other than the default one provided), you can surround the todo tag with the formatting of your choice. The resulting action text should then be displayed with your choice of formatting when your changes have been saved. ​
  
-====QuickButton====+==== QuickButton ====
  
-A quickbutton for inserting todo syntax is available in the editor toolbar. You can click the button (which is pictured as a checked-checkbox) or you can use the keyboard shortcut of [T].+A quickbutton for inserting todo syntax is available in the editor toolbar. You can click the button (which is pictured as a checked-checkbox) or you can use the keyboard shortcut of ''​[T]''​.
  
 ===== Lightweight Task Management System - Lists ===== ===== Lightweight Task Management System - Lists =====
Line 108: Line 113:
 :!: :!:
  
-   ~~NOCACHE~~+  ​~~NOCACHE~~
  
 ==== Omit Pages from TODOLISTs ==== ==== Omit Pages from TODOLISTs ====
Line 119: Line 124:
  
   ~~TODOLIST~~   ~~TODOLIST~~
- 
  
 ==== Counting todos and checked todos ==== ==== Counting todos and checked todos ====
Line 128: Line 132:
  
 ==== Assignments (users to tasks) ==== ==== Assignments (users to tasks) ====
 +
 Filter the assignments,​ allowed values: ''​yes'',​ ''​no'',​ usernames in format''​@username''​ or ''​username'',​ or placeholders ''​@@USER@@''​ or ''​@@MAIL@@''​ which are replaced by username or e-mail of current logged in user. Filter the assignments,​ allowed values: ''​yes'',​ ''​no'',​ usernames in format''​@username''​ or ''​username'',​ or placeholders ''​@@USER@@''​ or ''​@@MAIL@@''​ which are replaced by username or e-mail of current logged in user.
 +
   ~~TODOLIST assigned:​yes~~ ​   ~~TODOLIST assigned:​yes~~ ​
   ~~TODOLIST assigned:​User1,​User2~~ ​   ~~TODOLIST assigned:​User1,​User2~~ ​
Line 137: Line 143:
 ==== Show/Hide checkbox ==== ==== Show/Hide checkbox ====
 Do (not) show the checkbox, allowed values: ''​yes''​ or ''​no''​ Do (not) show the checkbox, allowed values: ''​yes''​ or ''​no''​
 +
   ~~TODOLIST checkbox:​no~~   ~~TODOLIST checkbox:​no~~
   ​   ​
Line 142: Line 149:
  
 Render the username as id, full name or not at all, allowed values: ''​user''​ or ''​real''​ or ''​none''​ Render the username as id, full name or not at all, allowed values: ''​user''​ or ''​real''​ or ''​none''​
 +
   ~~TODOLIST username:​real~~   ~~TODOLIST username:​real~~
   ​   ​
Line 147: Line 155:
  
 Render the header as pageID, as the first header of the page or not at all, allowed values: ''​id''​ or ''​firstheader''​ or ''​none''​ Render the header as pageID, as the first header of the page or not at all, allowed values: ''​id''​ or ''​firstheader''​ or ''​none''​
 +
   ~~TODOLIST header:​firstheader~~   ~~TODOLIST header:​firstheader~~
  
 ==== Show/Hide Start/Due Date ==== ==== Show/Hide Start/Due Date ====
 +
 Do (not) show the Start/Due date, allowed values: ''​yes''​ or ''​no''​ Do (not) show the Start/Due date, allowed values: ''​yes''​ or ''​no''​
  
Line 159: Line 169:
  
 Filter the completion state, allowed values: ''​yes''​ or ''​no''​ Filter the completion state, allowed values: ''​yes''​ or ''​no''​
 +
   ~~TODOLIST completed:​no~~   ~~TODOLIST completed:​no~~
   ~~TODOLIST completed:​yes~~   ~~TODOLIST completed:​yes~~
Line 170: Line 181:
   ~~TODOLIST completedat:<​date>​~~   ~~TODOLIST completedat:<​date>​~~
  
-<​date>​ can be:+%%<​date>​%% can be:
  
   Y-m-d like 2014-06-12   Y-m-d like 2014-06-12
Line 177: Line 188:
 invalid values will be substituted with today'​s date invalid values will be substituted with today'​s date
  
-===Completion User (Who checked it)===+=== Completion User (Who checked it) ===
  
 Filter by user who checked the box. Comma separated list. Filter by user who checked the box. Comma separated list.
  
   ~~TODOLIST completeduser:​jack,​daniel,​jessie~~   ~~TODOLIST completeduser:​jack,​daniel,​jessie~~
 +
 ==== Start/Due Date Filter==== ==== Start/Due Date Filter====
 +
 Filter the TODOLIST by Start/Due Date. Absolute and relative Dates are possible. Filter the TODOLIST by Start/Due Date. Absolute and relative Dates are possible.
  
Line 192: Line 205:
   ~~TODOLIST dueat:<​date>​~~   ~~TODOLIST dueat:<​date>​~~
  
-<​date>​ can be:+%%<​date>​%% can be:
  
   Y-m-d like 2014-06-12   Y-m-d like 2014-06-12
Line 207: Line 220:
  
 ==== Filter the namespace of the task list ==== ==== Filter the namespace of the task list ====
 +
 [[https://​github.com/​leibler/​dokuwiki-plugin-todo/​pull/​32#​issue-36869358|I'​ve added]] the following option to the ''​~~TODOLIST~~''​ tag: ''​ns'':​ [[https://​github.com/​leibler/​dokuwiki-plugin-todo/​pull/​32#​issue-36869358|I'​ve added]] the following option to the ''​~~TODOLIST~~''​ tag: ''​ns'':​
  
Line 213: Line 227:
 It can be used with the following parameters: It can be used with the following parameters:
  
-  * ''​all''​ - displays todo's from everywhere (the current default behaviour) +  * ''​all'' ​-- displays todo's from everywhere (the current default behaviour) 
-  * ''/''​ - only displays todo's from pages containing in the ROOT namespace +  * ''/'' ​-- only displays todo's from pages containing in the ROOT namespace 
-  * ''<​string>''​ - Where string can be any text. It checks the page-id if it starts with this string and then returns the pages with todo's that do; for example: +  * ''<​string>'' ​-- Where string can be any text. It checks the page-id if it starts with this string and then returns the pages with todo's that do; for example: 
-  * ''​.''​ or ending in '':​.''​ - display this namespace **and** subnamespaces (not much tested) +  * ''​.''​ or ending in '':​.'' ​-- display this namespace **and** subnamespaces (not much tested) 
-  * ''​.:''​ - display **only** subnamespaces (not much tested)+  * ''​.:'' ​-- display **only** subnamespaces (not much tested)
  
   ~~TODOLIST ns:todo~~   ~~TODOLIST ns:todo~~
Line 229: Line 243:
   ~~TODOLIST ns:​todo:​r~~ ​   ~~TODOLIST ns:​todo:​r~~ ​
  
-returns all todo's from the namespaces or pages under todo, starting with an r.+returns all todo's from the namespaces or pages under todo, starting with an ''​r''​.
  
 ===Example of 'all todos'​=== ===Example of 'all todos'​===
-|{{http://​www.eibler.at/​dokuwiki-todo/​12-en_extension_with_searchpattern_all-tasks.jpg?​600|Ver. 2013-04-11 overview over all tasks on single page using searchpattern plugin}}|+ 
 +{{http://​www.eibler.at/​dokuwiki-todo/​12-en_extension_with_searchpattern_all-tasks.jpg?​600|Ver. 2013-04-11 overview over all tasks on single page using searchpattern plugin}}
  
 ===Example of 'all todos' from many namespaces=== ===Example of 'all todos' from many namespaces===
 +
 If you want to display more than one namespace in a single page, you can put a TODOLIST for each : If you want to display more than one namespace in a single page, you can put a TODOLIST for each :
  
Line 244: Line 260:
 ====Allow actions to also link to pages with the same name?==== ====Allow actions to also link to pages with the same name?====
  
-Default: Off\\+Default: Off 
 This option (when enabled) will allow your actions to also link to a page with the same name. This way, if you have important details about an action, you can place them in this link. This option (when enabled) will allow your actions to also link to a page with the same name. This way, if you have important details about an action, you can place them in this link.
  
 ====What namespace should your actions be created in ("​.:"​ = Current NS, Blank = Root NS)==== ====What namespace should your actions be created in ("​.:"​ = Current NS, Blank = Root NS)====
  
-Default: [Empty]\\+Default: [Empty] 
 This option allows you specify where actions links should be placed. Using "​.:"​ will cause the actions to link to whatever namespace you are currently in. Leaving it blank or typing ":"​ will cause all actions to link to the root namespace. Using something like "​.:​actions:"​ will cause the actions to link to whatever the current namespace is, plus an "​actions"​ namespace. (Added with version 9-9-09) This option allows you specify where actions links should be placed. Using "​.:"​ will cause the actions to link to whatever namespace you are currently in. Leaving it blank or typing ":"​ will cause all actions to link to the root namespace. Using something like "​.:​actions:"​ will cause the actions to link to whatever the current namespace is, plus an "​actions"​ namespace. (Added with version 9-9-09)
  
 ====Should the actions have strike-through applied when checked?​==== ====Should the actions have strike-through applied when checked?​====
  
-Default: On\\+Default: On 
 This option (when enabled) will place a strike-through in the actions that have been completed. When disabled, an action can be checked, but the text will not have strike-through applied. This option (when enabled) will place a strike-through in the actions that have been completed. When disabled, an action can be checked, but the text will not have strike-through applied.
  
 ===If AllowLinks is disabled, should clicking the actions'​ text mark the action complete?​=== ===If AllowLinks is disabled, should clicking the actions'​ text mark the action complete?​===
  
-Default: On\\+Default: On 
 When this option is enabled, and the links option is disabled, then clicking on the text of an action will mark that action as being complete. (Added with version 10-14-09) When this option is enabled, and the links option is disabled, then clicking on the text of an action will mark that action as being complete. (Added with version 10-14-09)
  
plugin/todo.txt · Last modified: 2019-09-12 22:24 by Aleksandr