Commit Graph

629 Commits (7556f8615fb859a400595960484da11da3d2ce41)

Author SHA1 Message Date
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. 4 years ago
Dessalines cb49a7e790 Version v0.6.45 4 years ago
Felix Ableitner cb7059f832 Move and rename some functions 4 years ago
Felix Ableitner c16458b728 Avoid using database views in federation code 4 years ago
Felix Ableitner 6a7a262912 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 4 years ago
Felix Ableitner 96c3621a80 Share list of communities over apub, some refactoring 4 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.
4 years ago
Dessalines 31f835db86 Merge branch 'master' into federation 4 years ago
Dessalines a006f498b1 Merge branch 'nutomic-auto-setup' into dev 4 years ago
Felix 76bf71162e Automatic instance setup based on config variables (fixes #404) 4 years ago
Dessalines 1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 4 years ago
Dessalines 5ca466117d Merge branch 'master' into federation 4 years ago
Felix bafc2fc7ac Convert md to html for feeds, try to deduplicate code 4 years ago
Dessalines ac6dc65342 Version v0.6.44 4 years ago
Dessalines ef9ae09c2b Version v0.6.43 4 years ago
Dessalines da36f1dacc Version v0.6.42 4 years ago
Felix Ableitner 4354f868fd Merge branch 'federation' of ssh://yerbamate.dev:222/nutomic/lemmy into federation 4 years ago
Felix bf52bc22e4 Replace reqwest with chttp 4 years ago
Felix Ableitner 875545f7e1 Adjust for updated Rust version 4 years ago
Felix Ableitner 672798e711 Populate post data from apub 4 years ago
Dessalines 807f33f748 Version v0.6.41 4 years ago
Dessalines 10b0667764 Version v0.6.40 4 years ago
Dessalines d2cf36bf02 Updating chttp to isahc. 4 years ago
Dessalines dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 4 years ago
asonix 20a06ce3f2 Merge branch 'federation' of https://yerbamate.dev/nutomic/lemmy into federation 4 years ago
asonix cfe0d9c9c2 Upgraded to latest activitystreams 4 years ago
Felix Ableitner 33cce05300 Merge branch 'master' into federation 4 years ago
Felix Ableitner 390b204272 Rewrite federation settings 4 years ago
Felix Ableitner bd030470b1 Read remote nodeinfo before doing anything 4 years ago
Felix Ableitner 5043a52b88 Serve post data in apub format, some cleanup 4 years ago
Felix Ableitner 05735b31c0 Remove boilerplate code 4 years ago
Felix Ableitner 8ebcc7ac02 Implemented basics for post federation, plus a bunch of other stuff 4 years ago
Felix Ableitner 5896a9d251 Move apub related code from websocket into api package 4 years ago
Felix Ableitner b01f4f75d6 WIP: federate posts between instances 4 years ago
Dessalines 62ab68d317 Adding full logging. 4 years ago
Felix Ableitner 063811cb60 Merge branch 'master' into federation 4 years ago
Felix Ableitner ef6df1339f Proper error logging for websocket 4 years ago
Felix 27c07f1f84 Federate follower count, use string id for community 4 years ago
Felix 54172bd322 updated to activitystreams 0.4.0-alpha.3 4 years ago
Felix 8867fa1d52 use urls for id again, more comments 4 years ago
Felix Ableitner 18be8b10f5 improved community federation (wip) 4 years ago
Dessalines 62679090a3 Version v0.6.39 4 years ago
Dessalines edb7ab2638 Version v0.6.38 4 years ago
Dessalines 8989aa1714 Version v0.6.37 4 years ago
Dessalines 450ebf4e38 Version v0.6.36 4 years ago
Dessalines d7ff72a538 Version v0.6.35 4 years ago
Dessalines 5427c4a230 Version v0.6.34 4 years ago
Dessalines d1ee0d7af7 Merge branch 'yerba_master' 4 years ago
nutomic bf1db428f6 Move volumes into subfolder (ref #474) (#23)
Change ports and container names

Move volumes into subfolder (ref #474)

Merge pull request #587 from StaticallyTypedRice/patch-2

Clarify that content violating this code of conduct will likely be removed.
Clarify that content violating this code of conduct will likely be removed.

Lemmy has a general policy of removing any content that violates the rules whenever possible, which is typically a good thing, and I felt it important to mention that in the code of conduct.

Co-authored-by: Felix <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Richie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>
4 years ago
Dessalines 4a1f744211 Adding community title and description searching. Fixes #589 4 years ago
Dessalines 2eb681413d Version v0.6.33 4 years ago
Dessalines 63051717d7 Version v0.6.32 4 years ago
Dessalines 5396cb2f5c Running cargo update. 4 years ago
Dessalines ac280782b2 Iframely and pictshare backend mostly done. 4 years ago
Dessalines 496c4e523c Version v0.6.31 4 years ago
Dessalines 970e0b5185 Version v0.6.30 4 years ago
Dessalines 876d311706 Remove email from GetUserDetails when not same user. Fixes #579 4 years ago
Felix 34a827a270 comment 4 years ago
Felix 91ae9a9d49 Revert "pull in activitypub library"
This reverts commit a52a954eb4.
4 years ago
Dessalines 80f9003135 Version v0.6.29 4 years ago
Dessalines 6c6e7aa872 Version v0.6.28 4 years ago
Dessalines f607e98565 Version v0.6.27 4 years ago
Dessalines 8ed1610f48 Version v0.6.26 4 years ago
Felix 1f29e91796 Various minor federation improvements 4 years ago
Felix 7cdf167e4b pull in activitypub library 4 years ago
Felix b854d8f3a0 Some federation improvements 4 years ago
Felix f9443dfbd3 Merge branch 'master' into federation 4 years ago
Dessalines 72c5bdbf9e Version v0.6.25 4 years ago
Dessalines 883c8decde Version v0.6.24 4 years ago
Dessalines b18c87b9c4 Version v0.6.23 4 years ago
Dessalines fd82487ab5 Version v0.6.22 4 years ago
Dessalines 1e5d93d9bb Version v0.6.21 4 years ago
Dessalines 50600938cb Version v0.6.20 4 years ago
Dessalines ce8fadae52 Merge branch 'master' of https://github.com/dessalines/lemmy 4 years ago
Dessalines b6ce26023e Version v0.6.19 4 years ago
Richard ed07e98bff changed permissions from db-init.sh to be able to run 4 years ago
Dessalines 91649d21ae Version v0.6.18 4 years ago
Dessalines f1392dc9a7 Version v0.6.17 4 years ago
Dessalines 9c8fe0379f Adding instant voting / vote animations. Fixes #526 4 years ago
Dessalines 56cd103209 Fixing some technical debt. Fixes #524 4 years ago
Dessalines 8baa483c89 Version v0.6.16 4 years ago
Dessalines 4b0227c45e Change post sorting hot rank to use newest comment time. Fixes #517 4 years ago
Dessalines 41d8642bf5 Version v0.6.15 4 years ago
Dessalines ecd10482a6 Add new comments views to main and community pages. Fixes #480 4 years ago
Dessalines 779a72581c Version v0.6.14 4 years ago
Dessalines b6fceec6dd Adding post body searching. Fixes #507 4 years ago
Dessalines be77e30110 Version v0.6.13 4 years ago
Dessalines 218653c52f Fixing rate limiting. 4 years ago
Dessalines cd4001b2ef Merge branch 'minor_changes' of https://github.com/StaticallyTypedRice/lemmy into StaticallyTypedRice-minor_changes 4 years ago
Dessalines 1c030d1fb6 Version v0.6.12 4 years ago
Dessalines 94b1bbe5aa Merge branch 'post_title_length' into rate_limit_fixes 4 years ago
Dessalines 1369ad1fbc Fixing rate limit checking to only ping after a success. Fixes #516 4 years ago
Richie Zhang 33563c3e9f Implement password verification in db-init.sh. 4 years ago
Dessalines 65a6e7731c Increasing post title length limit to 200. Fixes #515 4 years ago
Richie Zhang da6cdb7c26 Create db-init.sh 4 years ago
Dessalines d932acad16 Merge branch 'federation' into dev_1 4 years ago
Dessalines 420fb5a847 Version v0.6.11 4 years ago
Dessalines 7e64d033bf Version v0.6.10 4 years ago
Felix 032ebe7a9e Integrate email relay in Ansible setup 4 years ago
Dessalines ee2038a75a Returning specific slurs from slur filter on failure. Fixes #463 4 years ago