
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a Screenlet that displays a simple task list. The list is stored in a local file (~/task_db.xml). Synchronization via FTP is possible.
The screenlet comes with black and white themes.
If you find any problems please leave a comment or create an issue on the github page (http://github.com/SvenFestersen/LocalTODOScreenlet/issues)
Notes
If upgrading to beta7 from an older version you will lose your old task list. This is because the new backend is not compatible with the old database format.
When using ftp synchronization:
1. Your FTP password is stored in plain text! I suggest you create a new FTP account on your server with limited rights for task synchronization.
2. Synchronization still needs testing. I don't know of any bugs yet, but data loss may occur.
10 years ago
* 22. Aug. 2010, beta 7
Complete rewrite of the backend. Changes include:
- new database backend
- comment bubble removed
- comments and due dates are now shown when hovering a task
- ftp synchronization added
* 12. Aug. 2010, beta6.1
Fixed a bug that caused a crash if task title or comment contain
xml entities.
* 17. Feb. 2010, beta6
A small speech bubble is now shown next to a task's checkbox if the
task has a comment. Hovering the bubble with the pointer shows the
comment. This behaviour can be turned off in the settings.
* 14. Feb. 2010, beta5
Added themes 'RealBlackSquared' and 'RealBlackRound'.
* 24. Oct. 2009, beta4
Fixed a bug in the theming system and added foregroundColor option
to ThemeInfo (not used by the screenlet, only for future use).
* 24. Oct. 2009, beta3
Moved to another theming system and added two white themes.
10 years ago
* 22. Aug. 2010, beta 7
Complete rewrite of the backend. Changes include:
- new database backend
- comment bubble removed
- comments and due dates are now shown when hovering a task
- ftp synchronization added
* 12. Aug. 2010, beta6.1
Fixed a bug that caused a crash if task title or comment contain
xml entities.
* 17. Feb. 2010, beta6
A small speech bubble is now shown next to a task's checkbox if the
task has a comment. Hovering the bubble with the pointer shows the
comment. This behaviour can be turned off in the settings.
* 14. Feb. 2010, beta5
Added themes 'RealBlackSquared' and 'RealBlackRound'.
* 24. Oct. 2009, beta4
Fixed a bug in the theming system and added foregroundColor option
to ThemeInfo (not used by the screenlet, only for future use).
* 24. Oct. 2009, beta3
Moved to another theming system and added two white themes.
uia9020
9 years ago
Report
clockworktri
10 years ago
Report
sventhef
10 years ago
The transparency of the white space can not be changed by the theme, because the task list is a simple gtk widget. Its appearance is controlled by your current gtk theme.
Report
md81544
10 years ago
It just needs to check for XML-reserved entities and convert them on entry (in this case, "&" should be converted to "&")
I'd imagine other XML reserved characters like "<", and ">" also break it.
Hope this helps!
Report
md81544
10 years ago
In backend_xml.py I added the line
from xml.sax.saxutils import escape
and then changed one line in save_tasks (in the same file) to read:
taskdata += '\t\t<title>%s</title>\n' % escape(title)
Which seems to have done the trick. Might want something similar on comments (I don't use them so didn't bother).
-md
Report
sventhef
10 years ago
I fixed the bug as you suggested. XML entities can no be used in task titles and comments without crashing the screenlet.
Report
BGT
11 years ago
I personalized my colors as you suggested. Nevertheless, a change on the "foreground" color does not seem to have any influence. What does this color exactly correspond to?
Thanks!
Report
BGT
11 years ago
It would be nice to have a simple way to view the due date of a task (on hovering the task with the pointer for example, or an automatic way to put as comment the due date if it exists).
Another idea would be to have a more customizable way to highlight tasks according their due dates: now it is possible to give specific color for today's tasks and past tasks. It would be nice to have the same for the tasks of the week, of the month, etc... Maybe the simplest way (I'm not sure, I'm not the developer ;-)) would be the following: you can fix a number a days, or a number of weeks (and why not number of months or number of years), and then apply a color for all tasks with due date within this number of days/weeks/months/years.
A last idea, that concerns also your FTP version: Is that possible to mix both screenlets in order to have the xml file on your laptop and with a synchronization with the xml file on the FTP if you have an connection? Right now, I'm going to do it manually (with a script to synchronize the xml file of the localTODOscreenlet with a file on a FTP, but the idea is to integrate it into your screenlet, maybe reusing the code of the ftpTODOsreenlet).
Thanks very much for your screenlet, and good luck for its development!
Report
sventhef
11 years ago
I must admit that I'm not very happy with the separation of the the local version and the ftp version. I already considered a combination of them. I'll try to create a running prototype in the next days.
Implementing your idea concerning the colors should not be hard. I'll see what I can do.
Report
linux4ever
11 years ago
just for fun
Report
sventhef
11 years ago
I added two new themes: 'RealBlackSquared' and 'RealBlackRound'. Hope you like them.
If you want to customize a theme, it's really simple: just edit the theme.conf file in the theme's folder. The options should be self-explanatory. Colors are given in rgba hex format (#rrggbbaa).
Report
linux4ever
11 years ago
Best wishes
linux4ever
Report