summary refs log tree commit diff
path: root/src/api/routes/channels (follow)
Commit message (Expand)AuthorAgeFilesLines
* Routes: reduce scope of api imports to api/utilRory&2026-06-174-5/+4
* Signify some imports more explicitlyRory&2026-06-1621-21/+21
* Move random string to Random class in extensionsRory&2026-06-162-4/+6
* Account for channel id when deleting messagesRory&2026-06-161-2/+2
* HACKHACK: Migrate to typeorm v1.0.0, still work to do in actually updating al...Rory&2026-06-137-10/+10
* Move more extensions to extensionsRory&2026-06-121-1/+2
* Move entities to databaseRory&2026-06-1223-90/+77
* Use subpath imports for lambert-server, fix openapi.jsRory&2026-06-1211-11/+11
* Allow subpath imports, move extensions to separate moduleRory&2026-06-121-1/+1
* Return url on webhook createRory&2026-06-051-0/+1
* eslint: arrow-body-style=as-neededRory&2026-04-191-8/+6
* eslint: more rules, no-duplicate-importsRory&2026-04-191-2/+1
* eslint: array callback return, no restricted importsRory&2026-04-192-15/+18
* Run prettier, remove accidental importsRory&2026-04-181-9/+9
* Attempt to set channel/message id for attachments in more placesRory&2026-04-181-1/+1
* Fix attachmentsRory&2026-04-184-39/+32
* Fix Typing event so that it returns undefined rather than nullwhinis2026-04-132-2/+2
* make spacebar compile again dev/emma/as-to-satisfies-gwOh642026-03-218-41/+60
* More schema stuffRory&2026-03-211-1/+1
* Message*Event: as->satisfies (WIP)Rory&2026-03-217-12/+12
* Migrate MessageReaction*Event to satisfies, part of #1577Rory&2026-03-201-7/+9
* Migrate TypingStartEvent to satisfies, part of #1577Rory&2026-03-201-1/+1
* Migrate Thread*Event to satisfies, part of #1577Rory&2026-03-203-12/+12
* Migrate MessageDelete*Event to satisfies, part of #1577Rory&2026-03-203-3/+3
* Migrate MessageAckEvent to satisfies, part of #1577Rory&2026-03-201-2/+2
* Migrate Invite*Event to satisfies, part of #1577Rory&2026-03-201-1/+1
* Migrate Channel*Event to satisfies, part of #1577Rory&2026-03-203-7/+7
* Migrate ChannelRecipient*Event to satisfies, part of #1577Rory&2026-03-201-5/+7
* Migrate ChannelPinsUpdateEvent to satisfies, part of #1577Rory&2026-03-202-4/+4
* Migrate ChannelDeleteEvent to satisfies, part of #1577Rory&2026-03-201-2/+2
* merge the functionsMathMan052026-03-202-10/+17
* call to jsonMathMan052026-03-203-5/+5
* fix moreMathMan052026-03-201-0/+1
* fixes for pluralkitMathMan052026-03-201-0/+3
* fix many bugsMathMan052026-03-201-2/+2
* sign hereMathMan052026-03-201-9/+5
* it ain't asyncMathMan052026-03-201-1/+1
* sign 'emMathMan052026-03-201-9/+5
* added missing author to repliesLisa Marie Maginnis2026-03-151-1/+4
* Added user and roles to PublicMember response to fix reactionsLisa Marie Maginnis2026-03-151-1/+9
* give remove the same treatmentMathMan052026-03-151-2/+4
* Fix adding reactionsMathMan052026-03-151-9/+9
* Shorten importsRory&2026-03-141-1/+1
* Remove unused imports for non-entitiesRory&2026-03-148-31/+9
* properly mark unused paramsRory&2026-03-142-6/+9
* Qodana: fix async warningsRory&2026-03-143-4/+4
* fix: `around` parameter returning invalid sortCyberL12026-03-131-1/+1
* added clean_data to places after a member is created but not constructed to a...whinis2026-02-261-0/+1
* Lower missing route to WARN, add empty route middlewaresRory&2026-02-251-1/+1
* fix post dataMathMan052026-02-181-1/+16
* Try to enforce channel limts?Rory&2026-02-141-1/+27
* more pins fixesMathMan052026-02-132-2/+4
* dieMathMan052026-02-131-2/+0
* update other pinsMathMan052026-02-131-1/+15
* speed up fetching messagesMathMan052026-02-131-0/+2
* WHY???MathMan052026-02-131-2/+0
* fix it the other way arroundMathMan052026-02-131-1/+15
* speed up fetching messagesMathMan052026-02-131-0/+2
* thanks gitMathMan052026-02-131-2/+0
* speed up fetching messagesMathMan052026-02-131-0/+2
* left some logs in there, oopsMathMan052026-02-131-2/+0
* speed up fetching messagesMathMan052026-02-131-28/+4
* feat: Add limit query parameter when fetching reactionsYodozoh2026-02-111-0/+2
* properly update last message idMathMan052026-02-081-0/+1
* fix bug with removing tagsMathMan052026-02-081-0/+1
* correct tag change checkMathMan052026-02-081-1/+2
* allow tag modificationMathMan052026-02-081-0/+42
* have to include tags in the eventsMathMan052026-02-081-1/+1
* grab author relationMathMan052026-02-051-0/+1
* no need to init, the sent message will incrementMathMan052026-02-051-2/+2
* oopsMathMan052026-02-051-1/+1
* implement tag_settingMathMan052026-02-051-4/+3
* better searchMathMan052026-02-051-2/+6
* edit tagsMathMan052026-02-051-0/+22
* post with tagsMathMan052026-02-051-1/+32
* fix responce typesMathMan052026-02-051-2/+6
* deleting tagsMathMan052026-02-052-0/+48
* so many type screw upsMathMan052026-02-051-1/+4
* create tagsMathMan052026-02-051-0/+66
* incorrect message countMathMan052026-02-041-2/+2
* no more name checks for threads!MathMan052026-02-042-2/+2
* more forum fixesMathMan052026-02-042-1/+184
* fix another forum bugMathMan052026-02-041-1/+1
* merge masterMathMan052026-02-041-2/+2
|\
| * spread that message!MathMan052026-02-031-1/+1
| * more thread improvementsMathMan052026-02-031-1/+1
* | fix forum channelMathMan052026-02-041-0/+1
* | thread improvementsMathMan052026-02-042-3/+30
|/
* some fixesMathMan052026-02-043-18/+2
* unscrew upMathMan052026-02-042-4/+4
* Fix req.params for thread creationRory&2026-02-041-1/+1
* Merge remote-tracking branch 'mathium05/threadFixes'Rory&2026-02-044-17/+248
|\
| * more changesMathMan052026-02-033-3/+186
| * send message to join threadMathMan052026-02-031-0/+42
| * add permision checkMathMan052026-02-031-0/+1
| * correct thread typeMathMan052026-02-031-1/+1
| * correct message sending permsMathMan052026-02-031-1/+5
| * don't delete a public threadMathMan052026-02-031-11/+11
| * some thread fixesMathMan052026-02-031-1/+2
* | Actually save webhook apps - fixes #1474Rory&2026-02-031-1/+2
* | Assert req.params type as solely string (express update)Rory&2026-02-0119-52/+52
|/
* Thread membership routesRory&2026-01-294-0/+227
* thread stuff ig tmp-rebase-threads dev/threadsMathMan052026-01-281-0/+12
* initial recipients workMathMan052026-01-283-6/+18
* thread API startMathMan052026-01-282-0/+109
* Add stub POSt report endpointRory&2026-01-171-0/+1
* Deprecation: Use object-based relations for typeormRory&2025-12-1910-38/+42
* Dont use promises for dummy endpointsRory&2025-12-193-8/+7
* DEPRECATION: Move most select queries to object instead of string[]Rory&2025-12-192-2/+2
* Avoid re-fetching user if not requesting extra fieldsRory&2025-12-181-2/+2
* Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults'Rory&2025-12-171-4/+4
|\
| * Stop returning defaults when using getPublicUser()TomatoCake2024-09-011-4/+4
* | Merge remote-tracking branch 'mathium05/greetFix'Rory&2025-12-171-2/+2
|\ \
| * \ Merge branch 'master' into greetFixCyber2025-11-181-0/+3
| |\ \
| * | | fix greet APIMathMan052025-11-171-3/+3
* | | | lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-1720-2096/+2096
* | | | Remove automod code in favor of dev/emma-wip stuffRory&2025-12-171-55/+0
* | | | No more fallback URLsRory&2025-12-171-2/+1
* | | | Prettier u14Rory&2025-12-171-1/+1
* | | | Prettier u3Rory&2025-12-171-42/+23
* | | | Prettier 2Rory&2025-12-175-72/+15
* | | | Prettier 1Rory&2025-12-176-106/+38
* | | | Less debug logging, more useful?Rory&2025-12-161-1/+0
* | | | fix read del bugMathMan052025-12-121-1/+1
* | | | Support deleting ACKs for type==channelRory&2025-12-021-2/+27
* | | | Drop node-fetch-commonjs, proxy-agent as deprecatedRory&2025-12-011-1/+0
* | | | fix other bugMathMan052025-11-301-1/+3
* | | | Implement channel searchMathMan052025-11-301-0/+140
* | | | remove string proto fake polyfillMathMan052025-11-261-2/+3
* | | | remove removeMathMan052025-11-261-3/+4
* | | | remove distinctMathMan052025-11-261-27/+5
* | | | rid of forEachAsyncMathMan052025-11-261-15/+19
* | | | implement mention_countMathMan052025-11-182-16/+9
| |/ / |/| |
* | | update last message id in more placesMathMan052025-11-171-1/+4
|/ /
* | fix full user object being exposedMathMan052025-10-302-62/+23
* | fix dming blocked usersPuyodead12025-10-221-0/+22
* | Synchronously save automod messageRory&2025-10-191-39/+25
* | Use message.createRory&2025-10-191-0/+1
* | Use save operator rather than raw insert maybe?Rory&2025-10-191-1/+1
* | Helper to create valid messagesRory&2025-10-191-1/+3
* | fixRory&2025-10-181-1/+1
* | Automod mayhaps?Rory&2025-10-181-7/+84
* | fix: move types to schemaCyberL12025-10-181-4/+3
* | fix: add `user` object on `interaction` and `interaction_metadata` for messagesCyberL12025-10-181-8/+16
* | More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-158-18/+10
* | Reorganise schemas a little bitRory&2025-10-1512-21/+18
* | Clean up array extensionsRory&2025-10-042-2/+2
* | fix: getting invites for a channelCyberL12025-10-021-16/+3
* | Pass mergeParams: true to new router calls due to express behavior changeRory&2025-09-3020-20/+20
* | Clean up unused importsRory&2025-09-304-13/+1
* | No error when message not foundRory&2025-09-291-1/+1
* | Maybe this tieRory&2025-09-291-0/+4
* | Polyfill referenced messageRory&2025-09-291-0/+12
* | More relationsRory&2025-09-291-66/+19
* | Add author and mentions relation to fetching messagesRory&2025-09-291-0/+2
* | Include referenced_message relation on GET /channel/.../messagesRory&2025-09-291-0/+1
* | Null coalescing for file idRory&2025-09-291-3/+2
* | Use default ID on file upload requestsRory&2025-09-291-0/+14
* | Make cloud uploads workRory&2025-09-292-3/+11
* | Logging of empty messagesRory&2025-09-291-1/+1
* | meow???Rory&2025-09-291-1/+1
* | Update message schema to handle cloud attachmentsRory&2025-09-291-0/+1
* | Implment deleting cloud attachmentsRory&2025-09-291-0/+35
* | Fix upload filenameRory&2025-09-291-1/+1
* | Add first half of cloud attachment uploadsRory&2025-09-292-2/+102
* | Fix schema for preload messagesRory&2025-09-291-3/+1
* | Implement greetingRory&2025-09-292-1/+104
* | Implement message preloadingRory&2025-09-291-0/+72
* | Permissions: less magic numbersRory&2025-09-291-11/+3
* | Update copyright date in pin endpointsRory&2025-09-292-2/+2
* | fix: don't set order for counting queriesCyberL12025-09-292-2/+0
* | fix: set DESC orderCyberL12025-09-292-0/+4
* | refactor: don't use query builderCyberL12025-09-291-7/+3
* | refactor: don't use query builderCyberL12025-09-292-21/+14
* | refactor: add `pinned` getter to `Message` entityCyberL12025-09-291-1/+1
* | refactor: use `pinned_at` to check if message is pinnnedCyberL12025-09-293-23/+34
* | fix: getting message pinssCyberL12025-09-291-2/+11
* | Modern pins endpointsRory&2025-07-082-0/+195
* | PrettierRory&2025-07-062-20/+39
* | Fix forgotten function signature changesRory&2025-07-062-4/+10
* | Make IP/user-agent validation in CDN workRory&2025-07-062-5/+14
* | sign attachment on sending messageEmma [it/its]@Rory&2025-07-061-1/+1
* | Sign media per userEmma [it/its]@Rory&2025-07-061-2/+3
* | Add options to erquire IP or User Agent to access CDNEmma [it/its]@Rory&2025-07-061-2/+2
* | Implement signed cdn urlsPuyodead12025-05-031-8/+11
* | add `author` to query in pins APIdank0742025-04-091-0/+2
* | Validate Name for webhooks enforced moreroot2025-03-251-31/+2
* | Fixed errors in authorization for webhooks with tokensroot2025-03-231-2/+34
* | implement hubs routesPuyodead12025-01-071-0/+41
* | run prettierdank0742024-11-192-2/+2
* | Fix the broken delete APIMathMan052024-10-291-1/+1
|/
* fix: display pinned message authorCyber2024-08-281-0/+1
* Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channelsMadeline2024-08-221-0/+32
|\
| * feat: emit `MESSAGE_CREATE`Cyber2024-08-181-14/+31
| * fix: message timestampCyber2024-08-181-0/+1
| * fix: update the code with latest commitCyber2024-08-181-12/+7
| * feat: message pinned messageCyber2024-08-181-7/+26
* | widget.json channel_ordering, fix channel deletionTomatoCake2024-08-181-1/+1
|/
* Send "pinned" as "true" in pins update eventTomatoCake2024-08-181-13/+10
* Send 204 statusTomatoCake2024-08-151-2/+10
* fix: make this a new routeCyber2024-08-101-0/+70
* Merge branch 'master' into fix/reaction-removingCyber2024-08-101-9/+36
|\
| * Merge branch 'master' into feat/webhooks-3TomatoCake2024-08-081-4/+11
| |\
| * | PrettierTomatoCake2024-07-181-4/+11
| * | Consistent relations, url property, src channelTomatoCake2024-07-181-5/+12
| * | Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server int...TomatoCake2024-07-185-20/+57
| |\ \
| * | | Start implementing webhooksPuyodead12023-12-101-6/+19
* | | | fix: reaction removingCyber2024-07-301-1/+1
| |_|/ |/| |
* | | Fix ?before messages fetch paramTomatoCake2024-07-281-0/+1
* | | Fix sort order when using ?aroundTomatoCake2024-07-281-4/+10
| |/ |/|
* | Make channel ID optional when replyingTomatoCake2024-07-171-5/+4
* | Merge pull request #1137 from DEVTomatoCake/fix/cdn-proxy-pathMadeline2024-07-091-6/+14
|\ \
| * | Increase minimum char countTomatoCake2024-07-061-1/+1
| * | Fix msg attachment proxy_url when using pathsTomatoCake2024-07-061-6/+14
* | | Add new message flags once againTomatoCake2024-07-051-3/+4
|/ /
* | Add <Channel>.position to public endpointsTomatoCake2024-07-042-3/+14
* | Remove parent for childs on category deletionTomatoCake2024-06-051-3/+21
|/
* Fix reacting with custom emojis from same guild requiring USE_EXTERNAL_EMOJISRory&2023-12-081-1/+2
* messageupdate: fix member not being correct formatPuyodead12023-12-051-1/+6
* fix some message update fields being sent when nullPuyodead12023-12-051-5/+2
* typingstart timestamp needs to be secondsPuyodead12023-12-051-1/+1
* * allow limit=1Madeline2023-09-051-7/+25
* update invites endpoints to support latest apiMadeline2023-08-121-5/+13
* fix reversed check in GET messagesMadeline2023-08-071-1/+1
* some abaddon compatMadeline2023-07-311-32/+36
* goofMadeline2023-07-281-1/+2
* Fix regression of 5f22faa57b7104ba29a01889a1bafc35b3be4f02Madeline2023-07-281-17/+18
* fix get channel messages around parameterVincent Junge2023-06-261-10/+11
* Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-164-29/+6
* spacebarPuyodead12023-04-131-4/+4
* clusterfuckPuyodead12023-04-134-4/+4
* oapi: users progressPuyodead12023-04-131-1/+1
* backfill missing query paramsPuyodead12023-04-131-0/+16
* fixing lots of openapi crapPuyodead12023-04-138-9/+9
* channelsPuyodead12023-04-1314-249/+531
* Add missing route middleware to messages routeMadeline2023-04-121-2/+4
* send public member in message_reaction_add eventtMadeline2023-04-111-2/+11
* Update reactions.tsRainb0w :32023-04-101-1/+2
* properly track reactionsRainb0w :32023-04-081-0/+2
* Remove ALL fosscord mentionsMadeline2023-03-3114-35/+35
* SPACEBARMadeline2023-03-3115-15/+15
* SPACEBARMadeline2023-03-3115-15/+15
* Don't allow message types to be editedMadeline2023-02-031-6/+3
* Merge pull request from GHSA-9qvc-84ch-5p2xMadeline2023-02-021-1/+26
* Add ESLint (#941)Madeline2023-01-2012-69/+69
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-1815-0/+270
* PrettierMadeline2023-01-054-25/+46
* Set default cdn endpoints so that local testing worksMadeline2022-12-211-1/+1
* Message rate limitingTheArcaneBrony2022-12-191-1/+22
* Create webhooksMadeline2022-12-192-4/+26