Commit Graph
100 Commits
Author SHA1 Message Date
Paul 08c1aa6f5d feat(messaging): add masquerade to messages 2021-11-04 20:50:30 +00:00
Paul 84ba038350 chore: bump version to 0.5.3-alpha.7 2021-11-02 13:41:52 +00:00
Paul 8eb6f5a8af chore(task_queue): add logging 2021-11-02 13:41:08 +00:00
Paul 012a30ce61 feat(task_queue): ack task
closes #111 and closes #86
2021-11-02 13:30:36 +00:00
Paul 0025bea23d feat(task_queue): web push task
closes #113
2021-11-02 12:50:35 +00:00
Paul 997d1fffc0 feat(task_queue): process embeds task
closes #112
2021-11-01 22:04:11 +00:00
Paul 6366e0ac24 feat(task_queue): last_message_id task
closes #110
2021-11-01 20:54:48 +00:00
Paul 8d25dd1d65 feat: implement idempotency tokens
closes #108 and closes #106
2021-11-01 18:32:45 +00:00
Paul 49c7bc0ffe fix: prevent server owner being kicked
Fixes #96.
2021-11-01 13:51:38 +00:00
Paul Makles fe5ba39e21 chore(docker): split up amd64 / arm64 builds
attempts to help with #103
2021-11-01 13:21:34 +00:00
Paul 2a4e290489 chore: bump version to 0.5.3-alpha.6 2021-10-31 18:28:31 +00:00
Paul Makles 193846e289 chore(ci): update Docker workflow
Adjusts current workflow to build images when any tag is created.
2021-10-31 18:25:28 +00:00
Paul Makles 7421ffc8a2 Merge pull request #90 from Mar0xy/patch-1 2021-09-23 18:00:24 +01:00
Paul 2ef6b28029 Switch to Redis from MongoDB for event broker.
Closes #1.
2021-09-19 22:13:25 +01:00
Paul e5e0031cad Fix rate limiter for bots.
Use local-request state to cache User object.
2021-09-18 20:06:00 +01:00
Paul 0dcf8cb281 Bump rauth release and publish changes. 2021-09-18 19:06:59 +01:00
Paul 37d45889ec Add reported flag and bump version. 2021-09-17 13:45:05 +01:00
Paul Makles 8e9991a2de Merge pull request #84 from rmeritz/change-username 2021-09-17 13:26:40 +01:00
Paul MaklesandSplatterxl a6d49d388f Update src/routes/users/change_username.rs
Co-authored-by: Splatterxl <splatterxl@outlook.ie>
2021-09-17 13:26:32 +01:00
Paul Makles 6eee1bc669 Merge pull request #79 from Zomatree/ratelimits 2021-09-17 13:26:03 +01:00
Paul f8e9924f18 Drop support for armv7 Docker builds. 2021-09-16 10:30:59 +01:00
Paul 6e1f3a79cf Update Docker image to use buster-slim + glibc. 2021-09-15 22:43:23 +01:00
Paul Makles b1f5ba32ff Merge pull request #73 from Zomatree/msgpack_fix
fix msgpack encoding
2021-09-15 22:42:16 +01:00
Paul Makles 53aa2818b4 Merge pull request #88 from meguminloli/re_username 2021-09-15 21:30:58 +01:00
Paul Makles 2e40927457 Merge branch 'master' into msgpack_fix 2021-09-15 21:12:27 +01:00
Paul Makles e2da00e6b0 Merge pull request #83 from Jan0660/master
Add route for fetching self for bots and users
2021-09-14 21:22:34 +01:00
Paul 839b66109c Only run Docker test if Dockerfile changes in PR. 2021-09-14 21:19:57 +01:00
Paul Makles 7f3141eec4 Merge pull request #81 from goaaats/feat/embed_improvements 2021-09-14 21:15:06 +01:00
Paul Makles 536e335b25 Merge branch 'master' into feat/embed_improvements 2021-09-14 20:54:21 +01:00
Paul Makles 4b8205b75b Merge pull request #76 from goaaats/feature/server_limit
Add basic server limit
2021-09-14 20:52:16 +01:00
Paul 3cbc548dd8 Don't run Docker test on PR. 2021-09-14 20:50:39 +01:00
Paul Makles 6a44a00eeb Merge pull request #77 from yannickfunk/unit-tests 2021-09-14 20:38:08 +01:00
Paul b4db321d0e Fix missing definition of flags on creation. 2021-09-14 16:16:18 +01:00
Paul Makles 0eb52d32ef Merge pull request #68 from ryanalexander/server-flags
Add server flags value
2021-09-14 16:05:08 +01:00
Paul 9b6893ca48 Write database migration for last_message_id. #67 2021-09-14 15:07:41 +01:00
Paul Makles 8aa92564fc Merge pull request #67 from yannickfunk/unify-last-message 2021-09-14 13:39:27 +01:00
Paul ad364320c8 Fix route definitions for change pass / email. 2021-09-12 21:37:42 +01:00
Paul 0b0249f544 Fix migration again. 2021-09-11 21:11:15 +01:00
Paul d0cb73106d Fix session migration. 2021-09-11 18:41:06 +01:00
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
Paul Makles 65165b1f8e Merge pull request #80 from goaaats/fix/youtube_timestamp 2021-09-09 20:50:31 +01:00
Paul 5328c66cbb Fix image name. 2021-09-03 16:27:53 +01: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 Makles 03cb48ed00 Merge pull request #72 from yannickfunk/push-notifications 2021-09-03 16:13:24 +01:00
Paul dbfed52f17 Prevent access to bot routes as bot. 2021-09-03 14:37:40 +01:00
Paul Makles 17a378494c Merge pull request #65 from yannickfunk/mention-regex 2021-08-26 17:57:30 +01:00
Paul Makles b0d2e99588 Merge pull request #64 from yannickfunk/impl-ping-pong 2021-08-24 15:18:34 +01:00
Paul Makles 40a4cf244d Merge pull request #37 from infi/master
Update README to consistent format
2021-08-22 21:59:36 +01:00
Paul Makles 302c3e0d4b Merge pull request #42 from Zomatree/msgpack 2021-08-17 19:07:23 +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
Paul Makles 28c4312880 Merge pull request #35 from heikkari/34 2021-08-15 23:45:12 +01:00
Paul bffac8c4c0 Update CORS options.
Disallow bots to be added as friends.
2021-08-15 23:11:33 +01: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 fdba2d9e15 Bump musl-builder. 2021-08-06 17:56:44 +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
Paul 33262cc703 Add cache control header for default avatars. 2021-07-31 14:48:08 +01:00
Paul e655f53641 Fix embeds not re-generating properly on edit.
Include own memberships in Ready payload.
2021-07-31 12:09:03 +01:00
Paul 74b4c6bf2a Re-write emails, remove HTML body.
SpamAssassin is a bitch.
2021-07-28 14:59:16 +01:00
Paul 3c0d736f1e Use plain reset / verify emails. 2021-07-28 14:08:55 +01:00
Paul 8f6e5be1d4 Events: Distribute user updates to servers.
Fix: Deleting a server now correctly deletes all associated objects.
2021-07-28 13:40:03 +01:00
Paul 7d3ce0c96a Remove broken HTML attribute. 2021-07-27 17:24:47 +01:00
Paul c6de871ad3 Add extra snippet. 2021-07-27 17:14:36 +01:00
insert f32eaa98d4 Revert "Strip all <a /> tags, fuck SpamAssassin."
This reverts commit d4743b1453
2021-07-27 16:11:59 +00:00
Paul d4743b1453 Strip all <a /> tags, fuck SpamAssassin. 2021-07-27 16:32:55 +01:00
Paul dd65b9f358 Try make content match href. 2021-07-27 16:25:32 +01:00
Paul ec59d0e9a9 Try to make email not go into spam. 2021-07-27 16:16:17 +01:00
Paul 2407d4da3a Deprecate UserPresence event. 2021-07-27 14:22:41 +01:00
Paul a5f7314f97 Fix description not being updated on servers. 2021-07-27 12:29:55 +01:00
Paul deb2344428 Merge Jan's changes and bump version. 2021-07-25 21:53:35 +01:00
insert 37bb0f397f Merge branch 'master' into 'master'
Add member_count to /invites/:id

See merge request revolt/delta!3
2021-07-25 20:46:55 +00:00
Paul 682b6cbd9f Return banned user objects.
Fix category edit.
2021-07-24 19:42:57 +01:00
Paul 1a8006b3e4 Add before, after and sort support to search. 2021-07-21 18:26:35 +01:00
Paul 27a9fc3e21 Fix username block list. 2021-07-14 11:21:53 +01:00
Paul 1872432725 0.5.1-alpha.8
Add Edit Role route.
2021-07-13 13:43:42 +01:00
Paul 6f8802ab5f Feature: W.I.P. search route 2021-07-09 14:34:01 +01:00
Paul fe821b8283 Temporary fix for compile.
Add badge ID.
2021-07-08 22:54:46 +01:00
Paul a4c227ce41 Add "nearby" message query. 2021-07-07 16:21:21 +01:00
Paul edd8ef8a1d Patch max password length on rauth. 2021-07-06 12:21:40 +01:00
Paul 96c9190fa8 Fix: Allow users with server overlap to access each other. 2021-07-05 17:49:30 +01:00
Paul e452d6a362 Fix: Permission PUT route priority. 2021-07-01 17:49:48 +01:00
Paul 57f81e018c Servers: Create or delete roles.
Members: Assign / un-assign multiple roles.
Servers: Routes to set permissions.
2021-06-30 20:09:42 +01:00
Paul Makles 31c93b9954 Channels: Add role / default permission set routes.
Server: Add role create / delete route.
2021-06-30 12:56:18 +01:00