98 Commits

Author SHA1 Message Date
Madeline
280a70444c Send user settings on PATCH users/@me/settings 2022-09-08 00:31:44 +10:00
Madeline
0d43bb0afa Apply Iratu's patch for relationships
Wrap get messages in try catch because around is broken
2022-09-02 21:14:31 +10:00
Madeline
c7767e5fa4 Fix /users/@me/settings get and migrarion 2022-08-21 20:00:35 +10:00
Madeline
7ce8543510 fosscord-server/pulls/858 2022-08-21 17:35:04 +10:00
Madeline
8ebbffe312 Merge branch 'feat/notesTable' into slowcord 2022-07-23 21:06:53 +10:00
Madeline
8bb93be9c7 Delete Note if no content 2022-07-23 21:06:31 +10:00
Madeline
cc21ae7f6a Merge branch 'feat/notesTable' into slowcord 2022-07-23 20:56:26 +10:00
Madeline
568f0dd9ae Moved user notes into separate table 2022-07-23 20:52:48 +10:00
Madeline
88259246fb Prevent demo user from enabling 2FA 2022-07-20 21:35:02 +10:00
Madeline
02bb548953 Merge branch 'feat/latestWebClient' into slowcord 2022-07-20 20:49:23 +10:00
Madeline
3bbaa1a08b Merge branch '2fa' into feat/latestWebClient
Add placeholder codes-verification and view-backup-codes-challenge routes
2022-07-20 20:48:17 +10:00
Madeline
428e101a86 Merge branch '2fa' into slowcord 2022-07-20 20:31:18 +10:00
Madeline
5cdcc48d1b 2fa 2022-07-20 20:14:30 +10:00
Madeline
4a48a7bcb8 Merge branch 'fix/sendMemberInProfile' into slowcord 2022-07-16 22:36:21 +10:00
Madeline
6a032c74c8 Actually respect with_mutual_guilds 2022-07-16 22:36:05 +10:00
Madeline
884aaaae37 Merge branch 'fix/sendMemberInProfile' into slowcord 2022-07-16 22:34:43 +10:00
Madeline
c5c00a0b87 Don't send @everyone role 2022-07-16 22:34:03 +10:00
Madeline
9dc2c706f7 Merge branch 'fix/sendMemberInProfile' into slowcord 2022-07-16 22:29:11 +10:00
Madeline
ad6ffd3aee Forgot to send roles in guild_member 2022-07-16 22:28:37 +10:00
Madeline
3c7a4cca51 Forgot to send roles in guild_member 2022-07-16 22:27:03 +10:00
Madeline
16ffe2d77a Merge branch 'fix/sendMemberInProfile' into slowcord 2022-07-16 22:23:23 +10:00
Madeline
53aeaab6b7 Respect with_mutual_guilds and guild_id in /users/:id/profile 2022-07-16 22:22:48 +10:00
Madeline
7b4c483ae9 Merge branch 'feat/latestWebClient' into slowcord 2022-07-10 14:22:27 +10:00
Madeline
9a685108c7 Fix username/discrim changing 2022-07-10 13:50:32 +10:00
Madeline
bcf4cdd326 Merge branch 'fix/claim_accounts' into slowcord 2022-07-08 22:47:18 +10:00
Madeline
faa13a90cd Check if email required in PATCH @me 2022-07-08 22:45:10 +10:00
Madeline
aa3c3abcab Merge branch 'fix/claim_accounts' into slowcord 2022-07-07 23:37:05 +10:00
Madeline
806ca5f269 Ensure password was given if email is given in PATCH @me 2022-07-07 23:30:47 +10:00
Madeline
bba8ae54d7 Somehow the ID of demo user changed. Use email of demo instead 2022-07-07 23:25:46 +10:00
Madeline
6e333f9696 Prevent demo user from editing their profile 2022-07-03 00:02:01 +10:00
Madeline
6e0040a8ca Fix not assigning new changes to input fields in users/@me 2022-04-23 01:48:41 +10:00
Madeline
7e7a2d3619 Fixed ability for user to edit any property of themselves, including rights, flags. Note to self: schemas.json is a GENERATED file. npm run generate:schema in api/ 2022-04-23 01:07:59 +10:00
Madeline
4304b77987 Merge branch 'master' into fix/claim_accounts 2022-04-11 00:26:33 +10:00
Madeline
ecf59d30c5 User Notes (#707)
* Notes implementation.
Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT?

* I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page

* Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
2022-04-05 12:58:34 +03:00
RealMANI
4adf6602de Temporary notes fix
Temporary fix for getting stuck on loading user note.
//TODO
2022-03-08 18:12:34 +03:00
RealMANI
fa750de6fb Check username 2022-03-06 12:18:58 +03:00
RealMANI
b51e687793 [Fix] Changing bio and accent color 2022-03-06 12:18:58 +03:00
Erkin Alp Güney
0f1251c622 Merge branch 'master' into fix/claim_accounts 2022-03-05 17:49:23 +03:00
RealMANI
397085878e [Fix] Profile & banner uploading
Related to this issue https://github.com/fosscord/fosscord-server/pull/639#issuecomment-1046140968
2022-02-20 08:10:50 +03:00
Iratu
46f77f8e38 changed user.premium_since to also load from the database. 2022-02-18 19:50:11 +03:00
Iratu
58d58928ec Fix for Premium Since to show the 'Guild Boost' and store it correctly in the database 2022-02-18 19:50:11 +03:00
Madeline
f4dbca6150 Added email sanitisation to /users/@me PATCH. Could previously have email as any string 2022-02-17 20:57:42 +11:00
Madeline
dbbe0037d0 Fixed bug in /users/@me PATCH where username must be present in every request, breaking account claiming 2022-02-17 20:32:47 +11:00
Erkin Alp Güney
8ed310e0d3 Merge pull request #608 from Featyre/master
Branding updates + Fixed Discovery and custom status + Dev portal
2022-02-16 21:16:20 +03:00
RealMANI
dcf9c436ed Typo 2022-02-16 10:46:08 +03:00
RealMANI
4825cbb4a7 Mutual Friends
Added mutual friends
2022-02-16 10:46:08 +03:00
RealMANI
5a215b1af7 Mutual Guilds (#637) 2022-02-16 10:45:54 +03:00
RealMANI
4eae64b91a [Fix] Invisible space username (#639)
You can send only spaces to the server and have a invisible username, this way you can remove the spaces and check and if it wasn't null after you know it's not just spaces
2022-02-16 10:45:37 +03:00
Featyre
9f5c451cbc Return none for dev portal + todo for categories 2022-02-02 02:09:57 +08:00
developomp
99f6da9762 prettier formatted /api 2021-10-20 09:13:22 +09:00