Commit Graph

299 Commits

Author SHA1 Message Date
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