summaryrefslogtreecommitdiffstats
path: root/server/src/routes
AgeCommit message (Collapse)Author
2020-07-13Wrap each inbox route individually (#954)Riley
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-06Revert "Verify activitypub payload digests (#885)"Felix Ableitner
This reverts commit 916592944af8e32f2044c9acf0d57eb7991427a5.
2020-07-03Verify activitypub payload digests (#885)Riley
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-06-09Merge branch 'master' into federationFelix Ableitner
2020-05-28get some more things workingFelix Ableitner
2020-05-28move logic to sharedinboxFelix
2020-05-25Remove federation option from master. (#745)Dessalines
2020-05-16Merge branch 'yerba_rework-imports' into federationDessalines
2020-05-16Rework importsFelix
2020-05-15Federated mentions. Fixes #681 (#717)Dessalines
* Federated mentions. Fixes #681 * Changing some todos, adding comments.
2020-05-14Comment search and apub endpointFelix
2020-05-05Federated private messages.Dessalines
2020-04-27Adding activity table inserts.Dessalines
2020-04-27Lots of additions to federation.Dessalines
- Added a shared inbox. - Added federated comments, comment updates, and tests. - Abstracted ap object sends into a common trait.
2020-04-24Some more cleanup.Dessalines
2020-04-24Some fed fixes.Dessalines
2020-04-22Fix header guard for apub responsesFelix
2020-04-22Changing wait to spawn in websocket.Dessalines
2020-04-21Merge branch 'federation' of https://yerbamate.dev/LemmyNet/lemmy into ↵Dessalines
federation
2020-04-21Fixing nodeinfo error type.Dessalines
2020-04-21Merge branch 'master' into merge_master_2Dessalines
2020-04-21Fixing closures.Dessalines
2020-04-21Change apub IDs to be consistent with html urlsFelix
2020-04-21Adding web::blocks to routes.Dessalines
2020-04-21Merge branch 'master' into federation_merge_from_master_1Dessalines
2020-04-20post -> registerasonix
2020-04-20Use get_ip in ratelimit middlewareasonix
2020-04-20Guard CreateCommunity, represent impossible error with Infallibleasonix
2020-04-20Add websockets into the api scopeasonix
2020-04-19Allow rustfmt on api configasonix
2020-04-19Change RateLimit to act as a middlewareasonix
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-17Some code cleanup and better loggingFelix
2020-04-17Remove instance followsFelix
2020-04-17Implement search for activitypub IDsFelix
2020-04-15Send activities to correct inbox, seperate community/user inboxesFelix
2020-04-14Merge branch 'dev' into federationDessalines
2020-04-14Implemented follow/acceptFelix
2020-04-13Get inbox working properlyFelix
2020-04-11Adding live reloading of config.hjson changes through UI.Dessalines
- 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
2020-04-10Adding an admin settings page.Dessalines
- Fixes #620 - Adding a UserListing component. Fixes #627
2020-04-10Add to/cc (and a bunch of todo)Felix
2020-04-09Minor code cleanupFelix
2020-04-09Implement create activityFelix
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