leibler / dokuwiki-plugin-todo Goto Github PK
View Code? Open in Web Editor NEWDokuWiki ToDo Plugin
DokuWiki ToDo Plugin
Right now I'm using namespace templates to generate something like this:
Your tasks:
~~SEARCHPATTERN#'/<todo[^@>]*@(USERNAME)[^#>]*>(.*?)<\/todo[\W]*?>/'?? _ToDo ??~~
Whereas Username
is @FIELD@
for the Userpage.
It would be really cool to be able to put Macros in the searchpattern for the username of the user viewing the searchpattern, so I wouldn't need to resort to templates and userpages for such a function.
Conacting several todos in one line, for example in a table structure, will not be splitted in different tasks:
<todo>one</todo> \\ <todo>two</todo>
is shows as:
one</todo> \\ <todo>two
and not as:
one
two
i'd like to move the changelog to a separate file. (cangelog.txt)
at the moment it is in syntax/todo.php
anything against this?
Just installed the todo plugin on dokuwiki Release 2014-09-29a "Hrun" from the plugins manager. After the install we only got white pages from the site, and the apache/php error logs showed:
PHP Parse error: syntax error, unexpected '[' in lib/plugins/todo/syntax/list.php on line 135
I commented out the completedbefore and completedafter case statements, and we are back in action.
Hello,
I have this error with your plugin :
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /***/dokuwiki/lib/plugins/todo/syntax/list.php on line 109
DokuWiki : Release 2014-05-05a "Ponder Stibbons"
PHP Version 5.2.17
Since you can create your own namespace to each task it is nice to be able to discuss the task on its own page. But sometimes tasks are named the same and then you are directed to the same page.
To counter this, perhaps you could allow to add custom text before and/or after a todo which is generated dynamically. Either a running number or a timestamp?
This would be friggin' awesum :)!
At the moment the ~~ TODOLIST ~~ doesn't appear to filter on start and due dates.
For repeating weekly tasks I'd either have to show all the tasks for the year in a list (which will make the pages too long) or I'd have to set a script to add the new tasks each week...
Can the functionality of the ~~ TODOLIST ~~ listing code be added to to allow the list to show tasks based on relative or absolute date ranges: eg between startafter and startbefore or dueafter and duebefore.
EG
~~ TODOLIST startbefore:0~~ for tasks where the start date is today or has past
~~ TODOLIST startbefore:+7~~ for tasks that have started or are due to start in the next 7 days
~~ TODOLIST startbefore:-7~~ for tasks that started more than 7 days ago
~~ TODOLIST startafter:0 startbefore:+7~~ for tasks due to start in the next 7 days
~~ TODOLIST duebefore:0 ~~ for tasks where the due date is today or has past
~~ TODOLIST duebefore:+7~~ for tasks due date is before the end of the week
~~ TODOLIST duebefore:-7~~ for tasks where the due over a week ago
~~ TODOLIST dueafter:+7 duebefore:+14~~ for tasks due next week
Tasks that are overdue could be listed with a combination of parameters
~~ TODOLIST duebefore:0 checkbox:no~~
so my list for the coming week would be
~~ TODOLIST startbefore:+7 duebefore:+7 assigned:@@user checkbox:no~~
This would allow the creation all the tasks for each tech for the whole year but only display the ones that need doing at the moment on the page that shows their tasks.
Using absolute dates
~~ TODOLIST DueAfter:2014-07-01 DueBefore:2014-08-01~~ would show all the work for July allowing us to make sure we have enough techs for the work due that month.
Nice to have
Not sure how easy it would be to list the dates the jobs were CompletedAfter or CompletedBefore .
In the current download, there's a parse error when including the plugin into dokuwiki:
Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) in x:\xxx\dokuwiki\htdocs\lib\plugins\todo\syntax\todo.php on line 323
hello,
i use your todo plugin for a while and its very easy to use.
From other todo tools i remember, that it is possible to depend todo points upon others.
E.g. one pont has to be finish, before another could start.
Are you planning to implement such functionality?
Regards
Poul
Ist there a way to mark a TODO as e.g. "error" or "nice to have" etc. It would be nice if it is displayed like the user anme or due date. That label sould be colored in red or green, etc.
Nice to have would be a searchpattern like
~ ~ TODOLIST label:error ~ ~
or
~ ~ TODOLIST label:wish ~ ~
with best regards
Jürgen
Hello,
if there are several users assigned to one task only the first username is viewed between the brackets. Could you consider offering an option to show all users assigned to a task?
Thank you for your great work.
Kind regards,
matzekuh
Stumbled into a weird bug. Typing this:
< todo >Mark text as ToDo< /todo >
from warehouse.
and saving it gives me "Forbidden: You don't have permission to access /wiki/doku.php on this server.". If I remove "from" or "warehouse" or the < todo > there is no problem saving the page.
I am running the latest stable version of Dokuwiki and my web host is nexcess.com
Hi,
would it be somehow possible to create several todos at once instead of just a single todo every time?
I've got following schema in my wiki:
nodes/location1
nodes/location2
nodes/location3
nodes/location4
nodes/location5
Now I have some tasks to do which apply to every location.
So for every task, i create another page (e.g. todos/locationupdate201701) with a list of todos:
<todo>location1</todo>
<todo>location2</todo>
<todo>location3</todo>
<todo>location4</todo>
<todo>location5</todo>
For this little example its ok to write a single todo for every location/page, but with 10 and more it gets unhandy. Especially if locations/pages are added or removed. So it would be nice to have something like:
<todo list>nodes</todo>
what would automatically create a todo for every page from the namespace 'nodes'. Text could be the page-id or the first header.
cheers
I recently upgraded the dokuwiki todo plugin to the latest release.
Since them I am unable to mark a task as completed by ticking the tick box on the task. The setting is "forgotten" on returning to the page.
This happens when either ticking the summarized todo list or the todo action on the individual page.
Any assistance would be gratefully received. Thank you.
Updating to version 2015-03-15 made checkboxes dysfunctional, i.e. nothing happens on clicking them, Firefox' Web / Browser Console states "ReferenceError: todo is not defined", downgrading to todo plugin version 2014-11-26 brings functionality back
I would like to be able to create a list of todos for a specific task that a user can check as completed, but the todo status shouldn't be saved to the document.
Is there any way to show all todos unchecked by default for a specific document, or maybe disable document update?
Thanks in advance.
Apologies if this is a feature, I may have overlooked it in the docs.
I have a simple, yet lengthy, to-do list where multiple users could complete actions in it. It does not need to be assigned to anyone in particular. I'd like to know, in the list, who the user was that checked off the list. It might look like:
-Task1- -completed by John Doe
Task2
-Task3- -completed by Jane Doe
Again, maybe this exists and I'm not sure how to format the list to do so.
Example:
<todo> https://www.dokuwiki.org/plugin:todo</todo>
Hi there,
I'm using this plugin:
https://www.dokuwiki.org/plugin:discussion
You can allow wiki syntax within the plugin which also allows TODO syntax. They don't appear within TODOLIST though so I guess the todo plugin doesn't search through the correlating metafiles.
Would it be possible to implement this? Until then I can't allow the wiki syntax within the comments =/
Problem:
<todo>task</todo>>"
and then saving the page breaks any content following it. The sidebar actions such as view past revisions and edit page are also nuked, so the only way to restore is to append ?do=edit
to the URL by hand.Steps to reproduce:
some text
<todo>task</todo>>
more text here
Plugins in use on my wiki: http://smirnov.wiki/wiki/info
My guess is this may be a conflict with the Markdown plugin, but if not then it's likely an issue with this code.
Hi there,
it would be nice if you could specify tags or something like that so todo pages would be created in specific different namespaces.
Use-case:
I have several root namespaces with different security levels, related to the user group of a user. Showing only the todos of the allowed security levels worked right out of the box but if you create a todo page by clicking on the link you can only specify ONE namespace where todo pages are created.
My workaround right now is to relink such created sites to manually created todo pages in security restricted namespaces. This is cumbersome, though, because not many people have the right to do so within the wiki.
If you click this task, the todopage will be created within the hi-sec namespace and/or you will be transfered there
Something like this would be perfect.
In my wiki there is a namespace explaining the syntax to users. Having the TODO syntax explanation stored there, the examples now always show up in the users TODOLIST's.
Also it would help to have namespace specific TODOLIST's to allow everey user to have his own todo's in his private namespace and can generate a private TODOLIST.
With the searchpattern plugin there was the Exclude Page option. Maybe something similar would be possible here as well.
I have a dokuwiki page printing all my unassigned & uncompleted todos using
~~TODOLIST assigned:no completed:no~~
which works well.
But I have a namespace playground
(as the name says, just a wiki playground) which I'd like to exclude from that list.
As far as I understand there is no such possibility for TODOLIST
yet.
So a feature to exclude namespaces from the TODOLIST
would be nice! Syntax might be something like
~~TODOLIST ns:\playground~~
Hi there,
it would be nice if you'd be able to ignore page templates when listing all todos. That way you can use pre-defined todos in page templates without seeing them in a todolist.
When I check a box, the checkmark appears, but when I refresh the page the checkmark is gone.
It seems to work with Linux Mint, but not Chrome or IE
If it makes any difference: I have dokuwiki hosted on Siteground server (LAMP stack)
I use searchpattern plugin to collect all todos from all pages on a single page (see https://www.dokuwiki.org/plugin:todo Example of 'all todos').
With the current master version this is not working anymore.
Leo
Thanks for the fast reaction, but there's another error now, the 'if' now has two 'else'.
Parse error: syntax error, unexpected 'else' (T_ELSE) in x:\xxxx\dokuwiki\htdocs\lib\plugins\todo\syntax\todo.php on line 323
Today DokuWiki has a nice translation tool at http://translate.dokuwiki.org/
Please can you add your plugin too?
PHP Warning: Declaration of syntax_plugin_todo_todo::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos,
Doku_Handler $handler) in /var/lib/dokuwiki/plugins/todo/syntax/todo.php on line 506
PHP Warning: Declaration of syntax_plugin_todo_todo::render($mode, Doku_Renderer &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $ren
derer, $data) in /var/lib/dokuwiki/plugins/todo/syntax/todo.php on line 506
Hi, I write:
<todo due:2015-03-15>⇑end of year finance</todo>
in one of my DokuWiki (Release 2014-09-29c "Hrun") pages and it produces the following error:
Warning: DateTime::format() [datetime.format]: The DateTime object has not been correctly initialized by its constructor in mydirectory/dw/lib/plugins/todo/syntax/todo.php on line 343
[ → ]⇑end of year finance
todo installed version 2014-11-26
Please can you tell me what I'm doing wrong? Thanks, stegzzz
Hi,
I want you to add two type of TODOList View
Thank you :)
if there are no todos defined:
Warning: Invalid argument supplied for foreach() in .../dokuwiki/lib/plugins/todo/syntax/list.php on line 313
solution:
we have to check if the array is empty
the new start/due date functionality works, as long as nobody touches the checkbox.
if the checkbox is clicked, the dates will disappear.
i don't know how the ckeckbox click works, so i can't fix this.
can somebody help please!
I've just installed the todo plugin today on xampp on windows 7.
Firstly : This has been incredibly useful to me and to my team! I just wished I'd known about it a long time ago. Thank you!
Issue
I was hoping that when a task was ticked page history would be time stamped and username stamped so I can see who did the task and when but but this doesn't appear to happen on my XAMPP install.
For production I'll probably use a LAMP stack. My intention is to use Cron and SED to regularly add tasks to the users lists. Do you see any problem with this?
<todo>TODO A</todo>
<code>
<todo>TODO B</todo>
</code>
~~NOCACHE~~
~~TODOLIST~~
displays:
[ ]TODO A
[ ]TODO B
instead of :
[ ]TODO A
In edit mode, using the keyboard shortcut [T] does not work as expected; instead of inserting a new ToDo item the shortcut jumps me to the top of the page and appending #dokuwiki__top
to my URL.
According to https://www.dokuwiki.org/accesskeys the [T] accesskey moves to the top of the page and this accesskey seems to take precedence over the one assigned in the ToDo plugin.
Additional information
Chrome 49.0.2623.112m on Windows 10 x64 (also tried on Windows 7, same results)
ToDo version 2015-03-15
DokuWiki version "Detritus" (2015-08-10)
Got a problem when using the start: and due: tags in a todo entry.
No page is returned at all when putting the start: or due: attribute in the todo tag.
Context (dokuwiki hrun), version 2014-11-26
Leaving them out of the todo's.
If I create the TODOLIST filter with option "duebefore:" or "dueafter:" the taks list gets always filtered as if the due date was set to today i.e. as if the every input of (2014-10-08 or +1 or -10 etc.) was invalid and the filter is set to default (todays date).
Both options "startbefore" and "startafter" work just fine.
An example of today's (2014-10-08) input:
~~TODOLIST dueafter:2014-10-20~~
renders a task list starting with the tasks due tomorrow (2014-10-09).
whereas
~~TODOLIST startafter:2014-10-20~~
renders a task list correctly with the tasks starting on 2014-10-21 onwards.
I reinstalled the plugin with the last stable version (removed and installed from fresh). No change.
What could be possible wrong? Is anybody experiencing the same problem? Thanks a lot.
I would like it to be possible to display the date that the item was checked off. Currently showdate will only display start and due dates, however for my usage displaying when the task was actually checked off is what I need.
Thanks
Hi !
It was possible to restrict the research of todo's to one namespace (with Searchpattern) are you planning to implement search feature with TODOLIST ?
Hi,
Can you please add a two or three more columns in the todolist table ?
The columns are :- Due Date, Status,Completion message.
Or can you please provide me the ways to do it?
Also I want you to add remind feature also.
Thank you :)
Hello,
I would like to list todo from :bar and :foo, not sure it is possible. So, I tried using ns:foo :bar and different possibilities without success. It takes only the first namespace after ns:
The other mean seems to exclude namespaces, with ns:/
but it is an enhancement in progress.
I don't know enough Regex (PCRE) as if it could possible with the searchpattern :
~~TODOLIST SEARCHPATTERN# '/<todo>[^>]*>.*?<\/todo[\W]*?>/'?? _todo ?? ~~
to specify namespaces to limit search to certain paths or depth.
By the way, todo plugin is a must for Dokuwiki and I just begin using it, with the minimum features. So cool.
Thanks.
Is it possible to show the completed date in the todolist? I see that I can filter by start and due, but I would like a list of completed tasks and when they were done by date and if possible by hh:mm.
I am using the checklists to create case notes on forensic computer analysis. By checking the todo list items that I do, and using the todolist I create a master lists of all the completed tasks that I did in a case. I would like to then be able to show which tasks were 'checked' on which date.
Thank you for your efforts.
Hi,
the formatting of todo entries after reaching the start or due time is very helpful. Nevertheless this feature isn't supported when printing a page. So my question is if there is a possibility to turn on a color print for todo lists.
Best regards
Juergen
Hi!
Is there a way to categorize/tag todo items? This feature would be really helpful to create separate tables for each type.
A workaround is to assign non-existing users as some kind of tags, but it makes the unassigned table pointless, since every item will have an assignee.
Hi,
in my Wiki, the command ~ TODOLIST ~ doesn't function. I've tried with and without installing the searchpattern plugin, and I've tested with the searchpattern-command
~ SEARCHPATTERN#'/<todo[^#>]>.?</todo[\W]*?>/'?? _ToDo ?? ~.
This command is not working, too. What goes wrong?
Best regards,
Juergen
when I have multiple todo items on a page and check the check-box on one of them, sometimes following problems occur
a) the item looks "checked" but when I reload the page another item is "checked" instead
b) the check-box is checked at the correct item, but another item's text is crossed off
c) correct item is checked, but when I "uncheck" and reload the page, it is checked again
Does anybody else experience these problems?
Any idea how to fix this?
Hello collaborators,
I've added a new branch "stable". The plugin manager download link points to this branch. That way we can work on "master" and when everything works as planned, we can push the changes back to "stable":
# git push origin master:stable
Total 0 (delta 0), reused 0 (delta 0)
To [email protected]:leibler/dokuwiki-plugin-todo.git
e873b09..a1adc51 master -> stable
The other way would have been to add a new branch for a new feature and merge back to master from there - seems a bit more complicated?
Is it possible to create recurring or repeating todos for a daily, weekly, monthly, etc todos?
Currently I have todos seperated into sections based on when the repeat and whenever the end date would pass I go back through and manually uncheck all the todos to be rechecked when they are completed for that period.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.