Commit Graph

51 Commits

Author SHA1 Message Date
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
Paul Makles
0f793f84a2 Fix serialization. 2020-04-13 16:29:48 +01:00
Paul Makles
577f25642e Re-write notifications system. 2020-04-13 16:04:41 +01:00
Paul Makles
8a4a386ec5 Add util, fix fetch DMs, fully implement delete. 2020-04-09 18:33:08 +01:00
Paul Makles
badaf8db9d Push working draft. 2020-04-07 11:21:19 +01:00
Paul Makles
ec1e91aee1 Run rust fmt. 2020-04-06 13:07:05 +01:00
Paul Makles
a763c8cb58 Misc changes. 2020-02-16 16:31:23 +00:00
Paul Makles
4f6850b2d0 Write websocket server. 2020-02-08 16:47:19 +00:00
Paul Makles
955e482dae Add extra guards, begin working on channels. 2020-01-26 15:20:32 +00:00
Paul Makles
70b4111259 Add email verification. 2020-01-25 10:26:56 +00:00
Paul Makles
335dac59d0 Removed email.rs and cleaned up. 2020-01-19 14:23:39 +00:00
Paul Makles
56631f99b2 no 2020-01-19 14:22:52 +00:00