Divlo
8e69511e3e
docs: add oauth2
tag
2022-08-29 17:37:00 +00:00
Divlo
7e305429b4
feat: make JWT refreshTokens more secure
...
Don't store the token itself in the database, store a UUID, and when refreshing the accessToken, verify the token and verify that in the payload there is a corresponding UUID stored in the database
2022-08-29 17:26:43 +00:00
Divlo
b71da7dcc9
fix: on password reset, delete all refresh tokens
2022-08-29 16:32:24 +00:00
Divlo
a6dd112e4a
refactor: minor changes
2022-08-29 16:10:17 +00:00
Divlo
46745e1b7e
build(deps): update latest
2022-08-23 21:53:07 +00:00
Divlo
2f78604116
fix: sort public guilds with descending members count
2022-06-29 04:16:48 +00:00
Divlo
4d565e4f1f
build(deps): update latest
2022-06-29 03:59:30 +00:00
Divlo
b13bd6a85e
fix: no default for user settings so if not specified it saves the current value
2022-04-08 23:05:58 +00:00
Divlo
a4c77fec50
fix: file upload and OAuth2 ( #10 )
2022-04-08 21:36:29 +02:00
Divlo
69c567cb66
fix: stricter ajv validation
2022-04-07 14:56:07 +00:00
Divlo
694ac58aad
fix: usage of API_URL
2022-03-21 20:44:15 +01:00
Divlo
6575517e50
chore: reset initial prisma/migration
2022-03-21 16:08:33 +01:00
Divlo
19b6f96ecf
feat: usage of ESM modules imports (instead of CommonJS) ( #5 )
...
Replace `jest` with `tap`.
2022-03-20 11:49:27 +01:00
Divlo
91a0e2a76f
feat: add OAuth2 authentication (Google/GitHub/Discord)
2022-03-06 15:41:30 +00:00
Divlo
9e6bf25c83
feat(scripts): add delete dead uploaded files
2022-03-05 18:49:38 +00:00
Divlo
1bcee76324
fix(services): add missing real time
2022-03-02 11:47:13 +01:00
Divlo
c23239c0da
fix(services): realtime edge cases
2022-03-01 23:00:49 +01:00
Divlo
d3a777c82a
fix(services): allow deletion of channel if there's more than 1 channel
2022-03-01 08:53:20 +01:00
Divlo
f74cf25a68
feat(services): add messages endpoints
2022-02-28 15:51:39 +00:00
Divlo
560b966a61
feat(services): add channels endpoints
2022-02-28 15:02:09 +00:00
Divlo
e6d8b64f8a
feat(services): add guilds endpoints
2022-02-19 19:08:25 +00:00
Divlo
5f2b8c8021
chore: cleanup
2022-02-07 16:18:11 +00:00
Divlo
2405b4951b
fix(services): improve validation PUT /users/current
2022-01-29 22:31:37 +01:00
Divlo
32ac15c831
style: fix linting issues with imports
2022-01-13 17:41:34 +01:00
Divlo
5643ab420f
feat: add realtime with socket.io
2022-01-13 16:33:16 +00:00
Divlo
97b1d04261
fix(services): restrict GET /uploads/messages/:file to authorized users
2022-01-06 18:13:13 +01:00
Divlo
03946f26e7
feat(services): add POST /channels/[channelId]/messages/uploads
2022-01-01 14:19:27 +00:00
Divlo
766c9fdbd6
feat(services): add POST /channels/[channelId]/messages
2022-01-01 01:35:56 +00:00
Divlo
0003c91f69
fix(services): desc order for GET /channels/[channelId]/messages
2021-12-29 18:33:12 +00:00
Divlo
712a92b25f
feat(services): add GET /guilds/[guildId]/members
2021-12-29 12:43:04 +00:00
Divlo
7bc593093c
feat(services): add GET /channels/[channelId]/messages
2021-12-29 11:44:16 +00:00
Divlo
567b5aa2d8
feat(services): add GET /channels/[channelId]
2021-12-28 21:53:44 +00:00
Divlo
2871c4c9e0
feat(services): add GET /guilds/[guildId]/channels
2021-12-28 21:52:28 +00:00
Divlo
265ac006a0
feat(services): add GET /guilds/[guildId]
2021-12-28 18:19:53 +00:00
Divlo
a746b6a057
feat(services): add GET /guilds
2021-11-19 21:52:22 +01:00
Divlo
385c95be90
feat(services): ability to search GET /guilds/public
2021-11-13 14:48:56 +01:00
Divlo
f0f4f9f69f
feat(services): add GET /guilds/public
2021-10-26 15:11:41 +00:00
Divlo
56c613b5cf
feat(services): add PUT /guilds/[guildId]/icon
2021-10-26 14:01:49 +00:00
Divlo
b77e602358
feat: migrate from express to fastify
2021-10-24 04:18:18 +02:00
Divlo
714cc643ba
chore: initial commit
2021-10-24 04:06:16 +02:00