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
Ske
472e556ef0
Pass proper allowed_mentions when sending webhook messages
2020-06-28 20:26:14 +02:00
Ske
0ee22813fa
Don't trim inner string when matching proxy tags
2020-06-24 17:19:01 +02:00
Ske
a83e9306bb
Reimplement autoproxy escape character
2020-06-24 16:48:55 +02:00
Ske
2c35649ef0
Use AllowedMentions to disable mentions everywhere by default
2020-06-20 17:33:10 +02:00
Ske
ca882dba73
Add more performance metrics
2020-06-14 22:19:12 +02:00
Ske
b9cbd241de
Migrate to type-safe model ID structs
2020-06-14 21:37:04 +02:00
Ske
e5ac5edc35
Refactor and categorize tests
2020-06-14 20:22:29 +02:00
Ske
0f041c2e3c
Add unit test project and some early tests
2020-06-14 18:56:53 +02:00
Ske
c780781184
Remove unused imports
2020-06-13 23:12:44 +02:00
Ske
2702c45b4f
General bits of cleanup
2020-06-13 22:20:24 +02:00
Ske
4b69ef806a
Properly support KeepProxy after refactor
2020-06-13 22:16:04 +02:00
Ske
90ac186183
Extract Database to interface
2020-06-13 19:36:43 +02:00
Ske
e176ccbab5
Several more database-y refactors
...
- DbConnectionFactory renamed to "Database", will now be the primary entry point for DB stuff
- Created IPKConnection interface mostly containing async extensions to IDbConnection, use this going forward
- Reworked the Connection/Command wrappers (that have performance/logging extensions)
- Probably more stuff that I forgot???
2020-06-13 18:31:20 +02:00
Ske
729930a562
Move system tag/icon from ProxyMember to MessageContent
2020-06-12 23:30:10 +02:00
Ske
3d62a0d33c
Split message/proxy data up in MessageContext and ProxyMember
2020-06-12 23:13:21 +02:00
Ske
ba441a15cc
Too many refactors in one:
...
- Allowed adding ephemeral(ish) views and functions
- Moved message_count to a concrete database field
- Moved most proxy logic to a stored procedure
- Moved database files around and refactored schema manager
2020-06-12 20:29:50 +02:00
Ske
49acc4d9e2
Refactor proxy handling code
...
- Move reaction handlers to the ReactionAdded event instead of
ProxyService
- Split tag matching off into ProxyTagParser
- Split autoproxy matching off into Autoproxier
- General cleanup and simplification
2020-06-11 23:22:53 +02:00