Commit Graph

  • f09fde616a Add rate limiting to message sending. Paul 2021-08-06 17:22:55 +01:00
  • 6fe0725799 Organise Cargo.toml Paul 2021-08-04 10:16:51 +01:00
  • 382972ea22 Migrate the rest of the code. Paul 2021-08-04 10:11:21 +01:00
  • 9fec4e48c0 Start moving to Rocket 0.5.0 Paul 2021-08-03 14:40:07 +01:00
  • 33262cc703 Add cache control header for default avatars. Paul 2021-07-31 14:48:08 +01:00
  • e655f53641 Fix embeds not re-generating properly on edit. Include own memberships in Ready payload. Paul 2021-07-31 12:09:03 +01:00
  • 74b4c6bf2a Re-write emails, remove HTML body. SpamAssassin is a bitch. Paul 2021-07-28 14:59:16 +01:00
  • 3c0d736f1e Use plain reset / verify emails. Paul 2021-07-28 14:08:55 +01:00
  • 8f6e5be1d4 Events: Distribute user updates to servers. Fix: Deleting a server now correctly deletes all associated objects. Paul 2021-07-28 13:40:03 +01:00
  • 7d3ce0c96a Remove broken HTML attribute. Paul 2021-07-27 17:24:47 +01:00
  • c6de871ad3 Add extra snippet. Paul 2021-07-27 17:14:36 +01:00
  • f32eaa98d4 Revert "Strip all <a /> tags, fuck SpamAssassin." insert 2021-07-27 16:11:59 +00:00
  • d4743b1453 Strip all <a /> tags, fuck SpamAssassin. Paul 2021-07-27 16:32:55 +01:00
  • dd65b9f358 Try make content match href. Paul 2021-07-27 16:25:32 +01:00
  • ec59d0e9a9 Try to make email not go into spam. Paul 2021-07-27 16:16:17 +01:00
  • 2407d4da3a Deprecate UserPresence event. Paul 2021-07-27 14:22:41 +01:00
  • a5f7314f97 Fix description not being updated on servers. Paul 2021-07-27 12:29:55 +01:00
  • deb2344428 Merge Jan's changes and bump version. Paul 2021-07-25 21:53:35 +01:00
  • 37bb0f397f Merge branch 'master' into 'master' insert 2021-07-25 20:46:55 +00:00
  • ca04f4d510 Add member_count to /invites/:id jan0660 2021-07-25 16:49:27 +02:00
  • 682b6cbd9f Return banned user objects. Fix category edit. Paul 2021-07-24 19:42:57 +01:00
  • 1a8006b3e4 Add before, after and sort support to search. Paul 2021-07-21 18:26:35 +01:00
  • 27a9fc3e21 Fix username block list. Paul 2021-07-14 11:21:53 +01:00
  • 1872432725 0.5.1-alpha.8 Add Edit Role route. Paul 2021-07-13 13:43:42 +01:00
  • 6f8802ab5f Feature: W.I.P. search route Paul 2021-07-09 14:34:01 +01:00
  • fe821b8283 Temporary fix for compile. Add badge ID. Paul 2021-07-08 22:54:46 +01:00
  • a4c227ce41 Add "nearby" message query. Paul 2021-07-07 16:21:21 +01:00
  • edd8ef8a1d Patch max password length on rauth. Paul 2021-07-06 12:21:40 +01:00
  • 96c9190fa8 Fix: Allow users with server overlap to access each other. Paul 2021-07-05 17:49:30 +01:00
  • e452d6a362 Fix: Permission PUT route priority. Paul 2021-07-01 17:49:48 +01:00
  • 57f81e018c Servers: Create or delete roles. Members: Assign / un-assign multiple roles. Servers: Routes to set permissions. Paul 2021-06-30 20:09:42 +01:00
  • 31c93b9954 Channels: Add role / default permission set routes. Server: Add role create / delete route. Paul Makles 2021-06-30 12:56:18 +01:00
  • 51dc25c94c Refactor: Use category_route.rs naming convention for channels. Paul 2021-06-27 09:58:08 +01:00
  • a017872c99 Servers: Add categories to server model. Paul 2021-06-27 00:13:35 +01:00
  • f35a1049da Fix: Use UploadFiles instead of EmbedLinks perm. Paul 2021-06-26 22:35:21 +01:00
  • 07e74e1074 Servers: New permissions implementation. Feature: Roles and group permissions. (server-side) Paul 2021-06-26 22:16:37 +01:00
  • 35b0c69cdb Permissions: Add EmbedLinks / UploadFiles to channels Web Push: Send events if mentioned Paul 2021-06-25 13:33:05 +01:00
  • b45ea266d8 Fix various issues relating to voice channels. Paul 2021-06-24 12:33:16 +01:00
  • 9a417aa6ad Messaging: Add message replies. Servers: Add VoiceChannel. Paul 2021-06-23 13:50:18 +01:00
  • ad06ff16c4 Messaging: Upsert mentions into unreads. Messaging: Allow multiple attachment upload. 0.5.0 Paul 2021-06-22 17:42:18 +01:00
  • b10d4f3559 Messaging: Add mentions to unread object. Paul 2021-06-17 14:42:48 +01:00
  • 4727f997ed New Feature: Add server-side channel unreads. Paul 2021-06-16 23:24:31 +01:00
  • d2b17b64e7 Docker: Publish to :latest tag when building. Paul 2021-06-16 19:36:59 +01:00
  • 598f6374b3 Messaging: Don't embed URLs in code. Paul 2021-06-16 16:43:17 +01:00
  • bad9024537 Messaging: Remove embed when editing message. Paul 2021-06-16 16:31:06 +01:00
  • 6d67b3f767 Fix: Prevent users banning themselves. Paul 2021-06-16 15:46:54 +01:00
  • 9a2ccecb89 Channels: Make sure to delete last, to keep integrity. Paul 2021-06-16 15:42:46 +01:00
  • c4b39c56d4 Fix: Delete channel query failing due to empty unset. Paul 2021-06-16 14:15:53 +01:00
  • f33611aee6 Fix: Handle status::User on group create. Paul 2021-06-14 16:00:29 +01:00
  • 95d7c23d32 Badges: Add responsible disclosure badge. Fix: Don't serialize None on Metadata. (january embed) Paul 2021-06-13 20:19:07 +01:00
  • 6b8158bf54 Fix: Use channel_invites collection name instead of invites. Was conflicting with invite-only rauth registrations. Paul 2021-06-12 10:33:31 +01:00
  • 9be9b76035 Servers: Add new system messages. Paul 2021-06-11 22:12:01 +01:00
  • 03fa923ef4 Refactor: Send system messages directly from content. Paul 2021-06-11 19:18:46 +01:00
  • 78c890aa59 Messaging: Parse mentions. Paul 2021-06-11 18:07:37 +01:00
  • 0f18a6781d Channels: Include last message id on text channels. API: Return members when fetching messages. Misc: Remove defunct DISABLE_REGISTRATION variable. Paul 2021-06-11 16:22:35 +01:00
  • f0d1ab390b Invites: Include server and channel ID. Permissions: Small fix, consider self as User. Paul 2021-06-10 14:56:53 +01:00
  • 335f729c53 Notifications: Remove ServerCreate event. Paul 2021-06-07 18:28:28 +01:00
  • c763a292a7 Run cargo fmt. Paul 2021-06-07 16:16:40 +01:00
  • fce92382bf Servers: Fix create / leave. Prevent removal of self / owner. Paul 2021-06-07 16:14:48 +01:00
  • 4e90cf1f58 Servers: Ban and unban users + ban list. Paul 2021-06-06 16:52:00 +01:00
  • 782bfb7e03 Servers: Route for kicking a member. Paul 2021-06-06 15:22:23 +01:00
  • 1f1d9613e2 Servers: Fetch and edit members. Permissions: Use bit representation for permissions. Paul 2021-06-06 14:57:55 +01:00
  • 0af4fa4be9 Servers: Add description field. API: Allow removal of description on channels and servers. Paul 2021-06-06 10:55:31 +01:00
  • 380369e1c4 Servers: Route for fetching server invites. Paul 2021-06-06 10:31:06 +01:00
  • dbd70abaca Servers: Add route for fetching members. Paul 2021-06-06 10:17:33 +01:00
  • f9fbe54b17 Servers: Create and delete invites. Create and fetch servers. Paul 2021-06-05 22:41:47 +01:00
  • 681b2b8ab6 Servers: Add invites. Create, view and join. Paul 2021-06-03 20:00:08 +01:00
  • 812fa2a98f Permissions: Resolve guild, allows ability to delete channels, delete others messages, etc. Paul 2021-06-02 12:35:01 +01:00
  • 1713ad057d Servers: Add route for creating channels. Notifications: Subscribe to guild channels. Paul 2021-06-02 11:51:58 +01:00
  • f32f447233 Notifications: Subscribe users to new guild channels. Paul 2021-06-02 10:27:51 +01:00
  • 8627f27a50 Channels: Don't return self on msg query. Paul 2021-06-02 10:12:53 +01:00
  • fea68faa54 Add LICENSE insert 2021-06-01 19:45:42 +00:00
  • 46bf5fcdd1 Servers: Add TextChannel. Paul 2021-06-01 20:38:35 +01:00
  • 6bb4501c52 Servers: Add edit route. Ability to set icon / banner. Paul 2021-06-01 17:42:23 +01:00
  • bff72fa6c3 Servers: Core objects required. Includes creation. Bump version to 0.5.0. Paul 2021-06-01 17:09:31 +01:00
  • a4c1fee4cc Sync: Allow custom timestamp; return correct data structure. Paul 2021-06-01 13:25:47 +01:00
  • 62ffa10939 rAuth: Silently fail email send for creation. Paul 2021-05-27 15:51:24 +01:00
  • a39adb64c6 Hive: Don't send out sync for irrelevant users. Paul 2021-05-26 13:19:03 +01:00
  • 3cd3bc54af New Feature: Settings sync to server. Paul 2021-05-26 13:02:40 +01:00
  • 5aa9624d5c Database: Add user settings sync entity. Run cargo fmt. Paul 2021-05-26 11:02:16 +01:00
  • 7aad88ad3f Messages: Allow multiple attachments. (⚠️ breaking change) Paul 2021-05-25 17:23:47 +01:00
  • fa3bc56ef4 Channels: Add option to return users in message query. Paul 2021-05-25 15:03:49 +01:00
  • 7c7943b9f6 Websocket: Provide channel id for message edit / del. Paul 2021-05-25 14:06:23 +01:00
  • 67b9b8ceee Users: Serve early adopter badge from server. Paul 2021-05-25 13:37:12 +01:00
  • f1462d4e4d Remove snafu. Paul 2021-05-15 18:47:05 +01:00
  • fae0198343 Bump version to 0.4.1-alpha.11 0.4.1 Paul 2021-05-14 22:54:27 +01:00
  • 10f116b4a3 Block voice calls in saved messages channel. Add messages for desc / icon change for group chats. Paul 2021-05-14 22:44:35 +01:00
  • 6716a2d32b Join with newlines for embed generation. Server January URL endpoint on server configuration. Paul 2021-05-14 22:39:16 +01:00
  • 6cc92b877e Fix block user route, send correct user struct. Add route for fetching members. Cargo fmt on accident. Paul 2021-05-14 22:29:43 +01:00
  • cc0307f702 Fix find mutual query. Paul 2021-05-13 17:19:43 +01:00
  • 274d6f2b5a Update January definitions. (special embeds) Paul 2021-05-09 19:30:55 +01:00
  • 0f100213ba Update January definitions; add servers collection Paul 2021-05-08 17:08:45 +01:00
  • 7293abfc53 Add january support. Paul 2021-05-07 18:00:21 +01:00
  • cf7bb832da Really make sure MongoDB driver can't screw up. Paul 2021-05-03 21:02:12 +01:00
  • efc3794f3d Emergency patch; Rust MDB driver deletes doc. with empty update. Paul 2021-05-03 20:48:37 +01:00
  • a319e72655 Add a way to choose message fetch sort. Paul 2021-05-03 16:35:59 +01:00
  • 2173b1e9f8 Fix type. Paul 2021-05-03 15:04:05 +01:00
  • c086fe7ac4 Move versioning to source. Paul 2021-05-03 15:03:30 +01:00
  • fa960ebc94 Send out unset in event. Paul 2021-05-03 11:17:28 +01:00
  • b47067b311 Cache Cargo dependencies for Docker build. Paul 2021-05-03 09:59:40 +01:00