about summary refs log tree commit diff
path: root/app/models
AgeCommit message (Collapse)Author
2020-02-21port tootsuite#11138 to monsterfork: Change domain blocks to automatically ↵Eugen Rochko
support subdomains * Change domain blocks to automatically support subdomains If a more authoritative domain is blocked (example.com), then the same block will be applied to a subdomain (foo.example.com) * Match subdomains of existing accounts when blocking/unblocking domains * Improve code style
2020-02-21port tootsuite#11963 to monsterfork: Fix relays UI being available in ↵Eugen Rochko
whitelist/secure mode Fix relays UI referencing relay that is not functional
2020-02-21port tootsuite#11638 to monsterfork: Fix remote and staff-removed statuses ↵Eugen Rochko
leaving media behind for a day The reason for unattaching media instead of removing it is to support delete & redraft functionality, but remote or staff-removed statuses will never be redrafted, so the media should be deleted immediately
2020-02-21(lazily) port tootsuite#11298 to monsterfork: Add public blocks to /about/blocksThibG
* Add automatic blocklist display in /about/blocks Inspired by https://github.com/Gargron/mastodon.social-misc * Add admin option to set who can see instance blocks * Normalize locales files * Rename “Sandbox” to “Silence” for consistency * Disable /about/blocks when in whitelist mode * Optionally display rationale for domain blocks * Only display domain blocks that have user-facing limitations, and order them * Redesign table of blocked domains to better handle long domain names and rationales * Change domain blocks ordering now that rationales aren't displayed right away * Only show explanation for block severities actually in use * Reword instance block explanations and add disclaimer for public fetch mode
2020-02-21port tootsuite#11139 to monsterfork: Remove expensive counters from ↵Eugen Rochko
federation page in admin UI
2020-02-21port tootsuite#11292 to monsterfork: Add whitelist modeEugen Rochko
2020-02-21port tootsuite#11375: Change unconfirmed user login behaviourEugen Rochko
Allow access to account settings, 2FA, authorized applications, and account deletions to unconfirmed and pending users, as well as users who had their accounts disabled. Suspended users cannot update their e-mail or password or delete their account. Display account status on account settings page, for example, when an account is frozen, limited, unconfirmed or pending review. After sign up, login users straight away and show a simple page that tells them the status of their account with links to account settings and logout, to reduce onboarding friction and allow users to correct wrongly typed e-mail addresses. Move the final sign-up step of SSO integrations to be the same as above to reduce code duplication.
2020-02-20port tootsuite/#12125 to monsterfork: Fix attachment not being re-downloaded ↵Eugen Rochko
even if file is not stored Change the behaviour of remotable concern. Previously, it would skip downloading an attachment if the stored remote URL is identical to the new one. Now it would not be skipped if the attachment is not actually currently stored by Paperclip.
2020-02-20do not consider posts with `hidden` flag as distributablemultiple creatures
2020-02-19move bangtag processing responsibility to `PostStatusService`multiple creatures
2020-02-19only process bangtags on `create`, add `process_bangtags?` & ↵multiple creatures
`process_bangtags!` methods to status model
2020-02-19avoid processing bangtags multiple timesmultiple creatures
2020-02-18fix spellingmultiple creatures
2020-02-18make sure fang/defang gets logged when set by an `update`multiple creatures
2020-02-18move defang toggle to preferences instead of profilemultiple creatures
2020-02-18switch to irc-like oper behavior; require mods & admins to explicitly oper ↵multiple creatures
up using `fangs`/`op` bangtag or toggling defang setting in profile; auto-defang after 15 mins or with `defang`/`deop` bangtag
2020-02-17add a `manual_only` (manual trust only) moderation option + handle more ↵multiple creatures
`reject_unknown`/graylist mode caveats
2020-02-16add `keep_hidden?` flag to make sure drafts are not accidentally published ↵multiple creatures
by the delayed roars feature
2020-02-16change context of `hidden?` to mean a hidden post, not a non-distributable postmultiple creatures
2020-02-15add admin option to toggle whether service/app accounts should be ↵multiple creatures
auto-trusted in graylist mode + give options better descriptions
2020-02-15(actually) add `hidden` attribute to status table & modelmultiple creatures
2020-02-14filter hidden & delayed posts from timelines until publishedmultiple creatures
2020-02-14add options to let admins customize how trusting or strict graylist ↵multiple creatures
federation should be
2020-02-14split auto-trust instance actor setting into auto-trust & always trustmultiple creatures
2020-02-14remove unnessesary setting checkmultiple creatures
2020-02-14automatically trust the instance actor when marking another account as knownmultiple creatures
2020-02-14make secure mode also check for blocked subdomainsmultiple creatures
2020-02-14add admin option to toggle auto-marking instance actors known & make ↵multiple creatures
enabling greylist federation also enable secure mode
2020-02-13invalidate cached status after a moderator changes sensitivity flagsmultiple creatures
2020-02-13allow moderators to change sensitive content flag on posts without media ↵multiple creatures
attachments
2020-02-13remove unneeded `setting_` prefixmultiple creatures
2020-02-13`setting` -> `settings`multiple creatures
2020-02-13(reso: report #201) add option to strip embed cards from sensitive posts, ↵multiple creatures
make default
2020-02-10`this` -> `self`multiple creatures
2020-02-05move rando check into the account model so it can be reused by other ↵multiple creatures
anti-harassment tools
2020-02-05(finally) remove unused `vars` from account modelmultiple creatures
2020-02-04lazily merge accounts helper & necessary methods from glitchsoc 3.0multiple creatures
2020-02-04`setting` -> `settings`multiple creatures
2020-02-04fix rss endpoint & add option to enable it (off by default)multiple creatures
2020-01-30use upstream spam detectionmultiple creatures
2020-01-26restore monsterfork hashtag parsing behaviormultiple creatures
2020-01-20Original upstream mergeThibG
2020-01-15port commit `7e2bff995` from upstream to fix broken attachment downloadingmultiple creatures
2020-01-15handle passing `0` to `lifespan` & `defed_in` bangtags to unset the ↵multiple creatures
auto-destruct/auto-defederate flag for a post
2020-01-15anti-harassment: add option to toggle whether to allow follows/packmate ↵multiple creatures
requests from accounts you've never interacted with before; default to off
2020-01-13use `update` instead of assignment on `delete_after=` & `defederate_after=`multiple creatures
2020-01-13add new privacy option to auto-defederate after a given timespan + add ↵multiple creatures
options to defederate and/or delete past posts + add `defed_in`/`parent:defed_in`/`thread:defed_in` bangtags + ui indicator for posts marked for auto-defederation
2020-01-13remove duplicates from media gallery mode, attempt 2multiple creatures
2020-01-12add privacy option to limit lifespan of public access to post & object urls ↵multiple creatures
beyond local followers, default to 90 days
2020-01-11skip spam check if invite-only registrationmultiple creatures