summary refs log tree commit diff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add SendGrid transportPuyodead12023-02-243-1/+56
|
* don't print anything if email send is successfulPuyodead12023-02-242-21/+16
|
* error if correspondence email is not setPuyodead12023-02-231-0/+5
|
* fix for when secure is set to falsePuyodead12023-02-231-1/+1
|
* add right to resend verification emailsPuyodead12023-02-233-22/+27
|
* fix: email verificationPuyodead12023-02-233-15/+42
|
* fix: verification required for login not working correctlyPuyodead12023-02-231-0/+1
|
* config: require account verificationPuyodead12023-02-233-6/+14
|
* fix linting errorsPuyodead12023-02-234-64/+19
|
* Add mailjet transportPuyodead12023-02-234-55/+133
|
* Add Mailgun transportPuyodead12023-02-235-10/+121
|
* rename SMTPConfigurations to EmailConfigurationPuyodead12023-02-235-7/+8
|
* Fix template rendering and use verify email templatePuyodead12023-02-233-12/+113
| | | | email html is weird, some stuff isn't supported.
* Email verification worksPuyodead12023-02-237-24/+130
| | | | | | | | - Added /auth/verify to authenticated route whitelist - Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check - Implemented /auth/verify/resend - Moved verification email sending to a helper method - Fixed VerifyEmailSchema requiring captcha_key
* add missing copyright headersPuyodead12023-02-233-0/+54
|
* send email verificationPuyodead12023-02-234-3/+97
|
* Start implementing smtpPuyodead12023-02-235-10/+53
|
* Fix gateway encoding Date objects as {} when using erlpack. Fixes ↵Madeline2023-02-214-21/+41
| | | | NaN/NaN/NaN timestamps in desktop client
* Close #954Madeline2023-02-211-0/+19
|
* Remove channel mentions from messages, in order to fix them in test client.TheArcaneBrony2023-02-201-6/+10
| | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Implement default avatars #979Madeline2023-02-181-0/+67
|\
| * Update default avatar colour scheme and fix orderingMadeline2023-02-181-5/+6
| |
| * add support for desktop/webPuyodead12023-02-171-1/+11
| |
| * asyncPuyodead12023-02-171-6/+6
| |
| * Implement default avatarsPuyodead12023-02-171-0/+56
| |
* | Fix a bug prevent connections using erlpack (#977)Madeline2023-02-161-1/+1
|/
* Fix being unable to unset nicknamesMadeline2023-02-052-29/+11
| | | | | Remove unwanted guild profile handler in cdn Fix rights check for bio/avatars of your own user
* Don't use relative path for db entities. Closes #937Madeline2023-02-031-1/+1
|
* On db sync/first run, add all the current migrations to migrations table to ↵Madeline2023-02-032-2/+14
| | | | prevent running them on restarts
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-033-9/+21
|\
| * various fixes for webauthn (#973)Puyodead12023-02-033-9/+21
| |
* | remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from ↵Madeline2023-02-031-1/+1
|/ | | | default rights
* run add:licenseMadeline2023-02-035-0/+90
|
* Don't allow message types to be editedMadeline2023-02-033-6/+25
|
* Merge pull request from GHSA-9qvc-84ch-5p2xMadeline2023-02-021-1/+26
| | | | | * Check permissions and rights * Prevent editing message type unless MANAGE_MESSAGES right. Also don't send sensitive data in patch response.
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-024-18/+15
|
* Merge pull request from GHSA-9q7f-pv47-cxp9Madeline2023-02-021-1/+13
|
* Merge pull request from GHSA-r7h4-76f7-6264Madeline2023-02-022-1/+11
| | | | | * Actually use maxUsername config value. * Change maxUsername default to discord.com default
* Use erlpack instead of @yukikaze-bot/erlpack (#968)Madeline2023-02-016-31/+38
|
* Rename postgresql to postgres -> fix silently failing migrationsTheArcaneBrony2023-01-313-2/+4
| | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Hotfix postgres connection string to not silently fail migrationsTheArcaneBrony2023-01-311-1/+1
|
* Fix missing capitalisation in database connected logTheArcaneBrony2023-01-311-1/+1
|
* Add a tiny bit of extra logging to database connectionTheArcaneBrony2023-01-311-4/+3
|
* Fix missing props in welcome message creation, which causes every client who ↵Madeline2023-02-011-1/+5
| | | | received the welcome message to disconnect.
* check pw and other auth before letting users undisableMadeline2023-01-311-19/+19
|
* subscribe clients to member events when they lazy request membersMadeline2023-01-301-8/+23
|
* question mark.Madeline2023-01-301-1/+1
|
* Impl member lazy request (#970)Madeline2023-01-302-21/+63
|
* read-states/ack-bulk (#969)Madeline2023-01-303-0/+65
|
* Implement WebAuthn (#967)Puyodead12023-01-3016-47/+675
| | | | | | | | | * implement webauthn * code review --------- Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-268-9/+9
|\
| * also don't use 3002 as default when gateway endpoints are nullMadeline2023-01-263-3/+3
| |
| * Use localhost:3001 as fallback when cdn endpoints are null rather than 3003Madeline2023-01-265-6/+6
| |
* | Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ↵Madeline2023-01-262-2/+9
|/ | | | active
* Don't set default cdn endpoints. Null endpoints means to not update them in ↵Madeline2023-01-261-2/+2
| | | | GLOBAL_ENV. TODO: Don't use private endpoint locations in global env if public is not set, as this limits infra config
* Refactor config utils (#963)Madeline2023-01-241-43/+38
|
* Add ESLint (#941)Madeline2023-01-20149-661/+706
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* fix: route file regex (#956)Puyodead12023-01-201-1/+1
|
* Apparently its still accepted, just depricatedChrisChrome2023-01-181-0/+1
|
* It's seconds, not daysChrisChrome2023-01-181-1/+1
|
* Fix a funny security vulnChrisChrome2023-01-181-1/+1
|
* Merge pull request #952 from fosscord/dev/endpoints-in-pingChris Chrome2023-01-182-1/+4
|\ | | | | Merge /dev/endpoints-in-ping to master
| * Merge pull request #934 from fosscord/masterMadeline2023-01-162-5/+15
| |\ | | | | | | Merge master into dev/endpoints-in-ping
| * | Move endpoints from ping -> policies/instance/domains (#933)Chris Chrome2023-01-162-9/+4
| | |
| * | Fix some default valueTheArcaneBrony2023-01-141-1/+2
| | | | | | | | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
| * | Add basic info in pingTheArcaneBrony2023-01-142-1/+8
| | | | | | | | | | | | Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* | | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-181-1/+3
|\ \ \
| * | | Add youtu.be embed handler (#945)Chris Chrome2023-01-181-1/+3
| | | |
* | | | Don't fetch the emoji owner in identify, as this causes mass-disconnects ↵Madeline2023-01-181-1/+0
|/ / / | | | | | | | | | | | | | | | with large emoji counts. TODO: Remove some additional emoji props from being sent (user_id for example)
* | | Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-18395-3/+7044
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add script to automatically add license to each file * Add license preamble to each file. * Fix existing preamble detection breaking due to line endings. Git :( * Prevent license from being added to code with other licenses
* | | send GUILD_CREATE after READY event (#938)V3L0C1T13S2023-01-171-9/+13
| | | | | | | | | | | | | | | * Fix lazy guilds being sent before READY event * Make casing consistent
* | | Fix deleting an application if it has a botMadeline2023-01-172-4/+2
| |/ |/|
* | Return embed proxy url even if imagor not set up. Also make warning nicerMadeline2023-01-161-5/+14
| |
* | Update dead linesMadeline2023-01-161-1/+1
| |
* | Add an error log if embed handler fails, in addition to the existing sentry logMadeline2023-01-151-0/+1
|/
* Add /users/:id/delete (#926)Erkin Alp Güney2023-01-144-0/+53
|
* Fix guild delete failing when template existsMadeline2023-01-134-1/+70
|
* Fix dumping incoming messagesMadeline2023-01-131-2/+2
|
* Fix setting user premium_type/etc (non-nullable) to null in db when null in ↵Madeline2023-01-131-3/+3
| | | | config
* Dont send sessions replace or presence update for unidentified usersMadeline2023-01-131-0/+3
|
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-127-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Re-introduce outgoing message logging Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Websocket dumping * Sentry user count on API * Generate session ID upon opening websocket, fix gateway dumps * Async file io in src/gateway/events/Message.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Async file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Make pre-commit hook executable Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed sync file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed missing await call in src/util/util/AutoUpdate.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Add comment to src/gateway/events/Connection.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Clean up gateway dumping code Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Temp fix for DMsMadeline2023-01-121-4/+5
|
* fix rights lolMadeline2023-01-111-1/+2
|
* If defaults_user_premium is false, don't give a user `premium_since: new Date`Madeline2023-01-111-9/+8
|
* https://discord.com/channels/806142446094385153/898197424340860928/106240434 ↵Madeline2023-01-111-1/+1
| | | | 0427534446
* Add sentry close to sigterm handlerMadeline2023-01-102-0/+5
|
* Add back include_url param to reg tokensMadeline2023-01-101-3/+11
|
* Move sentry init to util. use sentry in each module, not just bundleMadeline2023-01-107-80/+125
|
* Add error handler for individual gateway socketsMadeline2023-01-101-0/+3
|
* Don't send private user data in ready eventMadeline2023-01-051-3/+4
|
* PrettierMadeline2023-01-05115-901/+1255
|
* Add migrations (#923)Madeline2023-01-055-59/+71
| | | | * Fix typeorm migration cli and server migrations. * Add `migrate-from-staging` script
* Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatchMadeline2023-01-027-5/+39
|\ | | | | Patch body-parser to use json-bigint, like gateway
| * Profile themes and pronounsMadeline2022-12-317-5/+39
| |
* | Use adjusted email in /auth/loginMadeline2023-01-021-1/+1
| |
* | Only send public user details in GUILD_MEMBER_LIST_UPDATEMadeline2023-01-021-1/+1
| |
* | Revert "Don't let users undisable their accounts"Madeline2023-01-011-6/+8
| | | | | | | | This reverts commit cd84412c92c447826ebb2668295d46956618d962.
* | Don't let users undisable their accountsMadeline2023-01-011-8/+6
|/
* Allow Bearer tokens through, like BotMadeline2022-12-311-0/+1
|
* Add WS_LOGEVENTS and WS_VERBOSE env varsMadeline2022-12-312-1/+17
|
* Fix new roles having duplicate positionsMadeline2022-12-302-6/+13
|
* Move datasource to own file for typeorm cliMadeline2022-12-272-32/+46
|
* OAuth2 authorize bot flowMadeline2022-12-243-1/+155
|
* Fix creating bot accountsMadeline2022-12-242-5/+16
|
* Use config for some default guild propertiesMadeline2022-12-242-30/+27
|
* Rename limits_rate_disabled -> limits_rate_enabled and remove ↵Madeline2022-12-223-4/+3
| | | | limits_guilds_hideOfflineMember
* Allow BitField's to be passed as number strings. Pretty sure it fixes #722Madeline2022-12-221-2/+11
|
* Fix redirect when test client disabledMadeline2022-12-221-1/+0
|
* Disable test client by defaultMadeline2022-12-211-1/+1
|
* Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into ↵Madeline2022-12-216-11/+176
|\ | | | | | | maddy/refactor
| * Client: update to canary 165341Puyodead12022-12-206-11/+176
| |
* | Set default cdn endpoints so that local testing worksMadeline2022-12-212-1/+4
|/
* Fix the roles bugMadeline2022-12-211-5/+8
|
* Fix guild features being undefined if not using defaultFeaturesMadeline2022-12-211-1/+1
|
* Set default threads to 1. Multiple threads is broken without RabbitmqMadeline2022-12-201-7/+1
|
* Reg tokens bypass other restrictionsMadeline2022-12-191-21/+22
|
* Message rate limitingTheArcaneBrony2022-12-192-2/+23
|
* Registration tokensMadeline2022-12-196-12/+77
|
* Add register ratelimitTheArcaneBrony2022-12-194-3/+29
|
* commentsMadeline2022-12-192-0/+2
|
* flags related rights and stats apiErkin Alp Güney2022-12-193-0/+27
|
* fix user profile not displaying correctlyPuyodead12022-12-191-2/+9
|
* Fix config loadingMadeline2022-12-191-1/+5
|
* implement guild profiles and fix user profilesPuyodead12022-12-1910-80/+258
|
* Configurable MFA backup token lengthTheArcaneBrony2022-12-191-0/+1
|
* case insensitive header for rate limits, fix rate limit default settingsTheArcaneBrony2022-12-192-30/+30
| | | | Also disabled rate limit bypass right as it doesn't work...
* Replace deprecated propertyTheArcaneBrony2022-12-192-2/+2
|
* Create webhooksMadeline2022-12-195-5/+34
|
* Don't override existing config valuesMadeline2022-12-191-1/+3
|
* Move UserSettings to own entityTheArcaneBrony2022-12-1910-145/+192
|
* Add additional configMadeline2022-12-1915-24/+53
|
* Make ConfigValue a directory, move defaults to those classes instead of a ↵TheArcaneBrony2022-12-1952-424/+356
| | | | separate object
* removed char joiners as they are actually useful, added page breakErkin Alp Güney2022-12-191-3/+4
|
* make it configurable by guild feature flagErkin Alp Güney2022-12-191-5/+5
|
* Make fosscord read config from json if CONFIG_PATH is setTheArcaneBrony2022-12-191-8/+14
|
* Do the funny thing (make user->invite cascade delet)TheArcaneBrony2022-12-181-1/+3
|
* Made nitro stuff make some senseChrisChrome2022-12-181-1/+0
|
* Invalidate tokens on password changeChrisChrome2022-12-181-2/+10
|
* Make teams nullableTheArcaneBrony2022-12-182-1/+1
|
* Refactor applicationsMadeline2022-12-189-85/+132
|
* WhoopsChrisChrome2022-12-181-1/+1
|
* Whoops, missed oneChrisChrome2022-12-181-1/+0
|
* I'm probably forgetting a lot of things, but hey, it worksChrisChrome2022-12-181-1/+6
|
* It works now... I guessChrisChrome2022-12-182-2/+1
| | | | Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Add basic developer panel functionality - doesn't work yetChrisChrome2022-12-188-41/+230
| | | | | | > > > Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Remove some old test logs that expose info to consoleTheArcaneBrony2022-12-182-3/+0
|
* Remove todo line that has been implemented.TheArcaneBrony2022-12-182-7/+1
|
* Move to migrations. Use `npm run generate:db` for first database generation.Madeline2022-12-183-8/+2
|
* fix: not being able to enable communityPuyodead12022-12-181-1/+2
|
* Add comment for 123 magic numberMadeline2022-12-171-1/+1
|
* Remove discord login configMadeline2022-12-171-10/+0
|
* Remove /policies/instance/statsMadeline2022-12-171-21/+0
|
* Remove Discord oauth login supportMadeline2022-12-173-123/+1
|
* Remove fluent-ffmpeg dep. TODO: Merge puyo's PRMadeline2022-12-172-42/+2
|
* Remove unneeded commentsMadeline2022-12-171-2/+2
|
* Remove IP logging from gatewayMadeline2022-12-172-4/+4
|
* comments and suchMadeline2022-12-172-47/+9
|
* user validation stuffMadeline2022-12-172-12/+5
|
* Remove `sharp` depMadeline2022-12-172-106/+4
|
* Remove bad banned words implementationMadeline2022-12-179-60/+5
|
* Remove /api/-/monitorzMadeline2022-12-171-22/+0
|
* Premium tier 0 SKU from stagingMadeline2022-12-174-80/+207
|
* Remove Slowcord demo user restrictionsMadeline2022-12-172-6/+0
|
* Remove use of `PRODUCTION` env varMadeline2022-12-171-4/+1
|
* murder migrationsMadeline2022-12-179-317/+0
|
* Only allow specific server features to be editedMadeline2022-12-052-0/+27
|
* Fix private messages being returned when no channel_id provided in searchMadeline2022-12-051-3/+17
|
* Fix bug allowing any member from kicking any member instance-wideMadeline2022-12-051-3/+3
|
* Fix pruneMadeline2022-12-031-1/+1
|
* Await some rabbitmq methods, don't reset some config values on startMadeline2022-11-062-37/+37
|
* Fix 404 handlerMadeline2022-11-051-3/+4
|
* Rewrite gateway message decodingMadeline2022-10-311-11/+15
|
* Fix message patching sending old message rather than updated oneMadeline2022-10-311-3/+3
|
* Allow running api, cdn, gateway separatelyMadeline2022-10-314-14/+16
|
* Add `private_channels_version` to `client_state` in identity. also set ↵Madeline2022-10-313-2/+13
| | | | sentry user in gateway
* Sentry stuff?Madeline2022-10-302-5/+12
|
* various typosMadeline2022-10-281-1/+1
|
* Fix user settings not saving properly and guild foldersMadeline2022-10-284-9/+11
|
* lolMadeline2022-10-281-1/+1
|
* Move src-slowcord to own repo ↵Madeline2022-10-287-23/+185
| | | | https://github.com/MaddyUnderStars/slowcord-services
* fix bad user validationMadeline2022-10-272-8/+10
|
* Make /stop route not ugly as hellMadeline2022-10-262-27/+8
|
* Fix typo in user validationMadeline2022-10-261-3/+3
|
* handle a specific case with rtl characterMadeline2022-10-251-1/+4
|
* Remove whitespace characters in banned words detectionMadeline2022-10-251-0/+2
|
* Fix BannedWords breaking because windows line endingsMadeline2022-10-251-1/+1
|
* Fix fix for twitter embeds from yesterdayMadeline2022-10-251-1/+1
|
* Move message auto mod to the api route instead of a @beforeinsert/update methodMadeline2022-10-254-17/+17
|
* Fix tweets with only video breaking embedsMadeline2022-10-241-8/+8
|
* Forgot some schemas + only generate schemas in util/schemas + add setup scriptMadeline2022-10-245-13/+15
|
* Handle fetch errors in cdn external endpointMadeline2022-10-241-0/+3
|
* Change android and ios client downloads to use /download endpoint, update ↵Madeline2022-10-245-32/+51
| | | | Release entity to suck less
* remove self_edit_guilds, was dumbMadeline2022-10-073-4/+3
|
* fix self_edit_guilds rightMadeline2022-10-071-2/+2
|
* embed failMadeline2022-10-051-2/+2
|
* Check nonce in Message sendMadeline2022-10-051-0/+13
|
* Video attachment support!Madeline2022-10-042-4/+42
|
* capture exception in sentry for embed processingMadeline2022-10-042-1/+7
|
* Embed cacheMadeline2022-10-033-7/+37
|
* Twitter embedsMadeline2022-10-033-11/+102
|
* Make imagor optionalMadeline2022-10-022-12/+17
|
* Use imagor for image resizingMadeline2022-10-022-3/+17
|
* More embed improvementsMadeline2022-10-021-50/+74
|
* Slightly better embedsMadeline2022-10-012-27/+159
|
* Better embed handlingMadeline2022-10-013-128/+156
|
* Make `afk` optional in ActivitySchemaMadeline2022-10-011-2/+2
|
* Split MANAGE_GUILDS right into MANAGE_GUILDS for instance-wide control and ↵Madeline2022-09-302-2/+3
| | | | SELF_EDIT_GUILDS for control over guilds you own or have perms to edit
* Fix fetching members for roles in POST messageMadeline2022-09-292-16/+21
|
* Prevent URL embedding and mentions when in codeblockMadeline2022-09-291-3/+3
|
* Update read state on message createMadeline2022-09-291-8/+16
|
* Fix client crash on GUILD_CREATEMadeline2022-09-282-0/+2
|
* Remove user settings from GUILD_MEMBER_LIST_UPDATE responseMadeline2022-09-281-1/+1
|
* whoopsMadeline2022-09-281-1/+1
|
* Discovery splashes + fix guild icons disappearing on settings changeMadeline2022-09-283-7/+20
|
* Fix user guild settingsMadeline2022-09-281-13/+7
|
* Missed some schemasMadeline2022-09-2810-38/+54
|
* Use PrimaryIdColumn instead of PrimaryColumn in Invite and CategoryMadeline2022-09-282-6/+5
|
* Generate IDs for entities by defaultMadeline2022-09-281-1/+2
|
* Fix user validator preventing updateMadeline2022-09-271-40/+51
|
* Fix message editingMadeline2022-09-271-1/+1
|
* Bad check for if buffer is json string instead of gzipMadeline2022-09-271-2/+2
|
* Set tutorial to nullMadeline2022-09-271-0/+1
|
* Don't fetch all members in guild in Member.addToGuildMadeline2022-09-272-4/+18
|
* PrettierMadeline2022-09-26247-3427/+6137
|
* Remove the cdn storage location logMadeline2022-09-262-2/+3
|
* Move schemas to /src/util/schemasMadeline2022-09-2690-503/+458
|
* Add generate:client scriptMadeline2022-09-261-1/+1
|
* Remove import to class-validator, fix listening on port message in bundleMadeline2022-09-262-1/+1
|
* Rearrange assets a bit, fix anything that uses assets folderMadeline2022-09-262-4/+6
|
* Add logout endpointMadeline2022-09-261-0/+16
|
* 'Fix' distinct alias typeorm issueMadeline2022-09-263-10/+7
|
* Refactor to mono-repo + upgrade packagesMadeline2022-09-25289-0/+142015
|
* :bug: fix types + packagesFlam3rboy2021-08-131-1/+0
|
* [ProjectManagement] Add root project and dev getting started guides.darkhpp2021-08-131-0/+1
|
* :sparkles: webrtcFlam3rboy2021-08-124-54/+0
|
* :construction: initFlam3rboy2021-06-244-0/+54