summaryrefslogtreecommitdiffstats
path: root/server/src/websocket
AgeCommit message (Collapse)Author
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-21Adding websocket blocking.Dessalines
2020-04-20Making websocket create community do register rate limit.Dessalines
2020-04-20Guard CreateCommunity, represent impossible error with Infallibleasonix
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-10Adding an admin settings page.Dessalines
- Fixes #620 - Adding a UserListing component. Fixes #627
2020-03-13Adding full logging.Dessalines
2020-03-12Proper error logging for websocketFelix Ableitner
2020-02-09Adding instant voting / vote animations. Fixes #526Dessalines
2020-02-07Add new comments views to main and community pages. Fixes #480Dessalines
2020-02-06Fixing rate limiting.Dessalines
2020-02-06Fixing rate limit checking to only ping after a success. Fixes #516Dessalines
2020-02-02Removing PostLikeResponse in favor of PostResponse. Consolidating comment ↵Dessalines
and post_sends.
2020-02-02Fixing issue with multiple notifications.Dessalines
2020-01-31Mostly done eliminating recurring fetches.Dessalines
2020-01-31Starting to work on user message scope.Dessalines
2020-01-25Fixing front end error messages. Fixes #462Dessalines
2020-01-23Done merging http-api and private_messageDessalines
2020-01-22Adding private messaging, and matrix user ids.Dessalines
- Fixes #244
2020-01-19Use generics to reduce code duplication in websocketFelix
2020-01-18simplify json serialization codeFelix
2020-01-18small fixFelix
2020-01-18working!Felix
2020-01-15Fix issue with adding multiple instances of chatserver.Dessalines
2020-01-12Trying to add r2d2 connection pooling to websockets.Dessalines
2020-01-10Upgrade actix to 2.0 (fixes #392)Felix
2020-01-02Apply changes suggested by cargo clippy (fixes #395)Felix Ableitner
2019-12-27Implement config (fixes #351)Felix Ableitner
2019-12-07Add default options for all parameters and move them out of the constructor. ↵Lyra
Rename structure to PostQueryBuilder
2019-12-07Use a dedicated structure in order to search postsLyra
2019-10-29Halfway done with email, not fully working yet.Dessalines
2019-10-20Adding default sort / filter into user settings.Dessalines
- Fixes #295
2019-10-19Adding username mentions / tagging from comments.Dessalines
- Fixes #293
2019-10-15Adding permanently delete account comments and posts.Dessalines
- Fixes #285 - Fixes #58
2019-10-13Externalizing rate limits. Upgrading to Rust 1.38Dessalines
- Fixes #290
2019-09-13Adding an online user count to main page.Dessalines
- Fixes #274
2019-09-10Fix rate limit on signup fail.Dessalines
- Fixes #273
2019-09-08Upping post timeout.Dessalines
2019-09-07Running cargo fmt on server code.Dessalines
- Adding a .rustfmt.toml for the 2 space indent.
2019-09-03Adding a separate Post limit timeout.Dessalines
- Fixes #262
2019-08-30Fixing crash on unknown op type.Dessalines
- Fixes #251
2019-08-23Adding Community and Site transferDessalines
- Fixes #139
2019-08-21View where a URL has been cross-posted to in the pastDessalines
- This shows when creating a post, or when viewing a post. - Fixes #131
2019-08-13Squashed commit of the following:Dessalines
commit ecd6c5a2f47cbbb2fc4bf482fadd78380303a904 Author: Dessalines <happydooby@gmail.com> Date: Tue Aug 13 19:49:38 2019 -0700 Adding some docs commit 3babd09affb1920da3d0a0ceb7e24c8aeeb9cf1a Author: Dessalines <happydooby@gmail.com> Date: Tue Aug 13 19:28:46 2019 -0700 Adding save user settings commit 6e8da9cc9e522d0da668bfa31944c3348cc79620 Merge: 3246d5d c148eef Author: Dessalines <happydooby@gmail.com> Date: Tue Aug 13 17:26:25 2019 -0700 Merge branch 'dev' into nsfw commit b3d4a5c4ce441bcc664704aba44cedb51d887599 Author: Dessalines <happydooby@gmail.com> Date: Sun Aug 11 20:55:09 2019 -0700 nsfw mostly done, except for settings page.
2019-06-03Using Rust 2018 now.Dessalines
- Fixes #170
2019-05-07A better login cooldown.Dessalines
2019-05-05Done with reorgDessalines
2019-05-04Mostly done with reorg.Dessalines