about summary refs log tree commit diff
path: root/app/models/status.rb
AgeCommit message (Collapse)Author
2020-08-30[Privacy] Use reply visibility gating to preserve thread permissions rather ↵Fire Demon
than public/private flag on thread
2020-08-30[Privacy] Restrict visibility of replies to private threadsFire Demon
2020-08-30[Privacy] Allow forcing local-only posts to be excluded in ↵Fire Demon
apply_account_filters and include account filters in own posts
2020-08-30[Privacy] Add public-only scope to "permitted_for"Fire Demon
2020-08-30[Privacy] Add "include_semiprivate" scope to "permitted_for", disabled by ↵Fire Demon
default
2020-08-30[Emoji] Include custom emoji in footer textFire Demon
2020-08-30[Feature] Post signaturesFire Demon
2020-08-30[Federation] Include and dereference URI to the root post of threads; ↵Fire Demon
dynamically update thread permissions
2020-08-30[Bug, Localization] Replace "en-MP" with "en" in post languageFire Demon
2020-08-30[Profiles] Add category filtersFire Demon
2020-08-30[Feature] Add support for unlisted and out-of-body tagsFire Demon
2020-08-30[Command Tags] Add #!notify toggle to allow toggling whether or not a post ↵Fire Demon
should be locally delivered to timelines/notifications
2020-08-30[Privacy, Timelines] Improve filteringFire Demon
2020-08-30[Timelines] Replace Federated timetime with public local reblogs when in ↵Fire Demon
local mode
2020-08-30[Feature, Partial] Add backend support for additional publishing and ↵Fire Demon
customization options
2020-08-30[Federation] Define silent mentions on status modelFire Demon
2020-08-30[Feature, Database] Add migrations and models for queued boosts, delayed ↵Fire Demon
publishing, and self-destructing posts
2020-08-30[Rails] Revise association cachingFire Demon
2020-08-30[Privacy] Add options for private accountsFire Demon
2020-08-30[Privacy] Add support for matching unmatched domains with * glob in ↵Fire Demon
per-domain permissions
2020-08-30[Feature] Use unprocessed text for editsFire Demon
2020-08-30[Privacy] Improve handling of mixed permissionsFire Demon
2020-08-30[Privacy] Exclude mixed-privacy posts from public collections unless the ↵Fire Demon
requesting actor is locally authenticated or follows the author
2020-08-30[Feature, Privacy] Add base support for per-domain post privacyFire Demon
2020-08-30[Performance] Cache inlined_attachments associationFire Demon
2020-08-30[Federation] Add backend support for ActivityPub object titlesFire Demon
2020-08-30[Feature, Federation, Port: hometown@b3e6597] Support locally cached inline ↵Darius Kazemi
images [+ Monsterfork additions] Changes added by Monsterfork: - Do not limit to only Articles - Reuse existing media; retroactively using more-detailed descriptions - Also scrub carrige returns between tags - Handle download failures - Attach to statuses and keep track of inlined media - Handle local edits Co-authored-by: Fire Demon <firedemon@creature.cafe>
2020-08-30[Privacy, Port: glitch-soc@0898ff9] Set replies to local-only toots as ↵Thibaut Girka
local-only unless explicitly specified otherwise Co-authored-by: Fire Demon <firedemon@creature.cafe>
2020-08-30Don't leak reblogs of local-only tootsThibaut Girka
Co-authored-by: Fire Demon <firedemon@creature.cafe>
2020-08-30[Privacy] Implement thread ownership and visibilityFire Demon
2020-08-30[Privacy] Limit visibility of replies to private threads and branchesFire Demon
2020-08-30[Feature] Add post and thread (un)hiding to backendFire Demon
2020-08-30[Feature] Add manual publishing optionFire Demon
2020-08-30[Privacy, Federation, UI] Add options to allow Fediverse users to decide ↵Fire Demon
whether to include replies and unlisted posts on their profiles
2020-08-30[Feature] Introduce nest_level attribute to posts and API to help apps ↵Fire Demon
visualize nesting in threads
2020-08-30[Database] Add missing "not null" attribute to Monsterfork columnsFire Demon
2020-08-30[Refactoring] Minor code style auto-refactorings from RubocopFire Demon
2020-08-30[Future] Add distributable scopeFire Demon
2020-08-30[Feature] Add in-place post editingFire Demon
2020-08-30[Privacy] Let admins exclude private domains from the public allowlistFire Demon
2020-05-28Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2020-05-23Fix searchable status without explicitly mentioning it (#13829)Takeshi Umeda
2020-05-10Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - `Gemfile.lock`: Not a real conflict, just a glitch-soc-only dependency too close to a dependency that got updated upstream. Updated as well. - `app/models/status.rb`: Not a real conflict, just a change too close to glitch-soc-changed code for optionally showing boosts in public timelines. Applied upstream changes. - `app/views/layouts/application.html.haml`: Upstream a new, static CSS file, conflict due to glitch-soc's theming system, include the file regardless of the theme. - `config/initializers/content_security_policy.rb`: Upstream dropped 'unsafe-inline' from the 'style-src' directive, but both files are very different. Removed 'unsafe-inline' as well.
2020-05-10Add remote only to public timeline (#13504)Takeshi Umeda
* Add remote only to public timeline * Fix code style
2020-05-10Improve RSS entries for statuses (#13592)ThibG
* Improve RSS entries for statuses - Render polls in both accounts and tags serializers - Refactor RSS serializers - Change title preview to include ellipsis when truncated - Change title preview to show CW instead of toot text - Add tests * Remove title from OEmbed serialization Twitter doesn't serialize title either, and tihs allows us to move the title formatting code to the RSS serializers.
2020-05-03Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - `app/controllers/statuses_controller.rb`: Upstream disabled the embed controller for reblogs. Not a real conflict, but glitch-soc has an extra line to deal with its theming system. Ported upstream changes. - `app/javascript/packs/public.js`: Upstream made changes to get rid of most inline CSS, this changes javascript for public pages, which in glitch are split between different files. Ported those changes. - `app/models/status.rb`: Upstream changed the block check in `Status#permitted_for` to include domain-block checks. Not a real conflict with glitch-soc, but our scope is slightly different, as our scope for unauthenticated access do not include instance-local toots. Ported upstream changes. - `app/serializers/rest/instance_serializer.rb`: Not a real conflict, upstream added a new field to the instance serializer, the conflict is one line above since we added more of that. Ported upstream changes. - `app/views/settings/profiles/show.html.haml`: Upstream got rid of most inline CSS and moved hidden elements to data attributes in the process, in fields were we have different values. Ported upstream changes while keeping our glitch-specific values. - `app/views/statuses/_simple_status.html.haml`: Upstream got rid of inline CSS on an HAML line we treat differently, stripping empty text nodes. Ported upstream changes to the style attribute, keeping the empty text node stripping behavior.
2020-05-03Revert "improve status title (#8596)" (#13591)Yamagishi Kazutoshi
This reverts commit 05756c9a14864655ae6777505a4ee5cfa9b0ee93.
2020-05-03Add more tests for ActivityPub controllers (#13585)Eugen Rochko
2020-04-05Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - `app/javascript/packs/public.js`: Upstream modified code that we split between multiple files due to glitch-soc's theming system. Ported those changes.
2020-04-05Fix PostgreSQL load when linking in announcements (#13250)ThibG
* Fix PostgreSQL load when linking in announcements Fixes #13245 by caching status lookups Since statuses are supposed to be known already and we only need their URLs and a few other things, caching them should be fine. Since it's only used by announcements so far, there won't be much statuses to cache. * Perform status lookup when saving announcements, not when rendering them * Change EntityCache#status to fetch URLs instead of looking into the database * Move announcement link lookup to publishing worker * Address issues pointed out during review