- 06 Feb, 2015 1 commit
-
-
Bram Schoenmakers authored
-
- 04 Feb, 2015 10 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
topydo may introduce some internal tags, such as 'id' and 'p' for dependency tracking, and 'ical' for keeping track of unique ids when outputting iCalendar files. Add a pretty printer filter that prevents certain tags from displaying in the 'ls' output. These tags can be configured with the 'hide_tags' configuration option in the 'ls' section, a comma-separated list of tags (default: id,p,ical). To always show all tags, leave an empty value.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Reset the configuration on tearDown, instead of at startup.
-
Bram Schoenmakers authored
This command is similar to the 'ls' subcommand, except that it prints the selected todo items as an iCalendar file. This can be read by other calendaring applications.
-
Bram Schoenmakers authored
The IcalCommand, which inherits from this class, wants to use the same view construction code, but needs a different implementation for printing the view. Therefore these two things should be split.
-
Bram Schoenmakers authored
There is no need for clients of printers to assume anything about the format. In this case, the View class assumed that the printer would return a list of strings, and then the view joined those entries. This latter step is actually the responsibility of the printer, so move it there.
-
- 24 Jan, 2015 1 commit
-
-
Bram Schoenmakers authored
Moreover, make print_todo of PrettyPrinter have the same signature as the Printer class. Clients must use add_filter to specify any additional filters when printing. The Command class holds a PrettyPrinter instance (rather than a generic printer). This means that add_filter is called, all future invocations of print_todo will apply these filters. This is not always desired, so in those cases a subcommand should instantiate its own printer (this happens for instance at the DoCommand).
-
- 23 Jan, 2015 3 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
This allows for other printer implementations, where a printer is a transformation from a Todo item to a string.
-
Bram Schoenmakers authored
-
- 21 Jan, 2015 1 commit
-
-
Bram Schoenmakers authored
-
- 15 Jan, 2015 9 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Fixes issue #1.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Move logic to retrieve the Command instance to separate method. Also implement a 'help' subcommand, that either prints general help, or when followed by a subcommand, prints the subcommand's help. Fixes #4.
-
- 14 Jan, 2015 3 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
* When using textual IDs, TodoListBase.number() wouldn't return an integer, making deletion fail (which expected an int). * When updating the todo - UID map, erase it first. Otherwise deleted * items will be still in there.
-
Bram Schoenmakers authored
-
- 12 Jan, 2015 4 commits
-
-
Bram Schoenmakers authored
This fixes a bug that occurred with the combination of text IDs and appending projects of the parent todo item. When adding the project to a child todo, the text ID was not updated, and the standard output would show an outdated text ID. The next invocation of topydo would show the correct ID. Now the ID is consistent between adding and listing.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
- 11 Jan, 2015 5 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Also add reference to where the code came from.
-
-
Bram Schoenmakers authored
sorted() was run on a list of Todo objects, which may produce different results. Instead, sort on the item's number (i.e. its index in the TodoList). This should fix the occasional failing of test_do_subtasks2.
-
Bram Schoenmakers authored
sorted() was run on a list of Todo objects, which may produce different results. Instead, sort on the item's number (i.e. its index in the TodoList). This should fix the occasional failing of test_do_subtasks2.
-
- 10 Jan, 2015 1 commit
-
-
Jacek Sowiński authored
1. Tests for relative months and years are now executed against fixed test dates. 2. Add additional test for "special cases". 3. Add test for leap years.
-
- 08 Jan, 2015 2 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-