Commit Graph

480 Commits (master)

Author SHA1 Message Date
ThibG b0630ddc82 Original upstream merge 2020-01-20 16:55:55 -05:00
multiple creatures 310844bf3d update jsonld helper from upstream 2020-01-15 19:29:52 -06:00
multiple creatures 1268277a8c add custom filter master toggle, add media gallery mode, & fix various filter logic + caching bugs 2020-01-10 20:07:15 -06:00
multiple creatures a29fb04e7c bon voyage to that shitty text normalization code 2020-01-10 04:14:37 -06:00
multiple creatures f03960382b switch (back) to postgres fts engine for fast search & timeline filters 2020-01-10 03:45:29 -06:00
multiple creatures 4b0612c11d improve normalization 2019-12-13 00:43:20 -06:00
multiple creatures 9157a28b1a strip mentions from normalized text 2019-12-12 12:12:33 -06:00
multiple creatures 2be54072b1 add service account helper to make announcer & janitor posting easier 2019-12-12 04:29:25 -06:00
multiple creatures 9a435494c2 move normalized text into own table 2019-12-11 20:04:53 -06:00
multiple creatures 302f532440 fix newlines in normalized text + make `tag` & `tags` headings mean the same thing 2019-12-10 05:33:44 -06:00
multiple creatures 2da941beaa simplify normalizer & add headings 2019-12-10 05:18:50 -06:00
multiple creatures 533dd6d985 `include` looks nicer 2019-12-10 05:17:51 -06:00
multiple creatures 859763ea02 handle syntax for `tags:` as `tags: tag1 tag2 "tag3" ...` 2019-12-10 03:52:54 -06:00
multiple creatures 91545d4ec4 make query expander convert `heading: regex to match` shortcut into regex form 2019-12-10 03:26:26 -06:00
multiple creatures 0dfc7b1b64 include headings `tags`, `subj`, `text`, & `desc` in normalized text so they can be individually matched in tl filters 2019-12-10 03:26:22 -06:00
multiple creatures 41b0d10e88 remove duplicate domain check 2019-12-10 02:43:33 -06:00
multiple creatures 7fe078cf50 remove no-longer-useful context checks from autoreject helper 2019-12-10 02:36:33 -06:00
multiple creatures 5d7349f2ab domain policies also now get applied to subdomains 2019-12-07 20:17:07 -06:00
Eugen Rochko a8dfe4e490 Change full logo to use primary text color of the given theme (#10994)
* Change full logo to use primary text color of the given theme

* Fix colors of public layout header in light theme
2019-11-19 16:49:06 -06:00
Eugen Rochko 191a993eb3 Use `<use />` to render transparent SVG logo instead of inserting it (#10845) 2019-11-19 15:33:07 -06:00
multiple creatures 59ef948640 Get rid of the `Formatter` cache. It isn't worth the admin headaches. 2019-11-18 05:09:18 -06:00
multiple creatures a44eb4a79d Use custom `f_normalize` function for transforming regex filters. 2019-11-18 03:49:02 -06:00
multiple creatures 4d6e1aa81d Include media attachment descriptions in normalized text. 2019-11-18 02:19:09 -06:00
multiple creatures f76c29beee Remove unused and incompatable filter settings. These will be re-added in time as they're rewritten to use database-level filtering. 2019-11-18 02:19:09 -06:00
multiple creatures 81942defe9 Hardcoded disabling of `Formatter` cache in normalizer. 2019-11-17 14:22:33 -06:00
multiple creatures 86750fff3f Do not allow `Formatter` cache when normalizing text by default - fixes mentions formatting bug. 2019-11-17 05:44:02 -06:00
multiple creatures 46acfb7f3c Include all tags in normalized text. Deduplicate and move them to the front. 2019-11-16 22:57:49 -06:00
multiple creatures 81a551791d When normalizing the text of local posts, skip `Formatter` cache (but allow the results to be cached) by default. 2019-11-16 22:12:31 -06:00
multiple creatures 1132af1515 Moved to using a normalized text column for searches. Admins using an FTS-enabled version of Monsterfork will need to apply the migration from `dist/search.sql` then run `bundle exec rails monsterfork:index_statuses`. 2019-11-16 21:01:07 -06:00
multiple creatures 6abae51e47 Regular expressions can now be used in full-text searches. Wrapping a search term in double-quotes treats it as a whole-word match. 2019-11-16 07:17:15 -06:00
multiple creatures a9a1342126 custom filters can now also match posts with missing media descriptions 2019-10-09 20:01:45 -05:00
multiple creatures 999ac06723 custom filters can now match media descriptions 2019-10-09 19:42:51 -05:00
multiple creatures b50ab4778f add account limited by admin flag to api + badge 2019-09-24 18:28:52 -05:00
multiple creatures 3b276d268f use a scheduled task to batch domain policy changes + revert `29643fd6` to avoid accidentally dosing servers when multiple users block a domain 2019-08-30 22:03:46 -05:00
multiple creatures 35636272c0 detect spam registrations + include account approvals/rejections in transparancy log 2019-08-26 11:39:40 -05:00
multiple creatures caec7b5ca7 fix custom filter logic 2019-08-18 15:14:09 -05:00
multiple creatures f40c6dbc93 handle custom cws when a filter has the `entire thread` option set 2019-08-15 23:22:43 -05:00
multiple creatures 14cf223041 only drop posts matching a custom filter when the filter has no cw override set 2019-08-15 22:53:02 -05:00
multiple creatures 7bbcf793bc custom filters now have an option to add or override content warnings; filter caching has been fixed 2019-08-15 22:40:20 -05:00
multiple creatures 8c196e70b1 transparancy log - do not direct link to domains 2019-08-09 19:02:30 -05:00
multiple creatures ecd461aa78 admin transparancy log - add moderator review links to domain policy changes 2019-08-08 12:46:23 -05:00
multiple creatures 4dfc40324b add new `reject unknown` policy option to prevent spam & harassment from large/undermoderated servers 2019-08-08 12:46:17 -05:00
multiple creatures 2329043e7b do not parse blocks from `dialup.express` or `tenforward.social` - too much margin-of-error without a machine-readable list 2019-08-06 22:00:53 -05:00
multiple creatures 647ac0f86a `unsuspend` -> `"unsuspend"` 2019-08-05 21:30:34 -05:00
multiple creatures 879166633c rewrite repeated domain maps to use a helper function & make vulpine.club yaml url a variable 2019-08-05 00:00:31 -05:00
multiple creatures f86a3314f7 port @zac@computerfox.xyz's `silence` to `BlocklistHelper` 2019-08-04 23:48:59 -05:00
multiple creatures 2be5c8a55c automatically set `suspend` policy on domains that trigger `context` auto-rejections 2019-08-03 23:30:50 -05:00
multiple creatures 4801d5ac84 move `Scheduler::JanitorScheduler::admin_account` to `ModerationHelper::janitor_account` 2019-08-03 23:25:37 -05:00
multiple creatures 4427480356 `domain_exists` -> `domain_exists?` 2019-08-03 21:47:46 -05:00
multiple creatures 53a1f9d634 `reason?` -> `reason` 2019-08-03 21:01:16 -05:00