Commit Graph

271 Commits

Author SHA1 Message Date
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
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
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
bff72fa6c3 Servers: Core objects required. Includes creation. Bump version to 0.5.0. 2021-06-01 17:09:31 +01:00
Paul
a4c1fee4cc Sync: Allow custom timestamp; return correct data structure. 2021-06-01 13:25:47 +01:00
Paul
62ffa10939 rAuth: Silently fail email send for creation. 2021-05-27 15:51:24 +01:00
Paul
a39adb64c6 Hive: Don't send out sync for irrelevant users. 2021-05-26 13:19:03 +01:00
Paul
3cd3bc54af New Feature: Settings sync to server. 2021-05-26 13:02:40 +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
7c7943b9f6 Websocket: Provide channel id for message edit / del. 2021-05-25 14:06:23 +01:00
Paul
67b9b8ceee Users: Serve early adopter badge from server. 2021-05-25 13:37:12 +01:00
Paul
f1462d4e4d Remove snafu. 2021-05-15 18:47:05 +01:00
Paul
fae0198343 Bump version to 0.4.1-alpha.11 2021-05-14 22:54:27 +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
6716a2d32b Join with newlines for embed generation.
Server January URL endpoint on server configuration.
2021-05-14 22:39:16 +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
cc0307f702 Fix find mutual query. 2021-05-13 17:19:43 +01:00
Paul
274d6f2b5a Update January definitions. (special embeds) 2021-05-09 19:30:55 +01:00
Paul
0f100213ba Update January definitions; add servers collection 2021-05-08 17:08:45 +01:00