Commit Graph

62 Commits

Author SHA1 Message Date
Paul Makles
4801b51cef fix: fixes for full mongo implementation 2022-02-11 21:44:59 +00:00
Paul Makles
5aee381fd6 feat: enable migrations 2022-02-11 12:37:09 +00:00
Paul Makles
249b1161f9 chore: implement invite join and rauth conf 2022-02-11 11:28:06 +00:00
Paul Makles
a4cbbfea51 feat(messages): implement fetch, query, search 2022-02-10 12:53:26 +00:00
Paul Makles
88f811761b feat: implement channel invites, perms, group create, members fetch
chore: when you accidentally run fmt
2022-02-04 21:50:30 +00:00
Paul Makles
c1cd4bfa66 feat(routes/users): implement fetch_self 2022-01-31 20:07:36 +00:00
Paul Makles
0fdb749199 chore(thanos): strip down codebase to just API routes 2022-01-27 14:16:30 +00:00
Paul
6366e0ac24 feat(task_queue): last_message_id task
closes #110
2021-11-01 20:54:48 +00:00
Paul
2ef6b28029 Switch to Redis from MongoDB for event broker.
Closes #1.
2021-09-19 22:13:25 +01:00
Zomatree
e636879065 Merge remote-tracking branch 'upstream/master' into ratelimits 2021-09-15 21:06:08 +01:00
Paul
06f968022d Update to rAuth v1, closes #63.
Add Pong packet for normal frames.
2021-09-11 11:23:15 +01:00
Zomatree
fcb59b2493 remove comments 2021-09-07 15:50:56 +01:00
Zomatree
2f452b15b1 add ratelimits 2021-09-07 15:48:06 +01:00
Paul
bffac8c4c0 Update CORS options.
Disallow bots to be added as friends.
2021-08-15 23:11:33 +01:00
Paul
f09fde616a Add rate limiting to message sending. 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
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
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
ec59d0e9a9 Try to make email not go into spam. 2021-07-27 16:16:17 +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
c086fe7ac4 Move versioning to source. 2021-05-03 15:03:30 +01:00
Martin Loffler
33b0658680 Multi-thread rocket and hive 2021-04-30 13:19:31 +02: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
a76ec207b3 Add Prometheus metrics. 2021-01-29 21:56:37 +00:00
Paul Makles
23ec2d61f1 Push env variables to rAuth + cargo fmt. 2021-01-26 17:29:03 +00:00
Paul Makles
75a35831da Update rauth, pin git repositories in Cargo.toml. 2021-01-25 21:35:47 +00:00
Martin Loffler
f24d478454 async_std main attribute
Closes #1
2021-01-04 15:01:18 +01: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
eb382fa1ec New perm concept, reference, and adding routes. 2020-12-29 13:02:04 +00:00
Paul Makles
c748b4349b Switch to async-std, refractor notifications code. 2020-12-28 17:52:22 +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
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
a8eb403280 Logging + database migrations system. 2020-08-11 21:08:01 +02:00
Paul Makles
8cb697dfcd Add user cache, no more "guard refs". 2020-08-10 21:11:01 +02:00
Paul Makles
d95982fb54 Run cargo fmt, add root preflight. 2020-08-04 10:19:33 +02:00
Paul Makles
b0f8abef33 Implement basic caching. 2020-08-03 10:51:14 +02:00
Paul Makles
5e59c553f3 Change how usernames, introduce display names. 2020-07-25 11:36:43 +02:00