- Aug 25, 2022
-
-
Arya K authored
-
- Apr 19, 2022
-
-
Yamagishi Kazutoshi authored
-
- Apr 07, 2022
-
-
Eugen Rochko authored
-
- Mar 28, 2022
-
-
Eugen Rochko authored
-
- Jan 24, 2022
-
-
Wonderfall authored
Browsers are phasing out X-XSS-Protection, but Safari and IE still support it.
-
- Jan 13, 2022
-
-
tkr authored
#17215
-
- Oct 14, 2021
-
-
Sandro authored
Co-Authored-By:
Yamagishi Kazutoshi <ykzts@desire.sh> Co-authored-by:
Yamagishi Kazutoshi <ykzts@desire.sh>
-
- Apr 19, 2021
-
-
Claire authored
* Add Message-ID header to outgoing emails * Use email domain name from SMTP_FROM_ADDRESS, fallback on WEB_DOMAIN on failure * Use notifications@localhost as fallback for SMTP_FROM_ADDRESS, do not catch parse errors
-
- Apr 13, 2021
-
-
Claire authored
Fixes #16034
-
- Mar 24, 2021
-
-
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
-
- Mar 17, 2021
-
-
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
-
- Jul 15, 2020
-
-
Tdxdxoz authored
-
- Sep 02, 2019
-
-
Hugo Gameiro authored
* Add SMTP_REPLY_TO in .env.production.sample * Set reply_to in SMTP options
-
- Aug 18, 2019
-
-
Eugen Rochko authored
-
- Oct 12, 2018
-
-
Eugen Rochko authored
Regression from #8942
-
- Oct 04, 2018
-
-
aus-social authored
* Code quality pass * Typofix * Update applications_controller_spec.rb * Update applications_controller_spec.rb
-
- Apr 26, 2018
-
-
Eugen Rochko authored
* Add support for separate Redis for cache CACHE_REDIS_URL to allow using a different Redis server for cache purposes, with cache-specific configuration such as key eviction * Fix code style issues
-
- Apr 12, 2018
-
-
Yamagishi Kazutoshi authored
-
- Mar 20, 2018
-
-
Akihiko Odaki authored
-
- Mar 04, 2018
-
-
Akihiko Odaki authored
-
- Feb 27, 2018
-
-
beatrix authored
-
- Sep 29, 2017
-
-
Eugen Rochko authored
-
- Sep 09, 2017
-
-
Yamagishi Kazutoshi authored
-
- Jul 16, 2017
-
-
Eugen Rochko authored
-
- Jul 06, 2017
-
-
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.
-
- Jun 08, 2017
-
-
nullkal authored
* Support multiple trusted proxy ip addresses * correct coding style
-
- Jun 01, 2017
-
-
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
-
- May 22, 2017
-
-
Clworld authored
* Set config.cache_store in application.rb * Set config.cache_store in environments. * fix code format.
-
- May 09, 2017
-
-
alpaca-tc authored
-
- May 06, 2017
-
-
Eugen Rochko authored
* Fix Scheduler::SubscriptionsScheduler, add worker test for it * Change production log level of Sidekiq to "warn" instead of "info"
-
- May 03, 2017
-
-
Eugen Rochko authored
connection options instead of setting REDIS_HOST etc individually Close #1986
-
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
-
- May 02, 2017
-
-
Akihiko Odaki authored
-
- Apr 24, 2017
-
-
Matt Jankowski authored
-
- Apr 23, 2017
-
-
Matt Jankowski authored
-
Matt Jankowski authored
The force_ssl method from controllers does not add all of the options that the sitewide configuration in a config block does. For example, HSTS enforcement is not added by the controller method, but is added by this style.
-
- Apr 20, 2017
-
-
Miguel Jacq authored
Send nil for SMTP_LOGIN or SMTP_PASSWORD if it was left blank in the envfile, otherwise Ruby still attempts auth even if SMTP_AUTH_METHOD is none (#2180)
-
- Apr 17, 2017
-
-
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
-
- Apr 15, 2017
-
-
Les Orchard authored
-
- Apr 14, 2017
-
-
Effy Elden authored
Modify ActionMailer configuration to default to ENV['LOCAL_DOMAIN'] if ENV['SMTP_DOMAIN'] is not set. The previous fallback, config.x.local_domain, is undefined when the code is called. (#1745)
-