Commit Graph

33 Commits

Author SHA1 Message Date
René Jochum
6a0792a3ed
No isoformat. :/ 2019-10-09 10:26:35 +02:00
René Jochum
3b2d291902
Merge branch 'sync' 2019-10-09 10:18:39 +02:00
René Jochum
69e72daff4
Taskwarrior doesn't like status=wating, don't send it. 2019-10-09 10:14:27 +02:00
René Jochum
11d5af59df
Bugfixes 2019-08-09 20:38:36 +02:00
René Jochum
74da3bee81
Add twoway sync 2019-08-05 06:48:24 +02:00
Matt Snider
81ee6d16dc Update to todoist-python 8.0.0 2019-07-13 13:33:17 +02:00
Matt Snider
d2cd7b2b4a Skip task before trying to parse recur if it already exists 2019-07-13 12:30:33 +02:00
Matt Snider
a5cc643d1e Allow user to interactively specify project 2019-07-13 12:30:17 +02:00
Matt Snider
e22c8650ae When a parse error occurs for recur, allow user to manually input 2019-07-13 12:29:55 +02:00
Matt Snider
a9ff4b4ff8 Fix bug causing already imported tasks with recur to be not detected and reimported 2019-07-13 11:43:25 +02:00
Matt Snider
8180893f08 Clean up validation and add interactive cmd 'r' to edit recur 2019-07-13 11:34:03 +02:00
Matt Snider
03be344f5e Support every *other* DOW and ignore timestamps in recurrences (e.g. every other day at 9:00) 2019-07-13 11:03:07 +02:00
Matt Snider
7f5e9708dc Change base Exception to UnsupportedRecurrence 2019-06-30 11:38:37 +02:00
Matt Snider
c4815955ef Raise error for unsupported recurrence for specific weekdays - e.g. every mon,tues,weds 2019-06-21 01:38:18 +02:00
Matt Snider
1ec6da17b3 Add hierarchical project handling 2019-06-21 01:25:14 +02:00
Matt Snider
9f93b92a29 Add --map-tag SRC=DST option to translate or remove tags 2019-06-09 20:30:47 +02:00
Matt Snider
e94755348e Add --map-project SRC=DST option to map/translate project names 2019-03-30 18:34:11 +01:00
Matt Snider
33d3dd3417 Fix typo in output at beginning of migration 2019-03-25 22:18:03 +01:00
Matt Snider
b624aa77e6 Add clean command to remove todoist cache 2019-03-25 22:12:34 +01:00
Matt Snider
176ee0119c Rename task_prompt() -> add_task_interactive() 2019-03-24 16:29:02 +01:00
Matt Snider
4f3402409a Add io.with_feedback() context manager for tasks report OK/FAILED 2019-03-24 16:25:20 +01:00
Matt Snider
f1ceda3733 Disallow invalid priorities during interactive prompt 2019-03-24 12:55:10 +01:00
Matt Snider
c813d5cd6e Move echo/prompt logic into io.py 2019-03-24 12:47:06 +01:00
Matt Snider
485aca1a50 Improve documentation of commands and options 2019-03-23 22:01:51 +01:00
Matt Snider
6ccde147a2 Add quit command in interactive migration 2019-03-23 21:15:14 +01:00
Matt Snider
453f8d1e28 Factor out synchronize command to update local todoist database 2019-03-23 21:09:47 +01:00
Matt Snider
9b9a310c0f Prevent reimporting duplicate tasks using a Taskwarrior UDA
Taskwarrior's User Defined Attributes (see link below) allow us to define custom
data attributes for tasks. We can use this to store the ID from Todoist to
prevent reimporting a task in subsequent runs.

https://taskwarrior.org/docs/udas.html
2019-01-21 21:17:40 +01:00
Matt Snider
a2cb6b7887 Fix parse error 'every hour' -> 'hourly' recurrence 2019-01-21 20:38:19 +01:00
Matt Snider
ef26faa356 Reformat long DOW regex over multiple lines 2019-01-21 20:36:07 +01:00
Matt Snider
aa48ea1d3c Improve regex and test for days of the week 2019-01-21 12:12:49 +01:00
Matt Snider
4d90c4ba4f Implement interactive task add with support for name, priority and tags 2018-11-24 18:48:48 +01:00
Matt Snider
3d8c91e496 Refactor recur parsing and cover more cases 2018-11-24 15:15:06 +01:00
Matt Snider
245daaa3fb Refactor into module structure 2018-11-24 00:24:23 +01:00