Commit Graph

39 Commits

Author SHA1 Message Date
13xforever
a354d68395 replace ConcurrentQueue with the Channel for ocr monitor 2026-01-30 19:23:08 +05:00
13xforever
5c9e62613b try to match spam messages between different users
to further reduce ocr lag
2026-01-28 21:55:58 +05:00
13xforever
65a13f4d86 skip ocr if the message was removed already from the previous tasks 2026-01-28 21:25:41 +05:00
13xforever
178755c88d add user id to ocr results in logs 2026-01-27 09:33:11 +05:00
13xforever
14686be4bc enable ocr for auto-generated embed thumbnails 2025-07-09 17:59:44 +05:00
13xforever
935e8585cb add ocr confidence logging and add filter threshold 2025-07-08 23:07:13 +05:00
13xforever
2259febe87 implement pluggable ocr provider and add tesseract and florence2 impl 2025-07-06 09:51:52 +05:00
13xforever
001dd8840b upgrade to D#+ v5 and migrate client initialization code 2025-03-08 12:23:11 +05:00
13xforever
5f039d3939 add global usings 2025-03-08 07:01:22 +05:00
13xforever
7879ec893a fix member fetching
previously only client cache was searched, but now we will fetch the data from server if it's not there
this makes a bunch of stuff async tho
2023-04-21 21:08:10 +05:00
13xforever
d130b2f501 upgrade d#+ client and update event handlers to keep the ordering where necessary 2023-04-15 19:39:51 +05:00
13xforever
fa9db3a79e lol fix release build 2022-06-30 01:28:17 +05:00
13xforever
92751ba6e9 use file-scoped namespaces to reduce nesting
some formatting might be fucked
2022-06-30 00:59:46 +05:00
13xforever
a5d780f03d clean up unused usings 2022-06-30 00:55:53 +05:00
13xforever
b33ac14d09 improve content filter hit reports 2021-08-10 00:26:53 +05:00
13xforever
4a908d5bc8 improve ocr monitoring handler 2021-05-07 13:55:22 +05:00
13xforever
0a37ccad8b update deps 2021-04-09 23:23:48 +05:00
13xforever
029ca500b6 more typos and log tags for images 2021-02-09 16:10:21 +05:00
13xforever
6ad501590f fix resharper warnings 2020-11-14 15:58:16 +05:00
13xforever
24f63858e0 replace object initialization with the new() 2020-11-14 14:33:29 +05:00
13xforever
949b6c2b29 update 3rd party dependencies
azure computervision 5.0 -> 6.0
2020-10-27 01:08:55 +05:00
13xforever
c6fac43217 update dependencies 2020-10-07 14:20:57 +05:00
13xforever
92976f7092 fix ocr filter 2020-03-29 11:36:36 +05:00
13xforever
61f75f80d8 only post ocr results on discord channel if the message was removed 2020-03-12 19:26:11 +05:00
13xforever
85f4ef6608 do not post ocr results if there's nothing to post 2020-03-10 23:54:29 +05:00
13xforever
10dc1c54b6 gdi, I'll get it right one day 2020-03-10 22:47:06 +05:00
13xforever
872eaac0a2 that's a wrong channel oops 2020-03-10 22:22:18 +05:00
13xforever
a431cd8cd2 make a separate channel list for ocr handler 2020-03-10 21:12:48 +05:00
13xforever
8a15c80b6f log OCR text in bot spam channel 2020-03-10 20:30:43 +05:00
13xforever
929da22997 fix wrong context for OCR checks 2020-03-10 04:06:26 +05:00
13xforever
c153ab07b5 experimental stuff 2020-03-10 02:43:39 +05:00
13xforever
983bf1c1f8 this is literally opposite of what it should be 2020-03-10 02:34:30 +05:00
13xforever
c323793d33 reduce some spam 2020-03-10 02:31:21 +05:00
13xforever
d21d889fc8 reduce the number of OCR tasks 2020-03-10 02:27:03 +05:00
13xforever
8a4e6f3412 typo 2020-03-10 02:23:24 +05:00
13xforever
62fe5d26cb add OCR stats 2020-03-08 23:21:59 +05:00
13xforever
75ea32fc6e fix build 2020-03-08 23:07:06 +05:00
13xforever
b2a8191050 implement proper image moderation handler 2020-03-08 22:44:05 +05:00
13xforever
86fce35c35 prototype of an image moderation handler 2020-03-08 20:36:31 +05:00