Commit Graph

67 Commits

Author SHA1 Message Date
spiral
38cbca1b34
feat: respect guild boost file size limit when re-sending attachments 2021-11-04 14:13:43 -04:00
spiral
c31ea56bc9
fix Discord per-guild avatars in replies
because Discord changed the URL format, for some reason
2021-09-30 15:36:01 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral
fb4aaad19f
lint 2021-09-26 22:50:08 -04:00
Fiona
94f4f970ea
Fix <text> brackets also matching markdown 2021-09-26 20:23:59 -04:00
spiral
c472a7f6df
lint/fixes, add group patch validation 2021-09-22 13:48:34 -04:00
spiral
a09f819924
re-enable FixSameName (with database fix) 2021-09-18 19:14:08 -04:00
Ske
9bbe9df16d Clean up a few database pool uses 2021-09-03 22:20:07 +02:00
Ske
13260a4b0e Disable FixSameName for the time being 2021-08-31 01:31:12 +02:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
4c97a9daf6
hopefully a fix for #384 2021-08-15 00:50:31 -04:00
Ske
4c17ee3d89 Fix proxying in channels without message history + reduce proxy latency 2021-08-08 21:56:24 +02:00
spiral
9fd4f327e0
refactor: clean up message logging 2021-08-04 00:41:51 -04:00
spiral
b9f73cadb7
feat: proxy debug command
Co-authored-by: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
2021-08-03 21:06:14 -04:00
spiral
25f96dd920
Fix Discord merging webhook messages with same username
Closes #33.
2021-08-03 13:44:22 -04:00
spiral
dcc15dc847
Move mediaproxy URL rewriting to ProxyService
This shows full size avatars in API / cards.

Also, rewrite URLs currently stored with media.discordapp.net "back" to
cdn.discordapp.com before sending them to users.
2021-08-01 12:51:54 -04:00
Ske
1f2b9f998d Preliminary support for APIv9 and threads 2021-07-15 12:41:19 +02:00
spiral
a8e6a53404
! 2021-07-08 10:57:53 -04:00
spiral
e620e30c10
Fix channel checks missing GuildNews
The log channel / logclean checks are left as-is; hopefully nobody is
using an announcements channel for their logs?
2021-07-08 09:17:35 -04:00
Zoe Martin
131ee8d87c
fix: improved url regex 2021-06-25 15:14:30 +02:00
Zoe Martin
e9da1a80b7
fix: issues with urls being cut in half at the end of replies and "…" unnecessarily being appended at the end 2021-06-25 15:05:25 +02:00
Zoe Martin
d1c6794330
fix: inserting closing angle bracket in reply when not present in original issue 2021-06-25 13:15:25 +02:00
Zoe Martin
2aac97d2a0
fix: extended fix for emotes being cut off in replies to all mentions 2021-06-25 12:54:49 +02:00
Zoe Martin
b156f6a9cb
fix: emotes being cut off in replies 2021-06-25 12:34:44 +02:00
spiral
272a3430a6
move message length check *after* proxy members check 2021-06-14 11:31:14 -04:00
spiral
c75451a572
add temporary info message about increased message character limit 2021-06-12 14:45:21 +00:00
spiral
653c7b22bd
remove random console log 2021-05-01 19:32:37 +01:00
spiral
517abf7ff1
feat: show member color in reply embed 2021-05-01 19:20:00 +01:00
Ske
80c572f594 Fix various bugs and regressions 2021-01-31 16:02:34 +01:00
Ske
04109a133f Merge branch 'main' into newdiscord 2021-01-15 10:35:20 +01:00
Ske
e0cc74a712 Don't attempt to create a reply embed when message fetching fails 2021-01-14 03:22:04 +01:00
spiral
44fa097900
Force PNG image format (remove animations in embeds) 2020-12-28 04:47:14 +00:00
Ske
a6fbd869be Initial commit, basic proxying working 2020-12-22 13:15:26 +01:00
Ske
c3f6becea4 Fix truncated spoiler tags in replies 2020-12-21 03:16:48 +01:00
Ske
4e5d02e1a4 Reformat replies 2020-12-20 16:58:52 +01:00
Ske
e2d76fe809 Fix reply formatting on mobile 2020-12-20 12:16:14 +01:00
Ske
df243d4220 Add info embed to proxied replies 2020-12-20 11:38:26 +01:00
Ske
db4e41a232 Convert autoproxy timeout to use seconds 2020-12-08 12:57:17 +01:00
Astrid
77d63c2838
Merge branch 'main' into feat/ap 2020-12-08 12:25:01 +01:00
spiral
277b001050
Clean up name length check method 2020-11-26 00:04:40 -05:00
spiral
ea4d93208e
Allow single character proxy name by adding invisible character 2020-11-26 00:01:19 -05:00
spiral
3ef1496383
Fix proxying in announcement channels 2020-11-25 17:13:31 -05:00
spiral
8e5fb6520b Add configurable autoproxy latch timeout 2020-11-22 09:42:40 -05:00
spiral
41247c68a6 Add disabling front/latch autoproxy per-member 2020-11-22 09:42:40 -05:00
Ske
c0c4871f0b Fix cache error using log channel 2020-11-15 15:07:20 +01:00
Ske
27c9e54f17 Delete proxied message if the trigger message gets deleted by other means 2020-11-15 14:34:49 +01:00
Ske
c7612df37e Major database refactor (again) 2020-08-29 13:46:27 +02:00
Ske
147e1fdc1a Potentially fix NRE in ProxyService 2020-08-25 23:26:41 +02:00
Ske
ba48f22ad2 Break proxied links if the sender doesn't have embed permission 2020-07-10 16:35:52 +02:00
Ske
bb7ee130a6 Fix error when proxying all-whitespace message 2020-07-05 13:26:49 +02:00