about summary refs log tree commit diff
path: root/app/models
AgeCommit message (Collapse)Author
2020-02-21port tootsuite#11342 to monsterfork: Add aac, m4a, 3gp to allowed audio formatsEugen Rochko
Fix #11186
2020-02-21port tootsuite#11151 to monsterfork: Fix audio-only OGG and WebM files not ↵Eugen Rochko
being processed as such Also, because Chrome sends audio/mp3 instead of audio/mpeg as it's supposed to, we need to whitelist that mime type as well
2020-02-21Fix audio not being downloaded from remote servers (#11145)Eugen Rochko
2020-02-21Change audio format from ogg to mp3 for wider compatibility (#11141)Eugen Rochko
* Change audio format from ogg to mp3 for wider compatibility * Add media description as title to links of unknown media attachments
2020-02-21port tootsuite#11130 to monsterfork: Fix converted media being saved with ↵Eugen Rochko
original extension and mime type
2020-02-21port tootsuite#11123 to monsterfork: Add audio uploadsEugen Rochko
* Add audio uploads Fix #4827 Accept uploads of OGG, WAV, FLAC, OPUS and MP3 files, and converts them to OGG. Media attachments get a new `audio` type. In the UI, audio uploads are displayed identically to video uploads. * Improve code style
2020-02-21port tootsuite#11589 to monsterfork: Remove WebP supportStanislas
2020-02-21port tootsuite#12262 to monsterfork: Fix remote media descriptions being cut ↵ThibG
off at 420 chars * Fix remote media descriptions being cut off at 420 chars Fixes #12258 * Fix tests
2020-02-21port tootsuite#12562 to monsterfork: Fix media attachments without file ↵Eugen Rochko
being uploadable Fix #12554
2020-02-21remove redundant blanking of avatar/headersmultiple creatures
2020-02-21Fix remote convertible media attachments not being saved (#13032)Eugen Rochko
Because the file name was set after loading the file, Paperclip was flagging the differing file extension as content type spoofing Fix #12938
2020-02-21port tootsuite#12748 to monsterfork: Fix base64-encoded file uploads not ↵Eugen Rochko
being possible Fix #3804, Fix #5776
2020-02-21port tootsuite#12568 to monsterfork: Add `tootctl media remove-orphans`Eugen Rochko
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