about summary refs log tree commit diff
path: root/app/models/status.rb
AgeCommit message (Collapse)Author
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-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-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-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-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-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-07-29add plain-text console formatting optionmultiple creatures
2019-07-29add `boostable` attribute to statuses modelmultiple creatures
2019-07-24revert the current unfinished chat implementationmultiple creatures
2019-07-23add self-destructing roars & `live`/`lifespan` bangtagsmultiple creatures
2019-07-20limit post search to own social graphmultiple creatures
2019-07-15ignore `tsv` column & add index to local-scope postsmultiple creatures
2019-07-15local visibility scope, chat scope+tags, unlisted tagsmultiple creatures
2019-05-21ignore the `tsv` column on the statuses table - our code will never touch thismultiple creatures
2019-05-21handle importing posts from json dumpsmultiple creatures
2019-05-21fix bbdown newlines + format & emojify footersmultiple creatures
2019-05-21reimplement monsterpit bbcode and markdown extensions on top of new ↵multiple creatures
glitch-soc formatting system + bbcode feature parity + new `i:am` footer + set content type from `format` bangtag
2019-05-21remove the buggy do-not-@-me impl - we'll replace this with a bangtag latermultiple creatures
2019-05-21Moderation: add `force sensitive` and `force unlisted` actions. Accounts: ↵multiple creatures
add federatable `adult content` tag. Handle from remote accounts as well.
2019-05-21Statuses: set `local_only` flag from the `PostStatusService`. Default to ↵multiple creatures
`en` locale for statuses.
2019-05-21Do not process mentions or bangtags in drafts. Add `draft?` method to ↵multiple creatures
`Status` model.
2019-05-21Correct breaking type-o: `scope` -> `starting_scope`multiple creatures
2019-05-21Implement scoped tags; use `local:` and `self:` scopes for community and ↵multiple creatures
personal tags, respectively.
2019-05-21Add option to hide public replies from profilemultiple creatures
2019-05-21Status model: `LOCAL_DOMAINS` constant has been moved into the `Account` model.multiple creatures
2019-05-21Make sure that local-only tokens still get detected when signature is enabled.multiple creatures
2019-05-21Add `i:am` bangtag to allow plural systems sharing an account to identify ↵multiple creatures
who is roaring.
2019-05-21DB: Replace `NULL` boolean values with `FALSE` in Monsterpit feature ↵multiple creatures
columns; add `vars` column for persistent bangtag variable storage.
2019-05-21Make sure only distributable statuses are marked curated; move bangtags ↵multiple creatures
processing into own helper lib.
2019-05-21Limit scope of local/world TLs. Fixes the bug causing some requests to ↵multiple creatures
fetch the local and world timelines to time out.
2019-05-21This `relay` should be a string, not a `Symbol`.multiple creatures
2019-05-21Dedicated `network` DB column for marking whether a roar is a part of the ↵multiple creatures
local network; rewrite posts from `FORCE_*` domains at create time instead of dynamically.
2019-05-21Add `share_key` column to status table in preparation for letting folks ↵multiple creatures
generate/revoke links to view private posts.
2019-05-21Refactored community-curated world timeline code; **privacy**: remove ↵multiple creatures
support for packmate-visible hashtags until we resolve federation caveats.
2019-05-21Raise max search result limit to 66 in API.multiple creatures
2019-05-21Only consider favorites for community-curated world timeline until we can ↵multiple creatures
make the query for considering boosts not be so abysmally slow.
2019-05-21`Status.search_for`: Don't need `Status.unscoped`; the `default_scope` sorts ↵multiple creatures
the way we intend.