29 Commits

Author SHA1 Message Date
Madeline
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 Chrome
7152a1c2c1 Add youtu.be embed handler (#945) 2023-01-18 17:47:23 +11:00
Madeline
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
Madeline
de3909f646 Update dead lines 2023-01-16 00:03:51 +11:00
Madeline
dda70a66c9 Add an error log if embed handler fails, in addition to the existing sentry log 2023-01-15 16:21:46 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
ddd3c86043 Registration tokens 2022-12-19 22:04:52 +11:00
Madeline
d407d8ebe7 Add additional config 2022-12-19 16:51:24 +11:00
Madeline
bf420aac32 Remove Discord oauth login support 2022-12-17 19:41:49 +11:00
Madeline
1e88d63186 Remove sharp dep 2022-12-17 18:46:44 +11:00
Madeline
e991e00f32 Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-services 2022-10-28 15:25:58 +11:00
Madeline
a11686cfc6 Fix fix for twitter embeds from yesterday 2022-10-25 11:00:01 +11:00
Madeline
d3d9f4ae2f Fix tweets with only video breaking embeds 2022-10-24 19:53:14 +11:00
Madeline
b2aac3eed7 embed fail 2022-10-05 16:10:24 +11:00
Madeline
7db5c02189 capture exception in sentry for embed processing 2022-10-04 15:43:01 +11:00
Madeline
c885fd5503 Embed cache 2022-10-03 23:50:34 +11:00
Madeline
69ff9c944c Twitter embeds 2022-10-03 23:38:53 +11:00
Madeline
5b463ee156 Make imagor optional 2022-10-02 22:25:47 +11:00
Madeline
5bbe2666d0 Use imagor for image resizing 2022-10-02 15:28:03 +11:00
Madeline
d341fe44d7 More embed improvements 2022-10-02 14:41:10 +11:00
Madeline
070ce373e9 Slightly better embeds 2022-10-01 15:59:30 +10:00
Madeline
e18af893f6 Better embed handling 2022-10-01 14:44:32 +10:00
Madeline
835a5ab3a3 Fix fetching members for roles in POST message 2022-09-29 21:29:54 +10:00
Madeline
357aada969 Prevent URL embedding and mentions when in codeblock 2022-09-29 15:53:13 +10:00
Madeline
ff28c95f2a Fix message editing 2022-09-27 23:02:43 +10:00
Madeline
99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline
849b257db7 Move schemas to /src/util/schemas 2022-09-26 22:08:14 +10:00
Madeline
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00