summary refs log tree commit diff
path: root/src/util/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up imports in schemas/api/botsRory&2026-04-201-1/+1
|
* eslint: more rules, no-duplicate-importsRory&2026-04-191-1/+1
|
* eslint: array callback return, no restricted importsRory&2026-04-193-15/+16
|
* Attachment -> PublicAttachment in schemasRory&2026-04-181-1/+1
|
* Fix error logging, dont use simple-arrayRory&2026-04-1810-19/+17
|
* Split out attachment handling from message handlerRory&2026-04-181-0/+17
|
* Fix attachmentsRory&2026-04-182-8/+11
|
* No attachment URLsRory&2026-04-181-14/+26
|
* jsonbRory&2026-04-1817-52/+52
|
* int8 primary keysRory&2026-04-181-1/+1
|
* Presence disconnect works!Rory&2026-04-131-1/+1
|
* Align Message object with API specwhinis2026-04-131-7/+6
|
* Fix Typing event so that it returns undefined rather than nullwhinis2026-04-132-20/+9
| | | | Added clean data to message entity so it respects json tags.
* Maybe fix an issue elisa had with discord.pywhinis2026-04-131-0/+6
|
* Added the @JsonRemoveEmpty decrorator to most of the fields in the message ↵whinis2026-04-131-0/+24
| | | | class. Hopefully shouldn't break anything.
* indexes on instance_bans lookup columnsOh642026-04-061-1/+4
|
* EmbedHandlers: more configuration for embeds, switch to storing all returned ↵Rory&2026-03-261-5/+4
| | | | embeds
* User: use single query to determine taken discriminatorsRory&2026-03-261-6/+5
|
* Embeds: factor out from postMessageRory&2026-03-261-0/+7
|
* make spacebar compile again github/dev/emma/as-to-satisfies-gw dev/emma/as-to-satisfies-gwOh642026-03-212-4/+15
|
* Message toJSON -> null vs undefinedRory&2026-03-211-9/+5
|
* Message*Event: as->satisfies (WIP)Rory&2026-03-211-1/+1
|
* Migrate Thread*Event to satisfies, part of #1577Rory&2026-03-202-9/+12
|
* Migrate Channel*Event to satisfies, part of #1577Rory&2026-03-201-2/+2
|
* Migrate Member#addToGuild GuildCreateEvent to satisfies, part of #1577Rory&2026-03-201-2/+2
|
* Migrate GuildMember*Event to satisfies, part of #1577Rory&2026-03-201-26/+28
|
* Migrate GuildDeleteEvent to satisfies, part of #1577Rory&2026-03-201-1/+1
|
* Migrate ChannelRecipient*Event to satisfies, part of #1577Rory&2026-03-201-1/+1
|
* Migrate GuildMemberUpdate to satisfies, part of #1577Rory&2026-03-202-8/+9
|
* merge the functionsMathMan052026-03-201-46/+42
|
* more pk fixesMathMan052026-03-202-8/+5
|
* a lot of small fixesMathMan052026-03-203-0/+19
|
* it ain't asyncMathMan052026-03-201-1/+1
|
* sign 'emMathMan052026-03-201-1/+61
|
* switch messages to base message typeMathMan052026-03-201-2/+2
|
* Remove all traces of sqlite3 - resolves #1617Rory&2026-03-202-1/+4
|
* Remove PrimaryIdAutoGenerated (only for what used to be mongodb support)Rory&2026-03-201-4/+2
|
* Remove PrimaryIdColumn (only for what used to be mongodb support)Rory&2026-03-206-19/+17
|
* Fix some commentsRory&2026-03-191-1/+1
|
* Schemas for stickersRory&2026-03-171-1/+0
|
* Clean up schemas some moreRory&2026-03-161-2/+0
|
* Some minor workRory&2026-03-141-1/+1
|
* Remove array global pollutionRory&2026-03-141-2/+3
|
* Shorten importsRory&2026-03-145-9/+7
|
* Remove unused imports for entitiesRory&2026-03-149-17/+10
|
* Clean up some type guardsRory&2026-03-141-1/+1
|
* properly mark unused paramsRory&2026-03-141-1/+1
|
* sticker implMathMan052026-03-071-0/+39
|
* Dont serialise guild parentsRory&2026-03-071-0/+1
|
* Dont serialize discovery weight/exclusion statusRory&2026-03-071-0/+2
|
* [rel/1518] Member flagsRory&2026-03-071-0/+4
|
* added clean_data to places after a member is created but not constructed to ↵whinis2026-02-261-0/+2
| | | | allow proper json creation.
* disable toJSON for read states?Rory&2026-02-251-15/+15
|
* Fix undefined accessPablo Stebler2026-02-251-1/+1
|
* last_pinned_timestamp int4 -> timestampRory&2026-02-251-2/+2
|
* Faster pingsRory&2026-02-231-10/+29
|
* Renamed to JsonNumber and removed from incorrectly typed date fieldwhinis2026-02-183-9/+8
|
* Add decorator to change Bigint back to string using Numberwhinis2026-02-183-0/+21
|
* Add Decorators to clean classes before json serialization and remove invalid ↵whinis2026-02-172-0/+37
| | | | states.
* Fix loading discord guild templatesChrisChrome2026-02-163-4/+7
|
* fix it the other way arroundMathMan052026-02-131-1/+1
|
* fix pinsMathMan052026-02-131-1/+1
|
* fix it the other way arroundMathMan052026-02-131-1/+1
|
* fix pinsMathMan052026-02-131-1/+1
|
* trace origin of the issueMathMan052026-02-131-1/+4
|
* oops, fix the callMathMan052026-02-131-1/+1
|
* fix it bettererMathMan052026-02-131-1/+1
|
* hopefully fix this bugMathMan052026-02-131-1/+1
|
* speed up fetching messagesMathMan052026-02-131-2/+24
|
* Fix leaking private User data in mentionsAhmed A2026-02-131-0/+1
|
* Add discovery filteringRory&2026-02-101-0/+6
|
* dont send channel create for dms that were already open???Rory&2026-02-081-1/+5
|
* create tagsMathMan052026-02-052-2/+5
|
* array initMathMan052026-02-053-0/+69
|
* merge masterMathMan052026-02-041-0/+3
|\
| * more thread improvementsMathMan052026-02-031-0/+3
| |
* | forum fixesMathMan052026-02-041-0/+2
|/
* some fixesMathMan052026-02-041-1/+7
|
* Merge remote-tracking branch 'mathium05/threadFixes'Rory&2026-02-042-2/+2
|\
| * more changesMathMan052026-02-031-1/+1
| |
| * some thread fixesMathMan052026-02-031-1/+1
| |
* | Add member profile customisation fields to dbRory&2026-02-031-3/+12
| |
* | Add user profile costomisation fields to dbRory&2026-02-031-1/+23
|/
* Channel/thread util methods ported from #876Rory&2026-01-292-5/+136
|
* Thread members ported from #876Rory&2026-01-292-0/+196
|
* Merge remote-tracking branch 'origin/dev/threads'Rory&2026-01-282-1/+26
|\
| * initial recipients workMathMan052026-01-282-0/+2
| |
| * thread API startMathMan052026-01-282-1/+2
| |
| * sechema changes+migrationsMathMan052026-01-282-1/+23
| |
* | Add basic thread helper functionsRory&2026-01-281-0/+12
| |
* | Update channel type enum to un-erkinalp-ize it, and match discordRory&2026-01-281-1/+1
|/
* Port User.tag getter from pomelo as utilityRory&2026-01-231-1/+8
|
* Add stub POSt report endpointRory&2026-01-172-1/+46
|
* fix invite API slightlyMathMan052025-12-221-0/+6
|
* Deprecation: Use object-based relations for typeormRory&2025-12-192-9/+9
|
* DEPRECATION: Move most select queries to object instead of string[]Rory&2025-12-192-4/+4
|
* Use inserts instead of save for new entitiesRory&2025-12-191-1/+6
|
* chore: run prettierCyberL12025-12-181-2/+2
|
* feat: add message forwards (normal messages only)CyberL12025-12-181-1/+4
|
* Drop extended_settings, account data soon. Closes #1160Rory&2025-12-171-5/+0
|
* Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults'Rory&2025-12-172-7/+5
|\
| * Run ESLintTomatoCake2024-09-011-8/+1
| |
| * Stop returning defaults when using getPublicUser()TomatoCake2024-09-011-6/+4
| |
* | lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-1746-2965/+2965
| |
* | Prettier u6Rory&2025-12-179-134/+44
| |
* | Prettier -1Rory&2025-12-171-1/+0
| |
* | Prettier 8Rory&2025-12-172-14/+2
| |
* | Prettier 6Rory&2025-12-171-4/+2
| |
* | Prettier 2Rory&2025-12-171-1/+1
| |
* | finally make eslint happyRory&2025-12-171-3/+3
| |
* | Centralise ip info logicRory&2025-12-171-1/+25
| |
* | Rename PRIVATE_ROUTE -> EPHEMERAL, fix typoRory&2025-12-171-1/+1
| |
* | Update session infoRory&2025-12-171-16/+61
| |
* | Fix sessionRory&2025-12-161-3/+3
| |
* | Device managementRory&2025-12-161-1/+19
| |
* | Session fixesRory&2025-12-161-2/+2
| |
* | More maybe un-blowing-upRory&2025-12-161-1/+1
| |
* | Create sessions for new usersRory&2025-12-161-9/+40
| |
* | Fix missing config usage for backup codesRory&2025-12-131-1/+2
| |
* | Maybe?>Rory&2025-12-131-7/+6
| |
* | Fix missing group by?Rory&2025-12-131-0/+2
| |
* | Fix typo in getDmChannels helperRory&2025-12-131-1/+1
| |
* | Instance ban stuffRory&2025-12-131-1/+55
| |
* | More instance ban stuffRory&2025-12-124-11/+27
| |
* | Fix IP tracking for bansRory&2025-12-121-0/+57
| |
* | Perhaps, dont IP ban moderatorsRory&2025-12-071-2/+2
| |
* | createMessageWithDefaults: unset memberRory&2025-12-021-0/+2
| |
* | Trace origin for addToGuild call, warn if sending null rolesRory&2025-12-021-0/+1
| |
* | don't show invisMathMan052025-11-291-0/+3
| |
* | Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server ↵MathMan052025-11-261-0/+6
|\ \ | | | | | | | | | into removeStupidPolies
| * \ Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-261-0/+6
| |\ \
| | * | Expose mor emember keysRory&2025-11-251-0/+6
| | | |
* | | | remove removeMathMan052025-11-261-2/+2
|/ / /
* | | fix distinctMathMan052025-11-261-1/+1
| | |
* | | remove distinctMathMan052025-11-261-1/+1
| | |
* | | rid of contains allMathMan052025-11-251-3/+3
| | |
* | | get rid of singleMathMan052025-11-251-2/+2
|/ /
* | Channel: revert part of permission unification PRRory&2025-11-251-1/+55
| |
* | Fix type on communication_disabled_untilRory&2025-11-251-1/+1
| |
* | implement timeouts and quarantinesRory&2025-11-251-1/+1
| |
* | centerlize permision checking moreMathMan052025-11-251-50/+1
| |
* | update to use flagsMathMan052025-11-231-1/+2
| |
* | is it a hack if it works?MathMan052025-11-231-1/+30
| |
* | Message#createWithDefaults: Set mesasge type if message_reference is set and ↵ github/temp tempRory&2025-11-221-0/+3
| | | | | | | | no other type is set
* | add extraFields optional param on toPrivateUser, expose rights on READYRory&2025-11-221-2/+2
| |
* | only for gorupsMathMan052025-11-201-1/+1
| |
* | fix groups moreMathMan052025-11-201-115/+41
| |
* | fix: default `activities` to empty arrayCyberL12025-11-201-8/+2
| |
* | implement mention_countMathMan052025-11-181-8/+1
| |
* | member count fixesMathMan052025-11-181-1/+1
| |
* | Merge branch 'master' into notiFixCyber2025-11-182-1/+17
|\ \
| * \ Merge branch 'master' into welcomeUpdateCyber2025-11-181-1/+10
| |\ \
| | * | prevent bots from joining guild with configMathMan052025-11-171-1/+10
| | | |
| * | | update last message id in more placesMathMan052025-11-171-0/+7
| |/ / | | | | | | | | | This update should update the last message id in the greet message endpoint and the Member creation message.
* / / set default notification valueMathMan052025-11-171-1/+1
|/ / | | | | | | This should make it so that people who just joined have the default notification value as set by the guild instead of always defaulting to all messages.
* | Merge branch 'master' into users-fix2Cyber2025-11-091-1/+1
|\ \
| * | fixMathMan052025-10-301-1/+1
| | |
| * | fix SQLiteMathMan052025-10-301-1/+1
| | |
* | | fix full user object being exposedMathMan052025-10-301-44/+9
|/ /
* | fix: defualt `options` to `[]`CyberL12025-10-231-2/+2
| |
* | Revert "Default to `[]` for `options`, `integration_types`, `contexts`"Cyber2025-10-231-3/+3
| |
* | fix: default `options`, `integration_types` and `contexts` to empty arrayCyberL12025-10-231-3/+3
| |
* | fix: set `message_reference_id` to null if original message is deletedCyberL12025-10-201-2/+1
| |
* | Use message.createRory&2025-10-191-1/+1
| |
* | Force back propagate idsRory&2025-10-191-0/+8
| |
* | Always mutate opts, not messageRory&2025-10-191-14/+12
| |
* | Maybe more robust enforcementRory&2025-10-191-7/+10
| |
* | Helper to create valid messagesRory&2025-10-191-0/+41
| |
* | Automod mayhaps?Rory&2025-10-181-6/+6
| |
* | feat: add `interaction_metadata` to `toJSON`CyberL12025-10-181-0/+1
| |
* | fix: move types to schemaCyberL12025-10-181-2/+0
| |
* | fix: add `user` object on `interaction` and `interaction_metadata` for messagesCyberL12025-10-181-0/+2
| |
* | feat: interactions (incomplete)CyberL12025-10-171-4/+12
| |
* | Local changesRory&2025-10-161-3/+3
| |
* | Add application command schemaRory&2025-10-162-0/+89
| |
* | More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-1513-526/+16
| |
* | Reorganise schemas a little bitRory&2025-10-155-291/+16
| |
* | Properly traverse result objectRory&2025-10-111-1/+3
| |
* | Try other way of querying?Rory&2025-10-111-5/+1
| |
* | Return defaults for missing {proto-,}settingsRory&2025-10-113-4/+23
| |
* | Try to fix duplicate user settingsRory&2025-10-111-1/+1
| |
* | Fix nix, update admin api db modelsRory&2025-10-051-2/+2
| |
* | 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
| | |