Commit Graph

67 Commits

Author SHA1 Message Date
Anna 828aa6914f
chore: add packaging script 2020-09-04 14:03:10 -04:00
Anna 62dc9ce987
chore: change obsolete message 2020-09-04 14:01:10 -04:00
Anna a27bcf70fc
fix: classify more messages 2020-09-04 14:00:57 -04:00
Anna 983b96af5f
feat: add tests for definitions 2020-09-04 14:00:46 -04:00
Anna e688cd32e7
chore: make missing braces an error 2020-09-04 13:58:32 -04:00
Anna 71e8f41a3b
fix(defs): tweak defs according to feedback 2020-09-04 13:58:19 -04:00
Anna 7d27944bed
fix(defs): let any character be between w/p 2020-09-03 00:30:57 -04:00
Anna 8450fb9d1a
fix(defs): handle PF RMT omiting calls to action 2020-09-02 23:12:54 -04:00
Anna f02b2c911c
fix(defs): add regex for compact ward/plot 2020-09-02 12:20:24 -04:00
Anna 7d7fc4a7e8
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 e59ce9cad4
fix(defs): add report url back 2020-09-01 18:55:01 -04:00
Anna da1733093e
chore: add readme and licence 2020-09-01 10:18:57 -04:00
Anna 9e6566cefd
chore: bump version to 1.4.1 2020-08-31 15:32:17 -04:00
Anna 24d37168a1
fix: don't put error on same line as cancel 2020-08-31 15:23:28 -04:00
Anna 6ba791f1ee
fix: handle failed parse and failed download 2020-08-31 15:22:27 -04:00
Anna a92533709f
fix(defs): temporarily remove report_url 2020-08-31 14:18:39 -04:00
Anna 0601247d77
chore: bump version to 1.4.0 2020-08-31 13:49:57 -04:00
Anna 5593ec37ba
style: add trailing comma 2020-08-31 13:49:38 -04:00
Anna 5e3f75c19c
feat: decipher more of the PF packet 2020-08-31 13:49:22 -04:00
Anna 035be709a4
fix: ignore unmatched properties in definitions 2020-08-31 13:49:04 -04:00
Anna 89c1bcfee6
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 91c3e6c9da
fix(defs): check for RMT "offers" too 2020-08-29 11:43:28 -04:00
Anna cc04f13887
fix(defs): add additional content matchers 2020-08-28 13:02:49 -04:00
Anna 5914e5d564
fix(defs): update for people using spaces 2020-08-28 10:56:42 -04:00
Anna 40aaaf9258
fix(defs): catch additional phishing 2020-08-27 18:18:16 -04:00
Anna 71735c732d
fix(defs): add fc tags to filter 2020-08-26 16:18:07 -04:00
Anna 375a59b1d7
chore: bump version to 1.3.0 2020-08-25 08:01:16 -04:00
Anna c15e7484d3
fix: include dataPtr 2020-08-25 08:00:43 -04:00
Anna fd7790171b
refactor: use dispose pattern 2020-08-25 08:00:18 -04:00
Anna 1ef6079394
feat: use hooking to filter PF instead of network 2020-08-25 07:56:11 -04:00
Anna bef871a587
refactor: short-circuit for faster matching 2020-08-25 07:50:23 -04:00
Anna 2e1be911a7
chore: bump version to 1.2.1 2020-08-25 06:57:42 -04:00
Anna 892e8e02aa
fix: update opcodes for 5.3 hotfix 1 2020-08-25 06:57:23 -04:00
Anna bdc376b010
fix(defs/pf.rmt): check for e# mentions 2020-08-24 20:02:43 -04:00
Anna c683de123b
fix(defs): accept any separator/none for housing 2020-08-24 03:24:21 -04:00
Anna 7b8d2fa4bc
feat: add option to filter unjoinable ilvl PFs 2020-08-23 10:59:48 -04:00
Anna bcd5d3a8a6
fix(defs): include additional words for RP filter 2020-08-22 06:15:37 -04:00
Anna 8290c92838
feat: substrings now case-insensitive + fast regex 2020-08-21 23:27:12 -04:00
Anna 08853b9c1a
fix(defs): add more FC-specific keywords 2020-08-21 21:35:09 -04:00
Anna db757cebf8
fix(defs): add casual and new to FC check 2020-08-21 13:57:20 -04:00
Anna f74cf79f76
fix(defs): handle PF RMT without discord 2020-08-21 13:56:59 -04:00
Anna 208aafeb4e
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 2a97636ef3
fix: additional characters for normalisation table 2020-08-21 08:27:28 -04:00
Anna b6719a68fe
fix(manifest): correct bad repo url 2020-08-21 08:27:00 -04:00
Anna c7b45c7635
fix: add option for normalisation 2020-08-21 08:26:45 -04:00
Anna 24937e5185
fix(defs): make FC filter less strict 2020-08-21 07:52:22 -04:00
Anna 3633cdabc9
chore: update version to 1.2.0 2020-08-21 05:06:16 -04:00
Anna 122c78e279
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 c5b033802c
chore: bump version to 1.1.4 2020-08-19 01:58:47 -04:00
Anna 997407bbab
fix: don't check for discord link protocol 2020-08-19 01:58:15 -04:00