Commit Graph

782 Commits (c239b9af83fd948d2c36fa5d38ea9b5f9d9353cf)

Author SHA1 Message Date
Rob Ede 986dc3f52c
update actix-web to v3 stable (#1125) 4 years ago
nutomic bd0e69b2bb Various things refactored (#95)
Remove unused derive macros

lemmy_rate_limit doesnt depend on lemmy_api_structs anymore

Dont use "pub extern crate"

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/95
4 years ago
Dessalines af364e7fe0 Version v0.7.57 4 years ago
Dessalines 730cb6ce67 Merge branch 'main' into structs_separate 4 years ago
Dessalines 2aaf4228ac
Local timeline (#1111)
* Adding a local filter. Fixes #1103

* Not showing local if there are no federated instances.
4 years ago
Dessalines 4a4629763e Fixing user search leaking emails. 4 years ago
Dessalines 7101ac1b4b Merge branch 'main' into fix_docker_caching 4 years ago
Dessalines 3a6982e7b2 Adding rate_limiter and api_structs. 4 years ago
Dessalines 88978077b5 Merge branch 'fix_docker_caching' into structs_separate 4 years ago
Dessalines e3140235de Use romacs cargo-build-deps tool. 4 years ago
Felix Ableitner 353e2e027a Move api structs and rate limit into separate workspaces 4 years ago
Dessalines dfa9cb57aa Running cargo +nightly fmt. 4 years ago
Felix Ableitner 5d64dfd4dc Remove wildcard imports (in particular super::*) 4 years ago
Felix Ableitner b15c406924 Refactor websocket to split it into multiple files 4 years ago
nutomic d4dccd17ae implement ActivitySender actor (#89)
Merge pull request 'Adding unique ap_ids. Fixes #1100' (#90) from unique_ap_ids into activity-sender

Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/90

Adding back in on_conflict.

Trying to add back in the on_conflict_do_nothing.

Trying to reduce delay time.

Removing createFakes.

Removing some unit tests.

Adding comment jest timeout.

Fixing tests again.

Fixing tests again.

Merge branch 'activity-sender' into unique_ap_ids_2

Replace actix client with reqwest to speed up federation tests

Trying to fix tests again.

Fixing unit tests.

Fixing some broken unit tests, not done yet.

Adding uniques.

Adding unique ap_ids. Fixes #1100

use proper sql functionality for upsert

added logging

in fetcher, replace post/comment::create with upsert

no need to do an actual update in post/comment::upsert

Merge branch 'main' into activity-sender

implement upsert for user/community

reuse http client

got it working

attempt to use background-jobs crate

rewrite with proper error handling and less boilerplate

remove do_send, dont return errors from activity_sender

WIP: implement ActivitySender actor

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/89
4 years ago
Dessalines 18002bc837 Version v0.7.56 4 years ago
Joshua Thomas 0f8372c0fb
Bugfix: Adds case-insensitive SELECT queries to User_::find_by_username() (#1108) 4 years ago
Dessalines 4819bd5608 Version v0.7.55 4 years ago
Dessalines 2d5a50e80f
Fixing broken websocket sends. Removing WebSocketInfo (#1098) 4 years ago
Dessalines 2080534744
Switch front end to use lemmy-js-client. Fixes #1090 (#1097)
* Switch front end to use lemmy-js-client. Fixes #1090

* Adding an HTTP client. Cleaning up Websocket client.
4 years ago
Dessalines dbf231865d
Adding a few more apub tests. (#1096)
* Adding a few more apub tests.

* Fixing travis build, adding a get_post function.
4 years ago
Dessalines e007006daf Version v0.7.54 4 years ago
nutomic 14f2d190e5 Implement context (#86)
Implement context

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/86
4 years ago
Felix Ableitner fd2291c004 Dont send out any activities if federation is disabled (fixes #1095) 4 years ago
Dessalines 82faea7f85 Version v0.7.53 4 years ago
Dessalines ae39ddf031 Fixing some formatting. 4 years ago
Dessalines 3301e0ba50 Merge remote-tracking branch 'yerba/main' into main 4 years ago
nutomic ed72b096b9 Remove tests for unimplemented Crud::delete functions (#87)
Remove tests for unimplemented Crud::delete functions

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/87
4 years ago
Dessalines c323ab5275
Added option to remove banned user data (posts, comments, communities) (#1093)
- Works for both a site-ban, and a community ban.
- Fixes #557
4 years ago
Dessalines 725e46da4a Version v0.7.52 4 years ago
Dessalines abadc79756 Fix community_view clippy 4 years ago
Dessalines 7f97279c48
Fixing community search. Fixes #1084 (#1089) 4 years ago
Dessalines dd0418af18 Version v0.7.50 4 years ago
Felix Ableitner 2a3b475b99 Fix crash in federation tests 4 years ago
Dessalines 6b4eb79237 Merge remote-tracking branch 'yerba/main' into main 4 years ago
nutomic 164a9c29fe Implement instance blocklist (#85)
Implement instance blocklist

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/85
4 years ago
Dessalines 8c7c1f204c
Add a fix for double posts / comments. #1080 (#1081)
* Add a fix for double posts / comments. #1080

* Adding a comment.

* Moving upserts to lemmy_db.
4 years ago
Dessalines 1711eb98b4
Removing some unecessary unwrap. Fixes #639 (#1078)
* Removing some unecessary unwrap. Fixes #639

* Changing some location_infos.

Co-authored-by: Felix Ableitner <me@nutomic.com>
4 years ago
nutomic 9a343cfe8b Limit number of items read from community outbox (#84)
Limit number of items read from community outbox

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/84
4 years ago
Felix Ableitner 4981eb38fb
Merge pull request #1075 from LemmyNet/fix_online_counts
Fixing online counts. Fixes #664
4 years ago
Dessalines c19dfdae64 Fix formatting. 4 years ago
nutomic a496d8af65 Implement undo<dislike> for activitypub (#83)
Merge branch 'main' into undo-dislike

Implement undo<dislike> for activitypub

Fix some TODOs in activitypub code

Add post_read back in, do some cleanup

Add some delete functions back in

Merge branch 'main' into remove-dead-code

Replace body of unused db functions with unimplemented!()

Remove dead code

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/83
4 years ago
Dessalines bb4da4da02 Merge branch 'main' of https://github.com/lemmynet/lemmy into main 4 years ago
Dessalines 8ee6f852cb Some formatting of post.rs 4 years ago
nutomic aace1bd71e Remove dead code (#81)
Add post_read back in, do some cleanup

Add some delete functions back in

Merge branch 'main' into remove-dead-code

Replace body of unused db functions with unimplemented!()

Remove dead code

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/81
4 years ago
Dessalines 8daeba450c
Removing unnecessary oper struct. Fixes #660 (#1077) 4 years ago
Dessalines d28e5245d2
Don't allow preferred usernames to start with @. Fixes #1058 (#1076)
* Don't allow preferred usernames to start with @. Fixes #1058

* Trim the preferred username.
4 years ago
Dessalines 1c3ed864e7 Fixing online counts. Fixes #664 4 years ago
Dessalines 49892690ff Version v0.7.49 4 years ago
Dessalines bc523abd62
Add a simple linked instances page. Fixes #1070 (#1071)
* Add a simple linked instances page. Fixes #1070

* Changing allowed_instances to federated_instances.
4 years ago