Commit Graph

591 Commits (97e088dcbfb91bb16bd0190f8d956095755e8cb4)

Author SHA1 Message Date
Dessalines b177cbce1d Renaming ignore to unfollow in followable trait. 4 years ago
Dessalines b8b2398d32 Adding undo follow community. 4 years ago
Dessalines fab22e3d8a Add federated comment and post undo like. 4 years ago
Dessalines 88e1251d6b Version v0.6.56 4 years ago
Dessalines 2f7a4ecdb2 Updating Cargo deps. Fixes #666 4 years ago
Dessalines dfc9637230 Merge branch 'federation' into federated_remove_actions 4 years ago
Dessalines 2c22e413eb Merge branch 'federation' into federated_remove_actions 4 years ago
Dessalines 67d4daa7a1 Merge pull request #687 from LemmyNet/undo_delete_community
Undo delete for community, comment, and post.
4 years ago
Dessalines 211ef795e9 Some additional notes, reorg. 4 years ago
Dessalines a09c818746 Adding federated mod remove actions. 4 years ago
Dessalines 5366797a4b Add undos for delete community, post, and comment. 4 years ago
Dessalines 2f1cd9976d Adding federated community, comment, and post deletes.
- Unit tests added too.
- No undeletes working yet.
4 years ago
pfcoder 6d73b16716 fix shell quotation error of server db-init.sh 4 years ago
Felix 461114c143 update activitystreams lib 4 years ago
Dessalines 38cdfdf7e0 Changing federated community and user links and searching.
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
4 years ago
Felix 770dcbdc49 wip: add former_type to tombstone 4 years ago
Dessalines 8cd68f56aa Adding shorthand federated object searching. 4 years ago
Felix c43f06124a Address comments, implement delete for posts and comments 4 years ago
Felix 0c0c683986 Implement deleting communities 4 years ago
Dessalines 59bba148ff Merge branch 'federation' into add_federated_post_likes 4 years ago
Dessalines b60c7bbae7 Merge branch 'federation' into add_activity_table 4 years ago
Dessalines 07a9d84ed0 Removing some comments. 4 years ago
Dessalines 3b62f58dd2 Adding federated post and comment likes. 4 years ago
Dessalines 6eaa06ab02 Merge branch 'shared_inbox_1' into add_federated_post_likes 4 years ago
Dessalines 9721b77317 1/3rd done with post likes 4 years ago
Dessalines 4b741c3759 Adding a better switching for activity kinds for the shared inbox. 4 years ago
Dessalines 70060c27b2 Adding activity table inserts. 4 years ago
Dessalines 22abbebd41 Lots of additions to federation.
- Added a shared inbox.
- Added federated comments, comment updates, and tests.
- Abstracted ap object sends into a common trait.
4 years ago
Dessalines 66134823bf Version v0.6.55 4 years ago
Dessalines 3ce0618362 Making a trait function for follow and accept. 4 years ago
Dessalines 92e4edf9b7 Version v0.6.54 4 years ago
Dessalines 079ac091eb Adding back in post fetching. 4 years ago
Dessalines b5a5b307a0 Adding get_public_key_ext() to ActorType trait. 4 years ago
Dessalines 8a25f0f816 Use an associated type instead of Generic. 4 years ago
Dessalines d846740839 Some more cleanup. 4 years ago
Dessalines 66a2c4a2c3 Some fed fixes. 4 years ago
Felix b8aaf5c1f1 Also use correct header in fetcher.rs 4 years ago
Felix 70816a4779 Fix header guard for apub responses 4 years ago
Dessalines c22090c602 Version v0.6.53 4 years ago
Dessalines 313d023eef Changing wait to spawn in websocket. 4 years ago
Dessalines b2a89cd217 Version v0.6.52 4 years ago
Dessalines 92e30311ce Merge branch 'federation' of https://yerbamate.dev/LemmyNet/lemmy into federation 4 years ago
Dessalines 0425e8b114 Fixing nodeinfo error type. 4 years ago
Dessalines 18e570b021 Merge branch 'master' into merge_master_2 4 years ago
Dessalines 6b58080067 Adding websocket blocking. 4 years ago
Dessalines 809cc1049e Fixing closures. 4 years ago
Felix 957e4a2611 Change apub IDs to be consistent with html urls 4 years ago
Dessalines 01b7ac5fb9 Merge branch 'master' into routes_web_block 4 years ago
Dessalines d98c936295 Adding web::blocks to routes. 4 years ago
Dessalines f0026065f5 Merge branch 'master' into federation_merge_from_master_1 4 years ago
Dessalines 697c62fb64 Change local unique username constraints. 4 years ago
Dessalines b98fa12741 Version v0.6.51 4 years ago
Dessalines 217a9b00b8 Merge branch 'abstract_websocket_sends' 4 years ago
Dessalines c0f4d5260f Merge branch 'asonix-abstract_websocket_sends' into abstract_websocket_sends 4 years ago
Dessalines 0d4679a37b Making websocket create community do register rate limit. 4 years ago
asonix 05b961a90a Remove unused methods 4 years ago
asonix d11af012fc post -> register 4 years ago
asonix d058db95e5 Use get_ip in ratelimit middleware 4 years ago
asonix 4df2031ae0 Give ratelimit fields explicit names 4 years ago
asonix 904ebf34a5 Guard CreateCommunity, represent impossible error with Infallible 4 years ago
asonix db4454b52b Add websockets into the api scope 4 years ago
Dessalines c18fa5a38e Changing warn to debug for rate limiting message. 4 years ago
asonix 217efdd706 Allow rustfmt on api config 4 years ago
asonix 4712ae4eb0 appease clippy 4 years ago
asonix ac43b86b60 Change RateLimit to act as a middleware 4 years ago
Dessalines f300c67a4d Adding websocket notification system.
- HTTP and APUB clients can now send live updating messages to websocket
  clients
- Rate limiting now affects both HTTP and websockets
- Rate limiting / Websocket logic is now moved into the API Perform
  functions.
- TODO This broke getting current online users, but that will have to
  wait for the perform trait to be made async.
- Fixes #446
4 years ago
Felix 7117b5ce32 Verifyt http signatures 4 years ago
Felix 5284dc0c52 Simplify signing code 4 years ago
Felix 8daf72278d Add http signature to outgoing apub requests 4 years ago
Felix a49bd1d42a Fix bug in whitelist implementation 4 years ago
Felix b1b97db11a Implement instance whitelist 4 years ago
Felix c5ced6fa5e Added documentation for most functions 4 years ago
Felix 8908c8b184 Some code cleanup and better logging 4 years ago
Felix 9c974fbe50 Remove instance follows 4 years ago
Felix 86f172076b Implement search for activitypub IDs 4 years ago
Felix 9a85f1b25f Send activities to correct inbox, seperate community/user inboxes 4 years ago
charleshthomasiii 09836bffef Add apache benchmark installation check 4 years ago
Dessalines be6a7876b4 Version v0.6.50 4 years ago
Dessalines 7ba6ee8714 Redundant to_owned 4 years ago
Dessalines fcf1c65fc1 Front end federation names and links for users, posts, and communities. 4 years ago
Dessalines 1336b4ed60 Merge branch 'dev' into federation 4 years ago
Dessalines 26ad37a8c0 Updating views to add apub actor_id and local columns. 4 years ago
Dessalines 9878a58452 Fixing unwrap crash with site_view.rs 4 years ago
Felix 19c8461397 Implemented follow/accept 4 years ago
Dessalines 6d5518cbd4 Merge branch 'dev' into admin_settings 4 years ago
Felix fdaf0b3364 Get inbox working properly 4 years ago
Felix fac1cc7e1d Use summary field for post title 4 years ago
Dessalines 8192f69584 Version v0.6.49 4 years ago
Dessalines a26bff6921 Version v0.6.48 4 years ago
Felix fc951d9295 Added comments about how to federate additional post/user fields 4 years ago
Dessalines c92201a674 Removing redundant to_owned 4 years ago
Dessalines 61815bce2e Adding live reloading of config.hjson changes through UI.
- https://stackoverflow.com/questions/61159698/update-re-initialize-a-var-defined-in-lazy-static/61161271#61161271
- https://stackoverflow.com/questions/29654927/how-do-i-assign-a-string-to-a-mutable-static-variable/47181804#47181804
4 years ago
Dessalines bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
4 years ago
Felix 17d3d2492c Federate actor public keys 4 years ago
Felix 5e3902a3bc more todos 4 years ago
Felix 509005fa0c Rename federation-test to federation, puller.rs to fetcher.rs 4 years ago
Felix 492625f6d6 Add to/cc (and a bunch of todo) 4 years ago
Felix 483d11e772 Minor code cleanup 4 years ago
Felix 0b617377df Implement create activity 4 years ago
Felix Ableitner f5b58bcdaf Simplify fetch_posts code 4 years ago
Felix Ableitner 5706b533fd Use instance struct instead of raw string 4 years ago
Felix Ableitner 6962b9c433 Use Url instead of String 4 years ago
Felix Ableitner edd0ef5991 Some refactoring of puller.rs 4 years ago
Felix Ableitner d2bad5f79e Improve error handling 4 years ago
Felix Ableitner 61c560c12c Get users federated 4 years ago
Felix Ableitner d3bd7771d2 remove debug log for post creation 4 years ago
Felix Ableitner b7103a7e14 Store remote communities/posts in db, federate posts! 4 years ago
Felix Ableitner 1b0da74b57 Revert apub endpoint change (again) 4 years ago
Felix Ableitner 095ccae616 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 4 years ago
Felix Ableitner 17bf6baa25 Set accept header and timeout for outgoing apub requests 4 years ago
Dessalines 56947e7710 Removing community name unique constraint. Removing useless fedi_name column from user_table. 4 years ago
Felix 4fadc4d072 Revert apub endpoint url changes 4 years ago
Dessalines 85ea1046f0 Adding post and comment ap_id columns. 5 years ago
Dessalines cb49a7e790 Version v0.6.45 5 years ago
Felix Ableitner cb7059f832 Move and rename some functions 5 years ago
Felix Ableitner c16458b728 Avoid using database views in federation code 5 years ago
Felix Ableitner 6a7a262912 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 5 years ago
Felix Ableitner 96c3621a80 Share list of communities over apub, some refactoring 5 years ago
Dessalines 9197b39ed6 Federation DB Changes.
- Creating an activity table.
- Adding some federation-related columns to the user_ and community
  tables.
- Generating the actor_id and keys in code, updating the tables.
5 years ago
Dessalines 31f835db86 Merge branch 'master' into federation 5 years ago
Dessalines a006f498b1 Merge branch 'nutomic-auto-setup' into dev 5 years ago
Felix 76bf71162e Automatic instance setup based on config variables (fixes #404) 5 years ago
Dessalines 1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 5 years ago
Dessalines 5ca466117d Merge branch 'master' into federation 5 years ago
Felix bafc2fc7ac Convert md to html for feeds, try to deduplicate code 5 years ago
Dessalines ac6dc65342 Version v0.6.44 5 years ago
Dessalines ef9ae09c2b Version v0.6.43 5 years ago
Dessalines da36f1dacc Version v0.6.42 5 years ago
Felix Ableitner 4354f868fd Merge branch 'federation' of ssh://yerbamate.dev:222/nutomic/lemmy into federation 5 years ago
Felix bf52bc22e4 Replace reqwest with chttp 5 years ago
Felix Ableitner 875545f7e1 Adjust for updated Rust version 5 years ago
Felix Ableitner 672798e711 Populate post data from apub 5 years ago
Dessalines 807f33f748 Version v0.6.41 5 years ago
Dessalines 10b0667764 Version v0.6.40 5 years ago
Dessalines d2cf36bf02 Updating chttp to isahc. 5 years ago
Dessalines dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 5 years ago
asonix 20a06ce3f2 Merge branch 'federation' of https://yerbamate.dev/nutomic/lemmy into federation 5 years ago
asonix cfe0d9c9c2 Upgraded to latest activitystreams 5 years ago
Felix Ableitner 33cce05300 Merge branch 'master' into federation 5 years ago
Felix Ableitner 390b204272 Rewrite federation settings 5 years ago
Felix Ableitner bd030470b1 Read remote nodeinfo before doing anything 5 years ago
Felix Ableitner 5043a52b88 Serve post data in apub format, some cleanup 5 years ago
Felix Ableitner 05735b31c0 Remove boilerplate code 5 years ago
Felix Ableitner 8ebcc7ac02 Implemented basics for post federation, plus a bunch of other stuff 5 years ago
Felix Ableitner 5896a9d251 Move apub related code from websocket into api package 5 years ago
Felix Ableitner b01f4f75d6 WIP: federate posts between instances 5 years ago
Dessalines 62ab68d317 Adding full logging. 5 years ago
Felix Ableitner 063811cb60 Merge branch 'master' into federation 5 years ago
Felix Ableitner ef6df1339f Proper error logging for websocket 5 years ago
Felix 27c07f1f84 Federate follower count, use string id for community 5 years ago