lemmy/crates/api_common/src
Nutomic 5d23ef960e
Remove SendActivity and Perform traits, rely on channel (#3596)
* Remove SendActivity and Perform traits, rely on channel

These traits arent necessary anymore now that websocket is removed.
Removing them allows us to use normal actix http handler methods
which are much more flexible, and allow using different middlewares
as well as setting response attributes.

* compiling and create post federating

* clippy

* rename methods, join outgoing activities task

* fix api tests

* no unwrap

* conditional compile

* add back getrandom

* make crates optional

* fmt
2023-07-19 09:49:41 -04:00
..
build_response.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
comment.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
community.rs add new flag to api (#3363) 2023-06-27 06:45:26 -04:00
context.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
lib.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
person.rs Add infinite scroll user option (#3572) 2023-07-12 09:12:01 -04:00
post.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
private_message.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
request.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
send_activity.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
utils.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00