Nutomic
636b47c8b2
Add back activity send queue as optional feature ( #94 )
...
* Add back activity send queue as optional feature
* fix port collision in tests
* improve docs
* serialize fn
* deduplicate
* more dedup
* more dedup
* dedupupup
* test cleanup
* remove fn
2024-03-04 08:53:33 -05:00
Nutomic
a859db05bb
Add security checks when fetching objects ( #95 )
...
* Add security checks when fetching objects
* static
* as ref
* update comment
* fix header
* Update comment
2024-03-04 12:47:42 +01:00
Nutomic
9e8d466b40
Better JSON error messages ( #91 )
2023-12-20 06:19:58 -05:00
Nutomic
50db596ce0
Better error when activity receive fails ( #89 )
...
* Minor refactoring
* Better error when receive fails
* clippy
* add test case
* comments
* take ref
2023-12-12 11:30:21 +01:00
phiresky
51443aa57c
Remove activity queue and add raw sending ( #75 )
...
* make prepare_raw, sign_raw, send_raw functions public
* remove in-memory activity queue
* rename module
* comment
* don"t clone
* fix doc comment
* remove send_activity function
---------
Co-authored-by: Nutomic <me@nutomic.com>
2023-09-01 11:19:22 +02:00
Felix Ableitner
072353fc41
Dont use apub
in type names
2023-03-16 21:41:43 +01:00
Felix Ableitner
32394696a5
move files
2023-03-06 16:19:43 +01:00
Felix Ableitner
d5ecab1b61
finish rustdoc
2023-03-04 23:20:06 +01:00
Felix Ableitner
19c459fc02
Further improvements
2023-03-02 00:19:10 +01:00
Felix Ableitner
69e77dfa74
Various improvements for usability, examples and docs
2023-02-19 21:26:01 +09:00
Nutomic
83ad4bfdc1
Merge handler params into single struct ( #25 )
2023-02-11 13:32:35 +01:00
aumetra
463580d734
Restrict the body sizes of responses ( #23 )
...
* Add default response body size limit
* Limit all the methods, add reqwest shim that wraps around bytes_stream
* Change image to rust:1.65-bullseye
* Use `DeserializeOwned` instead of the HRTB over `Deserialize`
* Remove the configurability, limit to 100KB
* Add documentation to body size restricted functions
* rustfmt
2023-01-28 04:45:11 +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
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
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
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
4d888b2c8e
Add config option to sign activities in compat mode
2022-09-29 23:27:59 +02:00
Erin Power
2ebe0436ef
Add InstanceSettings::builder
2022-07-02 17:10:37 +02:00
Felix Ableitner
d7e401eeed
Set worker count 0 in debug mode
2022-06-03 12:37:57 +02:00
Felix Ableitner
73d34d8011
Improved url verification, explicit debug mode
2022-06-02 14:40:54 +02:00
Felix Ableitner
5e4bd751aa
Initial commit
2022-06-02 13:26:05 +02:00