Commit Graph
99 Commits
Author SHA1 Message Date
chylex 8de309a6c4 Fix some Rider inspections and a typo 2024-04-17 14:13:33 +02:00
chylex de8d6a1e11 Stream downloaded files during database merges 2024-04-17 13:31:25 +02:00
chylex d79e6f53b4 Stream downloaded files from database directly into HTTP server responses 2024-04-17 13:31:25 +02:00
chylex 70c04fc986 Stream downloaded files directly into database 2024-04-17 13:31:24 +02:00
chylex c8d8d95daa Fix not rolling back database transactions after unhandled exceptions 2024-04-17 12:30:13 +02:00
chylex daafdbbfaf Prevent active downloads from timing out
Closes #256
2024-04-17 08:51:37 +02:00
chylex 07615de87a Fix download timeouts not marking the downloaded file as failed
References #256
2024-04-16 11:00:38 +02:00
chylex 7fdc19880e Add -concurrentdownloads program argument to configure number of concurrent download tasks
References #256
2024-04-16 10:50:50 +02:00
chylex 72b8fb7c14 Update viewer to reference downloaded embeds, avatars, and emoji 2024-01-07 19:15:12 +01:00
chylex 7173dc6cfc Refactor last change to CDN URL normalization 2024-01-07 06:17:17 +01:00
chylex 2c1e5a7603 Rework download storage and start collecting download URLs from embeds, avatars, and reactions
Resolves #200
2024-01-07 05:50:46 +01:00
chylex c5f77872fe Fix some database calls not being asynchronous 2024-01-01 14:37:05 +01:00
chylex c9e50e1a80 Refactor database schema upgrades 2024-01-01 09:29:32 +01:00
chylex 9904a711f7 Make database connection pool asynchronous 2023-12-31 19:47:28 +01:00
chylex d5720c8758 Code cleanup 2023-12-31 19:44:44 +01:00
chylex 9d208b026c Synchronize publishing downloaded items to UI 2023-12-31 16:51:33 +01:00
chylex 0bc6232da7 Convert database events to reactive 2023-12-31 14:42:03 +01:00
chylex de266473c5 Migrate models to a custom version of MVVM Community Toolkit 2023-12-31 14:42:03 +01:00
chylex e0f359c15b Fix wrong attachment download progress information after re-enqueueing items 2023-12-30 12:27:44 +01:00
chylex 935f11d736 Make database schema upgrades asynchronous 2023-12-30 12:27:44 +01:00
chylex f64141e768 Rewrite database interface to be asynchronous and improve UI 2023-12-30 12:27:44 +01:00
chylex 031d521402 Convert attachment download events to reactive 2023-12-28 17:33:30 +01:00
chylex 0131f8cb50 Refactor integrated server management 2023-12-28 17:33:30 +01:00
chylex 3bf5acfa65 Fix trailing spaces Rider generates in code 2023-12-27 08:22:23 +01:00
chylex f603c861c5 Encapsulate server-side state and ensure graceful shutdown when closing main window 2023-12-27 08:22:23 +01:00
chylex d2934f4d6a Update user agent of downloader 2023-12-25 09:36:14 +01:00
chylex 567253d147 Use multiple threads to download attachments 2023-12-25 09:36:14 +01:00
chylex 3d9d6a454a Remove unnecessary ASP.NET features 2023-12-23 13:47:33 +01:00
chylex ee39780928 Rewrite token authorization checks in integrated server 2023-12-23 13:47:31 +01:00
chylex 7b58f973a0 Disable ASP.NET logging and use custom logging for request duration 2023-12-23 11:19:54 +01:00
chylex cbf81ec95a Fix missing JSON source generator when parsing integrated server requests 2023-12-22 16:31:11 +01:00
chylex 8a80cb8c20 Show progress dialog when upgrading database schema 2023-12-22 16:18:03 +01:00
chylex caab038eaa Use source generators for JSON serialization everywhere 2023-12-22 05:24:28 +01:00
chylex 6e64c86d7a Optimize viewer JSON export using source generators 2023-12-21 08:29:07 +01:00
chylex 095c9a061a Update attachment downloads for time-limited Discord CDN URLs
Closes #223
2023-12-21 00:27:08 +01:00
chylex 8bba33d815 Update SQLite provider to 8.0.0 (SQLite version 3.41.2) 2023-12-20 10:42:17 +01:00
chylex fe588686fc Clean up project configuration and build scripts & fix CI builds 2023-11-23 21:45:54 +01:00
chylex 492dddb35d Load full tracking script from the integrated server to remove need for minification 2023-11-21 07:08:26 +01:00
chylex e7705587c2 Fix .NET 8 warnings and update C# conventions 2023-07-18 18:51:23 +02:00
chylex bd7904b88e Convert namespace declarations to top-level 2023-07-18 16:12:02 +02:00
chylex 3db599e901 Update to .NET 8 2023-07-18 15:56:15 +02:00
chylex b2389dd521 Update SQLite provider to 7.0.9 2023-07-18 15:54:13 +02:00
chylex 22958536e7 Update Avalonia to 0.10.18 & SQLite provider to 6.0.10 2022-10-22 00:17:48 +02:00
chylex f625a39b4d Update SQLite provider to 6.0.7 (SQLite version 3.35.5) 2022-07-18 21:51:19 +02:00
chylex bbc734ba9b Track dimensions of image attachments 2022-07-18 21:09:20 +02:00
chylex 6837b05b0d Fix missing ToArray call when serializing message reactions to JSON 2022-07-18 21:00:36 +02:00
chylex c94808a15f Show downloaded attachments when viewing via Open Viewer 2022-07-18 20:21:45 +02:00
chylex d463b407f4 Fix code for reducing chance of SQLite connection pool livelocks 2022-07-18 20:13:05 +02:00
chylex 176a81e055 Reformat list of allowed origins in CORS 2022-07-15 01:34:08 +02:00
Matojeje 1cf3e76644 Add CORS for Canary and PTB 2022-07-15 01:34:08 +02:00