Commit Graph

243 Commits

Author SHA1 Message Date
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 739e87c5ab
Add one decimal place to MB/GB/TB in the table in the Attachments tab 2022-07-18 20:19:51 +02:00
chylex d463b407f4
Fix code for reducing chance of SQLite connection pool livelocks 2022-07-18 20:13:05 +02:00
chylex cd418f4871
Fix viewer image detection and file name parsing when the URL includes a query 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
chylex 33f5ab7cce
Release v37.0 2022-06-18 14:00:15 +02:00
chylex b9a5664740
Fix not seeing messages after a Discord update
Closes #189
2022-06-18 13:59:29 +02:00
chylex 845ac1b0fa
Release v36.2 (beta) 2022-06-06 17:08:37 +02:00
chylex 1bead42a0e
Improve error handling and reporting when extracting message data 2022-06-06 17:05:20 +02:00
chylex 8f1c91b2cc
Fix not formatting single underscores as italics in the viewer
Closes #142
2022-06-04 22:13:16 +02:00
chylex 9ae5ece24b
Fix negative numbers & exception with very large numbers in attachment size limit 2022-06-04 21:55:55 +02:00
chylex 053ab5b091
Fix exception & wrong download statistics when multiple attachments have the same URL 2022-06-04 21:47:34 +02:00
chylex 71c628fdf8
Fix not recomputing download statistics after removing download items 2022-06-04 21:45:40 +02:00
chylex af621b8d46
Fix wrong plural in the Viewer tab if the total amount of messages is zero (properly this time) 2022-06-04 21:26:50 +02:00
chylex 31fe6aed35
Stop ignoring removal filters for messages and download items if the filter matches all 2022-06-04 21:25:06 +02:00
chylex c25426af55
Add image loading animation to viewer
Related to #79
2022-06-04 16:56:41 +02:00
chylex 59129ba20a
Change image alt text in viewer to indicate when images are loading, and when loading fails
Related to #79
2022-06-04 15:50:05 +02:00
chylex f7bfe052ca
Add known sizes of images to the viewer
Related to #79
2022-06-04 15:29:42 +02:00
chylex c9bb46c8c7
Release v36.1 (beta) 2022-06-04 13:31:48 +02:00
chylex 73f4c70325
Implement legacy archive file import 2022-06-04 13:31:48 +02:00
chylex de5a8b690b
Add TextBoxDialog 2022-06-03 16:44:43 +02:00
chylex daa2feb445
Add support for merging downloaded attachments from other databases 2022-05-29 16:37:18 +02:00
chylex 4e94e788bc
Fix not closing connections to database files incompatible with the current app version (including rejected upgrade prompts) 2022-05-29 16:37:18 +02:00
chylex 133ec532d2
Refactor database merging & add user count to final report 2022-05-29 16:37:18 +02:00
chylex 3d435d0165
Release v36 (beta) 2022-05-29 12:40:13 +02:00
chylex 3e8151e1f3
Fix empty space between DHT tracker and app after a recent Discord update 2022-05-29 12:14:27 +02:00
chylex 9f98eba9c1
Update Avalonia to 0.10.14 2022-05-29 12:10:34 +02:00
chylex 6b54a80be1
Implement attachment downloads in desktop app 2022-05-29 12:09:47 +02:00
chylex 1e6e5c6f92
Refactor generating SQL "WHERE" clauses 2022-05-28 21:40:13 +02:00
chylex 2459c8ee1a
Add randomization of SQLite connection pool delays to reduce chance of livelocks 2022-05-28 21:40:13 +02:00
chylex d129a60d1c
Add BytesValueConverter 2022-05-28 21:40:13 +02:00
chylex 65ecb0177c
Fix wrong plural in the Viewer tab if the total amount of messages is zero 2022-05-28 21:40:13 +02:00
chylex d51dcb0a84
Fix Viewer tab statistics (not computing in constructor, not cancelling after resetting filter) & tweak code 2022-05-28 21:40:12 +02:00
chylex b13b85dedd
Add support for cancelling async value computation 2022-05-28 21:38:42 +02:00
chylex 15e8b9da63
Tweak wording in the Advanced tab to reduce text length 2022-05-28 11:22:55 +02:00
chylex 9572f0f002
Rename MessageFilterRemovalMode to FilterRemovalMode 2022-05-24 22:02:36 +02:00
chylex 2f3b8b974c
Rename MessageFilterPanel to FilterPanel 2022-05-24 22:02:36 +02:00
chylex bff86b09c7
Update SQLite version to 3.35.5 2022-05-22 16:19:19 +02:00
chylex a1c93232d0
Cleanup temporary files when DHT is closed 2022-05-21 21:32:32 +02:00
chylex db5f9d65db
Change default viewer file name to the name of the database file 2022-05-21 20:11:09 +02:00
chylex 4cbf387e2a
Optimize viewer export to support exporting large databases 2022-05-21 20:11:09 +02:00
chylex 64cf3c9fbb
Calculate amount of exported messages asynchronously 2022-05-21 20:11:09 +02:00
chylex a4ebd5eed6
Replace message statistics thread with new async value computer 2022-05-21 03:27:57 +02:00
chylex 06716330d6
Add utility for asynchronous value computation 2022-05-21 03:03:32 +02:00
chylex 1a6346677e
Improve performance of check box dialogs by using ItemsRepeater instead of ItemsControl 2022-05-19 22:07:38 +02:00
chylex 261be50463
Release v35.3 2022-05-19 12:30:25 +02:00
chylex f93f5c8fdd
Fix DHT tracker overlaying bottom of the app & set z-index to force it on top if it happens again
Closes #181
2022-05-19 12:28:24 +02:00
chylex 039c55eb1e
Release v35.2 2022-05-03 21:31:22 +02:00
chylex a54242de8a
Work around some Discord messages having duplicate attachments with the same ID
Closes #177
2022-05-03 21:28:29 +02:00
chylex 8e2ec4dfe2
Release v35.1 2022-03-31 14:30:47 +02:00
chylex a988003bdd
Fix server name detection broken by a Discord update
Closes #172
2022-03-31 09:08:57 +02:00
chylex 5561f574cf
Release v35 (app) 2022-03-24 00:03:12 +01:00
chylex 8fd4561721
Try to fix inconsistency with embedded resource generation 2022-03-24 00:03:12 +01:00
chylex 9fe68be3f4
Fix bad command for executing python script in .csproj 2022-03-23 20:40:38 +01:00
chylex 86acef1a22
Add option to Advanced tab to vacuum the database 2022-03-21 14:18:21 +01:00
chylex 277e241183
Speed up opening database by deferring the initial refresh of total message count 2022-03-21 14:18:21 +01:00
chylex 3b41ea7b5f
Fix showing potentially outdated message count when merging databases 2022-03-21 14:03:21 +01:00
chylex 6ce0ef7d55
Refresh message statistics after tracking messages in a background thread 2022-03-21 01:38:41 +01:00
chylex fd09ac496e
Increase batch size when adding randomly generated data & fix magic numbers 2022-03-21 01:19:20 +01:00
chylex 9ca56bd910
Enable write-ahead log for SQLite connections to prevent blocking concurrent writes and reads 2022-03-21 00:38:24 +01:00
chylex 3e891e19c3
Avoid redundant database queries when the Viewer tab is not visible 2022-03-20 23:11:39 +01:00
chylex 9341988017
Add debug tab with random database data generator 2022-03-20 23:11:38 +01:00
chylex 461e403733
Fix viewer filter not including the whole last day 2022-03-20 21:20:10 +01:00
chylex c03e2d328d
Fix redundant XAML 2022-03-20 20:43:43 +01:00
chylex 8f7b566db7
Release v34 (app) 2022-03-20 13:40:31 +01:00
chylex 70a2a01ec3
Fix switching to next channel in DMs after a recent Discord update 2022-03-20 13:40:31 +01:00
chylex c31155738e
Disable debug symbols for Utils project in Release configuration 2022-03-19 21:50:45 +01:00
chylex c23fac465f
Rework app build setup to call minification script automatically 2022-03-19 21:49:56 +01:00
chylex 51a2ac2d66
Fix app minification script on non-Windows systems 2022-03-19 21:18:51 +01:00
chylex a5e8366f1b
Redesign status bar in the app 2022-03-17 20:38:25 +01:00
chylex 3b698dbf33
Change assembly names of subprojects 2022-03-15 12:57:55 +01:00
chylex dc2c2d7ce8
Remove unnecessary .csproj tags and hide embedded resources from IDEs 2022-03-15 12:55:39 +01:00
chylex bb5634adc4
Move screens to a different namespace 2022-03-15 12:55:27 +01:00
chylex d26e16eadf
Move advanced tracking settings into a separate tab 2022-03-14 18:17:17 +01:00
chylex 8f5f6065d8
Refactor text channel switching to detect more types of text channels
Closes #119
Closes #159
2022-03-13 18:31:28 +01:00
chylex ad299bf762
Fix stalling on empty channels
Closes #164
2022-03-13 17:42:38 +01:00
chylex f70bbd53d9
Fix ignoring settings for reaching the first message in a channel if no new messages were saved 2022-03-13 17:05:27 +01:00
chylex ae821f738e
Fix app memory leaks caused by UI code 2022-03-13 14:47:25 +01:00
chylex ab7f5d0a41
Add SQLite connection pooling and fix not releasing file lock after closing database
Closes #167
2022-03-13 13:50:26 +01:00
chylex 1bddde7ccd
Fix not fully disposing internal app server when stopped 2022-03-13 13:17:58 +01:00
chylex 58259c0bb4
Update Avalonia to 0.10.13 2022-03-12 18:12:31 +01:00
chylex a84a453990
Redesign the app 2022-03-12 18:12:30 +01:00
chylex 563c644f48
Fix new databases containing columns that were removed in an earlier commit 2022-03-12 18:12:30 +01:00
chylex f8331a571e
Fix right margins in Viewer filter panel, causing early wrapping 2022-03-10 03:39:48 +01:00
chylex 1ed26a16ea
Add more performance logging to the app 2022-03-06 15:49:44 +01:00
chylex 72c13cbb58
Fix more database disposal issues 2022-03-06 15:22:03 +01:00
chylex e420add646
Split edit timestamps and message reply ids to separate tables to reduce database size 2022-03-06 15:11:23 +01:00
chylex 6f1149ad5e
Add utilities to simplify working with SQLite 2022-03-05 22:58:47 +01:00
chylex b9899922e0
Optimize viewer export in the app 2022-03-05 21:35:56 +01:00
chylex 6a2933ea0a
Add utilities for performance logging 2022-03-05 21:05:43 +01:00
chylex be5c76c3bd
Add debug log level and reset console colors after logging 2022-03-05 20:09:24 +01:00
chylex 217c1f9e10
Tell users to backup database file(s) before a schema upgrade 2022-03-05 18:43:48 +01:00
chylex 725ab7accf
Update SQLite version to 3.35.0 2022-03-05 17:18:33 +01:00
chylex 9a7a2cffc2
Allow database file path to be passed as the first command line argument to the app
This adds support for directly opening files with the DHT app, for ex. in Windows Explorer by using "Open With", or by associating the ".dht" extension with the app.
2022-03-05 16:43:58 +01:00
chylex 6d3db23f80
Fix not manually disposing of resources when the app window is closed 2022-03-05 13:36:04 +01:00
chylex 4bc9626013
Add name to server management thread 2022-03-05 13:36:04 +01:00
chylex 8002236c1f
Release v33.2 (app) 2022-02-27 17:09:51 +01:00
chylex c4fe6c4391
Move app version info out of .csproj and into a single linked .cs file 2022-02-27 16:20:39 +01:00
chylex ebfe972a98
Update uses of Avalonia APIs & safeguard clipboard code 2022-02-27 15:29:54 +01:00
chylex 20aac4c47a
Update Avalonia to 0.10.12 2022-02-27 15:21:38 +01:00
chylex 35308e0995
Add option to re-enable Ctrl+Shift+I in the Discord app 2022-02-27 15:08:56 +01:00
chylex f7f32c3f6a
Fix Avalonia designer not seeing custom windows and controls 2022-02-27 11:37:08 +01:00
chylex 4dc781b35c
Address Rider inspections 2022-02-21 22:27:29 +01:00
chylex 849ef18adb
Reorganize namespaces and move some classes to a separate Utils project 2022-02-21 22:27:01 +01:00
chylex 77aa15e557
Add database file name to the app title
References #165
2022-02-20 20:03:59 +01:00
chylex 47b106503d
Fix database path being editable in the Database tab in the app 2022-02-20 19:55:32 +01:00
chylex bde4cb06f4
Dispose of all window properties when the DHT panel is closed (app) 2022-02-12 20:43:35 +01:00
chylex d772f7ed71
Fix calling clearTimeout instead of clearInterval in app script (no difference according to spec, but cleaner) 2022-02-12 20:40:57 +01:00
chylex edc23d616d
Release v33.1 (app) 2022-02-12 11:23:24 +01:00
chylex db191f87fd
Fix not finding selected DM channel after a Discord update
Closes #161
2022-02-12 11:15:33 +01:00
chylex e8677c09b4
Release v33 (app) 2021-12-01 08:13:19 +01:00
chylex 378c54908e
Add tools to remove/keep filtered messages in the app 2021-11-29 23:43:56 +01:00
chylex 07af4ae00f
Improve localization for dates and numbers in the app UI 2021-11-29 17:52:07 +01:00
chylex c262e5aaa4
Minor visual fixes for app UI 2021-11-29 17:52:07 +01:00
chylex 96e125b812
Add channel & user filters to the app 2021-11-29 15:16:51 +01:00
chylex c0123b9f91
Add check box dialog 2021-11-29 15:12:35 +01:00
chylex 2ec9c7cbc3
Fix Rider inspections 2021-11-28 16:20:34 +01:00
chylex 4cfe19d369
Tweak button styles in the app 2021-11-28 14:09:56 +01:00
chylex f449859ad9
Update Avalonia to 0.10.10 2021-11-28 13:57:49 +01:00
chylex ae5630cf96
Fix missing app icon in dialog windows 2021-11-27 20:59:16 +01:00
chylex 75c8202c77
Disable resizing of message dialogs 2021-11-27 20:58:57 +01:00
chylex e9e8c95a19
Add feature to merge multiple database files into one 2021-11-27 20:50:01 +01:00
chylex 879a69608c
Add progress dialog 2021-11-27 19:41:45 +01:00
chylex 560c515ecf
Make message dialogs callable from non-UI threads 2021-11-27 19:41:45 +01:00
chylex ec8c00853a
Add empty archive file w/ Rider data source 2021-11-27 13:40:53 +01:00
chylex 5888d13d7c
Add app build script for Linux 2021-11-26 13:48:52 +01:00
chylex 15db0cca8e
Update Rider project files 2021-11-20 09:32:55 +01:00
chylex 52998f7d7a
Release v32.1 (app) 2021-09-14 02:03:08 +02:00
chylex c2e302f8bb
Allow tracking from old Discord domain in the app (discordapp.com) 2021-09-14 02:03:08 +02:00
chylex 9f506aceb2
Release v.32 (app) 2021-08-15 22:02:03 +02:00
chylex bbb50dc50c
Fix C# code formatting 2021-08-15 21:58:32 +02:00
chylex 3f763bbf6b
Add Rider run configuration to minify JS 2021-08-15 21:57:58 +02:00
chylex be3a7d6d80
Add Python script to minify JS in the app 2021-08-15 20:31:36 +02:00
chylex bd78051a9d
Fix viewer crashing when a message references a channel/user that is not saved (app)
Closes #148
2021-08-15 20:09:59 +02:00
chylex 6a24befca1
Update text channel icon whitelist for selecting next text channel (app) 2021-08-15 19:20:10 +02:00
chylex 09dce7b062
Rewrite channel and message detection to fix reliability issues after Discord updated (app) 2021-08-15 18:07:29 +02:00
chylex 396c622d9c
Show missing replies in the viewer & optimize message object representation (app) 2021-08-15 16:31:58 +02:00
chylex 73bf16a21e
Add support for tracking threads (app) 2021-08-15 15:43:12 +02:00
chylex 25071d4323
Fix app tracking unsent and special messages 2021-08-14 23:49:48 +02:00
chylex ab7b3532fc
Build a DHT app for desktop 2021-06-19 10:40:34 +02:00