Commit Graph

  • bcfde79745 add msgpack support Zomatree 2021-08-17 17:23:36 +01:00
  • 326e539ad3 Fix issues with incoming PRs. Paul 2021-08-16 14:07:42 +01:00
  • c632341eb7 Merge pull request #36 from Zomatree/master Paul Makles 2021-08-16 13:57:09 +01:00
  • 6de1d1f98b Merge pull request #38 from heikkari/13-24 Paul Makles 2021-08-16 13:52:42 +01:00
  • 721ca3a4f5 Enhancement: Routes with no body should return 204 No Content. heikkari 2021-08-16 15:34:44 +03:00
  • 48d2fbe5ae Add a responder for empty responses heikkari 2021-08-16 14:05:59 +03:00
  • c1d03960ed Respond to malformed WS packets heikkari 2021-08-16 13:40:52 +03:00
  • 7c7573d3cf Fix Naming for Revolt, replace mention of Revolt with Delta Infi 2021-08-16 10:48:09 +02:00
  • 8ca3e50d91 Remove Unused Banner Infi 2021-08-16 10:45:40 +02:00
  • 906dd3fb04 Update README to consistent format, closes #28 Infi 2021-08-16 10:41:28 +02:00
  • 08fe01a7f2 actually remove old func Zomatree 2021-08-16 01:06:13 +01:00
  • d972395e43 use existing if_false function Zomatree 2021-08-16 00:35:53 +01:00
  • 5179504ad9 remove whitespace Zomatree 2021-08-16 00:24:55 +01:00
  • d4f7c4a77d add nsfw to servers and channels Zomatree 2021-08-16 00:18:14 +01:00
  • 28c4312880 Merge pull request #35 from heikkari/34 Paul Makles 2021-08-15 23:45:12 +01:00
  • 7e84d2671a Move code to database/entities/user.rs heikkari 2021-08-16 01:26:05 +03:00
  • bffac8c4c0 Update CORS options. Disallow bots to be added as friends. Paul 2021-08-15 23:11:33 +01:00
  • 3b5bebab78 Fix: User's invisibility status is exposed heikkari 2021-08-16 01:05:54 +03:00
  • e35a6b12e1 Fix: User's invisibility status is exposed heikkari 2021-08-16 00:40:33 +03:00
  • f04137d50f Include servers in mutual route. Paul 2021-08-12 16:16:13 +01:00
  • b3bdf403cf Add delete route for bots. Closes #8. Paul 2021-08-12 14:28:46 +01:00
  • bd3606176a Add bot edit route for #8. Paul 2021-08-12 14:05:48 +01:00
  • a71bfa908c Add fetch owned, public and specific bots for #8. Paul 2021-08-12 13:40:03 +01:00
  • 9f749cfdf8 Invite bot to server / group for #8. Paul 2021-08-12 09:24:06 +01:00
  • 93610ebbc3 Restrict bots from creating servers, groups, acking messages, and making friends. Paul 2021-08-11 20:16:11 +01:00
  • 084d71f050 Add role hoisting / ranking. Add bot creation for #8. Paul 2021-08-11 20:04:22 +01:00
  • e70f848f21 Patch password length limit on change username. Paul 2021-08-09 14:53:26 +01:00
  • e7065cbf1d Bump reqwest version. Add mark server as read route. Mark servers as read on join. Paul 2021-08-07 12:26:25 +01:00
  • fdba2d9e15 Bump musl-builder. Paul 2021-08-06 17:56:44 +01:00
  • 8890e3bab0 Fixes #2: Include own beta badge in payload object Paul 2021-08-06 17:34:48 +01:00
  • 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