Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Paul 51dc25c94c Refactor: Use category_route.rs naming convention for channels. 2021-06-27 09:58:08 +01:00
Paul a017872c99 Servers: Add categories to server model. 2021-06-27 00:13:35 +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 b10d4f3559 Messaging: Add mentions to unread object. 2021-06-17 14:42:48 +01:00
Paul 4727f997ed New Feature: Add server-side channel unreads. 2021-06-16 23:24:31 +01:00
Paul d2b17b64e7 Docker: Publish to :latest tag when building. 2021-06-16 19:36:59 +01:00
Paul 598f6374b3 Messaging: Don't embed URLs in code. 2021-06-16 16:43:17 +01:00
Paul bad9024537 Messaging: Remove embed when editing message. 2021-06-16 16:31:06 +01:00
Paul 6d67b3f767 Fix: Prevent users banning themselves. 2021-06-16 15:46:54 +01:00
Paul 9a2ccecb89 Channels: Make sure to delete last, to keep integrity. 2021-06-16 15:42:46 +01:00
Paul c4b39c56d4 Fix: Delete channel query failing due to empty unset. 2021-06-16 14:15:53 +01:00
Paul f33611aee6 Fix: Handle status::User on group create. 2021-06-14 16:00:29 +01:00
Paul 95d7c23d32 Badges: Add responsible disclosure badge.
Fix: Don't serialize None on Metadata. (january embed)
2021-06-13 20:19:07 +01:00
Paul 6b8158bf54 Fix: Use channel_invites collection name instead of invites.
Was conflicting with invite-only rauth registrations.
2021-06-12 10:33:31 +01:00
Paul 9be9b76035 Servers: Add new system messages. 2021-06-11 22:12:01 +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 f0d1ab390b Invites: Include server and channel ID.
Permissions: Small fix, consider self as User.
2021-06-10 14:56:53 +01:00
Paul 335f729c53 Notifications: Remove ServerCreate event. 2021-06-07 18:28:28 +01:00
Paul c763a292a7 Run cargo fmt. 2021-06-07 16:16:40 +01:00
Paul fce92382bf Servers: Fix create / leave.
Prevent removal of self / owner.
2021-06-07 16:14:48 +01:00
Paul 4e90cf1f58 Servers: Ban and unban users +
ban list.
2021-06-06 16:52:00 +01:00
Paul 782bfb7e03 Servers: Route for kicking a member. 2021-06-06 15:22:23 +01:00
Paul 1f1d9613e2 Servers: Fetch and edit members.
Permissions: Use bit representation for permissions.
2021-06-06 14:57:55 +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 380369e1c4 Servers: Route for fetching server invites. 2021-06-06 10:31:06 +01:00
Paul dbd70abaca Servers: Add route for fetching members. 2021-06-06 10:17:33 +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 f32f447233 Notifications: Subscribe users to new guild channels. 2021-06-02 10:27:51 +01:00
Paul 8627f27a50 Channels: Don't return self on msg query. 2021-06-02 10:12:53 +01:00
insert fea68faa54 Add LICENSE 2021-06-01 19:45:42 +00: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