Commit Graph
65 Commits
Author SHA1 Message Date
Rory& ef454ab70a Dont (re-/)add embeds if message has embed suppressed 2026-06-29 17:39:49 +02:00
CyberL1andRory& 73d1ae9e59 refactor: add poll utility 2026-06-26 16:42:33 +02:00
Rory& 9bb2c437cf Authentication: allow - in webhook token 2026-06-16 17:59:23 +02:00
Rory& 92f4099b82 Move random string to Random class in extensions 2026-06-16 02:39:15 +02:00
Rory& 03ecae4348 Move more extensions to extensions 2026-06-12 17:58:18 +02:00
Rory& c77d00e243 Move entities to database 2026-06-12 17:58:18 +02:00
Rory& d84b8707ee Allow subpath imports, move extensions to separate module 2026-06-12 17:58:18 +02:00
Rory& c5504878b8 eslint: yoda 2026-04-19 22:45:37 +02:00
Rory& af29e6b178 eslint: arrow-body-style=as-needed 2026-04-19 22:45:37 +02:00
Rory& 5f8afbc7ae eslint: array callback return, no restricted imports 2026-04-19 22:45:37 +02:00
Rory& 1549ea837a Add media1.tenor.com explicitly as image handler 2026-04-14 01:19:11 +02:00
Rory& e0204f76cf Make presence clear async, clean up temp session code 2026-04-13 22:41:57 +02:00
Rory& 53ab01c4e2 EmbedHandlers: more configuration for embeds, switch to storing all returned embeds 2026-03-26 15:14:18 +01:00
Rory& 1ad351559f EmbedHandlers: use youtube handler for youtube music, use OrmUtils.mergeDeep for request options 2026-03-26 12:26:53 +01:00
Rory& daaf6eae28 Embeds: factor out from postMessage 2026-03-26 11:46:48 +01:00
Rory& 961cb9a7e2 API: request embeds in US english preferred
Build docker images / build (cdn) (push) Failing after 1m17s
Build docker images / build (admin-api) (push) Failing after 4m16s
Style / build (24.x) (push) Failing after 1m22s
Build docker images / build (api) (push) Failing after 1m29s
Build docker images / build (default) (push) Failing after 54s
Build docker images / build (cdn-cs) (push) Failing after 1m17s
Build docker images / build (gateway) (push) Failing after 58s
Build docker images / build (gateway-offload) (push) Failing after 1m17s
Build / build (24.x) (push) Successful in 1m23s
Nix build / build-nix (push) Failing after 1m15s
2026-02-17 03:35:47 +01:00
Rory& 863f16f4f5 API: fix youtube embed 2026-02-17 03:21:09 +01:00
Rory& 3636d615db ESLint: warn for deprecated constructs 2025-12-19 19:35:54 +01:00
Rory& 491c0de845 lintstagedrc: regenerate schemas/openapi if schemas changed 2025-12-17 11:01:27 +01:00
Rory& 5a3c1a3f53 Prettier u9 2025-12-17 09:25:41 +01:00
Rory& 073bf7e0eb Prettier 8 2025-12-17 07:54:46 +01:00
Rory& 17579462d0 Prettier 5 2025-12-17 07:47:57 +01:00
Rory& 9963ea4527 Prettier 3 2025-12-17 07:44:04 +01:00
Rory& cad820d334 More maybe un-blowing-up 2025-12-16 06:46:51 +01:00
BrajamohanDas-afkandRory& eb94dd4b16 Refactor: Replace getIpAddress with req.ip 2025-12-12 22:46:28 +01:00
Rory& 9445109bf0 Always use req.ip when calling getIpAddress 2025-12-03 20:06:13 +01:00
Rory& 8b10d85d29 Use IpDataClient in places 2025-12-02 16:46:08 +01:00
Rory& 25f7c0de5d Drop node-fetch-commonjs, proxy-agent as deprecated 2025-12-01 20:19:14 +01:00
Rory& e52c237326 Reorganise schemas a little bit 2025-10-15 08:04:23 +02:00
Rory& a25393e806 Clean up array extensions 2025-10-04 19:09:26 +02:00
Rory& 7d2fd7b4f8 Add dotnet-ish Random class 2025-10-04 19:09:25 +02:00
Rory& b681ae7522 Drop dependency on missing-native-js-functions 2025-10-04 19:09:25 +02:00
Rory& 1e6ed06da1 Add first half of cloud attachment uploads 2025-09-29 18:38:06 +02:00
MathMan05andGitHub 664b71f463 acatually fix the embed issue
This one added the line in the right spot, sorry about the previous one lol
2025-03-23 23:29:19 -05:00
Emma [it/its]@Rory& 168758924c Update some patches, switch to node-fetch-commonjs, more updates 2024-10-28 00:32:15 +01:00
Madeline c802bb9747 Embeds: handle og:sitename 2023-09-16 23:47:32 +10:00
Madeline e355be8ea3 Fix regression where generic embed handler wouldn't properly send image results 2023-09-16 23:43:23 +10:00
Puyodead1 8a35664ae6 [fb] remove provider obj, add color 2023-09-03 15:48:55 -04:00
Puyodead1 1612832fc4 add facebook, and add steam fields 2023-09-03 15:28:33 -04:00
Madeline e64c34adea Rewrite thumbnail/image generation for embeds 2023-09-03 14:17:11 +10:00
Madeline fb7409947c Fix bug in embed handler where getMeta would not return undefined 2023-09-03 13:41:45 +10:00
Madeline c64a115729 xkcd embed handler and improved generic handler 2023-09-02 23:47:40 +10:00
Zert3xandGitHub 6306c5e725 Update ipAddress.ts 2023-05-28 21:39:50 -04:00
Madeline 095cbf7b20 Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline 8b2faf0b18 SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline 64e747a4d2 SPACEBAR 2023-03-31 02:05:02 +11:00
MadelineandGitHub 084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
Chris ChromeandGitHub 7152a1c2c1 Add youtu.be embed handler (#945) 2023-01-18 17:47:23 +11:00
MadelineandGitHub 0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* 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
2023-01-18 13:05:49 +11:00
Madeline 5771247645 Return embed proxy url even if imagor not set up. Also make warning nicer 2023-01-16 14:20:17 +11:00