diff --git a/.github/workflows/crowdin-download-stable.yml b/.github/workflows/crowdin-download-stable.yml index 3b77417ca4..f740666843 100644 --- a/.github/workflows/crowdin-download-stable.yml +++ b/.github/workflows/crowdin-download-stable.yml @@ -64,7 +64,7 @@ jobs: This PR will be updated every day with new translations. Due to a limitation in GitHub Actions, checks are not running on this PR without manual action. - If you want to run the checks, then close and re-open it. + If you want to run the checks, then please press “Approve workflows to run”. branch: i18n/crowdin/translations-${{ github.base_ref || github.ref_name }} base: ${{ github.base_ref || github.ref_name }} labels: i18n diff --git a/.github/workflows/crowdin-download.yml b/.github/workflows/crowdin-download.yml index 4a5446f994..61b7337b3b 100644 --- a/.github/workflows/crowdin-download.yml +++ b/.github/workflows/crowdin-download.yml @@ -66,7 +66,7 @@ jobs: This PR will be updated every day with new translations. Due to a limitation in GitHub Actions, checks are not running on this PR without manual action. - If you want to run the checks, then close and re-open it. + If you want to run the checks, then please press “Approve workflows to run”. branch: i18n/crowdin/translations base: main labels: i18n diff --git a/Gemfile.lock b/Gemfile.lock index 8bc53b035a..54a852948b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -452,7 +452,7 @@ GEM minitest (6.0.6) drb (~> 2.0) prism (~> 1.5) - msgpack (1.8.1) + msgpack (1.8.3) multi_json (1.21.1) mutex_m (0.3.0) net-http (0.9.1) diff --git a/config/locales/hu.yml b/config/locales/hu.yml index e2dd96de0c..87720ee4f9 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -1935,6 +1935,7 @@ hu: next: Következő older: Régebbi prev: Előző + truncate_html: "…" polls: errors: already_voted: Ezen a szavazáson már voksoltál diff --git a/config/locales/is.yml b/config/locales/is.yml index b440dd3980..d9adc47923 100644 --- a/config/locales/is.yml +++ b/config/locales/is.yml @@ -1939,6 +1939,7 @@ is: next: Næsta older: Eldra prev: Fyrra + truncate_html: "…" polls: errors: already_voted: Þú hefur þegar greitt atkvæði í þessari könnun diff --git a/config/locales/nn.yml b/config/locales/nn.yml index 081690f5dc..0b4c9e7e9d 100644 --- a/config/locales/nn.yml +++ b/config/locales/nn.yml @@ -1935,6 +1935,7 @@ nn: next: Neste older: Eldre prev: Førre + truncate_html: "…" polls: errors: already_voted: Du har allereie røysta i denne rundspørjinga diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 7da1154676..26694769c4 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -1935,6 +1935,7 @@ tr: next: Sonraki older: Daha eski prev: Önceki + truncate_html: "…" polls: errors: already_voted: Bu ankete daha önce oy verdiniz diff --git a/db/migrate/20260629124055_add_new_index_on_uri_to_keypairs.rb b/db/migrate/20260629124055_add_new_index_on_uri_to_keypairs.rb deleted file mode 100644 index ba40bc0979..0000000000 --- a/db/migrate/20260629124055_add_new_index_on_uri_to_keypairs.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -class AddNewIndexOnUriToKeypairs < ActiveRecord::Migration[8.1] - disable_ddl_transaction! - - def change - add_index :keypairs, :uri, name: :index_keypairs_on_non_null_uri, unique: true, where: 'uri IS NOT NULL', algorithm: :concurrently - end -end diff --git a/db/migrate/20260629124613_remove_old_index_on_uri_from_keypair.rb b/db/migrate/20260629124613_remove_old_index_on_uri_from_keypair.rb deleted file mode 100644 index 42b507b4a9..0000000000 --- a/db/migrate/20260629124613_remove_old_index_on_uri_from_keypair.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -class RemoveOldIndexOnUriFromKeypair < ActiveRecord::Migration[8.1] - disable_ddl_transaction! - - def change - remove_index :keypairs, :uri, name: :index_keypairs_on_uri, unique: true, algorithm: :concurrently - end -end diff --git a/db/migrate/20260630070531_revert_add_new_index_on_uri_to_keypairs.rb b/db/migrate/20260630070531_revert_add_new_index_on_uri_to_keypairs.rb new file mode 100644 index 0000000000..5be306bb35 --- /dev/null +++ b/db/migrate/20260630070531_revert_add_new_index_on_uri_to_keypairs.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class RevertAddNewIndexOnUriToKeypairs < ActiveRecord::Migration[8.1] + disable_ddl_transaction! + + def up + return unless index_exists?(:keypairs, :uri, name: :index_keypairs_on_non_null_uri) + + remove_index :keypairs, :uri, name: :index_keypairs_on_non_null_uri + end + + def down; end +end diff --git a/db/migrate/20260630070600_revert_remove_old_index_on_uri_from_keypair.rb b/db/migrate/20260630070600_revert_remove_old_index_on_uri_from_keypair.rb new file mode 100644 index 0000000000..c8b289944f --- /dev/null +++ b/db/migrate/20260630070600_revert_remove_old_index_on_uri_from_keypair.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class RevertRemoveOldIndexOnUriFromKeypair < ActiveRecord::Migration[8.1] + disable_ddl_transaction! + + def up + return if index_exists?(:keypairs, :uri, name: :index_keypairs_on_uri) + + add_index :keypairs, :uri, name: :index_keypairs_on_uri, unique: true, algorithm: :concurrently + end + + def down; end +end diff --git a/db/schema.rb b/db/schema.rb index 43ce595195..9d22d8cc8b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.1].define(version: 2026_06_29_125939) do +ActiveRecord::Schema[8.1].define(version: 2026_06_30_070600) do # These are extensions that must be enabled in order to support this database enable_extension "pg_catalog.plpgsql" @@ -714,7 +714,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_06_29_125939) do t.string "uri" t.index ["account_id", "local_fragment"], name: "index_keypairs_on_account_id_and_local_fragment", unique: true, where: "(local_fragment IS NOT NULL)" t.index ["account_id"], name: "index_keypairs_on_account_id" - t.index ["uri"], name: "index_keypairs_on_non_null_uri", unique: true, where: "(uri IS NOT NULL)" + t.index ["uri"], name: "index_keypairs_on_uri", unique: true end create_table "list_accounts", force: :cascade do |t|