Commit graph

118 commits

Author SHA1 Message Date
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
20fbce0cf0 chore: log spawned actor details on single line
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m7s
Test / build (map[name:stable]) (push) Successful in 3m53s
Release Please / Release-plz (push) Failing after 34s
2024-12-28 22:21:32 +00:00
8a3b092126 refactor: move spawn and spawn_in_thread macros to macros module
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 6m13s
Test / build (map[name:stable]) (push) Successful in 6m33s
Release Please / Release-plz (push) Failing after 43s
2024-12-28 22:21:32 +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
f9762512f4 docs: add supported features list to README
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m30s
Test / build (map[name:stable]) (push) Successful in 4m31s
Release Please / Release-plz (push) Failing after 40s
2024-12-23 09:42:52 +00:00
5abaf3038f fix: always remove child actors regardless of how they exit
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m7s
Test / build (map[name:stable]) (push) Successful in 4m30s
Release Please / Release-plz (push) Failing after 37s
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
f72e9e1221 chore: remove dead code
Some checks failed
Test / build (map[name:stable]) (push) Successful in 2m15s
Test / build (map[name:nightly]) (push) Successful in 2m37s
Release Please / Release-plz (push) Failing after 26s
2024-12-22 22:52:17 +00:00
1568b7e08a feat: add support for tokio-console
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m50s
Test / build (map[name:stable]) (push) Successful in 2m39s
Release Please / Release-plz (push) Failing after 53s
2024-12-22 22:52:17 +00:00
8305715471 fix: improve exponential backup detection of 429 error
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m22s
Test / build (map[name:stable]) (push) Successful in 2m55s
Release Please / Release-plz (push) Failing after 19s
2024-12-22 22:52:17 +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
0e123898db feat: split into actors
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m59s
Test / build (map[name:stable]) (push) Successful in 2m18s
Release Please / Release-plz (push) Failing after 13s
2024-12-22 14:28:51 +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
e8c03ee925 feat(nextcloud): add command 'nextcloud board create-label'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m7s
Test / build (map[name:stable]) (push) Successful in 2m11s
Release Please / Release-plz (push) Failing after 27s
2024-12-20 13:41:47 +00:00
ad662cf422 refactor(trello): pin down parameter types for create_card
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m11s
Test / build (map[name:stable]) (push) Successful in 2m14s
Release Please / Release-plz (push) Failing after 20s
2024-12-20 09:32:54 +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
a887966755 feat(nextcloud): add command 'nextcloud stack create'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m4s
Test / build (map[name:stable]) (push) Successful in 2m6s
Release Please / Release-plz (push) Failing after 19s
2024-12-20 09:30:40 +00:00
2625ce44c0 feat(nextcloud): add command 'nextcloud board labels'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m15s
Test / build (map[name:stable]) (push) Successful in 2m14s
Release Please / Release-plz (push) Failing after 19s
2024-12-20 09:29:18 +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
2df105bd65 tests: added for 'check' command
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m30s
Test / build (map[name:stable]) (push) Successful in 2m34s
Release Please / Release-plz (push) Failing after 20s
2024-12-18 22:44:52 +00:00
6d234609e7 feat: add command 'nextcloud card add-attachment'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m18s
Test / build (map[name:stable]) (push) Successful in 2m17s
Release Please / Release-plz (push) Failing after 27s
2024-12-18 17:21:01 +00:00
36a2258bc6 refactor: command 'nextcloud card add-label'
Some checks failed
Release Please / Release-plz (push) Failing after 22s
Test / build (map[name:nightly]) (push) Successful in 2m12s
Test / build (map[name:stable]) (push) Successful in 2m28s
2024-12-18 17:19:17 +00:00
8598de6976 refactor: command 'nextcloud card create'
Some checks failed
Release Please / Release-plz (push) Failing after 18s
Test / build (map[name:nightly]) (push) Successful in 2m25s
Test / build (map[name:stable]) (push) Successful in 2m12s
2024-12-18 17:19:17 +00:00
7cf6f9bd94 refactor: command 'nextcloud card get' takes board id from parameters
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m0s
Test / build (map[name:stable]) (push) Successful in 2m13s
Release Please / Release-plz (push) Failing after 24s
2024-12-18 17:19:17 +00:00
0047f5d0ef refactor: Remove command 'nextcloud card list'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m0s
Test / build (map[name:stable]) (push) Successful in 1m51s
Release Please / Release-plz (push) Failing after 14s
Replaced by 'nextcloud stack get'.
2024-12-18 17:19:17 +00:00
cef45362de feat: add command 'nextcloud stack get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m44s
Test / build (map[name:stable]) (push) Successful in 2m3s
Release Please / Release-plz (push) Failing after 18s
2024-12-18 17:19:17 +00:00
aac5ff3f5f feat: add command 'nextcloud board get'
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 7m33s
Test / build (map[name:stable]) (push) Successful in 2m4s
Release Please / Release-plz (push) Failing after 17s
2024-12-17 20:47:28 +00:00
3552faf7a9 feat: use more non-String types
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m36s
Test / build (map[name:stable]) (push) Successful in 2m5s
Release Please / Release-plz (push) Failing after 12s
2024-12-16 07:50:26 +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
6fe7be191f fix: install color_eyre error handler in main
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m40s
Test / build (map[name:stable]) (push) Successful in 2m4s
Release Please / Release-plz (push) Failing after 16s
This puts it outside of any tests, as running this in parallel will
panic.
2024-12-16 07:45:10 +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
d511c98e47 refactor: replace Ctx::new with Ctx::From<PathBuf>
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 2m20s
Test / build (map[name:stable]) (push) Successful in 2m7s
Release Please / Release-plz (push) Failing after 43s
2024-12-15 20:03:43 +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
Renovate Bot
7309fc6968 fix(deps): update rust crate kxio to v4
Some checks failed
Test / build (map[name:stable]) (pull_request) Successful in 2m1s
Test / build (map[name:nightly]) (pull_request) Successful in 3m18s
Test / build (map[name:nightly]) (push) Successful in 2m38s
Test / build (map[name:stable]) (push) Successful in 2m22s
Release Please / Release-plz (push) Failing after 19s
2024-12-15 15:05:05 +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