Commit Graph

299 Commits

Author SHA1 Message Date
Anna eac640403c feat(defs): add another rmt group to matchers 2021-01-13 12:42:14 -05:00
Anna 29f13a5138 feat: add warning to only submit English messages 2021-01-13 12:37:58 -05:00
Anna 1606a13885 chore: update nuget packages 2021-01-13 12:37:40 -05:00
Anna 069837bc09 chore: update dalamud version 2021-01-12 11:23:19 -05:00
Anna 9533818205 chore: use Version tag 2021-01-11 10:31:43 -05:00
Anna 5fda681f7d chore: bump version to 1.5.4 2021-01-06 19:21:58 -05:00
Anna 5957a414ac feat: add copy to clipboard button 2021-01-06 17:18:19 -05:00
Anna 3a328cdb36 feat(defs): avoid false positive 2021-01-05 11:39:27 -05:00
Anna fef992fcd4 feat(data): catch another rmt group 2021-01-05 11:32:28 -05:00
Anna 157f61f032 feat(defs): more pf rmt 2021-01-03 16:56:34 -05:00
Anna 2b1ec53e9b feat(defs): catch new pf rmt 2021-01-03 14:17:58 -05:00
Anna 8532714c36 fix: only look at ml if over min words 2021-01-02 13:51:48 -05:00
Anna 0793f009c1 feat(data): add more data 2021-01-02 13:09:00 -05:00
Anna 536431bf26 refactor: clean up slightly 2021-01-02 08:23:41 -05:00
Anna 4f91a848f1 feat(defs): reduce false positives 2021-01-02 07:59:04 -05:00
Anna 033ed27e19 chore: bump version to 1.5.3 2021-01-02 07:40:30 -05:00
Anna 567be84558 chore: bump version to 1.5.2 2021-01-02 07:32:00 -05:00
Anna 595316518b chore: remove old shell script 2020-12-29 10:11:14 -05:00
Anna 1d1c818f04 chore: update DalamudPackager 2020-12-28 20:23:56 -05:00
Anna 60cef06a01 fix(defs): catch new pf rmt 2020-12-28 15:09:12 -05:00
Anna 9c0303d099 chore: wrap the description 2020-12-28 10:22:16 -05:00
Anna bf413579f6 fix: trim text when checking for number of words 2020-12-27 14:05:06 -05:00
Anna 9882b7be3c fix: use correct manifest url 2020-12-27 11:33:33 -05:00
Anna caf01d8773 chore: add DalamudPackager 2020-12-27 11:33:18 -05:00
Anna 45ab636d7e refactor: update for testing 2020-12-25 20:24:43 -05:00
Anna 55f7a49af9 fix(defs): catch more phishing 2020-12-24 22:55:26 -05:00
Anna 22ebb14e40 fix: make plugin work on stock Dalamud
Use some horrible, cursed AppDomain shit to load dependencies that break on normal Dalamud in their own environment, then do classification there instead.
2020-12-23 03:52:19 -05:00
Anna 76462ff628 feat: add machine learning mode 2020-12-22 20:23:54 -05:00
Anna bbfa04f4d8 chore: switch to sdk project 2020-12-19 20:26:36 -05:00
Anna 0873aadd1b refactor: fix up some code and prepare for sdk 2020-12-19 20:19:03 -05:00
Anna 2197a61416 refactor: update naming 2020-12-18 00:43:07 -05:00
Anna f7f84d94b7 fix(phishing): check more phishing scams 2020-12-17 01:09:59 -05:00
Anna 62739ebff3 fix(rmt): catch new gil siller 2020-12-17 00:53:48 -05:00
Anna aeeed4418c fix(defs): try to catch more of the jp rmt 2020-12-13 21:58:54 -05:00
Anna 681818c3be chore: update plugin version 2020-12-08 02:56:27 -05:00
Anna 5c7e496b52 fix(defs): don't match tea for RP 2020-11-24 01:38:41 -05:00
Anna 6d8f04bace chore: update to new Lumina 2020-11-23 13:22:19 -05:00
Anna 37ddbc751b fix(defs): catch more bad stuff 2020-11-17 20:45:28 -05:00
Anna 15d718376a fix(defs): catch new rmt website 2020-11-17 02:41:11 -05:00
Anna 4bd7db7cba fix(defs): catch more rp 2020-11-16 02:29:46 -05:00
Anna 6f971861ec fix: use better signature for summary function 2020-11-09 21:31:03 -05:00
Anna 893762acd0 chore: update lang version to 8.0 2020-11-07 22:01:45 -05:00
Anna f78eb76f92 fix(defs): catch up to reports 2020-11-07 22:01:17 -05:00
Anna 8551fceaed fix(defs): catch new phishing links 2020-10-21 04:59:53 -04:00
Anna 4a377de381 fix(defs): catch more RP and FC stuff 2020-10-15 08:15:54 -04:00
Anna 0622c771c0 chore: bump version 2020-10-13 04:23:40 -04:00
Anna ef646669b1 fix: use better signature for summary 2020-10-13 04:22:45 -04:00
Anna 552b60770f fix(defs): adapt to new PF RMT strats 2020-09-26 19:34:06 -04:00
Anna 0e72dc0279 chore: bump version to 1.4.5 2020-09-24 00:58:11 -04:00
Anna 86172465bd fix: calculate max item level in the background 2020-09-23 23:14:41 -04:00
Anna cf2342673c fix(defs): catch more RP 2020-09-23 23:13:27 -04:00
Anna 87d4bdc539 fix: correctly detect battle messages 2020-09-23 23:07:30 -04:00
Anna 648607d0c4 fix(defs): update to filter reports 2020-09-23 23:05:59 -04:00
Anna 1a6103892c fix: categorise messages better 2020-09-14 18:03:42 -04:00
Anna b9f2cdb798 fix(defs): match more RP 2020-09-13 20:22:43 -04:00
Anna f678170b38 fix(defs): even more FC recruitment 2020-09-07 16:19:39 -04:00
Anna 30b5cdce30 fix(defs): even more FC recruitment 2020-09-07 14:43:15 -04:00
Anna 82683d6e36 chore(defs): bump version 2020-09-07 14:28:47 -04:00
Anna 27c850563b fix(defs): catch more FC recruitment 2020-09-07 14:28:03 -04:00
Anna 4dfae06c1d fix(defs): catch more RP 2020-09-07 14:08:07 -04:00
Anna f46ef4cc95 chore: bump version to 1.4.4 2020-09-07 12:33:22 -04:00
Anna 7ad2fce3c1 fix(ui): use TextUnformatted to prevent % issues 2020-09-07 12:32:46 -04:00
Anna 31d09020c6 fix(defs): catch new RMT message 2020-09-07 12:25:23 -04:00
Anna 2ffdc8d957 refactor: use some better syntax 2020-09-07 00:08:16 -04:00
Anna a862619078 fix(defs): filter more RP 2020-09-07 00:07:24 -04:00
Anna 377730b9a2 fix(defs): match various forms of "offer" 2020-09-06 13:25:44 -04:00
Anna 5ff98564dc chore: bump version to 1.4.3 2020-09-05 22:33:42 -04:00
Anna 86c5518761 fix: end tab bar in reporting window 2020-09-05 22:32:07 -04:00
Anna bf8269d064 fix(defs): handle false positive and negative 2020-09-05 22:31:08 -04:00
Anna dc4e7bcde4 chore(defs): remove reference comment 2020-09-05 15:51:13 -04:00
Anna 5e8acd0e52 fix(defs): catch more FC recruitment 2020-09-05 15:42:15 -04:00
Anna e0ca8c575e fix(defs): prevent some RP false positives 2020-09-05 15:39:09 -04:00
Anna ef3c198d4e chore: bump version to 1.4.2 2020-09-05 14:42:11 -04:00
Anna de25bb40f0 refactor: make normalisation faster 2020-09-05 14:31:29 -04:00
Anna d93ecc300d chore: remove useless import 2020-09-05 14:31:16 -04:00
Anna 29a73af5bc fix(defs): reduce false positives and negatives 2020-09-05 13:04:18 -04:00
Anna eaabdf3c25 fix(defs): bump version 2020-09-05 12:46:03 -04:00
Anna 20ce885399 fix(defs): prevent FC false positives 2020-09-05 12:44:48 -04:00
Anna a476c30093 fix: add more chat types 2020-09-05 12:44:17 -04:00
Anna 5e4bb0f239 fix(defs): also check for cafe with an accent 2020-09-04 15:27:34 -04:00
Anna 9abeb93564 feat: include defs version in reports 2020-09-04 15:27:34 -04:00
Anna a65b182d8f feat(defs): make FC filtering global 2020-09-04 15:27:28 -04:00
Anna cff49d91ad refactor: embed default defs in assembly
Also load the defaults directly when in debug mode.
2020-09-04 15:22:00 -04:00
Anna 3abc4110b6 fix(defs): check for "courtesan" 2020-09-04 14:12:10 -04:00
Anna 55d68903b8 chore: add packaging script 2020-09-04 14:03:10 -04:00
Anna 8c499144ee chore: change obsolete message 2020-09-04 14:01:10 -04:00
Anna 8cec085902 fix: classify more messages 2020-09-04 14:00:57 -04:00
Anna 481611b7e1 feat: add tests for definitions 2020-09-04 14:00:46 -04:00
Anna d798076ca3 fix(defs): tweak defs according to feedback 2020-09-04 13:58:19 -04:00
Anna 4e33d5be6a fix(defs): let any character be between w/p 2020-09-03 00:30:57 -04:00
Anna da663ada7f fix(defs): handle PF RMT omiting calls to action 2020-09-02 23:12:54 -04:00
Anna 64a6f6bf61 fix(defs): add regex for compact ward/plot 2020-09-02 12:20:24 -04:00
Anna 7a09107315 fix(defs): tweak based on reports
Try out non-regex matching for RP filtering. Should be more flexible
than the regex, though potentially higher likelihood for false
positives.
2020-09-02 12:12:22 -04:00
Anna 7c1bc013ca fix(defs): add report url back 2020-09-01 18:55:01 -04:00
Anna ed931fe292 chore: bump version to 1.4.1 2020-08-31 15:32:17 -04:00
Anna 304affa141 fix: don't put error on same line as cancel 2020-08-31 15:23:28 -04:00
Anna 5c971b53b9 fix: handle failed parse and failed download 2020-08-31 15:22:27 -04:00
Anna a61972908a fix(defs): temporarily remove report_url 2020-08-31 14:18:39 -04:00
Anna 35ef1169c9 chore: bump version to 1.4.0 2020-08-31 13:49:57 -04:00
Anna 959ba2150a style: add trailing comma 2020-08-31 13:49:38 -04:00
Anna 8892afad17 feat: decipher more of the PF packet 2020-08-31 13:49:22 -04:00
Anna d6b0969d0d fix: ignore unmatched properties in definitions 2020-08-31 13:49:04 -04:00
Anna fd406e4826 feat: add reporting
Add a new window that can be opened from the config that allows
reporting messages and listings that NoSoliciting either didn't filter
but should have or did filter but shouldn't have.

This comes with the added benefit of showing why (both in the
reporting window and the log) a message was filtered for easier
debugging.
2020-08-31 13:47:51 -04:00
Anna 990d3af16c fix(defs): check for RMT "offers" too 2020-08-29 11:43:28 -04:00
Anna 679c6c7658 fix(defs): add additional content matchers 2020-08-28 13:02:49 -04:00
Anna 990b1e8bcb fix(defs): update for people using spaces 2020-08-28 10:56:42 -04:00
Anna 29320d6722 fix(defs): catch additional phishing 2020-08-27 18:18:16 -04:00
Anna 5611e86019 fix(defs): add fc tags to filter 2020-08-26 16:18:07 -04:00
Anna e6caa469f9 chore: bump version to 1.3.0 2020-08-25 08:01:16 -04:00
Anna 20f72e2b58 fix: include dataPtr 2020-08-25 08:00:43 -04:00
Anna fc1855059c refactor: use dispose pattern 2020-08-25 08:00:18 -04:00
Anna bb9daf4cb1 feat: use hooking to filter PF instead of network 2020-08-25 07:56:11 -04:00
Anna b39f621617 refactor: short-circuit for faster matching 2020-08-25 07:50:23 -04:00
Anna 3fcc96b317 chore: bump version to 1.2.1 2020-08-25 06:57:42 -04:00
Anna 4b281b919c fix: update opcodes for 5.3 hotfix 1 2020-08-25 06:57:23 -04:00
Anna 600d7bf0db fix(defs/pf.rmt): check for e# mentions 2020-08-24 20:02:43 -04:00
Anna e9a77d2cd1 fix(defs): accept any separator/none for housing 2020-08-24 03:24:21 -04:00
Anna 9ad9d89951 feat: add option to filter unjoinable ilvl PFs 2020-08-23 10:59:48 -04:00
Anna 09d83e933f fix(defs): include additional words for RP filter 2020-08-22 06:15:37 -04:00
Anna 40a705312c feat: substrings now case-insensitive + fast regex 2020-08-21 23:27:12 -04:00
Anna 4c56359810 fix(defs): add more FC-specific keywords 2020-08-21 21:35:09 -04:00
Anna 9c2fe2100e fix(defs): add casual and new to FC check 2020-08-21 13:57:20 -04:00
Anna 143ee012af fix(defs): handle PF RMT without discord 2020-08-21 13:56:59 -04:00
Anna ec2bfc03d0 feat: allow specifying main filters dynamically
Main filters (e.g. RMT, RP, FC) can now be fully specified by the
definitions file, allowing entire new classes of filters to be added
without a plugin update.
2020-08-21 13:46:42 -04:00
Anna 853d39faf0 fix: additional characters for normalisation table 2020-08-21 08:27:28 -04:00
Anna 884ca5c941 fix(manifest): correct bad repo url 2020-08-21 08:27:00 -04:00
Anna ea00ae78e5 fix: add option for normalisation 2020-08-21 08:26:45 -04:00
Anna f36a83b153 fix(defs): make FC filter less strict 2020-08-21 07:52:22 -04:00
Anna df24ac0e60 chore: update version to 1.2.0 2020-08-21 05:06:16 -04:00
Anna 37b9694144 feat: add online definitions and FC/RP filters
Definitions for the built-in filters (RMT, FC, and RP) are now
downloaded from the git repo on plugin start and whenever the update
button is pressed. This will allow faster response to messages that
slip through, as updates can be pushed right away without needing to
release a new version.

After a successful download, the plugin writes the result to a cache
file in its config directory. In the event a download fails, the
plugin will fall back to that cached file. If that cached file does
not exist or fails to deserialise, the plugin will fall back to a file
included with each release after this commit called
default_definitions.yaml. If that file is missing (really only
possible because the user deleted it), an exception will be thrown.

Free Company recruitment messages and roleplaying advertisements are
now able to be filtered using built-in filters, hopefully making shout
chat and the Party Finder more bearable. As always, these are optional
filters (both default to disabled).
2020-08-21 05:00:04 -04:00
Anna 1e53af92f9 chore: bump version to 1.1.4 2020-08-19 01:58:47 -04:00
Anna 491a5ebd82 fix: don't check for discord link protocol 2020-08-19 01:58:15 -04:00
Anna c4f69592bc chore: bump version to 1.1.3 2020-08-12 04:05:55 -04:00
Anna 608be8dec2 fix: block phishing link 2020-08-12 04:05:42 -04:00
Anna aa7c792698 refactor: include more unknown fields in packet 2020-08-11 10:20:37 -04:00
Anna 3638357730 chore: bump version to 1.1.2 2020-08-11 08:18:08 -04:00
Anna 61d0ebff2f fix: update opcodes for 5.3 2020-08-11 08:17:56 -04:00
Anna 11cc8ef22f chore: bump version to 1.1.1 2020-08-07 18:12:45 -04:00
Anna c10a8266b4 refactor: remove useless import 2020-08-07 18:08:32 -04:00
Anna 608c9e9c84 refactor: add more packet parsing 2020-08-07 18:08:24 -04:00
Anna 448761481b fix: check for discord links as well 2020-08-07 18:07:54 -04:00
Anna 3d768fe64e chore: bump version to 1.1.0 2020-08-06 12:12:34 -04:00
Anna 628ccea03e feat: add "advanced mode" with custom filters 2020-08-06 00:17:14 -04:00
Anna 15f70cad24 fix: use appdata variable instead of path 2020-08-04 20:26:38 -04:00
Anna 21c58831a6 fix: normalise substrings 2020-08-04 20:15:08 -04:00
Anna 6490f7be39 chore: rename file 2020-08-04 20:14:51 -04:00
Anna 15f0df08f3 feat: handle special characters 2020-08-04 19:30:29 -04:00
Anna e8272e8010 refactor: remove unused imports 2020-08-04 18:26:26 -04:00
Anna 6443c8421e chore: initial commit 2020-08-04 18:22:57 -04:00