- 01 Jun, 2015 1 commit
-
-
Bram Schoenmakers authored
The completer would be instantiated before the todo list was loaded from the file. Now, the completer is instantiated every time the todo list is loaded.
-
- 31 May, 2015 9 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Instead of creating a subcommand for every possible output format we're going to think of in the future, just let ListCommand handle the output format by connecting to the right format printer. In this commit, the 'ical' subcommand is deprecated, to be removed after the next release. The 'json' subcommand has been removed altogether, it existed for only a few hours.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
The todo.txt file can be modified while the prompt is running. Make sure to reload the file when the mtime has changed since the previous load. This addresses the issue that changes after the 'edit' subcommand were not visible when returning to the topydo prompt (issue #33). Also, other changes done while the prompt is running will be picked up. A safety measure was taken to refuse executing a command when the todo.txt file was modified while the prompt was visible (i.e. the user was busy typing a command). By doing so, subcommands such as 'do' and 'del' will only operate on the actual state of the todo.txt file, not some previous state still in memory.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Fixes #43.
-
- 30 May, 2015 17 commits
-
-
Bram Schoenmakers authored
topydo was a tad slow, because all modules of all subcommands were loaded with each invocation of topydo. Particularly, the ical subcommand was quite slow because it loads modules from the icalendar package.
-
Bram Schoenmakers authored
Add todos from file with '-f' flag.
-
Jacek Sowiński authored
1. Move _preprocess_input_todo adn _postprocess_input_todo inside _add_todo. 2. Remove self.todo
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
Use unittest.mock wherever it's available
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
When obtaining a configuration object, it is now possible to pass certain values to be overridden no matter what settings were made in the configuration files. This is used to let the -t and -d flags (location of todo.txt and archive respectively) override anything that is mentioned in configuration files. This fixes a bug where the edit subcommand did not respect the -t flag, because it was simply reading the location from the configuration file. Now the configuration is overridden when -t is passed. Thanks to Jacek for reporting the broken 'edit' command.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Fix unicode in ical. Addresses Unicode issues under the umbrella of issue #21.
-
Bram Schoenmakers authored
Two possible future improvements regarding editor selection: * configure editor through configuration file * set editor through a flag, e.g. topydo edit -p gedit
-
Jacek Sowiński authored
-
Robert van Bregt authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Since python 3.3 `mock` is part of standard library. Let's try to use that before looking for third-party installation of it.
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
Import prompt-toolkit only if it's needed.
-
- 29 May, 2015 1 commit
-
-
Jacek Sowiński authored
Also display more readable error message in case of absence of prompt-toolkit. This fixes #35
-
- 27 May, 2015 4 commits
-
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
Fix EditCommand inheritance problems
-
Jacek Sowiński authored
Credit for idea goes to Bram Schoenmakers (@bram85).
-
- 25 May, 2015 3 commits
-
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Currently it contains only `_view` and `_filters` methods, which were previously defined in ListCommand. Now both EditCommand and ListCommand will inherit from it to solve problems inside EditCommand. This fixes #28
-
Jacek Sowiński authored
1. Check output of `topydo edit -e` 2. Test if opening archive works via `topydo edit -d`
-
- 22 May, 2015 5 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
The trigger is that pylint doesn't support Python 3.2 anymore, and in that case Travis CI should not run pylint. This script takes an optional argument for the executable name of the corresponding Python version (typically just 'python2' and 'python3'). When not given, 'python' is just run, whatever is in your $PATH. The latter mode is used in Travis CI.
-
Bram Schoenmakers authored
pylint doesn't understand that <date> - <timedelta> results in a date, but thinks it results in a timedelta. Since timedelta has no isoformat() method, it will complain.
-