Commit Graph
278 Commits
Author SHA1 Message Date
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
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
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