summaryrefslogtreecommitdiffstats
path: root/server/src/routes/nodeinfo.rs
AgeCommit message (Collapse)Author
2020-07-10Split code into cargo workspaces (#67)nutomic
More fixes - fixed docker builds - fixed mentions regex test - fixed DATABASE_URL stuff - change schema path in diesel.toml Address review comments - add jsonb column back into activity table - remove authors field from cargo.toml - adjust LEMMY_DATABASE_URL env var usage - rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL Decouple utils and db Split code into cargo workspaces Co-authored-by: Felix Ableitner <me@nutomic.com> Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
2020-07-01Federation async (#848)Riley
* Asyncify more * I guess these changed * Clean PR a bit * Convert more away from failure error * config changes for testing federation * It was DNS So actix-web's client relies on TRust DNS Resolver to figure out where to send data, but TRust DNS Resolver seems to not play nice with docker, which expressed itself as not resolving the name to an IP address _the first time_ when making a request. The fix was literally to make the request again (which I limited to 3 times total, and not exceeding the request timeout in total) * Only retry for connecterror Since TRust DNS Resolver was causing ConnectError::Timeout, this change limits the retry to only this error, returning immediately for any other error * Use http sig norm 0.4.0-alpha for actix-web 3.0 support * Blocking function, retry http requests * cargo +nightly fmt * Only create one pictrs dir * Don't yarn build * cargo +nightly fmt
2020-05-16Rework importsFelix
2020-04-27Adding activity table inserts.Dessalines
2020-04-24Some fed fixes.Dessalines
2020-04-21Fixing nodeinfo error type.Dessalines
2020-04-21Merge branch 'master' into merge_master_2Dessalines
2020-04-21Fixing closures.Dessalines
2020-04-21Adding web::blocks to routes.Dessalines
2020-04-21Merge branch 'master' into federation_merge_from_master_1Dessalines
2020-04-19Adding websocket notification system.Dessalines
- 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
2020-04-17Remove instance followsFelix
2020-04-08Use Url instead of StringFelix Ableitner
2020-04-03Merge branch 'federation_add_fed_columns' of ↵Felix Ableitner
https://yerbamate.dev/dessalines/lemmy into federation
2020-04-03Share list of communities over apub, some refactoringFelix Ableitner
2020-04-02Merge branch 'master' into federationDessalines
2020-03-28Changing markdown parser to comrak. Moving crate imports to lib.rs.Dessalines
2020-03-18Rewrite federation settingsFelix Ableitner
2020-03-18Read remote nodeinfo before doing anythingFelix Ableitner
2020-01-19Use actual structs for nodeinfoFelix
2020-01-12Fixing nodeinfo endpoint.Dessalines
2020-01-12Cleaning up nodeinfo.Dessalines
2020-01-12Trying to add r2d2 connection pooling to websockets.Dessalines
2020-01-11Make various functions asyncFelix
2020-01-02Apply changes suggested by cargo clippy (fixes #395)Felix Ableitner
2019-12-31Adding open_registration to nodeinfo.Dessalines
2019-12-31Use actix config to handle routes in seperate folders (#378)Felix Ableitner