Commit graph

182 commits

Author SHA1 Message Date
Oleksii Holub
cf83cbd89c
Add support for stickers (#802) 2022-02-05 16:26:23 -08:00
Oleksii Holub
d51d0d4872 Use snowflakes in more places 2022-02-06 01:15:56 +02:00
Oleksii Holub
2467caac9f Use api v9 2022-02-05 20:19:16 +02:00
Oleksii Holub
bd98f4cb6a Refactor StringPart into StringSegment 2022-02-05 04:10:35 +02:00
Oleksii Holub
c36b8df8e7 Update NuGet packages 2022-01-27 18:25:21 +02:00
Tyrrrz
0de1f47310 More parsing leniency
Closes #767
2022-01-09 22:24:02 +02:00
Tyrrrz
e31ff55e33 Handle invalid dates more gracefully
Closes #766
2022-01-05 18:54:23 +02:00
Tyrrrz
65ab003ff5 Relax parsing rules for embed fields
Closes #765
2022-01-04 22:44:03 +02:00
Alexey Golub
2156c6cd0c
Automatically detect token kind (#764) 2022-01-03 14:52:16 -08:00
Tyrrrz
bfa5d10761 Handle null name in Emoji.Parse(...) 2021-12-15 02:05:19 +02:00
Tyrrrz
008bb2f591 Use .NET 6's ParallelForEachAsync(...) 2021-12-13 21:02:11 +02:00
Tyrrrz
b8567d384f More defensive programming 2021-12-12 23:45:52 +02:00
Tyrrrz
a06b448f4a Don't use GetNonWhiteSpaceString() with nullable JSON fields
Fixes #747
2021-12-11 16:50:09 +02:00
Tyrrrz
880f400e2c C#10ify 2021-12-08 23:50:21 +02:00
Tyrrrz
4974fe5292 Refer to Category.Name explicitly instead of relying on ToString() 2021-11-19 22:18:15 +02:00
Tyrrrz
1db2bb4170 Remove Tyrrrz.Extensions package 2021-11-15 18:50:46 +02:00
Tyrrrz
da9536bd1b Update NuGet packages 2021-11-15 18:02:41 +02:00
Tyrrrz
d8de3bf779 Re-add IComparable<T> to Snowflake 2021-11-09 23:31:27 +02:00
Tyrrrz
7c88a21543 Convert several types to records 2021-11-09 23:15:56 +02:00
Tyrrrz
214d5e3bdb Fix nullability errors 2021-11-08 23:16:37 +02:00
Artem
092f0cade9
Align design with Discord (#728) 2021-10-25 11:08:03 -07:00
Emily
fc6cfcfcc6
Fix RTL rendering in HTML exports (#727) 2021-10-18 09:18:23 -07:00
Emily
46450367e3
Add markdown support for channel topics in HTML export (#720)
Co-authored-by: Alexey Golub <1935960+Tyrrrz@users.noreply.github.com>
2021-10-16 06:29:59 -07:00
Tyrrrz
21d89afa70 Add managed cancellation support
Closes #716
2021-10-07 17:06:05 +03:00
Tyrrrz
acfe102e7f Simplify HTTP client management 2021-09-28 18:50:43 +03:00
Tyrrrz
ea31b1b270 Refactor 2021-09-16 01:08:14 +03:00
Tyrrrz
44f64a2cb3 Update NuGet packages 2021-09-10 01:03:02 +03:00
Tyrrrz
301bca0633 Rename MessageFilter.Filter(...) to MessageFilter.IsMatch(...) 2021-09-01 18:18:20 +03:00
Tyrrrz
6b8170ab89 Allow the contains filter to also search on embed content
Closes #670
2021-09-01 00:01:39 +03:00
Tyrrrz
fcca052165 Ignore unix timestamp markers with invalid offsets
Fixes #681
2021-08-28 19:17:57 +03:00
Chris Helder
ac7ebd6f91
Use higher resolution for user profile pictures (#685) 2021-08-27 05:03:51 -07:00
Lucas LaBuff
9303383662
Fix parsing of "has:file" filter (#678) 2021-08-08 13:49:50 -07:00
Tyrrrz
265cb71dfd Add note explaining why Razor templates are not rendered directly 2021-07-27 13:02:53 +03:00
Tyrrrz
99f94425c2 Stop pluralizing "emoji" as "emojis" 2021-07-26 17:07:02 +03:00
Tyrrrz
6fa6df981e [HTML] Fix bot tag positioning 2021-07-24 17:46:27 +03:00
Tyrrrz
eec4123b98 [HTML] Add horizontal gap between embed fields 2021-07-24 17:39:45 +03:00
Tyrrrz
6fa7cbe568 Allow link nodes to have markdown children instead of just text
Closes #640
2021-07-24 17:20:28 +03:00
Tyrrrz
aae3790a5f [HTML] Special case plain image embeds
Closes #537
2021-07-23 02:29:05 +03:00
Tyrrrz
28b2039a33 [HTML] Update quote style
Closes #654
2021-07-23 01:28:49 +03:00
Tyrrrz
f40589dea6 [HTML] Special case Spotify embeds
Closes #657
2021-07-23 00:54:00 +03:00
Tyrrrz
bb4db21b87 Add missing formats to the list of supported image and video attachments 2021-07-23 00:18:38 +03:00
Tyrrrz
38bc259ab6 [HTML] Render full date in tooltips on unix timestamps
Closes #656
2021-07-21 19:14:27 +03:00
Tyrrrz
530e2c50a9 Simplify User.GetAvatarUrl(...) 2021-07-21 17:29:05 +03:00
Tyrrrz
63c92047a1 Test improvements 2021-07-19 23:13:52 +03:00
Tyrrrz
7d9d3ca5fb Exclude EmojiIndex from coverage 2021-07-19 22:37:04 +03:00
Tyrrrz
cad6baba48 Fix coverage collection in tests 2021-07-19 22:28:30 +03:00
Tyrrrz
daa8c0a735 [HTML] Update fallback text when referenced message is deleted or could not be loaded
Closes #645
2021-07-19 15:30:18 +03:00
Tyrrrz
d4eba75036 Normalize namings ("...Type" -> "...Kind") 2021-07-19 02:07:19 +03:00
Tyrrrz
92766b580b [HTML] Show "Click to see attachment" on replies to attachment or embed messages without content
Closes #634
2021-07-19 01:12:30 +03:00
Tyrrrz
abf7498667 Add support for timestamp markers
Closes #637
2021-07-18 16:04:39 +03:00