summary refs log tree commit diff
path: root/src/util/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up array extensionsRory&2025-10-041-3/+3
|
* Add dotnet-ish Random classRory&2025-10-041-2/+2
|
* Remove mariadb support as it isnt maintained and hasnt worked in over a yearRory&2025-09-3043-86/+0
|
* Clean up unused importsRory&2025-09-306-17/+9
|
* Fix column type on Message.pinned_atRory&2025-09-291-3/+2
|
* fix: make `pinned_at` column nullable (for real this time)CyberL12025-09-291-2/+2
|
* fix: make `pinned_at` column nullableCyberL12025-09-291-1/+1
|
* No error when message not foundRory&2025-09-291-1/+1
|
* Delete expired invitesRory&2025-09-291-2/+11
|
* Add fetching guild profilesRory&2025-09-291-0/+3
|
* Set nick/pronouns to undefined if attempting to set to empty string. Fixes #1246Rory&2025-09-291-0/+2
|
* Fix ID referencesRory&2025-09-291-2/+2
|
* Add first half of cloud attachment uploadsRory&2025-09-291-0/+85
|
* Implement greetingRory&2025-09-291-0/+1
|
* Implement fetching DM messages by user IDRory&2025-09-293-64/+73
|
* Move to some etension methodsRory&2025-09-291-1/+1
|
* Channel: add helpers to calculate user permissions and determine channel ↵Rory&2025-09-291-8/+79
| | | | visibility
* Fix creating guildsRory&2025-09-291-72/+22
|
* Colorful rolesRory&2025-09-291-0/+17
|
* A little bit of formatting cleanupRory&2025-09-291-0/+2
|
* Initialise settings versionsRory&2025-09-291-16/+11
|
* Make guild channels nullableRory&2025-09-291-8/+8
|
* Release -> ClientReleaseRory&2025-09-291-1/+1
|
* Setting protos supportRory&2025-09-292-0/+171
|
* Fix typoRory&2025-09-291-1/+1
|
* fix: use `createDateColumn()`CyberL12025-09-291-1/+2
|
* refactor: add `pinned` getter to `Message` entityCyberL12025-09-291-0/+5
|
* refactor: use `pinned_at` to check if message is pinnnedCyberL12025-09-291-5/+2
|
* fix: getting message pinssCyberL12025-09-291-0/+3
|
* Add automod migrationRory&2025-07-271-1/+2
|
* Implement CRUD for automodEmma [it/its]@Rory&2025-07-272-1/+90
|
* PrettierRory&2025-07-062-4/+8
|
* Make IP/user-agent validation in CDN workRory&2025-07-062-9/+16
|
* use prototype when signing messageEmma [it/its]@Rory&2025-07-061-1/+1
|
* dont duplicate urlsEmma [it/its]@Rory&2025-07-061-2/+2
|
* include rest of attachment when signingEmma [it/its]@Rory&2025-07-061-0/+1
|
* Sign media per userEmma [it/its]@Rory&2025-07-062-0/+19
|
* Fix the creation of guilds from templatesZane Helton2025-06-291-1/+28
| | | | | | | | | | | | | | | | The biggest hold-up was missing fields (`premium_tier`, `welcome_screen`, etc.) but it looks like someone has provided a helpful function called `createGuild(...)` to provide sensible default values. This commit fixes the errors related to creating a guild from a template. I've also refactored the code to include roles and channels in the template. To make sure that the @everyone role is cloned correctly, when creating the guild from a template, we check if the role's ID matches the template's `source_guild_id`. If it does, we set the @everyone role to the new guild's ID.
* add webrtc support (#1284)dank0742025-06-224-0/+124
| | | | Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
* run prettierdank0742024-11-191-1/+1
|
* Merge pull request #1232 from dank074/patch/eslintConfigMadeline2024-11-141-1/+1
|\
| * turn off eslint rules causing issuesdank0742024-11-131-1/+1
| |
* | fix op 8dank0742024-11-131-2/+2
|/
* Add more application propertiesTomatoCake2024-08-311-5/+20
|
* Listing & creation of Developer Portal teamsTomatoCake2024-08-241-0/+8
|
* Merge pull request #1178 from DEVTomatoCake/fix/1154-mysql-charsetMadeline2024-08-2238-128/+280
|\
| * "engine" const value sharedTomatoCake2024-08-1838-38/+76
| |
| * Run prettier for @Entity()TomatoCake2024-08-1738-38/+152
| |
| * Add utf8mb4 "engine" property to all entitysTomatoCake2024-08-1738-131/+131
| |
* | Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channelsMadeline2024-08-222-5/+7
|\ \
| * \ Merge pull request #1126 from DEVTomatoCake/feat/local-image-proxyMadeline2024-08-191-3/+3
| |\ \
| | * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-08-155-27/+135
| | |\| | | | | | | | | | | | | into feat/local-image-proxy
| | * | Merge branch 'master' into feat/local-image-proxyTomatoCake2024-07-185-7/+88
| | |\ \
| | * | | running prettier for othersTomatoCake2024-06-281-4/+3
| | | | |
| * | | | fix: nickmane reset by commandCyber2024-08-191-2/+4
| | |_|/ | |/| |
* | | | re-add CDN TODO commentTomatoCake2024-08-181-0/+1
| | | |
* | | | Prettier, remove manual deletion of msgsTomatoCake2024-08-181-9/+12
| | | |
* | | | widget.json channel_ordering, fix channel deletionTomatoCake2024-08-181-2/+14
|/ / /
* | | fix: add webhook_id to webhook's messagesCyber2024-08-141-1/+1
| | |
* | | Merge pull request #1161 from DEVTomatoCake/feat/bio-max-length-configMadeline2024-08-141-4/+4
|\ \ \
| * | | Make profile bio max length configurableTomatoCake2024-08-101-4/+4
| | | |
* | | | Merge pull request #1159 from DEVTomatoCake/feat/request-guild-membersMadeline2024-08-141-5/+7
|\ \ \ \
| * | | | Fix issues with requesting presencesTomatoCake2024-08-111-5/+7
| |/ / /
* / / / Icon for discovery categories & fix "primary_only"TomatoCake2024-08-131-3/+7
|/ / /
* | | Merge branch 'master' into feat/webhooks-3TomatoCake2024-08-081-4/+83
|\ \ \
| * | | prettier .-.TomatoCake2024-07-281-2/+12
| | | |
| * | | Fix msg component typingsTomatoCake2024-07-281-4/+73
| | |/ | |/|
* | | Consistent relations, url property, src channelTomatoCake2024-07-181-3/+13
| | |
* | | Perms for GET webhook, url propertyTomatoCake2024-07-181-3/+5
| | |
* | | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server ↵TomatoCake2024-07-187-10/+94
|\| | | | | | | | | | | into feat/webhooks-3
| * | feat: badgesCyber2024-07-173-0/+40
| | |
| * | Make poll a single object instead of an arrayTomatoCake2024-07-091-1/+1
| | |
| * | Add new message flags once againTomatoCake2024-07-051-3/+37
| | |
| * | Send position property on guild joinTomatoCake2024-07-041-4/+11
| | |
| * | Prettier -.-TomatoCake2024-07-041-1/+0
| |/
| * Add missing entries to UserSettingsDiana Nilsson2024-06-271-0/+7
| |
| * Remove parent for childs on category deletionTomatoCake2024-06-051-4/+4
| |
| * Fix message flags being nullPuyodead12024-04-141-2/+2
| |
* | try manual conflict resolvingTomatoCake2024-07-181-0/+3
| |
* | Fix ESLint & prettierTomatoCake2024-07-181-1/+1
| |
* | webhook fixes & username/avatar property for msgTomatoCake2024-07-182-8/+19
|/
* member projection: select avatarPuyodead12023-12-091-2/+4
|
* fix some issues with discord bot libsPuyodead12023-11-292-0/+8
|
* fucking postgresMadeline2023-10-042-14/+14
|
* refactor channel positions in guildMadeline2023-10-042-12/+112
|
* typeorm inverse relations of guild relationsMadeline2023-09-027-10/+12
|
* make guild voice a text based channelPuyodead12023-08-271-1/+1
|
* Fix OOM on large guild joinMadeline2023-08-121-10/+10
|
* Refactor email sending + remove email verification if mail sending is not set upMadeline2023-08-121-20/+1
|
* remove default welcome screen textMadeline2023-08-121-2/+2
|
* update invites endpoints to support latest apiMadeline2023-08-121-3/+6
|
* Implement community "create one for me"Madeline2023-08-101-12/+14
|
* set default role flags to 0Madeline2023-08-071-1/+1
|
* goofMadeline2023-08-071-1/+1
|
* Fix some linting warningsPuyodead12023-08-061-0/+1
|
* add back guild id to message tojsonMadeline2023-08-071-1/+0
|
* some abaddon compatMadeline2023-07-311-1/+25
|
* * call toJSON of keys in gateway when using erlpackMadeline2023-07-293-1/+20
| | | | | | * dont send bitrate/etc as null when should be undefined * set user flags to number instead of string * send empty 'threads' in identify when not using new state v2
* Merge branch 'master' into feat/refactorIdentifyMadeline2023-07-284-37/+66
|\
| * Fix docs for /users/:id/profileMadeline2023-06-111-5/+5
| |
| * Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-161-0/+24
| |
| * move guild/user prop initialisations into create/register methodsMadeline2023-04-142-16/+30
| |
| * fix some types not being generated correctlyPuyodead12023-04-131-2/+4
| |
| * oapi: users progressPuyodead12023-04-131-2/+1
| |
| * guildsPuyodead12023-04-131-11/+2
| |
* | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-134-19/+88
|\|
| * Fix DC client throwing on GUILD_CREATEMadeline2023-04-121-9/+17
| |
| * Merge pull request #1023 from Rainb0wCodes/masterMadeline2023-04-111-0/+9
| |\ | | | | | | properly track reactions
| | * send public member in message_reaction_add eventtMadeline2023-04-111-0/+9
| | |
| * | Fix obvious bugs in Member removeRole functionochen12023-04-091-2/+2
| |/
| * License informationMadeline2023-04-021-0/+18
| |
| * Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-0238-82/+82
| |\
| * | Add Twitch, error handling, revokation changes, etcPuyodead12023-03-181-2/+8
| | |
| * | Refreshable connections, refactoring, access-token endpointPuyodead12023-03-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Aded /users/@me/connections/:connection_name/:connection_id/access-token - Replaced `access_token` property on ConnectedAccount with `token_data` object for refreshing tokens - Made a common interface for connection things like ComonOAuthTokenResponse - Added `RefreshableConnection` class - Added token refresh to Spotify connection (disabled)
| * | Follow Discord docs for `visibility` and `metadata_visibility` fields in ↵Madeline2023-03-181-2/+2
| | | | | | | | | | | | ConnectedAccount
| * | entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchemaMadeline2023-03-182-4/+0
| | |
| * | implement PATCH connectionPuyodead12023-03-183-2/+6
| | |
| * | adding connection now worksPuyodead12023-03-181-12/+12
| | |
| * | add connectionsPuyodead12023-03-183-4/+31
| | |
* | | Role flagsMadeline2023-04-042-0/+4
| | |
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-0138-82/+82
|\ \ \ | | |/ | |/|
| * | Remove ALL fosscord mentionsMadeline2023-03-314-5/+5
| | |
| * | Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-3130-78/+82
| | | | | | | | | | | | | | | This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
| * | Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-3030-82/+78
| |\ \
| | * | feat: Database Query CacheSamuel2023-03-1830-82/+78
| | |/
| * | SPACEBARMadeline2023-03-3138-38/+38
| | |
| * | SPACEBARMadeline2023-03-3138-38/+38
| | |
| * | Work towards fixing openapi specMadeline2023-03-241-1/+1
| |/
* / Initial identify rewriteMadeline2023-03-132-0/+16
|/
* implement password resetPuyodead12023-02-241-1/+1
|
* don't print anything if email send is successfulPuyodead12023-02-241-19/+15
|
* fix linting errorsPuyodead12023-02-231-1/+8
|
* Fix template rendering and use verify email templatePuyodead12023-02-231-1/+1
| | | | email html is weird, some stuff isn't supported.
* Email verification worksPuyodead12023-02-231-17/+6
| | | | | | | | - 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
* send email verificationPuyodead12023-02-231-1/+25
|
* On db sync/first run, add all the current migrations to migrations table to ↵Madeline2023-02-031-2/+2
| | | | prevent running them on restarts
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-021-15/+8
|
* Fix missing props in welcome message creation, which causes every client who ↵Madeline2023-02-011-1/+5
| | | | received the welcome message to disconnect.
* Implement WebAuthn (#967)Puyodead12023-01-303-1/+55
| | | | | | | | | * implement webauthn * code review --------- Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Add ESLint (#941)Madeline2023-01-2014-77/+56
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-1837-0/+666
| | | | | | | | | * 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
* Fix deleting an application if it has a botMadeline2023-01-171-2/+2
|
* Fix guild delete failing when template existsMadeline2023-01-131-1/+1
|
* Fix setting user premium_type/etc (non-nullable) to null in db when null in ↵Madeline2023-01-131-3/+3
| | | | config
* 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
|
* PrettierMadeline2023-01-0510-175/+174
|
* Add migrations (#923)Madeline2023-01-053-11/+10
| | | | * Fix typeorm migration cli and server migrations. * Add `migrate-from-staging` script
* Profile themes and pronounsMadeline2022-12-312-1/+16
|
* Fix creating bot accountsMadeline2022-12-241-4/+12
|
* Use config for some default guild propertiesMadeline2022-12-241-30/+18
|
* Client: update to canary 165341Puyodead12022-12-201-1/+3
|
* Fix guild features being undefined if not using defaultFeaturesMadeline2022-12-211-1/+1
|
* Registration tokensMadeline2022-12-192-0/+14
|
* implement guild profiles and fix user profilesPuyodead12022-12-191-1/+14
|
* Create webhooksMadeline2022-12-192-0/+7
|
* Move UserSettings to own entityTheArcaneBrony2022-12-194-136/+165
|
* Add additional configMadeline2022-12-191-1/+1
|
* Make ConfigValue a directory, move defaults to those classes instead of a ↵TheArcaneBrony2022-12-191-414/+0
| | | | separate object
* make it configurable by guild feature flagErkin Alp Güney2022-12-191-5/+5
|
* Do the funny thing (make user->invite cascade delet)TheArcaneBrony2022-12-181-1/+3
|
* Made nitro stuff make some senseChrisChrome2022-12-181-1/+0
|
* Make teams nullableTheArcaneBrony2022-12-181-0/+1
|
* Refactor applicationsMadeline2022-12-181-0/+1
|
* Add basic developer panel functionality - doesn't work yetChrisChrome2022-12-182-37/+81
| | | | | | > > > Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Move to migrations. Use `npm run generate:db` for first database generation.Madeline2022-12-182-3/+0
|
* Remove discord login configMadeline2022-12-171-10/+0
|
* user validation stuffMadeline2022-12-172-12/+5
|
* Remove bad banned words implementationMadeline2022-12-172-12/+1
|
* Remove use of `PRODUCTION` env varMadeline2022-12-171-4/+1
|
* various typosMadeline2022-10-281-1/+1
|
* Fix user settings not saving properly and guild foldersMadeline2022-10-281-3/+3
|
* Move src-slowcord to own repo ↵Madeline2022-10-281-1/+11
| | | | https://github.com/MaddyUnderStars/slowcord-services
* fix bad user validationMadeline2022-10-271-8/+9
|
* Fix typo in user validationMadeline2022-10-261-3/+3
|
* Move message auto mod to the api route instead of a @beforeinsert/update methodMadeline2022-10-251-16/+0
|
* Change android and ios client downloads to use /download endpoint, update ↵Madeline2022-10-241-6/+3
| | | | Release entity to suck less
* remove self_edit_guilds, was dumbMadeline2022-10-071-1/+1
|
* Embed cacheMadeline2022-10-032-1/+14
|
* Twitter embedsMadeline2022-10-031-0/+6
|
* Make imagor optionalMadeline2022-10-021-0/+2
|
* Fix client crash on GUILD_CREATEMadeline2022-09-281-0/+1
|
* 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
|
* Don't fetch all members in guild in Member.addToGuildMadeline2022-09-272-4/+18
|
* PrettierMadeline2022-09-2624-522/+819
|
* Remove import to class-validator, fix listening on port message in bundleMadeline2022-09-261-1/+0
|
* 'Fix' distinct alias typeorm issueMadeline2022-09-262-5/+2
|
* Refactor to mono-repo + upgrade packagesMadeline2022-09-2534-0/+3740