92 Commits

Author SHA1 Message Date
ccd0
69c60527ff Make per-board filters work as expected on boards with characters in names that are escaped by encodeURIComponent. 2019-04-06 22:47:42 -07:00
ccd0
95ef5c03c0 Make board name matching in filters case-sensitive. 2019-04-06 22:43:56 -07:00
ccd0
f25c66a728 Prevent filter keywords from being matched inside board lists or class names. 2019-04-06 22:24:46 -07:00
ccd0
c4fb1e43b1 Fix bug in sfw/nsfw part of Filter.parse. 2019-04-06 21:54:31 -07:00
ccd0
2cd93c858f Memoize Filter.parseBoards 2019-04-06 06:10:26 -07:00
ccd0
f3ed76f32f Support specifying the sites that filters apply to. #2171 2019-04-06 05:57:16 -07:00
ccd0
d2e8efb59c Restore filtering on email. #2171 2019-04-04 18:43:43 -07:00
ccd0
abb43b3314 Support filters that apply to multiple post fields joined by newline characters. 2019-03-31 00:54:43 -07:00
ccd0
e784844333 Move these functions out of the main Filter object and into a subobject. 2019-03-30 15:36:11 -07:00
ccd0
f823b73a40 Add option to filter only posts with files. 2019-03-22 02:26:57 -07:00
ccd0
50ecb097b7 Make it possible to filter absent ID. #1578 2019-03-21 05:07:35 -07:00
ccd0
569ae9b06b Improve Filter performance. 2019-03-19 14:20:03 -07:00
ccd0
28dc40b1d4 Don't hide posts with notification filters. #2231 2019-03-18 21:58:22 -07:00
ccd0
24f1458a73 Fix issues from https://github.com/ccd0/4chan-x/pull/2231#issuecomment-467247167 #2231 2019-03-18 21:57:47 -07:00
ebinBuddha
28a46edcf3 whitespaces 2019-02-21 12:10:05 +01:00
ebinBuddha
2003b25c05 added desktop notification for filters 2019-01-12 01:25:41 +01:00
ccd0
b81f0ca536 Condition not really needed. 2018-01-24 06:30:42 -08:00
pentargency
be6d7d9bfc Removed user-facing 'filter self' option- filtering of own posts is now always disabled 2017-11-19 17:04:53 -08:00
pentargency
ed67b3e968 Added possible exception to filtering for posts made by user. Added configuration option to allow controlling behaviour: 'Filter Self', defaults to old behaviour (enabled) 2017-11-19 06:35:01 -08:00
ccd0
407b5fe8a8 Move regex escaping to separate function. 2017-10-23 19:39:48 -07:00
ccd0
9cd449cb61 Add "General" filter category for filters that apply to multiple fields given by type option. #1124 2017-07-14 19:20:53 -07:00
ccd0
fbe45128ed When multiple filters hide a post, non-stub filters should override with-stub filters. #1414 2017-06-27 16:19:41 -07:00
ccd0
379137fbc0 Make possible filtering threads without subject. #1328 2017-03-29 22:40:28 -07:00
ccd0
6168fd5229 Fix undo removing all filters in Firefox (#946) as well as the filters not being scrolled to the bottom when an item is added from the menu. 2016-11-07 23:29:22 -08:00
ccd0
dc29011c10 Add keybind for filtering image MD5s (default: "5"). 2016-11-07 22:20:58 -08:00
ccd0
76f8118872 Add option for quick filter MD5 button (%f) to File Info Formatting (Advanced settings tab). #377 2016-11-07 22:20:45 -08:00
ccd0
2540f23ac7 Don't hardcode SFW/NSFW board lists. 2016-10-03 17:52:44 -07:00
ccd0
9f6cc38e76 Merge remote-tracking branch 'dzamie/iss944' 2016-10-03 16:33:03 -07:00
ccd0
4b85e1a267 Add pass date to post fields. #1123 2016-10-02 12:57:40 -07:00
ccd0
4c6701f2f7 Cache filter results so we don't run all OP filters twice. 2016-10-01 18:09:48 -07:00
ccd0
8c6424f512 Add threadID and boardID to regular post object to make it more compatible with Build.parseJSON output. 2016-10-01 17:47:12 -07:00
ccd0
49b946199c Change postID to ID in Build.parseJSON output. 2016-10-01 17:27:09 -07:00
ccd0
445b6fdf6f Sort and filter index based on JSON data. 2016-10-01 17:10:33 -07:00
ccd0
545ece6c8e Separate filter combination from post DOM changes. 2016-10-01 15:20:24 -07:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
dzamie
41ea3beab8 Add sfw/nsfw to Filters
Addresses #944
Allows users to include "sfw" and "nsfw" as boards to reference all
worksafe and not-worksafe boards.
Checks for exclusions on all filters to allow for things like
"boards:nsfw;exclude:gif"
2016-07-05 17:41:24 -04:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
03830ef903 Fix excludes applying to subsequent filter lines with boards setting. #953 2016-06-04 14:22:29 -07:00
ccd0
3c0dd4633b Make MD5 work in archive search on /f/. #800 2016-04-28 04:41:38 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
f1b82d013f Remove dependency of Post, Thread, CatalogThread classes on Callbacks class. 2016-04-15 10:34:39 -07:00
ccd0
d5320c4aa1 Make Build.parseComment more general. 2016-01-30 16:36:18 -08:00
human
a638267210 implement exclude rules 2015-12-10 23:28:40 +02:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
2f70e916f9 Remove post number from filter submenu. #495 2015-10-01 13:43:11 -07:00
ccd0
bcc6563d6e Fix crash on adding post number filter from menu. #495
All filterable items should be strings.
2015-10-01 13:36:08 -07:00
ccd0
fff4f6999f Fix post number filtering (#491) on JSON data. 2015-09-27 23:59:19 -07:00
ccd0
ceacb7044a Revisions to post number filtering. #491
- "Post ID" -> "Post number" in user-facing interface.
- Improve example.
2015-09-27 22:58:42 -07:00
Jonathan Gawrych
48185de6c8 Add filtering by post id. 2015-09-22 19:31:59 -06:00
ccd0
95487fd397 Fix board-specific filtering in thread watcher. 2015-06-07 22:04:29 -07:00