about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)Author
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-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-21port tootsuite#11130 to monsterfork: Fix converted media being saved with ↵Eugen Rochko
original extension and mime type
2020-02-21Do not suggest to login into the GitLab database (#13084)Marcin Cieślak
As pointed out on Discourse: https://discourse.joinmastodon.org/t/obscure-wtf-error-message-running-migrations-for-3-1/2524 The message the administrators were getting was telling them to log in to the "GitLab database" and also mentions MySQL
2020-02-21port tootsuite#12568 to monsterfork: Add `tootctl media remove-orphans`Eugen Rochko
2020-02-21Add option to exclude suspended domains/subdomains from tootctl domains ↵Darius Kazemi
crawl (#11454) * Add "--exclude-suspended" to tootctl domains crawl This new option ignores any instances suspended server-wide as well as their associated subdomains. This queries all domain blocks up front, then runs a regexp on each domain. This improves performance over what may be the obvious implementation, which is to ask `DomainBlocks.blocked?(domain)` for each domain -- this hits the DB many times, slowing things down considerably. * cleaning up code style * Compiling regex * Removing ternary operator
2020-02-21port tootsuite#11292 to monsterfork: Add whitelist modeEugen Rochko
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-14add `rake` task `monsterfork:mark_known_instance_actors`multiple creatures
2020-01-21bump monsterfork versionmultiple creatures
2020-01-15update json-ld contextsmultiple creatures
2020-01-10set caching backend to cache items for 1 hourmultiple creatures
2020-01-10clear filter cache when regenerating feedsmultiple creatures
2020-01-10bon voyage to that shitty text normalization codemultiple creatures
2019-12-13skip unchanged rowsmultiple creatures
2019-12-12make reindex tasks using new normalized text tablemultiple creatures
2019-12-03add `monsterfork:reapply_filters` task to mass-fix users' tl filters for ↵multiple creatures
this update
2019-11-19Bump version to 2.9.0rc1 (#11004)Eugen Rochko
2019-11-19Specify gzip required in tootctl emoji help (#11000)Darius Kazemi
2019-11-19Forward port version bumps to 2.8.3 and 2.8.4 (#10819)Eugen Rochko
* Bump version to 2.8.3 * Bump version to 2.8.4
2019-11-18Split indexing Rake tasks to: `monsterfork:index_statuses` (reindex statuses ↵multiple creatures
that do not normalized text yet), `monsterfork:reindex_statuses` (reindex all statuses), and `monsterfork:reindex_media_desc` (reindex statuses with media descriptions). These tasks are only needed by admins setting up Monsterfork for the first time or if the normalization scheme has changed drastically.
2019-11-17Removed one too many `rescue`s.multiple creatures
2019-11-17Hardcoded disabling of `Formatter` cache in normalizer.multiple creatures
2019-11-17In the indexer, skip destroyed `Status` objects.multiple creatures
2019-11-16In the index task, do not cache `Formatter` results.multiple creatures
2019-11-16In the index task, mute the debug logger once per batch instead of once per ↵multiple creatures
iteation.
2019-11-16Fix progress text.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-08-09all i am saaaaaaaaaying / is use up less raaaaaaammultiple creatures
This reverts commit ed9c8f67c4ea7985e2a29e65e352694b9d52ecdc.
2019-08-09broadcast monsterfork as suchmultiple creatures
2019-05-21Cache in memory for 30 minutes.multiple creatures
2019-05-21Add support for standard GIFs (under 200 KB)multiple creatures
2019-05-21Handle more audio formats, only converting formats not supported by HTML5 audiomultiple creatures
2019-05-21Plain AAC audio uploads live again. -DTmultiple creatures
2019-05-15Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-14Record account suspend/silence time and keep track of domain blocks (#10660)ThibG
* Record account suspend/silence time and keep track of domain blocks * Also unblock users who were suspended/silenced before dates were recorded * Add tests * Keep track of suspending date for users suspended through the CLI * Show accurate number of accounts that would be affected by unsuspending an instance * Change migration to set silenced_at and suspended_at * Revert "Also unblock users who were suspended/silenced before dates were recorded" This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c. * Switch from using suspended and silenced to suspended_at and silenced_at * Add post-deployment migration script to remove `suspended` and `silenced` columns * Use Account#silence! and Account#suspend! instead of updating the underlying property * Add silenced_at and suspended_at migration to post-migration * Change account fabricator to translate suspended and silenced attributes * Minor fixes * Make unblocking domains always retroactive
2019-05-10Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/controllers/statuses_controller.rb minor conflict because of glitch-soc's theming system - app/controllers/stream_entries_controller.rb minor conflict because of glitch-soc's theming system
2019-05-09Remove custom emojis on "tootctl domains purge" (#10721)Jeong Arm
* Remove custom emojis on domains purge * Change message "Removing" to "Removed"
2019-05-05Bump version to 2.8.2 (#10703)Eugen Rochko
2019-05-04Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-04Add SOURCE_TAG to show source repository's tag (#10698)Ushitora Anqou
2019-05-04Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/models/media_attachment.rb
2019-05-04Add `tootctl cache clear` (#10689)Eugen Rochko
2019-05-04Bump version to 2.8.1 (#10687)Eugen Rochko
2019-05-03Fix accounts created through tootctl not being always pre-approved (#10684)Eugen Rochko
Add `--approve` option to `tootctl accounts modify`
2019-04-27Add blurhash (#10630)Eugen Rochko
* Add blurhash * Use fallback color for spoiler when blurhash missing * Federate the blurhash and accept it as long as it's at most 5x5 * Display unknown media attachments as blurhash placeholders * Improve style of embed actions and spoiler button * Change blurhash resolution from 3x3 to 4x4 * Improve dependency definitions * Fix code style issues
2019-04-22Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/javascript/mastodon/features/compose/components/compose_form.js Upstream cleaned up a bit, including on lines in which we replaced the hardcoded 500 character limit with a maxChar constant. Applied the changes while keeping maxChar instead of 500. - app/javascript/packs/public.js Moved upstream's new animated avatar hover handling in app/javascript/core/public.js - app/javascript/styles/fonts/montserrat.scss Upstream fixed local font name, applied those changes. - app/javascript/styles/fonts/roboto.scss Upstream fixed local font name, applied those changes. - lib/mastodon/version.rb Upstream made repo URL configurable, did the same, but default to glitch-soc