28d6370c35
Rewrite delete activities ( #1699 )
...
* Limit type/method visibility in apub code
* Simplify db_queries traits by removing generics
* Simplify delete activity implementation
* Rewrite delete activities
* Implement helper functions for websocket message sending
* When receiving delete reason as empty string, change to none
2021-08-17 14:04:58 -04:00
b8d7f00d58
Rewrite voting ( #1685 )
...
* Merge like/dislike activity handlers into vote
* Rewrite vote sending code
* Remove old send_create, send_update functions
2021-08-02 16:33:40 -04:00
dc363c8f35
Merge logic for post create and update
2021-07-31 19:26:17 +02:00
3eb46868ff
Merge logic for comment create and update
2021-07-31 17:47:08 +02:00
43ad99bbe8
Rewrite apub comment (de)serialization using structs (ref #1657 )
2021-07-31 16:57:37 +02:00
Dessalines
d85f0d087e
Blank out extra info for deleted or removed content. Fixes #1679 ( #1680 )
2021-07-30 18:44:15 +00:00
Dessalines
5fe7de2bff
Adding shortname fetching for users and communities. Fixes #1662 ( #1663 )
2021-07-20 04:29:50 +00:00
Dessalines
f54209c451
Running clippy --fix ( #1647 )
2021-07-05 16:07:26 +00:00
880c51687a
Merge branch 'main' into feature/mark_post_as_read
2021-04-26 10:44:19 -04:00
ef7fe7586b
Some formatting
2021-04-23 02:40:10 -04:00
f8cd6fd445
Making more fields optional in the API.
...
- Fixes #1569
2021-04-23 02:30:13 -04:00
c86f5472fb
Adding listing_type to search.
2021-04-23 02:13:32 -04:00
efee2062dd
Mark accounts as bot nutomic ( #1565 )
...
* Mark account as bot. Fixes #1357
* Fix clippy
* Federate bot status using actor `type` field
* fix clippy
Co-authored-by: Dessalines <tyhou13@gmx.com>
2021-04-21 17:41:14 -04:00
65a11a7239
Use .map_err in api code ( fixes #1573 ) ( #1575 )
...
* Use .map_err in api code (fixes #1573 )
* forgot some
2021-04-16 09:10:43 -04:00
4c8f2e976e
Merge remote-tracking branch 'yerba/split-api-crate' into test_merge_api_crates_reorg
2021-03-29 16:24:50 -04:00
01fc1228d5
Fix API and clippy warnings
2021-03-29 20:55:08 +02:00
249fcc5066
Split api crate into api_structs and api
2021-03-25 20:19:40 +01:00