DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:do

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:do [2017-04-26 15:40] – [open user-tasks in template] grosseplugin:do [2024-01-08 16:52] (current) Aleksandr
Line 6: Line 6:
 email      : dokuwiki@cosmocode.de  email      : dokuwiki@cosmocode.de 
 type       : syntax, action, helper type       : syntax, action, helper
-lastupdate : 2016-07-06 +lastupdate : 2022-11-20 
-compatible : Frusterick Manners, !Elenor Of Tsort, !Detritus, !Hrun, !Ponder Stibbons+compatible : Jack Jackrum, Igor, Hogfather, !Greebo, !Frusterick Manners, !Elenor Of Tsort, !Detritus, !Hrun, !Ponder Stibbons
 depends    : sqlite depends    : sqlite
 conflicts  conflicts 
Line 24: Line 24:
 The do plugin allows users to create simple tasks in wiki pages. Those tasks may be assigned to other users and have a due date. Tasks can be listed in pages as well.  The do plugin allows users to create simple tasks in wiki pages. Those tasks may be assigned to other users and have a due date. Tasks can be listed in pages as well. 
  
-[[http://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
-Plugin doku and download is available on [[http://ickewiki.de/dokumentation/do|ICKEwiki.de]].+===== Greebo and Hogfather compatibility =====
  
-=====Syntax=====+The current version is no longer compatible with Greebo. If you do not run Hogfather yet, get the [[https://github.com/cosmocode/do/archive/2019-09-26.zip|last compatible release]] and install it manually. 
 + 
 +===== Syntax =====
  
 There are two syntax elements. There are two syntax elements.
  
-====Task====+==== Task ====
  
-''<do USER DATE>TEXT</do>''+  <do USER DATE>TEXT</do>
  
 Create a new task TEXT, optionally assign it to USER or mark it as due on DATE; there is a toolbar button for this as well. Create a new task TEXT, optionally assign it to USER or mark it as due on DATE; there is a toolbar button for this as well.
  
-| USER  | User id as accepted by current authentication backend ​                                               | + | USER  | User id - bbi-Benutzername (rw, kw, tk, ...)                                                - | DATE  | Date in format ''yyyy-mm-dd'' ​                                                                        + | DATE  | Datum im Format ​''​yyyy-mm-dd'' ​                                                                       | - | TEXT  | Description of task. Task texts needs to be **unique at a page**. Duplicates are seen as same task.  |+ 
 +^ Part  ^ Details                                                                                              ^ 
 +| USER  | User id as accepted by current authentication backend                                                | 
 +| DATE  | Date in format ''yyyy-mm-dd''                                                                        | 
 +| TEXT  | Description of task. Task texts needs to be **unique at a page**. Duplicates are seen as same task.  |
  
 ====Listing==== ====Listing====
  
-''%%{{dolist>NAMESPACE?id=ID&status=(DONE|UNDONE)&limit=COUNT&md5=MD5&user=ASSIGNEE&creator=CREATOR}}%%''+  {{dolist>NAMESPACE?id=ID&status=(DONE|UNDONE)&limit=COUNT&md5=MD5&user=ASSIGNEE&creator=CREATOR&from=YYYY-MM-DD&to=YYYY-MM-DD}}
  
 List tasks in NAMESPACE with optional additional filtering List tasks in NAMESPACE with optional additional filtering
  
-^Part ^Details ^ +^Part        ^Details ^ 
-|NAMESPACE  |Namespace to search for tasks | +|NAMESPACE   |Namespace to search for tasks | 
-|''id''     |Page to search for tasks | +|''id''      |Page to search for tasks | 
-|''status'' |Can have value ''DONE'' or ''UNDONE''. Case insensitive. | +|''status''  |Can have value ''DONE'' or ''UNDONE''. Case insensitive. | 
-|''limit''  |Maximum number of items to display. +|''limit''   |Maximum number of items to display. 
-|''md5''    |Show only task with this MD5 value| +|''md5''     |Show only task with this MD5 value| 
-|''user''   |User id of assigned person| +|''user''    |User id of assigned person or ''@USER@''
-|''creator''|User id of creator |+|''creator'' |User id of creator 
 +|''from''    | Date YYYY-MM-DD | 
 +|''to''      | Date YYYY-MM-DD |
  
-==== Show the user's open tasks in template  ====+==== Show the users open tasks in template  ====
  
 You can show an icon with the current user's open tasks by adding the following code to your template: You can show an icon with the current user's open tasks by adding the following code to your template:
Line 68: Line 76:
  
 If the user has open tasks and they click on the icon, then a table with all their open tasks is shown as an overlay. If the user has open tasks and they click on the icon, then a table with all their open tasks is shown as an overlay.
-=====Toolbar===== 
  
-The toolbar button {{https://raw.githubusercontent.com/cosmocode/do/master/pix/toolbar.png|button icon}} access a dialog for input of assignees and due date. Due date will show a date picker.+===== Toolbar ===== 
 + 
 +The toolbar button {{https://raw.githubusercontent.com/cosmocode/do/master/pix/toolbar.png?16x16&recache|button icon}} access a dialog for input of assignees and due date. Due date will show a date picker.
 If the [[Bureaucracy]] Plugin is installed, the toolbar dialog will give assignees suggestions as well.  If the [[Bureaucracy]] Plugin is installed, the toolbar dialog will give assignees suggestions as well. 
  
-=====Demo=====+===== Demo ===== 
 + 
 +See for demo at [[http://demo.ickewiki.de|ICKEwiki.de]]. 
 + 
 + 
 +===== Development ===== 
 + 
 +The source code of the plugin is available at GitHub: [[https://github.com/cosmocode/do|cosmocode/do]]. 
 + 
 +==== Changes ==== 
 + 
 +{{rss>https://github.com/cosmocode/do/commits/master.atom date}} 
 + 
 +==== Bug reports and feature requests ====
  
-See for demo at [[http://ickewiki.de/dokumentation/do|ICKEwiki.de]].+Please refer to the [[https://github.com/cosmocode/do/issues|Issue Tracker]] for reporting issues.
  
  
plugin/do.1493214033.txt.gz · Last modified: 2017-04-26 15:40 by grosse

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki