Commit Graph

  • 2e996a487b Add event when user goes offline. Paul 2021-05-03 08:57:49 +01:00
  • 92bface6ae Add group icons / profile backgrounds. Paul 2021-05-01 22:55:37 +01:00
  • 8cfa5d7091 Run cargo fmt. Paul 2021-05-01 17:29:31 +01:00
  • 59b18fd376 Delete old avatar; fix database migration. Paul 2021-05-01 17:12:51 +01:00
  • f135a57a9b API change: deprecate Gravatar. Include avatar information in user object. Paul 2021-05-01 16:38:06 +01:00
  • 5da26cb833 Breaking: Provide new user object instead of id. Fix rustup complaining about join macros. Paul 2021-05-01 15:54:29 +01:00
  • c8981ac695 Merge branch 'master' of https://gitlab.insrt.uk/revolt/delta Paul 2021-05-01 13:08:55 +01:00
  • 33b0658680 Multi-thread rocket and hive Martin Loffler 2021-04-30 13:19:31 +02:00
  • 81002c75d2 Only push out status; mark attachments as deleted. Paul 2021-04-28 17:12:14 +01:00
  • f163cb65de AAAAAAAAAAAAA Paul 2021-04-24 18:01:08 +01:00
  • f7bcd3ad93 Migrate to Autumn 1.0.0 Paul 2021-04-24 16:00:13 +01:00
  • 9e2250783c Allow people with mutual connections to see profile / status; fix username check. 0.4.0 Paul 2021-04-07 19:21:25 +01:00
  • 2050a0609f Fix update_one failing on sys message. Paul 2021-04-03 21:37:24 +01:00
  • a547177325 Add status presence indicator. Paul 2021-04-03 20:50:14 +01:00
  • c3fa7bf74e Change route paths for user edits. Paul 2021-04-03 15:02:29 +01:00
  • 7f5d6f2312 Format code. Paul 2021-04-03 14:44:01 +01:00
  • 9492e145f9 User status / profile change route, username change route. Paul 2021-04-03 14:41:40 +01:00
  • 78c42fd412 Fetch profile route, push badges and status. Paul 2021-04-02 21:55:02 +01:00
  • 3797878d20 Fixes bug with distributed nodes. Paul 2021-04-02 13:25:51 +01:00
  • d2bf477fd8 Expose voso host. Paul 2021-04-01 15:11:19 +01:00
  • c9bff789de Fixed room creation failure in join_call Martin Loffler 2021-04-01 15:57:48 +02:00
  • 56bd763820 Prevent setting null in edit. Preflight for variables. Paul 2021-04-01 14:01:07 +01:00
  • 32cd9d8a13 Strict typing for system messages; add a way to rename group. Paul 2021-03-31 20:54:47 +01:00
  • 60731e1c70 Integrate voso, join_call route for channels. Paul 2021-03-31 11:48:52 +01:00
  • 37df18dbf7 Fixes mutual connections not being seen and hence requests failing. 0.3.3 Paul 2021-03-30 22:09:36 +01:00
  • 0a9d5de369 Don't unwrap on subscription errors. Paul 2021-03-29 10:14:25 +01:00
  • d2864ac025 Make sure to check that they are friends. 0.3.3-alpha.7 Paul 2021-02-19 15:49:55 +00:00
  • 4eb76fd154 Fix mutex issues. Paul 2021-02-19 15:24:19 +00:00
  • 3c7852271a Add temporary typing indicator impl. Paul 2021-02-19 14:50:23 +00:00
  • dadad271b4 Mark attachments as deleted when deleting messages. Paul 2021-02-19 14:12:21 +00:00
  • db6047f2d3 Allow empty messages with attachment. Paul 2021-02-19 14:09:19 +00:00
  • 5baf85a8e9 JSON system messages. Paul 2021-02-19 14:03:41 +00:00
  • 10cac358a9 Label permission errors, and too many ids for /stale. Paul 2021-02-19 13:26:04 +00:00
  • 64d2707366 Find mutual for users; allow dots in usernames. Paul 2021-02-19 13:11:33 +00:00
  • 78cfbf9d21 Clean up subscription code; handle error properly. Paul 2021-02-19 12:48:52 +00:00
  • 02077a4024 Check if online. 0.3.3-alpha.6 Paul 2021-02-18 16:47:59 +00:00
  • 52e070c21c Basic Web Push support. Paul 2021-02-18 16:21:34 +00:00
  • a2f14d2d37 Bump version. 0.3.3-alpha.5 Paul Makles 2021-02-16 15:26:31 +00:00
  • a7ea29d821 Add a way to send messages with attachments. Paul Makles 2021-02-16 15:25:33 +00:00
  • b6b51bca26 Route which lets clients determine messages that have updated / deleted. 0.3.3-alpha.4 Paul Makles 2021-02-16 09:34:24 +00:00
  • 2bafffbbc1 Case-insensitive search for emails. 0.3.3-alpha.3 Paul Makles 2021-02-14 16:28:23 +00:00
  • bdf5fb95d0 Add rAuth captcha support. 0.3.3-alpha.2 Paul Makles 2021-02-13 20:18:38 +00:00
  • ea8de2400a Add support for rAuth invite-only mode. 0.3.3-alpha.1 Paul Makles 2021-02-12 20:37:24 +00:00
  • f5e0b49bbb Update rAuth, add templates; add APP_URL variable. Paul Makles 2021-02-12 15:09:42 +00:00
  • b0d07ec58f Include DM users in payload; fix permission query. + cargo fmt Paul Makles 2021-02-09 16:41:08 +00:00
  • 4c99d079e0 Remove ViewAll; check for mutual DMs. Paul Makles 2021-02-09 15:51:35 +00:00
  • 38bedbaaea Add Gravatar support. 0.3.3-alpha.0 Paul Makles 2021-02-02 19:09:13 +00:00
  • ea276c3517 Fix assets fr this time Paul Makles 2021-01-30 18:40:58 +00:00
  • 648e33a13e Include assets in docker image. Paul Makles 2021-01-30 18:23:23 +00:00
  • a76ec207b3 Add Prometheus metrics. Paul Makles 2021-01-29 21:56:37 +00:00
  • 687b300bfc Include assets in Docker image. Paul Makles 2021-01-28 18:51:46 +00:00
  • 6586d8f02c Fix SSL certificates in container. Paul Makles 2021-01-27 19:37:21 +00:00
  • a8a8c08c29 Update Docker image and ports. Paul Makles 2021-01-27 18:31:27 +00:00
  • 1806ea824b Bump rAuth revision. Paul Makles 2021-01-27 11:08:37 +00:00
  • 222a417fff Add utility function for including relationship on User. 0.3.2 Paul Makles 2021-01-26 22:33:14 +00:00
  • 3b85dcce14 Include group members in payload. Paul Makles 2021-01-26 22:05:32 +00:00
  • f42480886b Re-structure Permissions; add perm to view users from mutual groups. Paul Makles 2021-01-26 21:12:23 +00:00
  • 23ec2d61f1 Push env variables to rAuth + cargo fmt. Paul Makles 2021-01-26 17:29:03 +00:00
  • abd8b1821d Reset migrations; [point of no return for old databases] Paul Makles 2021-01-26 09:30:29 +00:00
  • 75a35831da Update rauth, pin git repositories in Cargo.toml. Paul Makles 2021-01-25 21:35:47 +00:00
  • 99e2f874a1 $set instead of overwriting object Paul Makles 2021-01-24 10:28:24 +00:00
  • 11f7092fcd Add last_message to channels, mark DMs as active. Paul Makles 2021-01-24 10:24:44 +00:00
  • cb882ce1b2 Block @revolt from being registered. Paul Makles 2021-01-24 09:29:42 +00:00
  • 5486a68bfa Move group leave into posthandle hook. Paul Makles 2021-01-24 09:20:43 +00:00
  • 4aaf328435 Include all channels in payload. Paul Makles 2021-01-24 09:20:07 +00:00
  • 9d251f794b Update tag in enums. Paul Makles 2021-01-19 21:27:18 +00:00
  • 1d390d483d Add a database migration for channel tag enum. Paul Makles 2021-01-19 21:11:38 +00:00
  • 81de29e723 Backtracking again, and adding the channel_type tag. Paul Makles 2021-01-19 20:55:25 +00:00
  • 984017eb61 Revert tag change, update partials to include ids. Paul Makles 2021-01-19 20:18:29 +00:00
  • 5ab329dfdd Prevent fetching messages from other channels. Change channel tag to channel_type. Paul Makles 2021-01-19 19:54:37 +00:00
  • 3a63d502d9 Cargo fmt. 0.3.1 Paul Makles 2021-01-19 13:07:11 +00:00
  • 8bb694a1c8 Post-handle hook, partial updates and group delete. Paul Makles 2021-01-19 13:06:22 +00:00
  • c38977e026 Run cargo fmt. Paul Makles 2021-01-19 11:47:36 +00:00
  • 8cbba0671d Move new subscriptions to a unfied prehandle function. Paul Makles 2021-01-19 11:46:22 +00:00
  • c21d7c4620 Group member add and remove routes. Paul Makles 2021-01-19 09:02:18 +00:00
  • 901b29f49e Run cargo fmt Paul Makles 2021-01-18 22:02:46 +00:00
  • 34ac8f54ef Add group creation. Sync channels to clients on creation. Paul Makles 2021-01-18 22:02:32 +00:00
  • c562d33c8f Add message delete route. Paul Makles 2021-01-18 21:02:04 +00:00
  • accd6d7789 Add edit message route. Paul Makles 2021-01-18 20:54:08 +00:00
  • ba08746e92 Rename fetch to query, add fetch by id. Paul Makles 2021-01-18 20:30:55 +00:00
  • a1a921bbcb Run cargo fmt. Paul Makles 2021-01-18 20:26:26 +00:00
  • bd789b6825 Fetch messages route. Paul Makles 2021-01-18 20:26:09 +00:00
  • c6ba72d924 Add message sending. Paul Makles 2021-01-18 20:07:42 +00:00
  • c401663c47 Catch database error for send message. Paul Makles 2021-01-18 14:52:15 +00:00
  • 3d3db80e61 Channel subscription, message sending, channel delete. Paul Makles 2021-01-18 14:50:17 +00:00
  • 15357008d6 Push relevant channels in Ready payload. Paul Makles 2021-01-18 14:14:56 +00:00
  • 124aa8a9bf Fix user permissions. Paul Makles 2021-01-18 14:01:27 +00:00
  • af8731ac38 Start development sprint 3. Paul Makles 2021-01-18 13:41:48 +00:00
  • a9f258de6b Randomly select an avatar from id. 0.3.0-rc.0 Paul Makles 2021-01-16 11:17:18 +00:00
  • f6c52de171 Add basic presence tracking. Paul Makles 2021-01-09 20:49:36 +00:00
  • 5e70ceea01 Write proper user permission code. Paul Makles 2021-01-09 16:50:11 +00:00
  • bb3667a83b Move guard and reference code out of entities folder. Paul Makles 2021-01-09 13:59:45 +00:00
  • 80e3baaa15 Clean up imports for database. Paul Makles 2021-01-09 13:57:37 +00:00
  • 0d3ef9a3b7 Refractor WS; remove - fom names. Paul Makles 2021-01-09 12:58:15 +00:00
  • 4f9029f7b9 Merge branch 'master' into 'master' insert 2021-01-05 14:29:42 +00:00
  • bb73f905e6 Formatted code Martin Loffler 2021-01-05 15:01:24 +01:00
  • 66a2930a6f Code cleanup Cleaned up - matches in routes remove_friend and unblock_user - production warnings in util/variables Martin Loffler 2021-01-05 14:49:56 +01:00
  • f24d478454 async_std main attribute Closes #1 Martin Loffler 2021-01-04 14:59:25 +01:00
  • 1b711a88ef Include relationship when fetching a user. Paul Makles 2021-01-03 20:27:23 +00:00
  • b87f396f40 Make ready payload send all users we have a relationship with. Paul Makles 2021-01-03 17:43:20 +00:00