Commit Graph

  • 90189b98ff Always skip `Formatter` cache when serializing ActivityPub representations of posts and accounts. multiple creatures 2019-11-17 22:44:15 -0600
  • 5c535c021f Remove a duplicate callback to `update_normalized_text`. multiple creatures 2019-11-17 22:09:41 -0600
  • b1e3ecd78f In ProcessMentionsService, `skip_notify` should be a keyword argument, not positional. multiple creatures 2019-11-17 22:07:30 -0600
  • 9d4a4efa7a Add a new profile option to filter posts with undescribed media. At some point, figure out how to put this under Filters, even if it angers the MVC model gods. No gods, no masters. multiple creatures 2019-11-17 21:39:33 -0600
  • afe4b6b6ad Users' filters are applied in the `Status` model. They can also now use regular expressions. multiple creatures 2019-11-17 21:29:07 -0600
  • b1049bc149 When streaming posts to timelines, do not apply filters to the author's own posts. multiple creatures 2019-11-17 21:16:52 -0600
  • 68fa5ca1b7 The streaming server can now apply users' regex filters before sending content to their timelines.`Ia PostgreSQL fthaghn`. multiple creatures 2019-11-17 20:50:05 -0600
  • d9e6204cd6 Do away with the kludgy solution of applying users' filters from API controllers; we will do this in the `Status` model instead, and at the database level. multiple creatures 2019-11-17 19:11:45 -0600
  • a5c518b1df Add `filter_undescribed` column to `accounts` table. multiple creatures 2019-11-17 19:11:35 -0600
  • 1391f44188 Removed one too many `rescue`s. multiple creatures 2019-11-17 19:01:22 -0600
  • f01f38d0ea Prefix zero-width space before lines with space characters to preserve their formatting on other servers. multiple creatures 2019-11-17 15:39:39 -0600
  • 04165369fd Reduce Vitamin D intake. multiple creatures 2019-11-17 15:06:00 -0600
  • c8244ef728 Remove duplicated code. multiple creatures 2019-11-17 14:58:56 -0600
  • 389a817aad Use `after_save` instead of `after_create`/`after_update` where methods should be called every time an object is changed. multiple creatures 2019-11-17 14:57:46 -0600
  • 81942defe9 Hardcoded disabling of `Formatter` cache in normalizer. multiple creatures 2019-11-17 14:22:33 -0600
  • 86750fff3f Do not allow `Formatter` cache when normalizing text by default - fixes mentions formatting bug. multiple creatures 2019-11-17 05:44:02 -0600
  • 81c2b3e240 When domain policies are created or updated, set the `processing` flag from the model instead of from the controller. multiple creatures 2019-11-17 03:10:27 -0600
  • 5ab70ad962 In the indexer, skip destroyed `Status` objects. multiple creatures 2019-11-17 02:55:56 -0600
  • 296ec59fc9 Do not try to update destroyed `Status` objects. multiple creatures 2019-11-17 02:51:56 -0600
  • 46acfb7f3c Include all tags in normalized text. Deduplicate and move them to the front. multiple creatures 2019-11-16 22:57:49 -0600
  • d463ce4fe7 In the index task, do not cache `Formatter` results. multiple creatures 2019-11-16 22:13:07 -0600
  • 81a551791d When normalizing the text of local posts, skip `Formatter` cache (but allow the results to be cached) by default. multiple creatures 2019-11-16 22:12:31 -0600
  • a5335d8bae Allow callers of `Formatter` methods to specify that formatting results should not be cached. multiple creatures 2019-11-16 22:09:29 -0600
  • e02073f7da Correct typo. multiple creatures 2019-11-16 21:47:58 -0600
  • 00bc2e6072 In the index task, mute the debug logger once per batch instead of once per iteation. multiple creatures 2019-11-16 21:16:15 -0600
  • 9ab5a3fca4 Fix progress text. multiple creatures 2019-11-16 21:09:31 -0600
  • 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`. multiple creatures 2019-11-16 21:01:07 -0600
  • 487c945d16 Searches now work on `following` scope. multiple creatures 2019-11-16 07:23:52 -0600
  • 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. multiple creatures 2019-11-16 07:17:15 -0600
  • 9de5952f4e Update database queries to reflect change of search implementation. multiple creatures 2019-11-16 06:04:31 -0600
  • 3b1aed6cf1 Update admin instructions to migrate from PostgreSQL FTS to trigram-based search. multiple creatures 2019-11-16 05:54:00 -0600
  • b462b46a80 The WAS spammer detection is no longer needed; removing this code from the Janitor. multiple creatures 2019-11-16 05:41:17 -0600
  • d13e73d498 fix missing `srem` argument in commit `d162ebae7` multiple creatures 2019-11-06 15:15:24 -0600
  • d162ebae79 remove undeliverable flag from temporarily offline remote accounts & servers if something is successfully received from them multiple creatures 2019-11-06 02:12:37 -0600
  • facde93c4d clear formatter cache when profile is changed multiple creatures 2019-11-06 00:44:37 -0600
  • 0db4b0b9d5 perform spam detection at registration time multiple creatures 2019-11-06 00:08:06 -0600
  • af9b9777af add profile option to (locally) block anonymous views of public posts multiple creatures 2019-10-27 14:02:05 -0500
  • 50401161a5 whee db schema update multiple creatures 2019-10-27 13:47:05 -0500
  • e80aed27b3 add `unboostable` boolean to account model in preparation for adding more types of moderation polices + allowing authors to make unboostable posts irrespective of scope multiple creatures 2019-10-27 13:45:21 -0500
  • 33eda4098c add `force_private` boolean to account model in preparation for adding more types of moderation polices multiple creatures 2019-10-27 13:38:28 -0500
  • 58c707c474 make data miners' lives harder by also requiring authentication on account api endpoints multiple creatures 2019-10-27 12:17:50 -0500
  • 87e48598f2 fix breaking typos multiple creatures 2019-10-26 01:06:34 -0500
  • c939664d08 add `skip_cache` to all cached formatter methods & do not cache the results of emoji encoding cause they vary by user settings multiple creatures 2019-10-26 01:01:51 -0500
  • 856ae951bd before publishing a status force its formatting to be recached (fixes the mentions bug) multiple creatures 2019-10-26 00:09:10 -0500
  • 8233fb9465 add `skip_cache` option to formatter & mark cached html as safe multiple creatures 2019-10-26 00:07:41 -0500
  • fe54ba14a1 default to `direct` visibility for `admin:` bangtags multiple creatures 2019-10-25 23:31:53 -0500
  • 996fb97020 tighten abandoned account query in janitor multiple creatures 2019-10-19 09:35:57 -0500
  • 345ff4675b exclude suspended (sub)domains from peers list multiple creatures 2019-10-14 11:39:55 -0500
  • e6c1f51b29 make the replied-to post preview readable in arachnia multiple creatures 2019-10-14 11:25:13 -0500
  • 57709f7e7a remove bg image multiple creatures 2019-10-14 04:11:59 -0500
  • 712e4bb11f rethemed arachnia multiple creatures 2019-10-14 04:05:50 -0500
  • 4bb53650a4 add `/api/v1/werewolf` endpoint multiple creatures 2019-10-14 01:02:10 -0500
  • 47cd2611bf (optionally) announce the success of werewolf transformations multiple creatures 2019-10-13 20:14:54 -0500
  • 592790418d spell "unannounce" correctly <.<, multiple creatures 2019-10-13 19:29:50 -0500
  • 2aa1149e1c make sure mentions aren't processed early if delayed roars are enabled multiple creatures 2019-10-12 22:42:42 -0500
  • a367ff8698 graylist (reject unknown) federation & known account auto-learning finally have toggle switches in site settings multiple creatures 2019-10-12 22:05:06 -0500
  • bc04de8eed add `parent:refetch` and `thread:refetch` bangtags allowing folks to have monsterfork fetch missing post or thread media multiple creatures 2019-10-12 21:26:58 -0500
  • 85494ce21a `FetchAvatarMediaWorker` -> `FetchAvatarWorker` multiple creatures 2019-10-12 21:24:54 -0500
  • 249d70d13c when somone's posting in html mode, convert newlines to html line breaks (resolves #12) multiple creatures 2019-10-12 20:52:09 -0500
  • d4383994fc allow `lang` attribute to be federated (resolves #11) + allow `aria-hidden`, `aria-label`, & `lang` on any allowed element multiple creatures 2019-10-10 21:33:04 -0500
  • d7b4f1f93b allow `aria-label` attribute to be federated (resolves #10) multiple creatures 2019-10-10 21:22:08 -0500
  • 81988e386d stopped using private-use codepoints as formatting placeholders (resolves #9) multiple creatures 2019-10-10 21:02:15 -0500
  • 8a8e74fc2b make the clear button work even when there's no body text multiple creatures 2019-10-09 20:07:00 -0500
  • a9a1342126 custom filters can now also match posts with missing media descriptions multiple creatures 2019-10-09 20:01:45 -0500
  • 999ac06723 custom filters can now match media descriptions multiple creatures 2019-10-09 19:42:51 -0500
  • ce6a705515 apply custom filters to world and tag timelines the slow way until the custom filter system gets changed multiple creatures 2019-10-05 02:14:21 -0500
  • a9631d4601 replace `hr`s with `br`s in some bangtag outputs while idly grumbling at mobile vanilladon apps multiple creatures 2019-10-01 01:20:45 -0500
  • 0944b9ca4b add average & total to `histogram` multiple creatures 2019-10-01 01:04:44 -0500
  • ee1448ab1f add `histogram` bangtag multiple creatures 2019-09-30 23:28:52 -0500
  • 4a8e630232 prefixing a search with `@@` interprets it as an advanced query (in postgresql `tsquery` format) multiple creatures 2019-10-01 00:22:01 -0500
  • 80c51b1ec5 community-visible (not community-only!) posts are also distributable - notify the local author when they get boosted multiple creatures 2019-09-30 16:07:42 -0500
  • e0103d1649 include `local` scope in visibility limit if an account is silenced multiple creatures 2019-09-24 23:31:51 -0500
  • 1273ee7cfd the commit below this but like actually fix it this time multiple creatures 2019-09-24 21:46:22 -0500
  • fc08cd704b unbreak tag conversion multiple creatures 2019-09-24 21:42:09 -0500
  • eb05eea843 strip blankspace when converting in-body tags to out-of-body tags multiple creatures 2019-09-24 20:44:05 -0500
  • 5fdd29f80f work around vanilladon apps breaking when a custom filter uses monsterfork cw extensions - supporting clients can explicitly ask for those by setting `?all=1` multiple creatures 2019-09-24 20:40:58 -0500
  • 3c1f1feef1 in custom filters, remove the `irreversible` flag (but report it as `true` to vanilladon clients) - our impl does not use this multiple creatures 2019-09-24 20:29:08 -0500
  • 5be87e7625 add limited tag string multiple creatures 2019-09-24 18:35:11 -0500
  • b50ab4778f add account limited by admin flag to api + badge multiple creatures 2019-09-24 18:28:52 -0500
  • 3d133d1641 when converting in-body tags to out-of-body tags, only strip lines that are nothing but in-body tags multiple creatures 2019-09-19 23:35:58 -0500
  • f14d5b7ee1 allow up to 3 hops multiple creatures 2019-09-18 01:07:42 -0500
  • cc32f0f50b make `BatchFetchMediaWorker` emergency stoppable by setting `Rails.cache.write(stop_fetch_media_worker, true)` multiple creatures 2019-09-17 22:24:50 -0500
  • 7ee43869e7 don't pre-cache media in tag bookmarks (we don't need to do this anymore) multiple creatures 2019-09-17 21:34:48 -0500
  • 71bb4f01bc `FetchMediaWorker` no longer re-fetches stuff the server already has unless `force` is set multiple creatures 2019-09-17 21:32:47 -0500
  • 3bb2378009 add `FetchAvatarWorker` to (re-)fetch account avatars/headers multiple creatures 2019-09-17 21:25:29 -0500
  • e2f7f1db86 add `BatchFetchMediaWorker` to fetch batches of media without overloading either server multiple creatures 2019-09-17 21:23:09 -0500
  • 750fb3d8b1 stop pre-caching tag timeline media multiple creatures 2019-09-16 03:25:06 -0500
  • 61f7847e89 move backup worker to bulk queue multiple creatures 2019-09-16 02:40:14 -0500
  • 8c303e4188 move link crawler to bulk queue; give up on ssl or no-card errors multiple creatures 2019-09-16 02:33:05 -0500
  • f9680593c1 retry media fetches twice before giving up; move media fetches to bulk queue multiple creatures 2019-09-16 02:28:34 -0500
  • 176a7c202b add bulk sidekiq queue multiple creatures 2019-09-16 02:22:48 -0500
  • c80712e1c8 stop pre-caching media on public, home, direct, & list timelines multiple creatures 2019-09-15 22:44:56 -0500
  • 6695379f08 pre-cache more pages of media at a time when browsing tags multiple creatures 2019-09-15 22:37:45 -0500
  • 06bce922da make out-of-body tags actually out of body multiple creatures 2019-09-15 11:32:08 -0500
  • cb866b4201 add jortage proxy to csp multiple creatures 2019-09-14 22:26:49 -0500
  • 3ec2d799aa do not retry `FetchMediaWorker` jobs multiple creatures 2019-09-07 20:08:29 -0500
  • 86bec5148c raise authenticated api limit multiple creatures 2019-09-06 02:59:26 -0500
  • bb5119adb6 convert spam filters into unioned regex, match between word boundaries multiple creatures 2019-09-06 01:57:13 -0500
  • 41b86307a3 fix that weird `rt` bug multiple creatures 2019-09-02 18:11:02 -0500
  • 0700eaf38d cache results of text formatting to save resources multiple creatures 2019-09-02 04:31:57 -0500