- 22 Oct, 2015 2 commits
-
-
Jacek Sowiński authored
mtimes of tempfile prior to editing and after leaving the editor are now compared before changing anything in todolist. If tempfile wasn't modified, todolist (and todo file) is left untouched and user gets appropriate error message.
-
Bram Schoenmakers authored
-
- 15 Oct, 2015 5 commits
-
-
Bram Schoenmakers authored
Introduce backup feature and `revert` command
-
Jacek Sowiński authored
-
Jacek Sowiński authored
`topydo revert` will search for backup corresponding with current state of todo file, and use it to recover previous state. Output will show to user results of which command had been reverted. If no suitable backup is found (for example if user edited todo file recently with other application), no action is taken and user is notified on the output about lack of corresponding backup in backup file.
-
Jacek Sowiński authored
Backups containing whole todolist and archive can be now saved after execution of each "read-write" command. Furthermore this change creates base for eventual "revert" command. Backups are safely stored and indexed in our own JSON-based format which is compatible with python2.x and python3.x. We also use zlib compression to minimize size of backup file. Path of the backup file is always relative to the todo file, so backups from different todo files won't mix up. User can configure number of stored backups with new config option - "backup_count". Any positive number will tell topydo to store that very number of backups. Setting "backup_count" to 0 will completely turn off backup functionality.
-
Jacek Sowiński authored
This will be used to recreate TodoList from a list of Todo objects.
-
- 13 Oct, 2015 2 commits
-
-
Bram Schoenmakers authored
Style Changes
-
Bram Schoenmakers authored
Fix Wheel building
-
- 12 Oct, 2015 1 commit
-
-
MinchinWeb authored
Evaluate conditional requirements at install time rather than compile time.
-
- 09 Oct, 2015 30 commits
-
-
MinchinWeb authored
First line should end with a period
-
MinchinWeb authored
No blank lines allowed after function docstring
-
MinchinWeb authored
1 blank line required after class docstring
-
MinchinWeb authored
-
MinchinWeb authored
-
MinchinWeb authored
Allows monitoring to see how close we are to supporting these on these platforms.
-
MinchinWeb authored
-
MinchinWeb authored
-
MinchinWeb authored
-
MinchinWeb authored
Sorted using `isort`. Sorted alphabetically, with sections for standard library, third-party, and then internal imports.
-
MinchinWeb authored
-
MinchinWeb authored
-
MinchinWeb authored
comparison to None should be 'if cond is None:' or 'if cond is not None:'
-
MinchinWeb authored
statement ends with a semicolon
-
MinchinWeb authored
the backslash is redundant between brackets
-
MinchinWeb authored
line too long (> 79 characters)
-
MinchinWeb authored
blank line at end of file
-
MinchinWeb authored
too many blank lines
-
MinchinWeb authored
expected 2 blank lines, found 1 (above module level defined classes and functions)
-
MinchinWeb authored
expected 1 blank line, found 0
-
MinchinWeb authored
blank line contains whitespace
-
MinchinWeb authored
trailing whitespace
-
MinchinWeb authored
at least two spaces before inline comment
-
MinchinWeb authored
missing whitespace after ':' missing whitespace after ','
-
MinchinWeb authored
missing whitespace around operator
-
MinchinWeb authored
multiple spaces before operator
-
MinchinWeb authored
whitespace before ':'
-
MinchinWeb authored
whitespace before ')'
-
MinchinWeb authored
whitespace after '('
-
MinchinWeb authored
continuation line under-indented for visual indent
-