Commit Graph

272 Commits

Author SHA1 Message Date
Paul Makles
cac21ce2b6 Fix import and cargo fmt 2020-12-30 15:36:04 +00:00
Paul Makles
0640f68f9c Add notifications to remaining routes. 2020-12-30 15:34:32 +00:00
Paul Makles
1aaa6f3c41 Get notifications working properly. 2020-12-30 15:24:44 +00:00
Paul Makles
f39bc07bb9 Start work on notifications from client, cargo fmt 2020-12-30 11:36:32 +00:00
Paul Makles
af56f5e2d8 Add hive to main join!(). 2020-12-29 23:25:52 +00:00
Paul Makles
c704f13d72 Re-implement user relationships. 2020-12-29 16:32:22 +00:00
Paul Makles
84d09db9b3 Add SavedMessages channel type, add create DM. 2020-12-29 14:15:44 +00:00
Paul Makles
eb382fa1ec New perm concept, reference, and adding routes. 2020-12-29 13:02:04 +00:00
Paul Makles
798047625a Add onboarding and FromRequest for User. 2020-12-28 21:47:32 +00:00
Paul Makles
16c5a28637 Refractor route code. 2020-12-28 18:32:13 +00:00
Paul Makles
c748b4349b Switch to async-std, refractor notifications code. 2020-12-28 17:52:22 +00:00
Paul Makles
6253a91276 Move all entities to their own folder. 2020-12-28 15:21:11 +00:00
Paul Makles
b33f19a3c2 Copy better error handling over from rauth. 2020-12-28 15:04:23 +00:00
Paul Makles
a91bae2784 Use compose, disable major parts of application. 2020-12-28 14:54:34 +00:00
Paul Makles
4a95132ee8 Mount rauth. 2020-12-28 13:58:22 +00:00
Paul Makles
d171374aa1 Use master branch, ignore local db, and use CORS. 2020-12-28 13:40:37 +00:00
Paul Makles
6cfec0ee08 Switch to async Rust and break all logic. 2020-12-27 13:28:37 +00:00
Paul Makles
5711986768 Remove old notif code; uncommited changes. 2020-11-28 19:25:15 +00:00
Paul Makles
c3362a6e4f New pubsub backend. 2020-09-03 16:26:32 +01:00
Paul Makles
c95dc19f67 Fix docker run.sh 0.2.10 2020-08-30 18:56:43 +01:00
Paul Makles
ab2a510bc6 Add .env to ignore and remove warning. 2020-08-30 18:04:38 +01:00
Paul Makles
7c374ec756 Use flags for email / registration correctly. 2020-08-30 17:48:30 +01:00
Paul Makles
cbac802978 Re-write email backend, use SMTP directly. 2020-08-30 17:16:53 +01:00
Paul Makles
ff0e539c7b Add docker helper scripts. 2020-08-30 15:44:56 +01:00
Paul Makles
8bb1977025 Add Docker and GitLab CI. 2020-08-30 15:07:45 +01:00
Paul Makles
000ffe6aaa Fix bug. 2020-08-30 13:40:29 +01:00
Paul Makles
81111c5937 Fix guild creation, disable registration. 0.2.9 2020-08-25 08:50:25 +01:00
Paul Makles
49044d7796 Fix hCaptcha verification. 2020-08-13 13:56:54 +02:00
Paul Makles
f44180a980 Add hCaptcha support. 2020-08-13 13:06:06 +02:00
Paul Makles
8ee867eec7 Fix errors. 2020-08-12 16:17:58 +02:00
Paul Makles
dde4224deb Attach channels on guild object. 2020-08-12 16:13:42 +02:00
Paul Makles
088490dfc3 Include guild channels in payload. 2020-08-12 16:07:10 +02:00
Paul Makles
7e7eb34f65 Add serialisation, ready payload and GET guilds. 0.2.8 2020-08-12 15:40:56 +02:00
Paul Makles
74b4238f04 Add channels field to guild object. 2020-08-12 11:45:05 +02:00
Paul Makles
a8eb403280 Logging + database migrations system. 0.2.7 2020-08-11 21:08:01 +02:00
Paul Makles
750f8c6738 Provide version object at /, add ready event. 2020-08-11 16:20:24 +02:00
Paul Makles
83ee9253fe Fix fetch guild member. 2020-08-11 12:41:23 +02:00
Paul Makles
0b90145b31 Breaking change to FriendStatus, user cache sync. 0.2.6 2020-08-10 22:23:58 +02:00
Paul Makles
8cb697dfcd Add user cache, no more "guard refs". 2020-08-10 21:11:01 +02:00
insert
cd5c7ce02c Merge branch 'caching' into 'master'
Caching and other small changes.

See merge request revolt/delta!1
0.2.5
2020-08-10 16:59:50 +00:00
Paul Makles
6504f78518 Prepare to merge back into master. 2020-08-10 18:59:08 +02:00
Paul Makles
11ce7c9e30 Handle incoming changes and push to cache. 2020-08-10 18:58:23 +02:00
Paul Makles
8956400e44 Add caching for members, rewrite part of perms. 2020-08-10 18:53:24 +02:00
Paul Makles
aba0db268a Update cached channel state from notifications. 2020-08-10 15:29:48 +02:00
Paul Makles
d95982fb54 Run cargo fmt, add root preflight. 0.2.4 2020-08-04 10:19:33 +02:00
Paul Makles
17c9148556 Update to mongo 1.1.0-beta, start reset + migrations 2020-08-04 10:04:08 +02:00
Paul Makles
6a1912c27b Cache guilds. 2020-08-03 15:23:32 +02:00
Paul Makles
fa6ed75ed8 Remove ChannelRef, use the full Channel object. 2020-08-03 11:01:05 +02:00
Paul Makles
b0f8abef33 Implement basic caching. 2020-08-03 10:51:14 +02:00
Paul Makles
6f065b7575 Fix CORS for /query 2020-07-27 09:49:18 +02:00