about summary refs log tree commit diff
path: root/app/models
AgeCommit message (Collapse)Author
2020-02-21patch media model from glitch-socmultiple creatures
2020-02-21re-add missing max description length from env varmultiple creatures
2020-02-21Fix file names being obfuscated on update when file didn't change (#12857)Eugen Rochko
Fix #12849
2020-02-21port tootsuite#12568 to monsterfork: Add `tootctl media remove-orphans`Eugen Rochko
2020-02-21port tootsuite#12534 to monsterfork: Update ESLint and RuboCop in Code ClimateYamagishi Kazutoshi
2020-02-21remove audio metadata (#12171)Hugo Gameiro
2020-02-21add loglevel fatal to video and audio styles (#12088)Hugo Gameiro
2020-02-21port tootsuite#12057 to monsterfork: Fix performance of GIF re-encodingEugen Rochko
* Change animated GIF detection to not shell out to ImageMagick Signed-off-by: Eugen Rochko <eugen@zeonfederated.com> * Change video encoding parameters to limit to 10800 video frames Signed-off-by: Eugen Rochko <eugen@zeonfederated.com> * Limit GIF image size further Signed-off-by: Eugen Rochko <eugen@zeonfederated.com> * Always strip metadata from video files * Fix code style issues
2020-02-21port tootsuite#11775 to monsterfork: Add retry for failed media downloads ↵Eugen Rochko
and `tootctl media refresh`
2020-02-21port tootsuite#11776 to monsterfork: Change tootctl to use inline ↵Eugen Rochko
parallelization instead of Sidekiq - Remove --background option - Add --concurrency(=5) option - Add progress bars
2020-02-21Add more media formats (#11687)umonaca
* Add more media formats * Removed amr file type
2020-02-21Remove timestamps from converted images to make them deterministic (#11408)Eugen Rochko
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