lemmy/crates/api_common/src
Nutomic f858d8cbce
Remove explicit auth params (#3946)
* Remove explicit auth params (ref #3725)

Only take auth via header or cookie. This requires a new version
of lemmy-js-client for api tests to pass.

* rework api_crud

* remove remaining auth params, move logic to session middleware

* fmt, fix test

* update js client

* remove auth param from api tests

* Pass auth as header

* add !

* url vars, setHeader

* cleanup

* fmt

* update

* Updating for new lemmy-js-client.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-09-21 06:42:28 -04:00
..
build_response.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
comment.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
community.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
context.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
lib.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
person.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
post.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
request.rs Add logging for pictrs uploads (#3927) 2023-09-06 09:13:30 -04:00
send_activity.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
utils.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00