Commit graph

423 commits

Author SHA1 Message Date
Tyrrrz
57ed5578c9 Optimize message content intent check 2023-10-04 15:24:48 +03:00
Tyrrrz
a8895663fe Add check for message content intent 2023-09-30 17:32:21 +03:00
Tyrrrz
a58509fda8 Upgrade to Polly 8 usage 2023-09-28 19:30:12 +03:00
Tyrrrz
c466c17793 Update NuGet packages 2023-09-28 16:16:20 +03:00
Tyrrrz
5abe74894c Remove Channel.ParentNameWithFallback 2023-09-07 16:36:29 +03:00
Oleksii Holub
59344cedbe
Replace the date format option with a locale option (#1130) 2023-09-07 14:34:08 +03:00
Tyrrrz
ccdf082689 Clean up formatting 2023-09-03 22:19:03 +03:00
Tyrrrz
9601e0acea Refactor 2023-09-03 21:46:20 +03:00
Adam Slatinský
9583e2684d
Optimize fetching threads (#1125) 2023-09-03 21:18:49 +03:00
Tyrrrz
5f6e51f6fb Show threads in GUI at the bottom of the list, in specialized groups
Related to #1119
2023-08-28 21:31:51 +03:00
Tyrrrz
6fb6108610 Be safer when pulling threads using a bot token 2023-08-23 15:58:53 +03:00
Tyrrrz
20f58963a6 Use CSharpier 2023-08-22 21:17:19 +03:00
Tyrrrz
c29de2c77c Fetch threads more efficiently for user tokens 2023-08-22 19:16:32 +03:00
Tyrrrz
041086267c Short-circuit GetGuildThreadsAsync(...) for DMs 2023-08-22 00:10:04 +03:00
Tyrrrz
758fb26dad Add --include-threads and --include-archived-threads to exportall
Related to #1119
2023-08-21 17:45:12 +03:00
Tyrrrz
6fba60e570 Print archived threads only if explicitly requested in the channels command 2023-08-21 17:22:44 +03:00
Tyrrrz
817d54039b Improve naming of dictionaries 2023-08-20 16:48:39 +03:00
Tyrrrz
e82ad2b9c6 Add comment linking an issue that explains why the EscapedSymbolTextNodeMatcher is used 2023-08-05 18:35:22 +03:00
Tyrrrz
dd0a35838d Allow empty lines in repeated single-line quote nodes
Closes #1115
2023-08-05 18:30:11 +03:00
Tyrrrz
c9b68427f3 Update NuGet packages 2023-08-05 18:17:06 +03:00
Tyrrrz
1ba0057174 Clean up 2023-07-31 20:22:10 +03:00
Adam Slatinský
d00ecf0c37
Export reaction users in JSON format (#1107) 2023-07-31 20:11:47 +03:00
Tyrrrz
b224fca6c0 ToHex() should be uppercase by default 2023-07-30 14:54:15 +03:00
Tyrrrz
de67cfae1c Use invariant culture 2023-07-29 20:47:43 +03:00
Tyrrrz
4efa6094dc Round up the "call lasted for X minutes" value 2023-07-29 20:47:36 +03:00
Tyrrrz
ddfbe51cfa Improve error reporting on unexpected HTTP status code 2023-07-25 18:59:05 +03:00
Tyrrrz
bcf652edbe Don't throw when parent channel cannot be retrieved
Closes #1108
2023-07-23 16:04:53 +03:00
Tyrrrz
83a63c2ed7 Update NuGet packages 2023-07-21 02:03:32 +03:00
Tyrrrz
3e44a2e88d Re-add IHasId to Channel 2023-07-16 23:12:57 +03:00
Tyrrrz
b44e6087be Update NuGet packages 2023-07-16 23:09:31 +03:00
Tyrrrz
49b96087d3 Clean up 2023-07-16 23:05:53 +03:00
Tyrrrz
e175c93038 Refactor 2023-07-16 22:55:36 +03:00
Tyrrrz
90d71c5b9e Clean up 2023-07-10 20:40:32 +03:00
Adam Slatinský
5e9c7392db
Add export timestamp in JSON format (#1102) 2023-07-09 18:22:09 +03:00
Tyrrrz
51192425b7 Expect channel parents to be null 2023-07-08 19:21:00 +03:00
William Unsworth
8776a6955b
Better support for exporting threads (#1046) 2023-07-07 20:33:17 +03:00
Tyrrrz
c69211797f Clean up 2023-07-03 18:35:28 +03:00
Adam Slatinský
768fb88c8c
Export role details in JSON format (#1101) 2023-07-03 18:18:30 +03:00
Tyrrrz
d4f62387a5 Add CLI option to include or exclude voice channels in exportall and exportguild 2023-06-23 21:23:55 +03:00
Tyrrrz
bd4cfcdaf6 Update avatar resolving for users without discriminator 2023-06-21 22:05:08 +03:00
Tyrrrz
c99355dec3 Consistency in parsing 2023-06-09 01:20:39 +03:00
Tyrrrz
11d34109a7 Extract thread status and improve CLI output 2023-06-09 01:20:32 +03:00
Tyrrrz
3d2d197904 Introduce the foundation for the new username system 2023-06-08 16:37:05 +03:00
Tyrrrz
bf0d8ab31e Rename markdown Header to Heading to avoid ambiguity and for consistency with MD/HTML standards 2023-06-02 13:59:39 +03:00
Tyrrrz
3d047321cf Parse YouTube video IDs natively 2023-05-31 22:14:58 +03:00
Tyrrrz
4eab781450 Update NuGet packages 2023-05-25 09:13:21 +03:00
Tyrrrz
c48899e0b1 Refactor 2023-05-24 21:51:24 +03:00
William Unsworth
41b4e47d0e
Use alternative endpoint to retrieve threads when requested by a bot (#1037)
Co-authored-by: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
2023-05-24 19:02:34 +03:00
Tyrrrz
6bbde4ccdc Add support for lists in markdown 2023-05-22 14:14:17 +03:00
Tyrrrz
469a731892 Add support for headers in markdown 2023-05-22 11:05:14 +03:00
Tyrrrz
d8315c7827 Rename AsyncExtensions to AsyncCollectionExtensions 2023-05-22 10:08:38 +03:00
Tyrrrz
31c7ae9312 Refactor 2023-05-20 07:09:19 +03:00
Tyrrrz
03c5c1bc5e Clean up 2023-05-19 14:49:31 +03:00
Tyrrrz
0ae9062a30 Fix typo and refactor 2023-05-19 02:13:19 +03:00
William Unsworth
25caf04445
Preliminary support for threads (#1032) 2023-05-19 01:46:37 +03:00
Tyrrrz
9048557b17 Short-circuit if trying to export an empty channel or a channel with mismatching boundaries
Closes #1024
2023-05-13 21:45:15 +03:00
Tyrrrz
ab933a7240 Rename TitleLinkNodeMatcher to MaskedLinkNodeMatcher to align with Discord's own terminology 2023-04-30 20:05:31 +03:00
Tyrrrz
a9fc439cc5 Update NuGet packages 2023-04-28 17:20:04 +03:00
Tyrrrz
d4f5fc5efc Update NuGet packages 2023-04-24 19:39:32 +03:00
Tyrrrz
505330e117 Consistency 2023-04-14 21:04:21 +03:00
Tyrrrz
0ab8bd67c4 Clean up 2023-04-02 11:41:43 +03:00
Tyrrrz
4ec00d0ec8 Clean up CSS 2023-03-10 16:33:56 +02:00
Tyrrrz
8bc1bcaf16 Render linked videos as embeds in HTML
Related to #1012
2023-03-10 16:17:35 +02:00
Tyrrrz
8f40acdda7 Load mentions for users that left the guild 2023-03-08 12:32:59 +02:00
Mark Cilia Vincenti
bbe18368fa
Update to AsyncKeyedLock 6.2.0 (#1003) 2023-02-25 20:30:00 +02:00
Tyrrrz
2a1998b81c Add support for group DMs in invite embeds 2023-02-23 19:33:49 +02:00
Tyrrrz
ac7f08ff3e Remove redundant explicit RazorBlade build references 2023-02-23 06:15:56 +02:00
Tyrrrz
0981c51fb9 Fix nick fallback 2023-02-23 01:03:25 +02:00
Tyrrrz
55209a0517 Add support for member-level avatars 2023-02-23 00:54:02 +02:00
Tyrrrz
c2c35cf3a3 Treat gifv attachments as videos instead of images 2023-02-23 00:45:58 +02:00
Tyrrrz
f36852a1a2 Quote font URLs in HTML preamble to avoid issues 2023-02-18 20:01:46 +02:00
Tyrrrz
0e1c3e4c76 Add support for extracting channels from data dump in exportall
Closes #597
2023-02-18 19:45:31 +02:00
Tyrrrz
83e3289ead Use the new gg sans font 2023-02-18 18:22:27 +02:00
Tyrrrz
d1647e8286 Add support for selectable assets directory in GUI 2023-02-17 21:30:10 +02:00
Lucas LaBuff
95115f3e99
Add option to specify download directory for assets (#989)
Co-authored-by: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
2023-02-17 20:48:20 +02:00
Tyrrrz
a29c517527 Update exception wording again 2023-02-16 22:13:50 +02:00
Tyrrrz
83657962b8 Improve "channel is empty" error message 2023-02-16 20:54:28 +02:00
Tyrrrz
b5e0ec1c81 Fix a few HTML rendering issues 2023-02-16 02:11:52 +02:00
Tyrrrz
d9a78d8e27 Add support for replies to app interactions
Closes #569
2023-02-16 01:50:24 +02:00
Tyrrrz
20a952aec5 Add option to disable markdown formatting
Closes #741
2023-02-15 22:55:17 +02:00
Tyrrrz
c405121c0b Remove unused usings 2023-02-14 21:23:15 +02:00
Tyrrrz
191294b4fe Render guild invites in HTML
Closes #649
2023-02-14 21:22:07 +02:00
Tyrrrz
8e5269f0ab Use proxy URL for generic image embeds 2023-02-14 19:54:16 +02:00
Tyrrrz
71751b350f Fix icon for guild join notification and add icon for new threads 2023-02-14 19:31:59 +02:00
Tyrrrz
290729158b Resolve mentioned members on demand inside of markdown
Closes #304
2023-02-14 19:21:44 +02:00
Tyrrrz
2a81abb1a6 Use dictionaries for storing context members, channels, and roles 2023-02-14 18:36:53 +02:00
Tyrrrz
60603dfb04 Improve output path picker in GUI 2023-02-14 17:04:30 +02:00
Tyrrrz
f1ae0266f1 Clean up last commit 2023-02-13 18:52:18 +02:00
Mark Cilia Vincenti
ea4cb43479
Improve concurrency handling in ExportAssetDownloader (#1002)
Co-authored-by: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
2023-02-13 17:07:02 +02:00
Tyrrrz
5cef107e98 Update NuGet packages 2023-02-12 17:46:14 +02:00
Tyrrrz
d99958a9b1 Add support for different formats in the timestamp markdown node
Closes #662
2023-02-12 16:12:41 +02:00
Tyrrrz
75b942f66c Bump Discord API version 2023-02-12 14:52:41 +02:00
Tyrrrz
53b8927fce Get rid of xUnit fixtures 2023-02-11 23:12:15 +02:00
Tyrrrz
3487849eba Remove unnecessary code 2023-02-11 16:03:37 +02:00
Jacob P
b71af710c7
Fix links of group icons (#1001)
Closes https://github.com/Tyrrrz/DiscordChatExporter/issues/987
2023-02-10 15:31:08 +02:00
Tyrrrz
63124b4431 Fix a styling issue with "pinned a message to this channel" notification 2023-02-10 15:28:19 +02:00
Tyrrrz
f99f1f4641 Normalize spaces before system notifications 2023-02-09 19:53:31 +02:00
Tyrrrz
3b2c308a25 Add proper support for more system notifications
Closes #844
2023-02-09 19:50:41 +02:00
Tyrrrz
a95d2ef298 Reimplement previous changes using message flags 2023-02-09 19:03:30 +02:00
Tyrrrz
049338009e Render server cross-posts properly
Closes #633
2023-02-09 18:44:24 +02:00