about summary refs log tree commit diff
path: root/app/models
AgeCommit message (Collapse)Author
2019-11-19Add responsive panels to the single-column layout (#10820)Eugen Rochko
* Add responsive panels to the single-column layout * Fixes * Fix not being able to save the preference * Fix code style issues * Set max-height on the compose textarea and add a link to relationship manager
2019-11-19Add `account_id` param to `GET /api/v1/notifications` (#10796)Paul Woolcock
* Add `from_account` to notifications API this adds the ability to filter notifications by the account they originated from * passing a non-existent user should cause none to be returned * Fix codeclimate warnings * fix more codeclimate warnings * make requested changes: * use account id instead of user@domain * name the param `account_id` instead of `from_account` * Don't use `return` in a lambda
2019-11-18Use `before_save` instead of `after_save`.multiple creatures
2019-11-18Get rid of the `Formatter` cache. It isn't worth the admin headaches.multiple creatures
2019-11-18Remove filter caches.multiple creatures
2019-11-18In the regex filtering query, `ANY` should actually be `ALL`.multiple creatures
2019-11-18Use custom `f_normalize` function for transforming regex filters.multiple creatures
2019-11-18Only apply a user's string filters if they actually have any set (otherwise ↵multiple creatures
all posts will be filtered).
2019-11-18Remove unused and incompatable filter settings. These will be re-added in ↵multiple creatures
time as they're rewritten to use database-level filtering.
2019-11-18Remove a duplicate callback to `update_normalized_text`.multiple creatures
2019-11-18Users' filters are applied in the `Status` model. They can also now use ↵multiple creatures
regular expressions.
2019-11-17Add `filter_undescribed` column to `accounts` table.multiple creatures
2019-11-17Reduce Vitamin D intake.multiple creatures
2019-11-17Use `after_save` instead of `after_create`/`after_update` where methods ↵multiple creatures
should be called every time an object is changed.
2019-11-17When domain policies are created or updated, set the `processing` flag from ↵multiple creatures
the model instead of from the controller.
2019-11-17Do not try to update destroyed `Status` objects.multiple creatures
2019-11-16Correct typo.multiple creatures
2019-11-16Moved to using a normalized text column for searches. Admins using an ↵multiple creatures
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-16Searches now work on `following` scope.multiple creatures
2019-11-16Regular expressions can now be used in full-text searches. Wrapping a ↵multiple creatures
search term in double-quotes treats it as a whole-word match.
2019-11-16Update database queries to reflect change of search implementation.multiple creatures
2019-11-06perform spam detection at registration timemultiple creatures
2019-10-27add profile option to (locally) block anonymous views of public postsmultiple creatures
2019-10-13(optionally) announce the success of werewolf transformationsmultiple creatures
2019-10-12graylist (reject unknown) federation & known account auto-learning finally ↵multiple creatures
have toggle switches in site settings
2019-10-09custom filters can now also match posts with missing media descriptionsmultiple creatures
2019-10-09custom filters can now match media descriptionsmultiple creatures
2019-10-01prefixing a search with `@@` interprets it as an advanced query (in ↵multiple creatures
postgresql `tsquery` format)
2019-08-30use a scheduled task to batch domain policy changes + revert `29643fd6` to ↵multiple creatures
avoid accidentally dosing servers when multiple users block a domain
2019-08-30make sure media attachments are not from a blocked account, CDN, or their ↵multiple creatures
subdomains
2019-08-30re-fetch media when local file is missingmultiple creatures
2019-08-26detect spam registrations + include account approvals/rejections in ↵multiple creatures
transparancy log
2019-08-24support `offset` with searchmultiple creatures
2019-08-24fix breaking typomultiple creatures
2019-08-24avoid unneccesary scoping for self-searches; make sure general scope is ↵multiple creatures
limited to self/mentions/mutuals
2019-08-24raise description limit to 6666multiple creatures
2019-08-15custom filters now have an option to add or override content warnings; ↵multiple creatures
filter caching has been fixed
2019-08-15don't bother searching if term is emptymultiple creatures
2019-08-15add ability to search own posts by prepending `me:` to searchesmultiple creatures
2019-08-15`target_account.user` -> `target_account`multiple creatures
2019-08-08add new `reject unknown` policy option to prevent spam & harassment from ↵multiple creatures
large/undermoderated servers
2019-08-07add option to automatically space out boosts over configurable random intervalsmultiple creatures
2019-08-06added ability to link accounts with `account:link:token` + ↵multiple creatures
`account:link:add` & switch between them with `i:am`/`we:are` bangtags; remove links with `account:link:del:USERNAME` or `account:link:clear`; list links with `account:link:list`
2019-08-04limit inferred reject replies trigger to the start of first/last line; ↵multiple creatures
simplify text before matching
2019-08-03match more `reject_replies` tokensmultiple creatures
2019-08-03respect 'don't @ me' requestsmultiple creatures
2019-08-02only domain policies have an `updated_at` attributemultiple creatures
2019-08-02filters now have options to separately match post text, content ↵multiple creatures
warnings/titles, & hashtags + option to filter threads containing a matching post
2019-07-31ability to add domain moderation notes, edit existing domain policies ↵multiple creatures
in-place, and process asynchronously
2019-07-31make `updated_at` attribute accessible in the instance modelmultiple creatures