Commit Graph
76 Commits
Author SHA1 Message Date
Paul 2ef6b28029 Switch to Redis from MongoDB for event broker.
Closes #1.
2021-09-19 22:13:25 +01:00
Paul e5e0031cad Fix rate limiter for bots.
Use local-request state to cache User object.
2021-09-18 20:06:00 +01:00
Paul Makles 6eee1bc669 Merge pull request #79 from Zomatree/ratelimits 2021-09-17 13:26:03 +01:00
Zomatree 6e70a39fce fix rauth 2021-09-15 21:37:42 +01:00
Paul Makles 53aa2818b4 Merge pull request #88 from meguminloli/re_username 2021-09-15 21:30:58 +01:00
Zomatree e636879065 Merge remote-tracking branch 'upstream/master' into ratelimits 2021-09-15 21:06:08 +01:00
Zomatree 46c4de8c68 cleanup 2021-09-15 20:55:02 +01:00
Megumin 6e46362d13 add a newline at the end of regex.rs 2021-09-15 22:22:55 +03:00
meguminloli a2bfaa5791 moved all RE_USERNAME occurrences to regex.rs
switch to normal Cargo.toml

switch to normal Cargo.toml

switch to normal Cargo.toml

solved bug
2021-09-15 21:07:01 +03:00
Paul Makles 536e335b25 Merge branch 'master' into feat/embed_improvements 2021-09-14 20:54:21 +01:00
goat 6a29c7cf03 feat(january): add MAX_EMBED_COUNT variable 2021-09-08 18:16:56 +02:00
Zomatree b99807cf2a use unwrap 2021-09-07 15:57:38 +01:00
Zomatree fc5d14d4aa remove line 2021-09-07 15:52:33 +01:00
Zomatree 2f452b15b1 add ratelimits 2021-09-07 15:48:06 +01:00
goat 88a1d46bcc feat: add basic server limit via env var 2021-09-07 05:16:27 +02:00
Paul 326e539ad3 Fix issues with incoming PRs. 2021-08-16 14:07:42 +01:00
heikkari 48d2fbe5ae Add a responder for empty responses 2021-08-16 14:05:59 +03:00
Paul 9f749cfdf8 Invite bot to server / group for #8. 2021-08-12 09:24:06 +01:00
Paul 93610ebbc3 Restrict bots from creating servers, groups, acking messages, and making friends. 2021-08-11 20:16:11 +01:00
Paul 084d71f050 Add role hoisting / ranking.
Add bot creation for #8.
2021-08-11 20:04:22 +01:00
Paul f09fde616a Add rate limiting to message sending. 2021-08-06 17:24:16 +01:00
Paul 6fe0725799 Organise Cargo.toml 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 Makles 31c93b9954 Channels: Add role / default permission set routes.
Server: Add role create / delete route.
2021-06-30 12:56:18 +01:00
Paul 9a417aa6ad Messaging: Add message replies.
Servers: Add VoiceChannel.
2021-06-23 13:50:18 +01:00
Paul ad06ff16c4 Messaging: Upsert mentions into unreads.
Messaging: Allow multiple attachment upload.
2021-06-22 17:42:18 +01:00
Paul 0f18a6781d Channels: Include last message id on text channels.
API: Return members when fetching messages.
Misc: Remove defunct DISABLE_REGISTRATION variable.
2021-06-11 16:22:35 +01:00
Paul c763a292a7 Run cargo fmt. 2021-06-07 16:16:40 +01:00
Paul 4e90cf1f58 Servers: Ban and unban users +
ban list.
2021-06-06 16:52:00 +01:00
Paul f9fbe54b17 Servers: Create and delete invites. Create and fetch servers. 2021-06-05 22:41:47 +01:00
Paul 812fa2a98f Permissions: Resolve guild, allows ability to delete channels, delete others messages, etc. 2021-06-02 12:35:01 +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 5aa9624d5c Database: Add user settings sync entity.
Run cargo fmt.
2021-05-26 11:02:16 +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 6716a2d32b Join with newlines for embed generation.
Server January URL endpoint on server configuration.
2021-05-14 22:39:16 +01:00
Paul 7293abfc53 Add january support. 2021-05-07 18:00:21 +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 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 60731e1c70 Integrate voso, join_call route for channels. 2021-03-31 11:48:52 +01:00
Paul db6047f2d3 Allow empty messages with attachment. 2021-02-19 14:09:19 +00:00
Paul 10cac358a9 Label permission errors, and too many ids for /stale. 2021-02-19 13:26:04 +00:00
Paul 78cfbf9d21 Clean up subscription code; handle error properly. 2021-02-19 12:48:52 +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 ea8de2400a Add support for rAuth invite-only mode. 2021-02-12 20:37:24 +00:00