Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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 2173b1e9f8 Fix type. 2021-05-03 15:04:05 +01:00
Paul c086fe7ac4 Move versioning to source. 2021-05-03 15:03:30 +01:00
Paul fa960ebc94 Send out unset in event. 2021-05-03 11:17:28 +01:00
Paul b47067b311 Cache Cargo dependencies for Docker build. 2021-05-03 09:59:40 +01:00
Paul 2e996a487b Add event when user goes offline. 2021-05-03 08:57:49 +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 59b18fd376 Delete old avatar; fix database migration. 2021-05-01 17:12:51 +01:00
Paul f135a57a9b API change: deprecate Gravatar.
Include avatar information in user object.
2021-05-01 16:38:06 +01:00
Paul 5da26cb833 Breaking: Provide new user object instead of id.
Fix rustup complaining about join macros.
2021-05-01 15:54:29 +01:00
Paul c8981ac695 Merge branch 'master' of https://gitlab.insrt.uk/revolt/delta 2021-05-01 13:08:55 +01:00
Paul 81002c75d2 Only push out status; mark attachments as deleted. 2021-04-28 17:12:14 +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 9e2250783c Allow people with mutual connections to see profile / status; fix username check. 2021-04-07 19:21:25 +01:00
Paul 2050a0609f Fix update_one failing on sys message. 2021-04-03 21:37:24 +01:00
Paul a547177325 Add status presence indicator. 2021-04-03 20:50:14 +01:00
Paul c3fa7bf74e Change route paths for user edits. 2021-04-03 15:02:29 +01:00
Paul 7f5d6f2312 Format code. 2021-04-03 14:44:01 +01:00
Paul 9492e145f9 User status / profile change route, username change route. 2021-04-03 14:41:40 +01:00
Paul 78c42fd412 Fetch profile route, push badges and status. 2021-04-02 21:55:02 +01:00
Paul 3797878d20 Fixes bug with distributed nodes. 2021-04-02 13:25:51 +01:00
Paul d2bf477fd8 Expose voso host. 2021-04-01 15:11:19 +01:00
Paul 56bd763820 Prevent setting null in edit. Preflight for variables. 2021-04-01 14:01:07 +01:00
Paul 32cd9d8a13 Strict typing for system messages; add a way to rename group. 2021-03-31 20:54:47 +01:00
Paul 60731e1c70 Integrate voso, join_call route for channels. 2021-03-31 11:48:52 +01:00
Paul 37df18dbf7 Fixes mutual connections not being seen and hence requests failing. 2021-03-30 22:09:36 +01:00
Paul 0a9d5de369 Don't unwrap on subscription errors. 2021-03-29 10:14:25 +01:00
Paul d2864ac025 Make sure to check that they are friends. 2021-02-19 15:49:55 +00:00
Paul 4eb76fd154 Fix mutex issues. 2021-02-19 15:24:19 +00:00
Paul 3c7852271a Add temporary typing indicator impl. 2021-02-19 14:50:23 +00:00
Paul dadad271b4 Mark attachments as deleted when deleting messages. 2021-02-19 14:12:21 +00:00
Paul db6047f2d3 Allow empty messages with attachment. 2021-02-19 14:09:19 +00:00
Paul 5baf85a8e9 JSON system messages. 2021-02-19 14:03:41 +00:00
Paul 10cac358a9 Label permission errors, and too many ids for /stale. 2021-02-19 13:26:04 +00:00
Paul 64d2707366 Find mutual for users; allow dots in usernames. 2021-02-19 13:11:33 +00:00
Paul 78cfbf9d21 Clean up subscription code; handle error properly. 2021-02-19 12:48:52 +00:00
Paul 02077a4024 Check if online. 2021-02-18 16:47:59 +00:00
Paul 52e070c21c Basic Web Push support. 2021-02-18 16:21:34 +00:00
Paul Makles a2f14d2d37 Bump version. 2021-02-16 15:26:31 +00:00
Paul Makles a7ea29d821 Add a way to send messages with attachments. 2021-02-16 15:25:33 +00:00
Paul Makles b6b51bca26 Route which lets clients determine messages that have updated / deleted. 2021-02-16 09:34:24 +00:00
Paul Makles 2bafffbbc1 Case-insensitive search for emails. 2021-02-14 16:28:23 +00:00
Paul Makles bdf5fb95d0 Add rAuth captcha support. 2021-02-13 20:18:38 +00:00
Paul Makles ea8de2400a Add support for rAuth invite-only mode. 2021-02-12 20:37:24 +00:00
Paul Makles f5e0b49bbb Update rAuth, add templates; add APP_URL variable. 2021-02-12 15:09:42 +00:00
Paul Makles b0d07ec58f Include DM users in payload; fix permission query. + cargo fmt 2021-02-09 16:41:08 +00:00
Paul Makles 4c99d079e0 Remove ViewAll; check for mutual DMs. 2021-02-09 15:51:35 +00:00
Paul Makles 38bedbaaea Add Gravatar support. 2021-02-02 19:09:13 +00:00
Paul Makles ea276c3517 Fix assets fr this time 2021-01-30 18:40:58 +00:00
Paul Makles 648e33a13e Include assets in docker image. 2021-01-30 18:23:23 +00:00
Paul Makles a76ec207b3 Add Prometheus metrics. 2021-01-29 21:56:37 +00:00
Paul Makles 687b300bfc Include assets in Docker image. 2021-01-28 18:51:46 +00:00
Paul Makles 6586d8f02c Fix SSL certificates in container. 2021-01-27 19:37:21 +00:00
Paul Makles a8a8c08c29 Update Docker image and ports. 2021-01-27 18:31:27 +00:00
Paul Makles 1806ea824b Bump rAuth revision. 2021-01-27 11:08:37 +00:00
Paul Makles 222a417fff Add utility function for including relationship on User. 2021-01-26 22:33:14 +00:00
Paul Makles 3b85dcce14 Include group members in payload. 2021-01-26 22:05:32 +00:00
Paul Makles f42480886b Re-structure Permissions; add perm to view users from mutual groups. 2021-01-26 21:12:23 +00:00
Paul Makles 23ec2d61f1 Push env variables to rAuth + cargo fmt. 2021-01-26 17:29:03 +00:00
Paul Makles abd8b1821d Reset migrations; [point of no return for old databases] 2021-01-26 09:30:29 +00:00
Paul Makles 75a35831da Update rauth, pin git repositories in Cargo.toml. 2021-01-25 21:35:47 +00:00
Paul Makles 99e2f874a1 $set instead of overwriting object 2021-01-24 10:28:24 +00:00
Paul Makles 11f7092fcd Add last_message to channels, mark DMs as active. 2021-01-24 10:24:44 +00:00
Paul Makles cb882ce1b2 Block @revolt from being registered. 2021-01-24 09:29:42 +00:00
Paul Makles 5486a68bfa Move group leave into posthandle hook. 2021-01-24 09:20:43 +00:00
Paul Makles 4aaf328435 Include all channels in payload. 2021-01-24 09:20:07 +00:00
Paul Makles 9d251f794b Update tag in enums. 2021-01-19 21:27:18 +00:00
Paul Makles 1d390d483d Add a database migration for channel tag enum. 2021-01-19 21:11:38 +00:00
Paul Makles 81de29e723 Backtracking again, and adding the channel_type tag. 2021-01-19 20:55:25 +00:00
Paul Makles 984017eb61 Revert tag change, update partials to include ids. 2021-01-19 20:18:29 +00:00