Commit graph

50 commits

Author SHA1 Message Date
64467cf107 chore: upgrade kxio to v5.0
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m14s
Test / build (map[name:stable]) (push) Successful in 4m14s
Release Please / Release-plz (push) Failing after 31s
Update tests to use net.assert_no_unused_plans()
2024-12-30 12:01:59 +00:00
4ec603ca3a feat: add trello card id to trello long card
Some checks failed
Test / build (map[name:stable]) (push) Successful in 3m47s
Test / build (map[name:nightly]) (push) Successful in 3m11s
Release Please / Release-plz (push) Failing after 27s
2024-12-30 10:08:09 +00:00
022bb697fb refactor: trello client: clean up headers
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 3m42s
Test / build (map[name:stable]) (push) Successful in 4m18s
Release Please / Release-plz (push) Failing after 43s
2024-12-30 10:08:09 +00:00
090e4a4345 refactor: trello client: specify query parameters
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 3m52s
Test / build (map[name:stable]) (push) Successful in 3m20s
Release Please / Release-plz (push) Failing after 27s
2024-12-30 07:18:41 +00:00
c2b458323f feat: impl From<i64> for TrelloCardPosition
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 7m8s
Test / build (map[name:stable]) (push) Successful in 8m28s
Release Please / Release-plz (push) Failing after 46s
2024-12-29 17:55:37 +00:00
756abd61c7 feat: add Rate Limits on trello API and own parallisation
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m30s
Test / build (map[name:stable]) (push) Successful in 9m30s
Release Please / Release-plz (push) Failing after 42s
- Limits the rate of API calls to Trello
- Limits the number of stacks, cards, labels and attachments that are running in parallel
2024-12-29 14:50:29 +00:00
2dac4374f3 fix(trello): detect trello 429 responses correctly
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m13s
Test / build (map[name:stable]) (push) Successful in 4m8s
Release Please / Release-plz (push) Failing after 32s
2024-12-28 22:23:51 +00:00
4f69fc0a4b feat: make best-effort to maintain order of stacks and cards
Some checks failed
Release Please / Release-plz (push) Failing after 42s
Test / build (map[name:stable]) (push) Has been cancelled
Test / build (map[name:nightly]) (push) Has been cancelled
2024-12-23 09:42:52 +00:00
0023e2aa70 feat: write downloaded attachments to temp directory
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 3m30s
Test / build (map[name:stable]) (push) Successful in 3m30s
Release Please / Release-plz (push) Failing after 43s
2024-12-23 09:42:52 +00:00
fa7d565238 fix: only upload attachments that are files
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m3s
Test / build (map[name:stable]) (push) Successful in 4m12s
Release Please / Release-plz (push) Failing after 33s
2024-12-23 09:42:52 +00:00
b3f1ed596c fix: stop zombie actors
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m25s
Test / build (map[name:stable]) (push) Successful in 4m40s
Release Please / Release-plz (push) Failing after 40s
Some actors had been set up so that they only stopped when all their children stopped.
The detection for this was triggered by each child as it stopped.
However, some actors didn't have any children, so were never triggered to stop.
They now check after starting any children if they should simply stop there and then.
2024-12-23 09:42:52 +00:00
5d62b7edd0 feat(nextcloud): support exponential backoff with jitter
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m21s
Test / build (map[name:stable]) (push) Successful in 2m6s
Release Please / Release-plz (push) Failing after 27s
2024-12-22 15:17:09 +00:00
4cdfdaec6f feat(trello): support exponential backoff with jitter
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m56s
Test / build (map[name:nightly]) (push) Successful in 2m26s
Release Please / Release-plz (push) Failing after 17s
2024-12-22 14:30:10 +00:00
61323484a2 refactor: split import into smaller functions
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m51s
Test / build (map[name:nightly]) (push) Successful in 2m26s
Release Please / Release-plz (push) Failing after 26s
2024-12-22 14:27:41 +00:00
a7bd75a426 feat: add command 'import'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m48s
Test / build (map[name:stable]) (push) Successful in 2m34s
Release Please / Release-plz (push) Failing after 19s
2024-12-20 20:31:52 +00:00
8f3035fccc refactor: remove dead code
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m1s
Test / build (map[name:stable]) (push) Successful in 2m12s
Release Please / Release-plz (push) Failing after 19s
2024-12-20 09:32:54 +00:00
3befecd645 fix(trello): parse labels on cards
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m7s
Test / build (map[name:nightly]) (push) Successful in 2m14s
Release Please / Release-plz (push) Failing after 18s
2024-12-20 09:31:52 +00:00
336a5945a4 refactor(trello): rearrange model
Some checks failed
Release Please / Release-plz (push) Failing after 15s
Test / build (map[name:stable]) (push) Waiting to run
Test / build (map[name:nightly]) (push) Has been cancelled
2024-12-19 09:06:44 +00:00
3249da92b0 refactor: remove board_id and board_name from config file
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m47s
Test / build (map[name:nightly]) (push) Successful in 2m57s
Release Please / Release-plz (push) Failing after 23s
2024-12-19 08:14:50 +00:00
9e414d8947 refactor: pass parsed Commands from main
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m30s
Test / build (map[name:stable]) (push) Successful in 2m2s
Release Please / Release-plz (push) Failing after 18s
2024-12-16 07:45:44 +00:00
7af4dae96d refactor: Execute::execute passes itself by ref
Some checks failed
Test / build (map[name:stable]) (push) Successful in 1m51s
Test / build (map[name:nightly]) (push) Successful in 2m4s
Release Please / Release-plz (push) Failing after 20s
2024-12-16 06:41:29 +00:00
b8f85bb5eb refactor: pass context by reference
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m9s
Test / build (map[name:nightly]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 13s
2024-12-16 06:34:44 +00:00
1c82ed3a80 chore: remove dead code: trello::url()
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m38s
Test / build (map[name:stable]) (push) Successful in 2m24s
Release Please / Release-plz (push) Failing after 19s
2024-12-15 17:48:23 +00:00
e45c5a6ef8 tests: add test for TrelloBoards::find_by_name()
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m38s
Test / build (map[name:stable]) (push) Successful in 2m13s
Release Please / Release-plz (push) Failing after 18s
2024-12-15 17:30:57 +00:00
20e3c80da2 chore: remove unused From implementations for TrelloAuth
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m13s
Test / build (map[name:stable]) (push) Successful in 2m9s
Release Please / Release-plz (push) Failing after 19s
2024-12-15 17:11:51 +00:00
7fd074a45a chore: remove unlinked file: trello::model::new_card
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m30s
Test / build (map[name:stable]) (push) Successful in 2m22s
Release Please / Release-plz (push) Failing after 18s
2024-12-15 17:09:44 +00:00
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
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
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
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
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
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
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
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