Commit graph

60 commits

Author SHA1 Message Date
ab185d0c87 tests: add tests for commands 'trello attachment get' and 'trello attachment save'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m16s
Test / build (map[name:stable]) (push) Successful in 2m22s
Release Please / Release-plz (push) Failing after 22s
2024-12-15 17:09:44 +00:00
6c986fa5b9 tests: add tests for 'trello stack get'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m12s
Test / build (map[name:nightly]) (push) Successful in 5m26s
Release Please / Release-plz (push) Failing after 1m51s
2024-12-14 22:19:08 +00:00
9824aa6374 tests: use variable in expected url
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m10s
Test / build (map[name:nightly]) (push) Successful in 2m36s
Release Please / Release-plz (push) Failing after 18s
2024-12-14 22:18:27 +00:00
547b659a97 tests: add tests for APIResult
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m1s
Test / build (map[name:stable]) (push) Successful in 2m37s
Release Please / Release-plz (push) Failing after 19s
2024-12-14 22:03:56 +00:00
d45e7a8443 refactor: extract inline module tests::given
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m58s
Test / build (map[name:stable]) (push) Successful in 4m12s
Release Please / Release-plz (push) Failing after 1m47s
2024-12-14 22:03:56 +00:00
d48ba1c090 refactor: extract inline module tests::template
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m6s
Test / build (map[name:stable]) (push) Successful in 2m10s
Release Please / Release-plz (push) Failing after 20s
2024-12-14 19:51:04 +00:00
9db75b81c0 refactor: extract inline module tests::init
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m12s
Test / build (map[name:stable]) (push) Successful in 2m0s
Release Please / Release-plz (push) Failing after 19s
2024-12-14 19:50:36 +00:00
3ae594c567 refactor: extract inline module tests::config
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m55s
Test / build (map[name:nightly]) (push) Successful in 2m11s
Release Please / Release-plz (push) Failing after 19s
2024-12-14 19:50:13 +00:00
ff04218172 tests: add tests for 'trello card get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m11s
Test / build (map[name:stable]) (push) Successful in 2m7s
Release Please / Release-plz (push) Failing after 17s
2024-12-14 19:15:54 +00:00
7e65cdd415 tests: add tests for 'trello board get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m10s
Test / build (map[name:stable]) (push) Successful in 2m8s
Release Please / Release-plz (push) Failing after 16s
2024-12-14 19:14:03 +00:00
959613919e chore: remove unused trello boards list command
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m10s
Test / build (map[name:stable]) (push) Successful in 2m1s
Release Please / Release-plz (push) Failing after 19s
2024-12-14 19:05:47 +00:00
ae9fff4249 chore: drop old unlinked file
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m0s
Release Please / Release-plz (push) Failing after 17s
Test / build (map[name:nightly]) (push) Successful in 2m23s
2024-12-14 19:05:47 +00:00
b63500fc75 tests(trello): add tests for 'trello member get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m10s
Test / build (map[name:stable]) (push) Successful in 1m54s
Release Please / Release-plz (push) Failing after 18s
2024-12-14 19:05:47 +00:00
bf531a1bd9 test: nextcloud card create - with/without description
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m50s
Test / build (map[name:stable]) (push) Successful in 1m55s
Release Please / Release-plz (push) Failing after 34s
2024-12-14 15:30:52 +00:00
d4b919b557 chore: remove dead code
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m56s
Test / build (map[name:stable]) (push) Successful in 2m17s
Release Please / Release-plz (push) Failing after 22s
2024-12-14 11:31:17 +00:00
6ee44dc7d4 feat: check command lists trello boards
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m9s
Test / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 18s
2024-12-14 11:31:15 +00:00
3d48e2f408 chore(nextcloud): remove duplicate client
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m43s
Test / build (map[name:stable]) (push) Successful in 2m30s
Release Please / Release-plz (push) Failing after 23s
2024-12-14 08:12:24 +00:00
e3e766ed82 test(nextcloud): enable tests
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m2s
Test / build (map[name:stable]) (push) Successful in 6m26s
Release Please / Release-plz (push) Failing after 15s
2024-12-14 08:04:44 +00:00
231f205f0e feat(nextcloud): add commnad 'nextcloud deck get'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m43s
Test / build (map[name:nightly]) (push) Successful in 2m13s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 22:10:38 +00:00
89862e9cb0 test(nextcloud): add new tests
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m43s
Test / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 22:10:38 +00:00
a43b37c938 feat(trello): add command 'trello attachement save'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m42s
Test / build (map[name:nightly]) (push) Successful in 2m13s
Release Please / Release-plz (push) Failing after 15s
2024-12-13 22:10:38 +00:00
e05950e09c feat(trello): add command 'trello attachement get'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m12s
Test / build (map[name:nightly]) (push) Successful in 3m5s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 22:10:38 +00:00
93d0a227bb feat(trello): add command 'trello card get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m41s
Test / build (map[name:stable]) (push) Successful in 1m55s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 22:10:38 +00:00
42ec361ff2 refactor(trello): rewrite trello module and rename commands
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m41s
Test / build (map[name:nightly]) (push) Successful in 2m10s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 22:10:38 +00:00
c3fcba6039 refactor(trello): rename 'trello boards list' as 'trello member get'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m46s
Test / build (map[name:nightly]) (push) Successful in 2m11s
Release Please / Release-plz (push) Failing after 15s
2024-12-13 22:10:38 +00:00
30a5e83bb4 feat(trello): add command 'trello stack list'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m55s
Test / build (map[name:nightly]) (push) Successful in 2m28s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 22:10:38 +00:00
0efecf946e refactor(trello): rename module types as model
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m44s
Test / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 22:10:38 +00:00
2ee95d699b feat(nextcloud): add command 'nextcloud card add-label'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m48s
Test / build (map[name:stable]) (push) Successful in 2m19s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 22:10:38 +00:00
6552a413da refactor: reshuffling and extracting Executor trait
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m43s
Test / build (map[name:nightly]) (push) Successful in 2m8s
Release Please / Release-plz (push) Failing after 58s
2024-12-13 21:59:28 +00:00
b6831e6de0 feat(nextcloud): add command 'nextcloud card create'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m46s
Test / build (map[name:stable]) (push) Successful in 2m4s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 21:59:28 +00:00
8df5e13837 build: clippy will apply any fixes it can
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m39s
Test / build (map[name:stable]) (push) Successful in 2m19s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 21:59:27 +00:00
ce33f4ab20 feat: enable trace logging support
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m47s
Test / build (map[name:nightly]) (push) Successful in 2m11s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 20:48:23 +00:00
6bac32bb7b refactor: rearrange command dispatcher
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m58s
Test / build (map[name:stable]) (push) Successful in 1m44s
Release Please / Release-plz (push) Failing after 15s
2024-12-13 20:48:23 +00:00
ecef639318 feat(nextcloud): add command 'nextcloud card get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m51s
Test / build (map[name:stable]) (push) Successful in 2m20s
Release Please / Release-plz (push) Failing after 18s
2024-12-13 20:48:23 +00:00
76abea2fb0 feat: add command 'check'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m55s
Test / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 19s
2024-12-13 20:48:23 +00:00
b09eb6b117 feat(nextcloud): add command 'nextcloud card list'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m54s
Test / build (map[name:stable]) (push) Successful in 1m46s
Release Please / Release-plz (push) Failing after 17s
2024-12-13 20:48:23 +00:00
4f4edc53c8 feat(trello): add command 'trello board list'
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m46s
Test / build (map[name:nightly]) (push) Successful in 2m3s
Release Please / Release-plz (push) Failing after 14s
2024-12-13 20:48:23 +00:00
9c8243561f feat(nextcloud): add command 'nextcloud stack list'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m23s
Test / build (map[name:stable]) (push) Successful in 3m1s
Release Please / Release-plz (push) Failing after 21s
2024-12-13 19:32:35 +00:00
584f056b45 feat(nextcloud): add command 'nextcloud board list'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m12s
Test / build (map[name:stable]) (push) Successful in 3m7s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 13:33:42 +00:00
4d20ee4a9f feat(nextcloud): add deck_client to FullCtx
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m58s
Test / build (map[name:stable]) (push) Successful in 2m55s
Release Please / Release-plz (push) Failing after 21s
2024-12-13 09:30:16 +00:00
3e544baccf feat(nextcloud): DeckClient hold reference to FullCtx
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m20s
Test / build (map[name:stable]) (push) Successful in 2m11s
Release Please / Release-plz (push) Failing after 17s
given a full context
2024-12-13 09:30:16 +00:00
5b0805e4f9 feat: add kxio printer to context
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m37s
Test / build (map[name:nightly]) (push) Successful in 2m19s
Release Please / Release-plz (push) Failing after 15s
2024-12-13 09:30:16 +00:00
b0715f6931 refactor: Add FullCtx which is Ctx with AppConfig
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m17s
Test / build (map[name:nightly]) (push) Successful in 2m27s
Release Please / Release-plz (push) Failing after 13s
2024-12-13 09:30:15 +00:00
327e33a7e3 feat(nextcloud): add basics of nextcloud config model client
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m51s
Test / build (map[name:stable]) (push) Successful in 6m36s
Release Please / Release-plz (push) Failing after 16s
2024-12-13 07:30:36 +00:00
c8f9780226 feat(trello): add basics of trello config model
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m14s
Test / build (map[name:stable]) (push) Successful in 2m57s
Release Please / Release-plz (push) Failing after 21s
2024-12-12 22:34:51 +00:00
de94004be3 feat: add APIResult
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m50s
Test / build (map[name:nightly]) (push) Successful in 2m55s
Release Please / Release-plz (push) Failing after 21s
This is a generic type that contains the raw JSON response and the parsed value as a Result.

fixup: APIResult

FIXUP: APIResutl can handle missing response bodies
2024-12-12 22:34:51 +00:00
70aa002048 feat: load config file
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m51s
Test / build (map[name:stable]) (push) Successful in 2m29s
Release Please / Release-plz (push) Failing after 27s
2024-12-12 20:38:08 +00:00
c8ff4b2694 feat: command to write initial config file
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m4s
Test / build (map[name:nightly]) (push) Successful in 2m23s
Release Please / Release-plz (push) Failing after 20s
move tests to a tests/mod
????
2024-12-12 17:31:31 +00:00
9659319f4c feat: add const NAME
Some checks failed
Test / build (map[name:stable]) (push) Successful in 3m5s
Test / build (map[name:nightly]) (push) Successful in 6m56s
Release Please / Release-plz (push) Failing after 15s
2024-12-12 17:31:31 +00:00
d5055c50cc feat: parse command line
Some checks failed
Test / build (map[name:stable]) (push) Successful in 7m1s
Test / build (map[name:nightly]) (push) Successful in 2m53s
Release Please / Release-plz (push) Failing after 23s
2024-12-12 17:31:31 +00:00