- Mar 01, 2018
-
-
Thomas Leister authored
-
- Feb 26, 2018
-
-
Paul Woolcock authored
* Some images can cause `convert` to fail, which crashes this whole task * Add more specific exception
-
Eugen Rochko authored
* Ensure the app does not even start if OTP_SECRET is not set * Remove PAPERCLIP_SECRET (it's not used by anything, actually) Imports are for internal consumption and the url option isn't even used correctly, so we can remove the hash stuff from them
-
- Feb 21, 2018
-
-
takayamaki authored
-
- Feb 11, 2018
-
-
Eugen Rochko authored
* Add better CLI prompt * Add rake mastodon:setup interactive wizard * Test db/redis/smtp configurations and add admin user at the end * Test database connection even when database does not exist yet
-
- Jan 18, 2018
-
-
Eugen Rochko authored
* Fix regeneration key not getting expired * Add rake task to remove old regeneration markers
-
- Jan 15, 2018
-
-
Eugen Rochko authored
-
- Dec 24, 2017
-
-
Eugen Rochko authored
* Add rake task to check and purge accounts that are missing in origin * Add progress bar and --force options to mastodon:maintenance:purge_removed_accounts
-
- Dec 07, 2017
-
-
Akihiko Odaki authored
-
- Nov 11, 2017
-
-
Eugen Rochko authored
* Add moderator role and add pundit policies for admin actions * Add rake task for turning user into mod and revoking it again * Fix handling of unauthorized exception * Deliver new report e-mails to staff, not just admins * Add promote/demote to admin UI, hide some actions conditionally * Fix unused i18n
-
- Nov 08, 2017
-
-
Naoki Kosaka authored
-
- Sep 16, 2017
-
-
Eugen Rochko authored
* When accessing uncached media attachment, redownload it * Prevent re-download of rejected media
-
- Sep 11, 2017
-
-
Eugen Rochko authored
They are marked as read-only by Rails, but we know what we are doing, so we are un-marking them as such. The mastodon:maintenance:update_counter_caches task is not really supposed to be run anymore (it was a one-time thing during an upgrade) however, just in case, I have modified it to not touch ActivityPub accounts. Also, no point writing to logger from these rake tasks, since they are not to be run from cron. Better to give stdout feedback.
-
- Sep 07, 2017
-
-
Joseph Mingrone authored
* Use casecmp() instead of casecmp?() for now casecmp?() is only available in ruby 2.4.0. Users running earlier ruby versions would see errors, e.g., running RAILS_ENV=production rails mastodon:maintenance:remove_deprecated_preview_cards. * Correctly check whether casecmp() returns 0
-
- Sep 03, 2017
-
-
Akihiko Odaki authored
-
Akihiko Odaki authored
The path template of the attached files must explicitly be defined because it is contradicting to the name of the class.
-
- Sep 01, 2017
-
-
Eugen Rochko authored
* Make PreviewCard records reuseable between statuses **Warning!** Migration truncates preview_cards tablec * Allow a wider thumbnail for link preview, display it in horizontal layout (#4648) * Delete preview cards files before truncating * Rename old table instead of truncating it * Add mastodon:maintenance:remove_deprecated_preview_cards * Ignore deprecated_preview_cards in schema definition * Fix null behaviour
-
- Aug 20, 2017
-
-
Eugen Rochko authored
* ActivityPub migration procedure Once one account is detected as going from OStatus to ActivityPub, invalidate WebFinger cache for other accounts from the same domain * Unsubscribe from PuSH updates once we receive an ActivityPub payload * Re-subscribe to PuSH unless already unsubscribed, regardless of protocol
-
- Jul 24, 2017
-
-
Eugen Rochko authored
* Move clean up of unconfirmed users to sidekiq-scheduler * mastodon:daily is now deprecated
-
- Jul 22, 2017
-
-
Eugen Rochko authored
-
- Jul 16, 2017
-
-
unarist authored
* Check table existence on prepare_for_foreign_keys * Remove trailing whitespace
-
- Jul 14, 2017
-
-
Yamagishi Kazutoshi authored
* Add Rake task for generate VAPID key * edit config/initializers/vapid.rb
-
Eugen Rochko authored
-
- Jul 11, 2017
-
-
Eugen Rochko authored
Can be filtered by a specific domain Resolves #2292
-
Eugen Rochko authored
* Redesign the landing page, mount public timeline on it * Adjust the standalone mounted component to the lacking of router * Adjust auth layout pages to new design * Fix tests * Standalone public timeline polling every 5 seconds * Remove now obsolete translations * Add responsive design for new landing page * Address reviews * Add floating clouds behind frontpage form * Use access token from public page when available * Fix mentions and hashtags links, cursor on status content in standalone mode * Add footer link to source code * Fix errors on pages that don't embed the component, use classnames * Fix tests * Change anonymous autoPlayGif default to false * When gif autoplay is disabled, hover to play * Add option to hide the timeline preview * Slightly improve alt layout * Add elephant friend to new frontpage * Display "back to mastodon" in place of "login" when logged in on frontpage * Change polling time to 3s
-
- Jun 27, 2017
-
-
Debanshu Kundu authored
-
- Jun 07, 2017
-
-
Eugen Rochko authored
* Add rake task to prepare database for foreign keys introduced by #3562 * Fix typo * Do not delete OAuth values where NULL values may be permitted * Fix typo
-
- May 20, 2017
-
-
Eugen Rochko authored
sidekiq-scheduler jobs Resolves #2495
-
- May 08, 2017
-
-
Matt Jankowski authored
-
- May 05, 2017
-
-
Eugen Rochko authored
* Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron Fix an issue where / in domain would raise exception in TagManager#normalize_domain PuSH subscriptions refresh done in a round-robin way to avoid hammering a single server's hub in sequence. Correct handling of failures/retries through Sidekiq (see also #2613). Optimize Account#with_followers scope. Also, since subscriptions are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire refreshing operation halfway through Fix #2702 - Correct user agent header on outgoing http requests * Add test for SubscribeService * Extract #expiring_accounts into method * Make mastodon:push:refresh no-op * Queues are now defined in sidekiq.yml * Queues are now in sidekiq.yml
-
- May 04, 2017
-
-
Matt Jankowski authored
* Remove best_in_place * Replace best_in_place usage with rails helpers * Move admin/settings#index to #edit action * Remove click_to__edit from i18n
-
- Apr 29, 2017
-
-
yhirano authored
* downgrade rubocop 0.48.1 => 0.46.0 * exclude vendor/**/* from rubocop target files * add frozen_string_literal comment line * fix percent literal delimited by ( and ) * fix alignment * remove comment disabling unknown cop
-
Patrick Figel authored
Follow-up to #2599. When a domain block with `reject_media` is added or `rake mastodon:media:remove_remote` is invoked, mastodon deletes the locally cached attachments and avatars but does not reflect that change in the database, causing the `file` fields to still have values. This change persists the deletion in the database and sets the attachment type to unknown. This also introduces a one-off rake task that sets all attachments without a local file to the "unknown" type. The upgrade notes for the next release should contain a post-upgrade step with `rake mastodon:media:set_unknown`.
-
- Apr 25, 2017
-
-
esetomo authored
-
Ash Furrow authored
* Adds logging for daily tasks. * Fixes Code Climate issues in #2438.
-
- Apr 17, 2017
-
-
Matt Jankowski authored
* Remove unused method #set_counters_maps from api controller * Remove unused method #set_account_counters_maps from api controller * Remove unused method Account#followers_domains * Remove unused User.prolific scope * Add mastodon:users:admins task to list all admin emails * Use interpolated query style in Account.triadic_closures * Coverage for Account.triadic_closures
-
Eugen authored
Also improve efficiency of the mastodon:maintenance:add_static_avatars task
-
- Apr 16, 2017
- Apr 15, 2017
-
-
Eugen authored
Before it cleared out user records only (e-mail, password) without freeing up the associated username (account record). Furthermore, since these records have no dependent records (due to no user activity) they can be deleted quickly with delete_all instead of destroy
-