Commit Graph
83 Commits
Author SHA1 Message Date
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 f09fde616a Add rate limiting to message sending. 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 e655f53641 Fix embeds not re-generating properly on edit.
Include own memberships in Ready payload.
2021-07-31 12:09:03 +01:00
Paul 1a8006b3e4 Add before, after and sort support to search. 2021-07-21 18:26:35 +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 e452d6a362 Fix: Permission PUT route priority. 2021-07-01 17:49:48 +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
Paul 51dc25c94c Refactor: Use category_route.rs naming convention for channels. 2021-06-27 09:58:08 +01:00
Paul f35a1049da Fix: Use UploadFiles instead of EmbedLinks perm. 2021-06-26 22:35:21 +01:00
Paul 07e74e1074 Servers: New permissions implementation.
Feature: Roles and group permissions. (server-side)
2021-06-26 22:16:37 +01:00
Paul 35b0c69cdb Permissions: Add EmbedLinks / UploadFiles to channels
Web Push: Send events if mentioned
2021-06-25 13:33:05 +01:00
Paul b45ea266d8 Fix various issues relating to voice channels. 2021-06-24 12:33:16 +01:00
Paul 9a417aa6ad Messaging: Add message replies.
Servers: Add VoiceChannel.
2021-06-23 13:50:18 +01:00
Paul ad06ff16c4 Messaging: Upsert mentions into unreads.
Messaging: Allow multiple attachment upload.
2021-06-22 17:42:18 +01:00
Paul 4727f997ed New Feature: Add server-side channel unreads. 2021-06-16 23:24:31 +01:00
Paul bad9024537 Messaging: Remove embed when editing message. 2021-06-16 16:31:06 +01:00
Paul f33611aee6 Fix: Handle status::User on group create. 2021-06-14 16:00:29 +01:00
Paul 03fa923ef4 Refactor: Send system messages directly from content. 2021-06-11 19:18:46 +01:00
Paul 78c890aa59 Messaging: Parse mentions. 2021-06-11 18:07:37 +01:00
Paul 0f18a6781d Channels: Include last message id on text channels.
API: Return members when fetching messages.
Misc: Remove defunct DISABLE_REGISTRATION variable.
2021-06-11 16:22:35 +01:00
Paul c763a292a7 Run cargo fmt. 2021-06-07 16:16:40 +01:00
Paul 0af4fa4be9 Servers: Add description field.
API: Allow removal of description on channels and servers.
2021-06-06 10:55:31 +01:00
Paul f9fbe54b17 Servers: Create and delete invites. Create and fetch servers. 2021-06-05 22:41:47 +01:00
Paul 681b2b8ab6 Servers: Add invites. Create, view and join. 2021-06-03 20:00:08 +01:00
Paul 812fa2a98f Permissions: Resolve guild, allows ability to delete channels, delete others messages, etc. 2021-06-02 12:35:01 +01:00
Paul 1713ad057d Servers: Add route for creating channels.
Notifications: Subscribe to guild channels.
2021-06-02 11:51:58 +01:00
Paul 8627f27a50 Channels: Don't return self on msg query. 2021-06-02 10:12:53 +01:00
Paul 46bf5fcdd1 Servers: Add TextChannel. 2021-06-01 20:38:35 +01:00
Paul 6bb4501c52 Servers: Add edit route. Ability to set icon / banner. 2021-06-01 17:42:23 +01:00
Paul 5aa9624d5c Database: Add user settings sync entity.
Run cargo fmt.
2021-05-26 11:02:16 +01:00
Paul 7aad88ad3f Messages: Allow multiple attachments. (⚠️ breaking change) 2021-05-25 17:23:47 +01:00
Paul fa3bc56ef4 Channels: Add option to return users in message query. 2021-05-25 15:03:49 +01:00
Paul 10f116b4a3 Block voice calls in saved messages channel.
Add messages for desc / icon change for group chats.
2021-05-14 22:44:35 +01:00
Paul 6cc92b877e Fix block user route, send correct user struct.
Add route for fetching members.
Cargo fmt on accident.
2021-05-14 22:29:43 +01:00
Paul 7293abfc53 Add january support. 2021-05-07 18:00:21 +01:00
Paul cf7bb832da Really make sure MongoDB driver can't screw up. 2021-05-03 21:02:12 +01:00
Paul efc3794f3d Emergency patch; Rust MDB driver deletes doc. with empty update. 2021-05-03 20:48:37 +01:00
Paul a319e72655 Add a way to choose message fetch sort. 2021-05-03 16:35:59 +01:00
Paul fa960ebc94 Send out unset in event. 2021-05-03 11:17:28 +01:00
Paul 92bface6ae Add group icons / profile backgrounds. 2021-05-01 22:55:37 +01:00
Paul 8cfa5d7091 Run cargo fmt. 2021-05-01 17:29:31 +01:00
Paul f135a57a9b API change: deprecate Gravatar.
Include avatar information in user object.
2021-05-01 16:38:06 +01:00
Paul f163cb65de AAAAAAAAAAAAA
We should be setting message_id not message.
2021-04-24 18:01:08 +01:00
Paul f7bcd3ad93 Migrate to Autumn 1.0.0 2021-04-24 16:00:13 +01:00
Paul 7f5d6f2312 Format code. 2021-04-03 14:44:01 +01:00