bastodon/app
Claire 8569126c2e
Fix upgrade path from 3.4.0 (#16465)
3.4.1 dropped account_stats.lock_version, but in a way breaking the usual
upgrade path by requiring services to be reloaded after the post-migrations.

Indeed, `self.locking_column = nil` was not enough for Rails to ignore the
`lock_version` column when preparing statements on application load, resulting
in some ActiveRecord queries (typically those involving
`includes(:account_stat)`) erroring out with:

  ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR:  column account_stats.lock_version does not exist
2021-07-07 21:13:30 +02:00
..
chewy
controllers Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 2021-07-03 21:13:47 +02:00
helpers Change number_to_human calls to always use 3-digits precision (#16469) 2021-07-07 21:13:08 +02:00
javascript Fix pop-in player display when poster has long username or handle (#16468) 2021-07-05 19:16:06 +02:00
lib Fix some RedisLocks auto-releasing too fast (#16276) 2021-05-19 23:52:08 +02:00
mailers Prepare Mastodon for Rails 6 (#15911) 2021-03-17 10:09:55 +01:00
models Fix upgrade path from 3.4.0 (#16465) 2021-07-07 21:13:30 +02:00
policies Add management of delivery availability in Federation settings (#15771) 2021-05-05 23:39:02 +02:00
presenters Add server rules (#15769) 2021-02-21 19:50:12 +01:00
serializers Fix #16407 (#16432) 2021-06-27 22:31:28 +02:00
services Fix some RedisLocks auto-releasing too fast (#16276) 2021-05-19 23:52:08 +02:00
validators Fix existing username validator not allowing multiple accounts (#16153) 2021-05-04 14:22:04 +02:00
views Change number_to_human calls to always use 3-digits precision (#16469) 2021-07-07 21:13:08 +02:00
workers Fix newlines in accout notes added by the Move handler (#16415) 2021-06-23 23:55:47 +02:00