Paul Makles
ce68f7eeed
fix: don't return all members on message query / search
2022-01-03 15:21:12 +00:00
Paul Makles
345c4c627c
feat: add discoverability and analytics flags
2022-01-03 12:46:10 +00:00
Paul
7981748b7b
fix: include associated user ids (system messages)
...
fixes #3
2021-11-20 13:18:13 +00:00
Paul
08c1aa6f5d
feat(messaging): add masquerade to messages
2021-11-04 20:50:30 +00:00
Paul
012a30ce61
feat(task_queue): ack task
...
closes #111 and closes #86
2021-11-02 13:30:36 +00:00
Paul
8d25dd1d65
feat: implement idempotency tokens
...
closes #108 and closes #106
2021-11-01 18:32:45 +00:00
Paul
49c7bc0ffe
fix: prevent server owner being kicked
...
Fixes #96 .
2021-11-01 13:51:38 +00:00
Marie
39a759396f
Merge branch 'revoltchat:master' into patch-1
2021-09-18 21:15:49 +02:00
Paul
e5e0031cad
Fix rate limiter for bots.
...
Use local-request state to cache User object.
2021-09-18 20:06:00 +01:00
Marie
24a20a8719
Add NSFW single editing
2021-09-17 23:15:43 +02:00
Paul Makles
8e9991a2de
Merge pull request #84 from rmeritz/change-username
2021-09-17 13:26:40 +01:00
Paul Makles
a6d49d388f
Update src/routes/users/change_username.rs
...
Co-authored-by: Splatterxl <splatterxl@outlook.ie >
2021-09-17 13:26:32 +01:00
Paul Makles
6eee1bc669
Merge pull request #79 from Zomatree/ratelimits
2021-09-17 13:26:03 +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
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
e2da00e6b0
Merge pull request #83 from Jan0660/master
...
Add route for fetching self for bots and users
2021-09-14 21:22:34 +01:00
Paul Makles
4b8205b75b
Merge pull request #76 from goaaats/feature/server_limit
...
Add basic server limit
2021-09-14 20:52:16 +01:00
meguminloli
2660b96250
push dependencies
2021-09-14 18:26:02 +03:00
Paul
b4db321d0e
Fix missing definition of flags on creation.
2021-09-14 16:16:18 +01:00
Yannick Funk
ddfc0a5f86
Merge branch 'master' into unify-last-message
2021-09-13 20:19:54 +02:00
Rebecca Meritz
4f1d841312
Allow users to change case of own username
...
Usernames are case-insensitive so now one have the name `foo` and
someone else have the name `FOO`, but user `foo` should be able to
change their own name to `FOO` if they want to for display purposes.
2021-09-11 18:59:23 -07:00
Jan0660
405f45d0f7
Add GET /users/@me
2021-09-12 00:01:30 +00:00
Paul
06f968022d
Update to rAuth v1, closes #63 .
...
Add Pong packet for normal frames.
2021-09-11 11:23:15 +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
dbfed52f17
Prevent access to bot routes as bot.
2021-09-03 14:37:40 +01:00
Yannick Funk
b15e07c707
Initial commit
2021-08-25 21:48:43 +02:00
Yannick Funk
ffa721117e
Shorten regex further
2021-08-25 16:34:42 +02:00
Yannick Funk
c29f6d830c
Ignore I L O and u
2021-08-25 16:32:11 +02:00
Yannick Funk
effe3763da
Shorten regex and adapt capture evaluation
2021-08-25 00:10:20 +02:00
Paul
326e539ad3
Fix issues with incoming PRs.
2021-08-16 14:07:42 +01:00
Paul Makles
c632341eb7
Merge pull request #36 from Zomatree/master
2021-08-16 13:57:09 +01:00
Paul Makles
6de1d1f98b
Merge pull request #38 from heikkari/13-24
2021-08-16 13:52:42 +01:00
heikkari
721ca3a4f5
Enhancement: Routes with no body should return 204 No Content.
2021-08-16 15:34:44 +03:00
Zomatree
d4f7c4a77d
add nsfw to servers and channels
2021-08-16 00:18:14 +01:00
Paul Makles
28c4312880
Merge pull request #35 from heikkari/34
2021-08-15 23:45:12 +01:00
heikkari
7e84d2671a
Move code to database/entities/user.rs
2021-08-16 01:26:05 +03:00
Paul
bffac8c4c0
Update CORS options.
...
Disallow bots to be added as friends.
2021-08-15 23:11:33 +01:00
heikkari
e35a6b12e1
Fix: User's invisibility status is exposed
2021-08-16 00:40:33 +03:00
Paul
f04137d50f
Include servers in mutual route.
2021-08-12 16:16:13 +01:00
Paul
b3bdf403cf
Add delete route for bots. Closes #8 .
2021-08-12 14:28:46 +01:00
Paul
bd3606176a
Add bot edit route for #8 .
2021-08-12 14:05:48 +01:00
Paul
a71bfa908c
Add fetch owned, public and specific bots for #8 .
2021-08-12 13:40:03 +01: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
e70f848f21
Patch password length limit on change username.
2021-08-09 14:53:26 +01:00
Paul
e7065cbf1d
Bump reqwest version.
...
Add mark server as read route.
Mark servers as read on join.
2021-08-07 12:26:25 +01:00
Paul
f09fde616a
Add rate limiting to message sending.
2021-08-06 17:24:16 +01:00