Commit Graph
356 Commits
Author SHA1 Message Date
Paul Makles 5d3fef3bfa Merge pull request #82 from revoltchat/rauth-v1 2021-09-11 17:53:21 +01:00
Paul 8bb5fb25dd Fix bot logon, should do nested match.
Add comment to migrations.
Fix attachment deletes on messages.
2021-09-11 17:46:20 +01:00
Paul fa8eb874d0 Handle both numerical and binary pings. 2021-09-11 12:43:26 +01:00
Paul 06f968022d Update to rAuth v1, closes #63.
Add Pong packet for normal frames.
2021-09-11 11:23:15 +01:00
goat 77422f023e fix(january): add youtube timestamp field 2021-09-07 17:10:44 +02:00
Paul 862f57235c Fallback to unknown user.
Add GitHub CI.
2021-09-03 16:26:34 +01:00
Paul 835a32932f Merge branch 'master' of https://github.com/revoltchat/delta 2021-09-03 16:15:27 +01:00
Paul dbfed52f17 Prevent access to bot routes as bot. 2021-09-03 14:37:40 +01:00
Yannick Funk 43b75a2310 Add author and tag to push notification 2021-09-02 23:22:23 +02:00
Yannick Funk 5a17038012 Remove whitespace 2021-09-02 20:34:26 +02:00
Yannick Funk f6b55574b1 Only build notification when there are subscriptions 2021-09-02 20:32:36 +02:00
Yannick Funk b5aa0ee971 Remove print 2021-09-02 18:24:22 +02:00
Yannick Funk 697132082a First draft for push notifications 2021-09-01 21:52:24 +02:00
Yannick Funk ffa721117e Shorten regex further 2021-08-25 16:34:42 +02:00
Yannick Funk c29f6d830c Ignore I L O and u 2021-08-25 16:32:11 +02:00
Yannick Funk effe3763da Shorten regex and adapt capture evaluation 2021-08-25 00:10:20 +02:00
Yannick Funk 1ecd74eb6c Remove whitespace 2021-08-23 14:25:09 +02:00
Yannick Funk ceb35e58ce Parse ws spec ping messages 2021-08-23 14:22:23 +02:00
Zomatree 31ebf19cf9 color -> colour 2021-08-23 12:44:59 +01:00
Zomatree 867962cc3c reword comment 2021-08-17 17:35:05 +01:00
Zomatree bcfde79745 add msgpack support 2021-08-17 17:23:36 +01:00
Paul 326e539ad3 Fix issues with incoming PRs. 2021-08-16 14:07:42 +01:00
Paul Makles c632341eb7 Merge pull request #36 from Zomatree/master 2021-08-16 13:57:09 +01:00
Paul Makles 6de1d1f98b Merge pull request #38 from heikkari/13-24 2021-08-16 13:52:42 +01:00
heikkari 721ca3a4f5 Enhancement: Routes with no body should return 204 No Content. 2021-08-16 15:34:44 +03:00
heikkari 48d2fbe5ae Add a responder for empty responses 2021-08-16 14:05:59 +03:00
heikkari c1d03960ed Respond to malformed WS packets 2021-08-16 13:40:52 +03:00
Zomatree 08fe01a7f2 actually remove old func 2021-08-16 01:06:13 +01:00
Zomatree d972395e43 use existing if_false function 2021-08-16 00:35:53 +01:00
Zomatree 5179504ad9 remove whitespace 2021-08-16 00:24:55 +01:00
Zomatree d4f7c4a77d add nsfw to servers and channels 2021-08-16 00:18:14 +01:00
Paul Makles 28c4312880 Merge pull request #35 from heikkari/34 2021-08-15 23:45:12 +01:00
heikkari 7e84d2671a Move code to database/entities/user.rs 2021-08-16 01:26:05 +03:00
Paul bffac8c4c0 Update CORS options.
Disallow bots to be added as friends.
2021-08-15 23:11:33 +01:00
heikkari 3b5bebab78 Fix: User's invisibility status is exposed 2021-08-16 01:05:54 +03:00
heikkari e35a6b12e1 Fix: User's invisibility status is exposed 2021-08-16 00:40:33 +03:00
Paul f04137d50f Include servers in mutual route. 2021-08-12 16:16:13 +01:00
Paul b3bdf403cf Add delete route for bots. Closes #8. 2021-08-12 14:28:46 +01:00
Paul bd3606176a Add bot edit route for #8. 2021-08-12 14:05:48 +01:00
Paul a71bfa908c Add fetch owned, public and specific bots for #8. 2021-08-12 13:40:03 +01:00
Paul 9f749cfdf8 Invite bot to server / group for #8. 2021-08-12 09:24:06 +01:00
Paul 93610ebbc3 Restrict bots from creating servers, groups, acking messages, and making friends. 2021-08-11 20:16:11 +01:00
Paul 084d71f050 Add role hoisting / ranking.
Add bot creation for #8.
2021-08-11 20:04:22 +01:00
Paul e70f848f21 Patch password length limit on change username. 2021-08-09 14:53:26 +01:00
Paul e7065cbf1d Bump reqwest version.
Add mark server as read route.
Mark servers as read on join.
2021-08-07 12:26:25 +01:00
Paul 8890e3bab0 Fixes #2: Include own beta badge in payload object 2021-08-06 17:34:48 +01:00
Paul f09fde616a Add rate limiting to message sending. 2021-08-06 17:24:16 +01:00
Paul 6fe0725799 Organise Cargo.toml 2021-08-06 17:24:16 +01:00
Paul 382972ea22 Migrate the rest of the code. 2021-08-06 17:24:16 +01:00
Paul 9fec4e48c0 Start moving to Rocket 0.5.0 2021-08-06 17:24:16 +01:00