Commit Graph

47 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy 9a16557016
repo: remove fs implementation
Closes #34
2022-08-21 12:48:47 +03:00
Dmitriy Pleshevskiy 45672c2964
fixup: insert task without finished at 2022-08-21 00:08:29 +03:00
Dmitriy Pleshevskiy 8bd588070e
bin: add migration of finished fs tasks 2022-08-21 00:01:28 +03:00
Dmitriy Pleshevskiy 73ab922c77
cli/list: don't show current task on finished 2022-08-21 00:01:00 +03:00
Dmitriy Pleshevskiy a8f8e23cf4
repo/sqlite: returns finished tasks
- repo/fs: returns finished tasks
- cli/list: add --finished flag to get finished tasks

Closes #4
2022-08-20 23:38:45 +03:00
Dmitriy Pleshevskiy e2ac408c35
db: add migration 2022-08-20 16:47:55 +03:00
Dmitriy Pleshevskiy 6a31732d1b
shell/zsh: add remove cmd
Closes #31
2022-08-20 16:14:17 +03:00
Dmitriy Pleshevskiy 862b3218e5
repo/sqlite: don't update tas info without changes 2022-08-20 15:54:17 +03:00
Dmitriy Pleshevskiy eb78dad91a
Replace FS with Sqlite (#20)
- [x] Deps: add rusqlite
- [x] Deps: add time
- [x] Add created_at to the domain Task
- [x] Add schema and first migration
- [x] Check current version and run migration
- [x] Implement Repository trait
- [x] Add script to migrate from FS implementation

Closes #5
Closes #19

Reviewed-on: #20
Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
2022-08-20 12:42:20 +00:00
Dmitriy Pleshevskiy 96a80f9b35
shell/zsh: add fzf preview 2022-08-19 17:15:17 +03:00
Dmitriy Pleshevskiy bd4a581f3e
cli/show: improve error messages 2022-08-18 17:29:24 +03:00
Dmitriy Pleshevskiy b0cca6a408
cli/show: add possibility to choose a task by idx
Closes #26
2022-08-18 16:10:23 +03:00
Dmitriy Pleshevskiy 15b156414e
cli/show: add possibility to copy the task part
Closes #22
2022-08-18 15:02:18 +03:00
Dmitriy Pleshevskiy 18004c24d0
ux improvements
- rename group to project
- rename path to dir_path
- cli/show: add project to the print part
- cli/show: improve print part error message

Closes #25
2022-08-18 14:10:20 +03:00
Dmitriy Pleshevskiy 9837857081
cli/list: add filtering by group
Closes #23
2022-08-18 12:18:06 +03:00
Dmitriy Pleshevskiy 9674918396
cli/edit: allow to edit a task info 2022-08-18 12:15:38 +03:00
Dmitriy Pleshevskiy ced77f9aa2
cli/show: add possibility to print path and link 2022-08-18 11:54:23 +03:00
Dmitriy Pleshevskiy 66c950f6ab
cli: rename the status subcommand to show
add missed licence headers
2022-08-18 11:37:52 +03:00
Dmitriy Pleshevskiy 8f9d53ccb3
cli: move printing the task path to the status subcommand
cli: add visible aliases for remove, list, status
2022-08-17 09:14:42 +03:00
Dmitriy Pleshevskiy 238e4b0b03
add path to task
Closes #3
2022-08-16 22:24:21 +03:00
Dmitriy Pleshevskiy 8d21df094c
cli: add ls alias for the list subcommand 2022-08-16 17:16:40 +03:00
Dmitriy Pleshevskiy 817c704efc
repo/fs: support of update group 2022-08-16 16:47:51 +03:00
Dmitriy Pleshevskiy 7f8ddd8d2a
cli: move printing task detail to the util 2022-08-16 16:44:04 +03:00
Dmitriy Pleshevskiy 519162a8db
add optional group to the task
Closes #17
2022-08-16 16:36:53 +03:00
Dmitriy Pleshevskiy 6748cbb183
cli/finish: add --open argument
Closes #15
2022-08-16 16:17:26 +03:00
Dmitriy Pleshevskiy ee8d185071
repo/fs: fixup update task index 2022-08-16 16:16:41 +03:00
Dmitriy Pleshevskiy bcc4e59c12
fixup: dont validate current task data 2022-08-16 13:07:05 +00:00
Dmitriy Pleshevskiy 72a37b4a1d
add move other methods to repo 2022-08-16 15:43:44 +03:00
Dmitriy Pleshevskiy 4dbfe41e84
repo: add update data method 2022-08-05 23:40:26 +03:00
Dmitriy Pleshevskiy 8934f4ceef
repo: add repository trait and base fs impl
Closes #1
2022-08-05 23:11:44 +03:00
Dmitriy Pleshevskiy 1753daa5a0
cli/status: use eprintln instead of panic 2022-08-05 22:13:25 +03:00
Dmitriy Pleshevskiy f9d2761700
cli: extract add subcommand 2022-08-05 22:05:22 +03:00
Dmitriy Pleshevskiy ec880dad6e
cli: extract edit subcommand 2022-08-05 21:57:34 +03:00
Dmitriy Pleshevskiy fe705858de
cli: extract remove subcommand 2022-08-05 18:32:16 +03:00
Dmitriy Pleshevskiy 6c1def1a2d
cli: extract list subcommand 2022-08-05 18:25:01 +03:00
Dmitriy Pleshevskiy 04c25e2589
cli: extract priority subcommand 2022-08-05 18:19:12 +03:00
Dmitriy Pleshevskiy f3090eebe9
cli: extract pause and start subcommands 2022-08-05 17:58:54 +03:00
Dmitriy Pleshevskiy 4abf8a9341
cli: extract status and finish subcommands 2022-08-05 16:48:22 +03:00
Dmitriy Pleshevskiy 51668d002a
chore: add licence 2022-08-05 14:11:24 +03:00
Dmitriy Pleshevskiy b79f84ed1e
some improvements 2022-08-05 13:44:52 +03:00
Dmitriy Pleshevskiy e16011950d
add pause, finish and status subcommands 2022-08-05 13:06:48 +03:00
Dmitriy Pleshevskiy 92e4ae4dc2
add temporary limitation for managers subcommands 2022-08-05 12:39:19 +03:00
Dmitriy Pleshevskiy 972aae9460
add start task subcommand 2022-08-05 12:35:14 +03:00
Dmitriy Pleshevskiy 48aab9e860
add priority subcommand 2022-08-05 10:42:35 +03:00
Dmitriy Pleshevskiy 80c5265e3b
add possibility to add and edit links in tasks 2022-08-05 00:54:47 +03:00
Dmitriy Pleshevskiy bd0ea82f8e
ask before deleting task 2022-08-05 00:33:59 +03:00
Dmitriy Pleshevskiy d85639ef57
. 2022-08-05 00:08:27 +03:00