Skip to content
Snippets Groups Projects
  1. Aug 25, 2022
  2. Apr 19, 2022
  3. Apr 07, 2022
  4. Mar 28, 2022
  5. Jan 24, 2022
  6. Jan 13, 2022
  7. Oct 14, 2021
  8. Apr 19, 2021
  9. Apr 13, 2021
  10. Mar 24, 2021
    • Claire's avatar
      Update Mastodon to Rails 6.1 (#15910) · cbd0ee1d
      Claire authored
      * Update devise-two-factor to unreleased fork for Rails 6 support
      
      Update tests to match new `rotp` version.
      
      * Update nsa gem to unreleased fork for Rails 6 support
      
      * Update rails to 6.1.3 and rails-i18n to 6.0
      
      * Update to unreleased fork of pluck_each for Ruby 6 support
      
      * Run "rails app:update"
      
      * Add missing ActiveStorage config file
      
      * Use config.ssl_options instead of removed ApplicationController#force_ssl
      
      Disabled force_ssl-related tests as they do not seem to be easily testable
      anymore.
      
      * Fix nonce directives by removing Rails 5 specific monkey-patching
      
      * Fix fixture_file_upload deprecation warning
      
      * Fix yield-based test failing with Rails 6
      
      * Use Rails 6's index_with when possible
      
      * Use ActiveRecord::Cache::Store#delete_multi from Rails 6
      
      This will yield better performances when deleting an account
      
      * Disable Rails 6.1's automatic preload link headers
      
      Since Rails 6.1, ActionView adds preload links for javascript files
      in the Links header per default.
      
      In our case, that will bloat headers too much and potentially cause
      issues with reverse proxies. Furhermore, we don't need those links,
      as we already output them as HTML link tags.
      
      * Switch to Rails 6.0 default config
      
      * Switch to Rails 6.1 default config
      
      * Do not include autoload paths in the load path
      Unverified
      cbd0ee1d
  11. Mar 17, 2021
    • Claire's avatar
      Prepare Mastodon for Rails 6 (#15911) · 43eff898
      Claire authored
      * Fix misuse of foreign_type
      
      * Fix use of removed "add_template_helper"
      
      * Use response.media_type instead of response.content_type in tests
      
      * Fix CSV export controller test on Rails 6
      
      Rails 6 sets a "filename*" field in the Content-Disposition header to
      explicitly encode the filename as UTF-8.
      
      This changes checks the first part of the Content-Disposition header so
      it matches in both Rails 5 and Rails 6.
      
      * Fix emoji formatting with Rails 6
      
      * Make emoji output more idiomatic and robust
      
      * Switch from redis-rails gem to built-in Rails redis cache storage
      Unverified
      43eff898
  12. Jul 15, 2020
  13. Sep 02, 2019
  14. Aug 18, 2019
  15. Oct 12, 2018
  16. Oct 04, 2018
    • aus-social's avatar
      lint pass 2 (#8878) · 0a4739c7
      aus-social authored
      * Code quality pass
      
      * Typofix
      
      * Update applications_controller_spec.rb
      
      * Update applications_controller_spec.rb
      0a4739c7
  17. Apr 26, 2018
  18. Apr 12, 2018
  19. Mar 20, 2018
  20. Mar 04, 2018
  21. Feb 27, 2018
  22. Sep 29, 2017
  23. Sep 09, 2017
  24. Jul 16, 2017
  25. Jul 06, 2017
    • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
      Set default From address in config (#3756) · 20830000
      Akihiko Odaki (@fn_aki@pawoo.net) authored
      The old implementation sets default From address in mailers. It sets
      the address from SMTP_FROM_ADDRESS, or notifications@localhost. The
      behavior is occasionally undesired results.
      
      In production environment, notifications@localhost is likely to be
      incorrect.
      In testing environment, the email address should not be varied by a
      environment variable.
      
      After appling this change,
      
      In production environment, it will throw an exception when launching
      Mastodon.
      In testing environment, the address will be fixed with
      notifications@localhost.
      20830000
  26. Jun 08, 2017
  27. Jun 01, 2017
    • Matt Jankowski's avatar
      Update Rails to version 5.1.1 (#3121) · 2212dc4a
      Matt Jankowski authored
      * Update rails to version 5.1.1
      
      * Run `rails app:update`
      
      * Remove the override of polymorphic activity relationship
      
      * Silence warning about otp_secret attribute being unknown to rails
      
      * We will only introduce form_with where we want to use remote data
      2212dc4a
  28. May 22, 2017
  29. May 09, 2017
  30. May 06, 2017
  31. May 03, 2017
    • Eugen Rochko's avatar
      Clean up redis configuration. Allow using REDIS_URL to set advanced (#2732) · c9970911
      Eugen Rochko authored
      connection options instead of setting REDIS_HOST etc individually
      
      Close #1986
      c9970911
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      Eugen Rochko authored
      * Replace browserify with webpack
      
      * Add react-intl-translations-manager
      
      * Do not minify in development, add offline-plugin for ServiceWorker background cache updates
      
      * Adjust tests and dependencies
      
      * Fix production deployments
      
      * Fix tests
      
      * More optimizations
      
      * Improve travis cache for npm stuff
      
      * Re-run travis
      
      * Add back support for custom.scss as before
      
      * Remove offline-plugin and babili
      
      * Fix issue with Immutable.List().unshift(...values) not working as expected
      
      * Make travis load schema instead of running all migrations in sequence
      
      * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
      React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
      <UI />
      
      * Add react definitions to places that use JSX
      
      * Add Procfile.dev for running rails, webpack and streaming API at the same time
      f5bf5ebb
  32. May 02, 2017
  33. Apr 24, 2017
  34. Apr 23, 2017
  35. Apr 20, 2017
  36. Apr 17, 2017
    • Miguel Jacq's avatar
      Allow using an SMTP server without authentication (#1597) · e9eaf9e3
      Miguel Jacq authored
      * Allow using an SMTP server without authentication (e.g Postfix relay on the same host) by setting SMTP_LOGIN and SMTP_AUTH_METHOD to 'none'
      
      * Add note in .env.production.sample about SMTP settings for servers where no auth is required
      
      * Assume that SMTP_LOGIN and SMTP_PASSWORD will be blank if we set SMTP_AUTH_METHOD to none
      e9eaf9e3
  37. Apr 15, 2017
  38. Apr 14, 2017
Loading