summary refs log tree commit diff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Prettier u15 github/dev/emma-wip dev/emma-wipRory&2025-12-1719-99/+106
* Fix extension cleanup stuff from Mathium05Rory&2025-12-174-21/+50
* EnvConfig everywhereRory&2025-12-1725-1375/+1795
* Use EnvConfig for portRory&2025-12-176-13/+18
* Refactor configRory&2025-12-172-134/+218
* Use getter for EnvConfigRory&2025-12-1714-43/+50
* Fix a couple of importsRory&2025-12-172-2/+2
* Use EnvConfig for databaseRory&2025-12-171-61/+64
* Use EnvConfig for more logging optionsRory&2025-12-174-470/+472
* Use EnvConfig for validation errorsRory&2025-12-171-86/+98
* Use EnvConfig for thread countRory&2025-12-172-90/+84
* Use EnvConfig for proto settings logging, unify settingRory&2025-12-172-252/+252
* Use EnvConfig for logging settingsRory&2025-12-173-223/+223
* Introduce EnvConfig classesRory&2025-12-175-0/+214
* Automod work (WIP)Rory&2025-12-175-404/+511
* lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-17647-27593/+27593
* Remove automod code in favor of dev/emma-wip stuffRory&2025-12-171-55/+0
* No more fallback URLsRory&2025-12-176-11/+7
* Remove GATEWAY/CDN env variables in favor of single source of truthRory&2025-12-172-2/+2
* Dont directly export all config subtypesRory&2025-12-173-3/+2
* Move region to webrtc schemasRory&2025-12-176-23/+5
* Prettier u14Rory&2025-12-172-2/+2
* Prettier u10Rory&2025-12-175-149/+52
* Prettier u9Rory&2025-12-179-330/+124
* Prettier u8Rory&2025-12-1713-287/+71
* Prettier u7Rory&2025-12-1710-732/+193
* Prettier u6Rory&2025-12-1715-196/+61
* Prettier u5Rory&2025-12-1713-278/+69
* Prettier u4Rory&2025-12-1718-486/+130
* Prettier u3Rory&2025-12-1718-388/+134
* Prettier -1Rory&2025-12-171-1/+0
* Prettier 8Rory&2025-12-178-51/+13
* Prettier 7Rory&2025-12-171-6/+1
* Prettier 6Rory&2025-12-177-79/+20
* Prettier 5Rory&2025-12-1710-37/+13
* Prettier 4Rory&2025-12-177-17/+11
* Prettier 3Rory&2025-12-177-14/+7
* Prettier 2Rory&2025-12-1711-11/+11
* Prettier 2Rory&2025-12-1744-190/+85
* Prettier 1Rory&2025-12-1722-322/+102
* Prettier connectionsRory&2025-12-1711-359/+96
* Prettier migration scriptsRory&2025-12-1725-330/+265
* Prettier a few filesRory&2025-12-171-1/+0
* finally make eslint happyRory&2025-12-1711-117/+64
* Fix typoRory&2025-12-171-1/+1
* Fix session id shenanigsRory&2025-12-172-2/+2
* forgot to clean upRory&2025-12-171-2/+0
* Centralise ip info logicRory&2025-12-174-28/+36
* Remove ugly hackRory&2025-12-171-2/+2
* Cast ephemeral flag to number because lmaoRory&2025-12-171-1/+1
* Rename PRIVATE_ROUTE -> EPHEMERAL, fix typoRory&2025-12-173-7/+5
* unixsock: use length-prefixed message framing + bufferRory&2025-12-171-10/+32
* Remove device on logoutRory&2025-12-172-8/+10
* Fix sessions logoutRory&2025-12-171-0/+1
* Update session infoRory&2025-12-178-75/+145
* Use query for sessions endpointRory&2025-12-161-1/+1
* Fix sessionRory&2025-12-161-3/+3
* Lower interval for cleaning up sessionsRory&2025-12-161-1/+1
* Device managementRory&2025-12-163-1/+149
* Experimental unix socket modeRory&2025-12-162-3/+151
* 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-162-2/+7
* Gateway token frefreshRory&2025-12-163-3/+10
* Fix gatewayRory&2025-12-161-1/+1
* Fix bad importsRory&2025-12-166-6/+6
* Expire old sessions, update last seen on gateway heartbeatRory&2025-12-162-5/+21
* Gateway: update session last seen on heartbeatRory&2025-12-161-1/+16
* Less debug logging, more useful?Rory&2025-12-163-5/+4
* What does this even returnRory&2025-12-161-0/+4
* Session fixesRory&2025-12-165-25/+44
* Upate session infoRory&2025-12-161-7/+29
* More maybe un-blowing-upRory&2025-12-162-5/+14
* 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
* Update instance ban schemaRory&2025-12-161-0/+1
* Token versioning startRory&2025-12-161-15/+16
* Allow opting out of persisting instance bans on user delete endpointRory&2025-12-162-7/+29
* EndpointPrivate for apiRory&2025-12-161-2/+3
* Merge branch 'spacebarchat:master' into fix/gh-webhook-events-moreCyber2025-12-1550-438/+1399
|\
| * fix corsRory&2025-12-151-1/+1
| * remove testMathMan052025-12-141-1/+1
| * fix minor bug breaking bot invitesMathMan052025-12-141-40/+9
| * 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
| * Try adjusting CORS rules to make cookies work?Rory&2025-12-133-11/+7
| * Prevent duplicate instance ban entriesRory&2025-12-131-1/+2
| * Delete user settings protos on account deletionRory&2025-12-131-1/+4
| * not milliseconds lolRory&2025-12-131-1/+1
| * Fix formatting oopsieRory&2025-12-131-7/+7
| * Log elapsed time for user deleteRory&2025-12-132-1/+30
| * 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-136-49/+98
| * More instance ban stuffRory&2025-12-127-11/+50
| * Instance ban: clean up DMs and guild ownerships, track instance bansRory&2025-12-121-3/+121
| * Fix IP tracking for bansRory&2025-12-128-3/+96
| * Refactor: Replace getIpAddress with req.ipBrajamohanDas-afk2025-12-1212-142/+48
| * Merge branch 'spacebarchat:master' into fix/config-stuffCyber2025-12-125-108/+71
| |\
| | * Merge branch 'spacebarchat:master' into fix/gh-embeds-new-commits-title-linkCyber2025-12-125-108/+71
| | |\
| | | * fix: prevent race condition in rabbitmqdank0742025-12-124-107/+70
| | | * fix read del bugMathMan052025-12-121-1/+1
* | | | fix: check if event is "opened" or "closed"CyberL12025-12-151-0/+4
|/ / /
* / / fix: some config stuffCyberL12025-12-121-3/+3
|/ /
* / fix: show compare url on multiple commitsCyberL12025-12-121-1/+1
|/
* Perhaps, dont IP ban moderatorsRory&2025-12-073-3/+18
* fix: check if `body` is not `null`CyberL12025-12-051-1/+3
* fix: add `| null` to guild folder typesCyberL12025-12-051-3/+3
* fix: only `guild_ids` is required in guild folderCyberL12025-12-051-3/+3
* fix: include `user` object in `guild_member`CyberL12025-12-041-12/+2
* fix: `highest_last_message_id` is apparently a number and never a stringCyberL12025-12-041-5/+5
* fix: send presences array (empty for now) in READY event dataCyberL12025-12-042-0/+2
* Clean up cloud attachment debug logsRory&2025-12-041-3/+2
* validate that endpoitns are configuredRory&2025-12-041-1/+38
* Remove fallback URIs, remove endpointClient, expose admin apiRory&2025-12-0411-27/+22
* fix: show only the first line of commit messageCyberL12025-12-031-1/+1
* Always use req.ip when calling getIpAddressRory&2025-12-031-6/+1
* wtf is wrong with ipdataRory&2025-12-031-0/+3
* Fix message ack schemaRory&2025-12-021-1/+1
* fix: github webhok username and avatar are now more in-line with discordCyberL12025-12-021-2/+2
* createMessageWithDefaults: unset memberRory&2025-12-021-0/+2
* Log origin for missing rolesRory&2025-12-021-1/+1
* Trace origin for addToGuild call, warn if sending null rolesRory&2025-12-023-1/+12
* More gateway stuffRory&2025-12-023-1/+38
* Various gateway stuffRory&2025-12-024-3/+151
* Fix registerRory&2025-12-021-1/+1
* Support deleting ACKs for type==channelRory&2025-12-022-3/+48
* Fix schema importRory&2025-12-021-1/+1
* Extended IP address scrutiny on registerRory&2025-12-022-64/+57
* Enforce bans on invites, enforce quarantine, enforce IP banRory&2025-12-021-33/+29
* Use IpDataClient in placesRory&2025-12-025-86/+15
* Dont export classes as defaultRory&2025-12-022-2/+2
* Export util/networkingRory&2025-12-021-0/+1
* Always trim username updatesRory&2025-12-021-1/+1
* Template billing routesRory&2025-12-022-2/+84
* Forgot the configuration, lolRory&2025-12-021-2/+5
* Classes for abuseipdb/ipdataRory&2025-12-027-0/+307
* fix: send 204 even if event is invalid (discord does this, idk why)CyberL12025-12-021-3/+1
* chore: remove debug logCyberL12025-12-021-1/+0
* refactor: refactor github webhooks embeds to match discord'sCyberL12025-12-021-469/+321
* update schema for voiceIdentifydank0742025-12-021-0/+3
* Split time classes, include testsRory&2025-12-019-51/+690
* Fix base64 avatar stuff for webhooksRory&2025-12-011-1/+1
* File uploads: try form.getBuffer()Rory&2025-12-011-1/+1
* Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-0112-39/+12
* Merge branch 'master' into channelSearchCyber2025-12-014-32/+16
|\
| * Merge branch 'master' into dupedEventsCyber2025-12-013-11/+15
| |\
| | * Tell browsers to cache applications/games detectable response in accordance o...Rory&2025-11-302-10/+14
| | * fix exposeMathMan052025-11-301-1/+1
| * | stop with the duped eventsMathMan052025-11-301-21/+1
| |/
* | fix other bugMathMan052025-11-302-38/+14
* | Implement channel searchMathMan052025-11-301-0/+140
|/
* stopwatch fixesMathMan052025-11-301-16/+13
* Handle case where session is an object, merges #1412Rory&2025-11-291-1/+1
* Cut down schemas by 90%Rory&2025-11-296-24/+46
* don't show invisMathMan052025-11-296-19/+12
* Fix merge issuesMathMan052025-11-2931-771/+160
|\
| * Merge pull request #1408 from MathMan05/removeStupidPoliesMadeline2025-11-2931-778/+164
| |\
| | * remove string proto fake polyfillMathMan052025-11-265-56/+10
| | * make mentions not use the pollyfillsMathMan052025-11-261-74/+26
| | * Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server into...MathMan052025-11-261-8/+12
| | |\
| | | * Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-261-8/+12
| | | |\
| | * | | Merge branch 'removeStupidPolies' of https://github.com/MathMan05/server into...MathMan052025-11-264-2/+248
| | |\| |
| | | * | Merge branch 'spacebarchat:master' into removeStupidPoliesMathium052025-11-264-2/+248
| | | |\ \
| | * | | | remove removeMathMan052025-11-264-22/+14
| | |/ / /
| | * | | fix distinctMathMan052025-11-261-1/+1
| | * | | re-add partion functionMathMan052025-11-261-0/+6
| | * | | remove test, oopsMathMan052025-11-261-7/+0
| | * | | change partitionMathMan052025-11-263-44/+18
| | * | | remove distinctMathMan052025-11-265-48/+7
| | * | | Fix backwards conditionMathMan052025-11-261-1/+1
| | * | | save fileMathMan052025-11-261-9/+0
| | * | | rid of forEachAsyncMathMan052025-11-263-30/+26
| | * | | 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-254-53/+2
| | * | | remove unused filter asyncMathMan052025-11-252-16/+1
| | * | | actually include fixMathMan052025-11-251-4/+8
| | * | | remove distinct byMathMan052025-11-252-34/+0
| | * | | actually delete the functionsMathMan052025-11-251-8/+0
| | * | | Delete Object.mapMathMan052025-11-255-51/+9
| | * | | 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-254-126/+46
* | | | | status stuffMathMan052025-11-281-9/+28
|/ / / /
* | | / remove unneeded logMathMan052025-11-271-1/+0
| |_|/ |/| |
* | | Pagnation and guild scoping for mention inboxRory&2025-11-261-8/+12
| |/ |/|
* | Maybe?Rory&2025-11-261-9/+15
* | Swap around toJSON and withSignedAttachments (oops)Rory&2025-11-261-2/+2
* | Actually include messages in mentions resultRory&2025-11-261-10/+48
* | Mentions inbox: use the right roles prop...Rory&2025-11-261-1/+2
* | Mentions inbox: include channel guild idRory&2025-11-261-1/+1
* | Cache access token key in memory and write it back to disk if deletedRory&2025-11-261-1/+25
* | Mention inbox, hopefullyRory&2025-11-261-0/+161
* | Expose mor emember keysRory&2025-11-252-1/+17
|/
* Channel: revert part of permission unification PRRory&2025-11-252-2/+70
* Message handler: fix importsRory&2025-11-251-7/+5
* Fix type on communication_disabled_untilRory&2025-11-251-1/+1
* implement timeouts and quarantinesRory&2025-11-253-20/+46
* allow setting communication_disabled_untilRory&2025-11-252-0/+6
* async filter extensionsRory&2025-11-252-0/+16
* add missing user flagsRory&2025-11-251-22/+43
* slight fixMathMan052025-11-251-1/+2
* Implement SlowmodeMathMan052025-11-251-2/+17
* 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
* fix bot deletingMathMan052025-11-241-3/+1
* fix :3MathMan052025-11-231-2/+1
* update to use flagsMathMan052025-11-231-1/+2
* is it a hack if it works?MathMan052025-11-233-3/+32
* fix for the comemntingMathMan052025-11-231-2/+2
* no, that doesn't workMathMan052025-11-231-0/+2
* maybe fix attachments?MathMan052025-11-231-3/+15
* workMathMan052025-11-231-1/+12
* use nonce?MathMan052025-11-231-0/+1
* make interactions more normalMathMan052025-11-233-52/+11
* 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-222-3/+3
* gateway: expose self rights on ready, maybe?Rory&2025-11-221-1/+1
* Add well-known routesRory&2025-11-221-0/+36
* Nix: emit revision file, bundle: use revision file, fix git dir resolution on...Rory&2025-11-211-26/+38
* only for gorupsMathMan052025-11-201-1/+1
* default undefinedMathMan052025-11-201-1/+1
* fix groups moreMathMan052025-11-202-116/+42
* fix: default `activities` to empty arrayCyberL12025-11-202-8/+17
* Merge branch 'master' into groupFixCyber2025-11-201-8/+40
|\
| * fixesMathMan052025-11-191-1/+6
| * add missing awaitsMathMan052025-11-191-2/+2
| * fix mentions issuesMathMan052025-11-191-6/+33
* | fix groupsMathMan052025-11-191-8/+8
|/
* Merge branch 'master' into webhookFixCyber2025-11-195-26/+43
|\
| * Merge branch 'master' into readStatesCyber2025-11-191-4/+7
| |\
| * | implement mention_countMathMan052025-11-185-26/+43
* | | correctly check queryMathMan052025-11-191-1/+1
* | | rearange errorsMathMan052025-11-191-8/+9
* | | fixesMathMan052025-11-191-44/+17