- 23 Mar, 2015 2 commits
-
-
Jacek Sowiński authored
-
Jacek Sowiński authored
topydo will report which todo IDs ('numbers') were invalid if user supplied more than one on command-line. Error for operation on single todo ID are reported as usual (for consistency with other commands sake and because I'm lazy and don't want to fix 2 tests :P).
-
- 27 Feb, 2015 1 commit
-
-
Bram Schoenmakers authored
Allow multiple tasks to be prioritized at once
-
- 26 Feb, 2015 1 commit
-
-
Jacek Sowiński authored
1. Shorter code for creating and populating 'todos' list 2. Merge IndexError and InvalidCommandArgument @bram85: Thanks!
-
- 10 Feb, 2015 1 commit
-
-
user authored
-
- 07 Feb, 2015 4 commits
-
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Fixes issue #5
-
Bram Schoenmakers authored
When there is a todo in the list with an id: tag but no child todos, that value could be reused when creating a new dependency between two (unrelated) items. This is because the value of the dangling parent todo is not present in the dependency graph, but the function generating a new ID depended on that. Instead, simply iterate over all available todo items to check whether the proposed value already exists somewhere.
-
Bram Schoenmakers authored
When completing a command, show a warning when a 'rec' tag has an invalid recurrence pattern. Fixes issue #6. Conflicts: topydo/lib/DoCommand.py
-
- 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 3 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
-