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
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
Paul
dbfed52f17
Prevent access to bot routes as bot.
2021-09-03 14:37:40 +01: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
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
33262cc703
Add cache control header for default avatars.
2021-07-31 14:48:08 +01:00
Paul
e655f53641
Fix embeds not re-generating properly on edit.
...
Include own memberships in Ready payload.
2021-07-31 12:09:03 +01:00
Paul
8f6e5be1d4
Events: Distribute user updates to servers.
...
Fix: Deleting a server now correctly deletes all associated objects.
2021-07-28 13:40:03 +01:00
Paul
a5f7314f97
Fix description not being updated on servers.
2021-07-27 12:29:55 +01:00
jan0660
ca04f4d510
Add member_count to /invites/:id
2021-07-25 16:49:27 +02:00
Paul
682b6cbd9f
Return banned user objects.
...
Fix category edit.
2021-07-24 19:42:57 +01:00
Paul
1a8006b3e4
Add before, after and sort support to search.
2021-07-21 18:26:35 +01:00
Paul
1872432725
0.5.1-alpha.8
...
Add Edit Role route.
2021-07-13 13:43:42 +01:00
Paul
6f8802ab5f
Feature: W.I.P. search route
2021-07-09 14:34:01 +01:00
Paul
fe821b8283
Temporary fix for compile.
...
Add badge ID.
2021-07-08 22:54:46 +01:00
Paul
a4c227ce41
Add "nearby" message query.
2021-07-07 16:21:21 +01:00
Paul
e452d6a362
Fix: Permission PUT route priority.
2021-07-01 17:49:48 +01:00
Paul
57f81e018c
Servers: Create or delete roles.
...
Members: Assign / un-assign multiple roles.
Servers: Routes to set permissions.
2021-06-30 20:09:42 +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
51dc25c94c
Refactor: Use category_route.rs naming convention for channels.
2021-06-27 09:58:08 +01:00
Paul
a017872c99
Servers: Add categories to server model.
2021-06-27 00:13:35 +01:00
Paul
f35a1049da
Fix: Use UploadFiles instead of EmbedLinks perm.
2021-06-26 22:35:21 +01:00
Paul
07e74e1074
Servers: New permissions implementation.
...
Feature: Roles and group permissions. (server-side)
2021-06-26 22:16:37 +01:00
Paul
35b0c69cdb
Permissions: Add EmbedLinks / UploadFiles to channels
...
Web Push: Send events if mentioned
2021-06-25 13:33:05 +01:00
Paul
b45ea266d8
Fix various issues relating to voice channels.
2021-06-24 12:33:16 +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
4727f997ed
New Feature: Add server-side channel unreads.
2021-06-16 23:24:31 +01:00