Commit graph

52 commits

Author SHA1 Message Date
Nutomic
6611debd6b
Remove verify methods (fixes #15) (#21) 2023-01-16 22:54:23 +01:00
Udo
c260c0d5ba
Update links in README (#20) 2023-01-06 23:25:28 +01:00
IFcoltransG
2c5a8c7004
Add keywords for crates.io discoverability (#19) 2023-01-02 12:58:25 +00:00
Nutomic
aee601a831
Merge pull request #17 from MTRNord/patch-1 2022-11-29 21:07:44 +00:00
Marcel
91c4f69514
Fix Matrix Alias in the text of the link 2022-11-29 21:37:57 +01:00
Nutomic
d97ff5cee5
Rename http_fetch_retry_limit to http_fetch_limit (was misleading) (#10) 2022-11-28 21:47:48 +00:00
Paul Delafosse
9332c81458
feat: add axum compat (#12)
* feat: add actix feature flag

* (WIP)feat: add axum feature

* WIP: axum veridy digest + example

Note: this does not compile yet

* WIP

* chore: clippy lints

* Use actix rt for axum example

* ci: run example in CI for both actix and axum

* feat: add json wrapper type for axum

* docs: update readme with actix and axum feature flags

* fix: fix ci

* chore: more clippy lints

* refactor: update according to PR comment and factorize 'verify_digest'
2022-11-28 21:19:56 +00:00
Felix Ableitner
229e225dce Mention matrix chat in readme 2022-11-28 14:58:28 +01:00
Felix Ableitner
589cde3026 Dont redownload deps between CI steps 2022-11-26 17:12:48 +01:00
Felix Ableitner
0c6dd72328 cargo fmt 2022-11-26 17:12:08 +01:00
Felix Ableitner
96f62b8513 Add missing file 2022-11-24 20:53:07 +01:00
Felix Ableitner
0b603df139 Add some clippy lints 2022-11-24 13:27:38 +01:00
Felix Ableitner
5b8ad33c60 Version 0.3.4 2022-11-23 12:25:32 +01:00
Nutomic
7bc1c4dbd9
Fix date header (#11) 2022-11-23 11:25:08 +00:00
Felix Ableitner
909bc0f2c7 Revert "Rename http_fetch_retry_limit to http_fetch_limit (was misleading)"
This reverts commit 78a86ca835.
2022-11-23 10:59:51 +01:00
Felix Ableitner
78a86ca835 Rename http_fetch_retry_limit to http_fetch_limit (was misleading) 2022-11-22 11:17:36 +01:00
Felix Ableitner
f59c817cc1 Version 0.3.3 2022-11-22 11:10:38 +01:00
Felix Ableitner
f0cadb20c1 Revert "Rename http_fetch_retry_limit to http_fetch_limit (was misleading)"
This reverts commit dc32b0e94e.
2022-11-22 11:10:08 +01:00
Felix Ableitner
dc32b0e94e Rename http_fetch_retry_limit to http_fetch_limit (was misleading) 2022-11-21 15:39:43 +01:00
Nutomic
f9de5c1b10
Dont retry activity send in case of connection error or HTTP status 4xx (#8) 2022-11-21 14:38:49 +00:00
Nutomic
5d670513d6
Only retry activity sending at most 3 times (#7) 2022-11-21 14:38:39 +00:00
Felix Ableitner
d59614f68d Change build status badge to drone.join-lemmy.org 2022-11-16 10:41:46 +01:00
Felix Ableitner
c57ee40092 v0.3.2 2022-11-16 10:30:29 +01:00
Felix Ableitner
05ad7b2f3a Revert change to take payload in inbox, it wasnt necessary. 2022-11-15 23:18:28 +01:00
Felix Ableitner
8ee52826a1 v0.3.1 2022-11-14 16:11:58 +01:00
Felix Ableitner
11fcb62416 Take dev::Payload for inbox which is more flexible 2022-11-14 16:11:36 +01:00
Felix Ableitner
aeba7f38bb Upgrade to 0.3.0 2022-11-14 15:26:38 +01:00
Nutomic
3a8dd5c6db
In inbox, verify that http signature digest was verified (ref #1) (#6) 2022-11-14 14:23:06 +00:00
Nutomic
da32da5a67
Use enum_delegate crate (#5) 2022-11-14 12:04:36 +00:00
Felix Ableitner
34a41d327f Log warning in case number of workers reaches maximum 2022-11-10 22:28:47 +01:00
Felix Ableitner
dab34bc919 Version 0.2.3 2022-10-28 12:39:28 +02:00
Nutomic
472d55a69e
Async verify (#4)
* Add date header when sending activity

* Version 0.2.2

* Make verify url function async
2022-10-28 10:37:51 +00:00
Felix Ableitner
356b98bb97 Version 0.2.1 2022-09-29 23:37:25 +02:00
Felix Ableitner
4b08b671ec Upgrade dependencies 2022-09-29 23:36:50 +02:00
Felix Ableitner
4d888b2c8e Add config option to sign activities in compat mode 2022-09-29 23:27:59 +02:00
Nutomic
2acbc06538
Merge pull request #2 from XAMPPRocky/main
Add InstanceSettings::builder
2022-07-05 09:22:04 +00:00
Erin Power
2ebe0436ef Add InstanceSettings::builder 2022-07-02 17:10:37 +02:00
Felix Ableitner
583fe3574d Merge remote-tracking branch 'origin/main' 2022-06-20 13:09:17 +02:00
Felix Ableitner
698dcedefb Add documentation link to cargo.toml 2022-06-16 13:10:12 +02:00
Felix Ableitner
bb5d838673 Add readme link to docs 2022-06-15 12:50:31 +02:00
Felix Ableitner
8d5ef9ce97 Version 0.2.0 2022-06-07 15:04:24 +02:00
Felix Ableitner
1cdb2b098d Adjustments to make Lemmy compile 2022-06-06 16:36:44 +02:00
Felix Ableitner
68e4cce4ec Improve api for send_activity() 2022-06-03 14:00:16 +02:00
Felix Ableitner
d7e401eeed Set worker count 0 in debug mode 2022-06-03 12:37:57 +02:00
Felix Ableitner
58c9ea12ad Update readme 2022-06-02 22:22:49 +02:00
Felix Ableitner
31da95af95 Remove generic param error from receive_activity() 2022-06-02 18:23:27 +02:00
Felix Ableitner
09f8baf764 Change deserialize_one to return array for compat 2022-06-02 16:15:53 +02:00
Felix Ableitner
3044d819a6 Ignore clippy false positive 2022-06-02 16:10:18 +02:00
Felix Ableitner
5ba09005af Remove generic Error param from ObjectId functions 2022-06-02 14:42:29 +02:00
Felix Ableitner
73d34d8011 Improved url verification, explicit debug mode 2022-06-02 14:40:54 +02:00