Commit Graph

504 Commits (cac7011d5320b918e154fd68972bac2e3f77bd50)

Author SHA1 Message Date
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 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
5 years ago
Felix 17d3d2492c Federate actor public keys 5 years ago
Felix 5e3902a3bc more todos 5 years ago
Felix 509005fa0c Rename federation-test to federation, puller.rs to fetcher.rs 5 years ago
Felix 492625f6d6 Add to/cc (and a bunch of todo) 5 years ago
Felix 483d11e772 Minor code cleanup 5 years ago
Felix 0b617377df Implement create activity 5 years ago
Felix Ableitner f5b58bcdaf Simplify fetch_posts code 5 years ago
Felix Ableitner 5706b533fd Use instance struct instead of raw string 5 years ago
Felix Ableitner 6962b9c433 Use Url instead of String 5 years ago
Felix Ableitner edd0ef5991 Some refactoring of puller.rs 5 years ago
Felix Ableitner d2bad5f79e Improve error handling 5 years ago
Felix Ableitner 61c560c12c Get users federated 5 years ago
Felix Ableitner d3bd7771d2 remove debug log for post creation 5 years ago
Felix Ableitner b7103a7e14 Store remote communities/posts in db, federate posts! 5 years ago
Felix Ableitner 1b0da74b57 Revert apub endpoint change (again) 5 years ago
Felix Ableitner 095ccae616 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 5 years ago
Felix Ableitner 17bf6baa25 Set accept header and timeout for outgoing apub requests 5 years ago
Dessalines 56947e7710 Removing community name unique constraint. Removing useless fedi_name column from user_table. 5 years ago
Felix 4fadc4d072 Revert apub endpoint url changes 5 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