Commit Graph

58 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
590ba91362 Merge branch 'sync' into 'master'
Add twoway sync

See merge request webmeisterei/todoist-taskwarrior!1
2019-08-05 06:48:58 +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
b12676ee0e Remove several todos and add some new ones 2019-07-13 11:34:22 +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
287f5600a6 Link to pull request requiring use of custom taskw dep 2019-06-15 19:43:27 +02:00
Matt Snider
67e331eacd Document --map-project and --map-tag in README 2019-06-09 20:31:10 +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
9231ec21af Add tests for --map-project values 2019-03-30 18:34:29 +01: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
99e7e322f1 Add tests for priority conversions 2019-03-30 18:31:47 +01:00
Matt Snider
e9d788904d Uncomment tests (why are these commented :-/) 2019-03-30 17:33:39 +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
6a795da284 Update README with usage instructions 2019-01-21 23:39:31 +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
d899d1a40f Add TODO.md 2019-01-21 11:08:13 +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
c4a6e7bfc7 Add tests for recur 2018-11-24 15:14:15 +01:00
Matt Snider
245daaa3fb Refactor into module structure 2018-11-24 00:24:23 +01:00
Matt Snider
c843376d74 Handle more recurrence patterns 2018-11-23 19:45:09 +01:00
Matt Snider
7a61b82130 Catch missing TODOIST_API_KEY before calling into click cli since it breaks --help 2018-11-23 19:41:35 +01:00
Matt Snider
2e5d6e8ac8
Add LICENSE 2018-11-16 02:17:01 +01:00
Matt Snider
767b3c3512 Switch to my fork for taskw until PR is merged 2018-11-16 02:13:12 +01:00
Matt Snider
40e5fcb07e Handle recurring tasks from date_string (recur) 2018-11-16 02:11:57 +01:00
Matt Snider
e4d86e1ab3 Handle due_date_utc (due) 2018-11-08 01:35:57 +01:00
Matt Snider
acf117e7f4 Handle date_added (entry) 2018-11-08 01:29:28 +01:00