summary refs log tree commit diff
path: root/src/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* Prettier u15 github/dev/emma-wip dev/emma-wipRory&2025-12-1710-52/+72
* Fix extension cleanup stuff from Mathium05Rory&2025-12-174-21/+50
* EnvConfig everywhereRory&2025-12-179-346/+630
* Use EnvConfig for portRory&2025-12-171-0/+4
* Refactor configRory&2025-12-171-134/+199
* Use getter for EnvConfigRory&2025-12-174-27/+33
* Fix a couple of importsRory&2025-12-171-1/+1
* Use EnvConfig for databaseRory&2025-12-171-61/+64
* Use EnvConfig for more logging optionsRory&2025-12-172-354/+355
* Introduce EnvConfig classesRory&2025-12-175-0/+214
* Automod work (WIP)Rory&2025-12-174-0/+96
* lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-17198-8503/+8503
* No more fallback URLsRory&2025-12-173-5/+4
* Dont directly export all config subtypesRory&2025-12-172-2/+1
* Move region to webrtc schemasRory&2025-12-174-51/+1
* Prettier u10Rory&2025-12-171-84/+30
* Prettier u7Rory&2025-12-1710-732/+193
* Prettier u6Rory&2025-12-1715-196/+61
* Prettier u5Rory&2025-12-172-15/+3
* Prettier -1Rory&2025-12-171-1/+0
* Prettier 8Rory&2025-12-175-32/+8
* Prettier 6Rory&2025-12-175-70/+17
* Prettier 5Rory&2025-12-172-5/+5
* Prettier 4Rory&2025-12-172-4/+4
* Prettier 3Rory&2025-12-173-6/+3
* Prettier 2Rory&2025-12-172-2/+2
* Prettier 2Rory&2025-12-174-4/+4
* Prettier migration scriptsRory&2025-12-1725-330/+265
* Prettier a few filesRory&2025-12-171-1/+0
* finally make eslint happyRory&2025-12-176-53/+19
* Centralise ip info logicRory&2025-12-172-4/+28
* Rename PRIVATE_ROUTE -> EPHEMERAL, fix typoRory&2025-12-172-5/+2
* unixsock: use length-prefixed message framing + bufferRory&2025-12-171-10/+32
* Update session infoRory&2025-12-174-32/+103
* Fix sessionRory&2025-12-161-3/+3
* Device managementRory&2025-12-161-1/+19
* Experimental unix socket modeRory&2025-12-161-0/+150
* Forgot to make rabbitmq staticRory&2025-12-161-4/+4
* Listen for connection errors?Rory&2025-12-161-15/+25
* Dirty rabbitmq hackRory&2025-12-161-1/+6
* Gateway token frefreshRory&2025-12-162-3/+4
* Fix bad importsRory&2025-12-161-1/+1
* Less debug logging, more useful?Rory&2025-12-161-1/+1
* Session fixesRory&2025-12-162-3/+11
* Upate session infoRory&2025-12-161-7/+29
* More maybe un-blowing-upRory&2025-12-161-1/+1
* IDE blew up againRory&2025-12-161-1/+1
* Create sessions for new usersRory&2025-12-163-13/+95
* Try/catch in GetSafeChannel to maybe catch createchannel errors????Rory&2025-12-161-11/+16
* Token versioning startRory&2025-12-161-15/+16
* Allow opting out of persisting instance bans on user delete endpointRory&2025-12-161-6/+28
* EndpointPrivate for apiRory&2025-12-161-2/+3
* No longer generate security_jwtSecret, switch webauthn to modern tokens, dontRory&2025-12-143-21/+26
* force sync for sqliteRory&2025-12-141-0/+7
* Fix missing config usage for backup codesRory&2025-12-131-1/+2
* Drop nonfunctional default ipdata keyRory&2025-12-132-1/+15
* Fix sqliteRory&2025-12-131-1/+4
* No more sync:db on initial setup >:C >:C >:CRory&2025-12-1310-51/+779
* commentdank0742025-12-131-0/+1
* try to handle race condition againdank0742025-12-132-7/+28
* Fix formatting oopsieRory&2025-12-131-7/+7
* Log elapsed time for user deleteRory&2025-12-131-0/+13
* 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
* Add missing migrationRory&2025-12-131-0/+14
* Instance ban stuffRory&2025-12-133-47/+77
* More instance ban stuffRory&2025-12-125-11/+43
* Fix IP tracking for bansRory&2025-12-122-0/+58
* Merge branch 'spacebarchat:master' into fix/config-stuffCyber2025-12-122-32/+29
|\
| * fix: prevent race condition in rabbitmqdank0742025-12-122-32/+29
* | fix: some config stuffCyberL12025-12-121-3/+3
|/
* Perhaps, dont IP ban moderatorsRory&2025-12-072-2/+18
* fix: send presences array (empty for now) in READY event dataCyberL12025-12-041-0/+1
* validate that endpoitns are configuredRory&2025-12-041-1/+38
* Remove fallback URIs, remove endpointClient, expose admin apiRory&2025-12-043-5/+3
* createMessageWithDefaults: unset memberRory&2025-12-021-0/+2
* Trace origin for addToGuild call, warn if sending null rolesRory&2025-12-022-0/+2
* Extended IP address scrutiny on registerRory&2025-12-021-1/+2
* Use IpDataClient in placesRory&2025-12-021-0/+4
* Dont export classes as defaultRory&2025-12-022-2/+2
* Export util/networkingRory&2025-12-021-0/+1
* Forgot the configuration, lolRory&2025-12-021-2/+5
* Classes for abuseipdb/ipdataRory&2025-12-027-0/+307
* Split time classes, include testsRory&2025-12-019-51/+690
* File uploads: try form.getBuffer()Rory&2025-12-011-1/+1
* Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-012-9/+3
* stopwatch fixesMathMan052025-11-301-16/+13
* Cut down schemas by 90%Rory&2025-11-292-7/+7
* don't show invisMathMan052025-11-291-0/+3
* remove string proto fake polyfillMathMan052025-11-264-54/+7
* Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server into...MathMan052025-11-262-1/+31
|\
| * Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-262-1/+31
| |\
| | * Cache access token key in memory and write it back to disk if deletedRory&2025-11-261-1/+25
| | * Expose mor emember keysRory&2025-11-251-0/+6
* | | remove removeMathMan052025-11-263-19/+10
|/ /
* | fix distinctMathMan052025-11-261-1/+1
* | re-add partion functionMathMan052025-11-261-0/+6
* | remove test, oopsMathMan052025-11-261-7/+0
* | change partitionMathMan052025-11-261-11/+0
* | remove distinctMathMan052025-11-263-17/+1
* | Fix backwards conditionMathMan052025-11-261-1/+1
* | save fileMathMan052025-11-261-9/+0
* | rid of forEachAsyncMathMan052025-11-261-10/+0
* | make normalize URL normalMathMan052025-11-264-58/+2
* | get rid of sleep()MathMan052025-11-263-41/+6
* | remove the empty filesMathMan052025-11-252-0/+0
* | rid of Math.clampMathMan052025-11-253-51/+0
* | remove unused filter asyncMathMan052025-11-252-16/+1
* | remove distinct byMathMan052025-11-252-34/+0
* | actually delete the functionsMathMan052025-11-251-8/+0
* | Delete Object.mapMathMan052025-11-254-43/+4
* | remove unused forEachMathMan052025-11-252-31/+0
* | rid of contains allMathMan052025-11-253-24/+3
* | remove unused intersectMathMan052025-11-252-15/+0
* | remove except (it's probally faster this way too)MathMan052025-11-253-30/+7
* | get rid of singleMathMan052025-11-253-27/+3
* | remove first/lastMathMan052025-11-252-34/+23
|/
* Channel: revert part of permission unification PRRory&2025-11-252-2/+70
* Fix type on communication_disabled_untilRory&2025-11-251-1/+1
* implement timeouts and quarantinesRory&2025-11-252-6/+31
* async filter extensionsRory&2025-11-252-0/+16
* centerlize permision checking moreMathMan052025-11-252-108/+29
* Permissions: fill in new flagsRory&2025-11-251-1/+16
* Admin API: Check rights, require OPERATORRory&2025-11-241-4/+4
* 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
* 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-202-8/+17
* implement mention_countMathMan052025-11-181-8/+1
* member count fixesMathMan052025-11-181-1/+1
* Merge branch 'master' into notiFixCyber2025-11-184-1/+19
|\
| * Merge branch 'master' into welcomeUpdateCyber2025-11-183-1/+12
| |\
| | * prevent bots from joining guild with configMathMan052025-11-173-1/+12
| * | update last message id in more placesMathMan052025-11-171-0/+7
| |/
* / set default notification valueMathMan052025-11-171-1/+1
|/
* Merge branch 'master' into users-fix2Cyber2025-11-092-1/+12
|\
| * fix: gif stickers should have `format_type` 4 instead of 0CyberL12025-11-081-0/+11
| * 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-232-2/+18
* Revert "Default to `[]` for `options`, `integration_types`, `contexts`"Cyber2025-10-232-29/+3
* fix: default `options`, `integration_types` and `contexts` to empty arrayCyberL12025-10-232-3/+29
* chore: do a migration to delete bot users with no applicationCyberL12025-10-221-0/+9
* fix: set `message_reference_id` to null if original message is deletedCyberL12025-10-202-2/+20
* fix: interaction callbackCyberL12025-10-192-1/+4
* Make reconicle migration not suckRory&2025-10-191-3/+4
* Synchronously save automod messageRory&2025-10-193-1/+54
* 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-182-11/+18
* fix: pass the command type to pending interactions mapCyberL12025-10-181-2/+3
* 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-175-9/+89
* Include full AJV error on apiRory&2025-10-171-1/+5
* Fix proto errors maybeRory&2025-10-171-2/+11
* Local changesRory&2025-10-162-77/+56
* Add application command schemaRory&2025-10-164-0/+177
* Switch from commonjs to nodenextRory&2025-10-151-0/+2
* More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-1520-562/+24
* Reorganise schemas a little bitRory&2025-10-159-297/+19
* Move schemas to separate moduleRory&2025-10-14143-4756/+2
* Schema fixes, api bug fixRory&2025-10-141-2/+1
* 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 bad import, remove baseUrl from tsconfig to enable ts7 compatRory&2025-10-071-1/+0
* Try to fix sending messages with discord-goRory&2025-10-061-2/+2
* Fix nix, update admin api db modelsRory&2025-10-051-2/+2
* Local changesEmma [it/its]@Rory&2025-10-051-6/+33
* Rewrite access tokens, initial admin apiEmma [it/its]@Rory&2025-10-052-45/+102
* Add sticker limitRory&2025-10-041-0/+1
* Fix missed mergeRory&2025-10-041-1/+2
* I guess it builds now?Rory&2025-10-044-16/+25
* Tests for extension methodsRory&2025-10-047-8/+201
* Fill in missing stuff from missing-native-js-functionsRory&2025-10-045-2/+50
* Unkown -> unkown (typo fix)Rory&2025-10-041-1/+1
* Clean up other extensionsRory&2025-10-042-5/+8
* Clean up array extensionsRory&2025-10-044-16/+61
* Add Array.remove extensionRory&2025-10-041-0/+12
* Add dotnet-ish Random classRory&2025-10-043-2/+77
* Drop dependency on missing-native-js-functionsRory&2025-10-048-8/+0
* Implement sleep functionRory&2025-10-041-0/+11
* Config as classRory&2025-10-041-9/+9
* Attempt to vendor lambert-serverRory&2025-10-045-0/+350
* Fix ignored request schemasRory&2025-10-041-3/+0
* Log schema in validator?Rory&2025-10-011-2/+5
* Disable validation for JSON settings protos updateRory&2025-10-011-0/+3
* Safety hub workRory&2025-10-011-12/+134
* Send user settings proto in gateway ready, if one existsRory&2025-09-301-0/+3
* Fix some importsRory&2025-09-305-5/+5
* Remove mariadb support as it isnt maintained and hasnt worked in over a yearRory&2025-09-3070-748/+5
* Clean up unused importsRory&2025-09-3010-22/+11
* Copyright notices on email handlingRory&2025-09-306-3/+90
* Port MailJet transportRory&2025-09-303-55/+53
* Port MailGun transportRory&2025-09-305-59/+54
* Port SMTP transport, make nodemailer optionalRory&2025-09-305-89/+75
* Port SendGrid to new interfaceRory&2025-09-304-82/+128
* Silence, dotenv, we dont want your adsRory&2025-09-291-1/+1
* Drop @sentry/node (Sentry support) - untested and unusedRory&2025-09-295-161/+0
* 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-293-0/+100
* Set nick/pronouns to undefined if attempting to set to empty string. Fixes #1246Rory&2025-09-291-0/+2
* Oops, forgot to register extensionRory&2025-09-291-0/+4
* Add author and mentions relation to fetching messagesRory&2025-09-291-0/+5
* Use default ID on file upload requestsRory&2025-09-291-1/+1
* Fix schemasRory&2025-09-291-1/+8
* Update message schema to handle cloud attachmentsRory&2025-09-292-7/+4
* Fix uploads?Rory&2025-09-291-0/+1
* Fix ID referencesRory&2025-09-292-2/+26
* Add first half of cloud attachment uploadsRory&2025-09-297-6/+169
* Implement greetingRory&2025-09-293-0/+33
* Implement fetching DM messages by user IDRory&2025-09-298-65/+129
* Implement message preloadingRory&2025-09-295-2/+47
* Move to some etension methodsRory&2025-09-298-66/+123
* Channel: add helpers to calculate user permissions and determine channel visi...Rory&2025-09-291-8/+79
* Permissions: Add some constants for all or no permissionsRory&2025-09-291-0/+6
* Permissions: less magic numbersRory&2025-09-291-19/+7
* Fix creating guildsRory&2025-09-291-72/+22
* Add schemas for collectiblesRory&2025-09-296-1/+273
* Colorful rolesRory&2025-09-294-0/+51
* A little bit of formatting cleanupRory&2025-09-291-0/+2
* Initialise settings versionsRory&2025-09-291-16/+11
* Emit USER_SETTINGS_PROTO_UPDATERory&2025-09-291-0/+1
* Make guild channels nullableRory&2025-09-291-8/+8
* Add new field to guild update schemaRory&2025-09-291-0/+1
* Release -> ClientReleaseRory&2025-09-291-1/+1
* Setting protos supportRory&2025-09-297-0/+290
* Fix typoRory&2025-09-291-1/+1
* Add tracing to IDENTIFYRory&2025-09-293-2/+15
* Add stopwatch/elapsedtime classesRory&2025-09-291-0/+115
* fix: use `createDateColumn()`CyberL12025-09-291-1/+2
* fix: update `pinned` column value in down migrationCyberL12025-09-291-0/+3
* fix: migrate older pinned messages to the new systemCyberL12025-09-291-0/+3
* refactor: add `pinned` getter to `Message` entityCyberL12025-09-291-0/+5
* refactor: use `pinned_at` to check if message is pinnnedCyberL12025-09-292-5/+4