Skip to content

Commit 55c6677

Browse files
committed
Merge upstream
2 parents 7e9461b + 129e6e9 commit 55c6677

File tree

167 files changed

+2527
-1015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+2527
-1015
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Pull Request Checklist
22

3+
<!-- Mark steps in the checklist as complete by changing `[ ]` to `[X]` -->
34
* [ ] Have you read ["How to write the perfect pull request"](https://github.blog/2015-01-21-how-to-write-the-perfect-pull-request/)?
45
* [ ] Have you read the [contributing guidelines](https://github.com/otwcode/otwarchive/blob/master/CONTRIBUTING.md)?
56
* [ ] Have you added [tests for any changed functionality](https://github.com/otwcode/otwarchive/wiki/Automated-Testing)?
@@ -23,9 +24,11 @@ How can the Archive's QA team verify that this is working as you intended?
2324
If you have a Jira account with access, please update or comment on the issue
2425
with any new or missing testing instructions instead.
2526

27+
You can remove this section if there are already full testing instructions in the Jira issue.
28+
2629
## References
2730

28-
Are there other relevant issues/pull requests/mailing list discussions?
31+
Are there other relevant issues/pull requests/mailing list discussions? If not, you can remove this section.
2932

3033
## Credit
3134

.github/workflows/reviewdog.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
bundler-cache: true
4646

4747
- name: erb-lint
48-
uses: tk0miya/action-erblint@b6e537f4616e4fa7a9eef209ca34ca944e1440dd
48+
uses: tk0miya/action-erblint@44c5fe3552356fe8bff23f30d534aa4258aa3f7b
4949
with:
5050
use_bundler: true
5151
reporter: github-pr-check
52-
fail_on_error: true
52+
fail_level: any

.rubocop.yml

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Metrics/PerceivedComplexity:
8383
Migration/LargeTableSchemaUpdate:
8484
Tables:
8585
- abuse_reports
86+
- active_storage_blobs
8687
- admin_activities
8788
- audits
8889
- bookmarks

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.1.4
1+
ruby-3.2.7

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Please check out our development wiki for more information on:
4242

4343
### Workflow
4444

45-
1. If you're a new contributor, find a task on the [issues reserved for first timers](https://otwarchive.atlassian.net/issues/?filter=13119). Otherwise, or if you're up for a challenge, pick a task from the general [open and unassigned issues](https://otwarchive.atlassian.net/issues/?filter=10800). (If you a new contributor, don't worry about claiming the issue for now. If you make a Jira account, you'll get permissions for claiming issues in step 5.)
45+
1. If you're a new contributor, find a task on the [issues reserved for first timers](https://otwarchive.atlassian.net/issues/?filter=13119). Otherwise, or if you're up for a challenge, pick a task from the general [open and unassigned issues](https://otwarchive.atlassian.net/issues/?filter=10800). (If you're a new contributor, don't worry about claiming the issue for now. If you make a Jira account, you'll get permissions for claiming issues in step 5.)
4646
2. Write code to address the issue.
4747
3. Optional: Create a Jira account if you'd like the ability to comment on, assign, and transition issues. Please make sure the Full Name on your Jira account either closely matches the name you'd like us to credit in the release notes or includes it in parentheses, e.g. "Nickname (CREDIT NAME)."
4848
4. Submit the code with a pull request following the checklist on [our template](https://github.com/otwcode/otwarchive/blob/master/.github/PULL_REQUEST_TEMPLATE.md).

Gemfile

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
source 'https://rubygems.org'
22

3-
ruby "3.1.4"
3+
ruby "~> 3.2.7"
44

55
gem 'test-unit', '~> 3.2'
66

77
gem 'bundler'
88

9-
gem "rails", "~> 7.0.8"
9+
gem "rails", "~> 7.1"
1010
gem "rails-i18n"
1111
gem "rack", "~> 2.2"
1212
gem "sprockets", "< 4"
@@ -37,6 +37,7 @@ gem 'unicode_utils', '>=1.4.0'
3737
gem "lograge" # https://github.com/roidrage/lograge
3838

3939
gem 'will_paginate', '>=3.0.2'
40+
gem "pagy", "~> 9.3"
4041
gem 'acts_as_list', '~> 0.9.7'
4142
gem 'akismetor'
4243

@@ -83,9 +84,7 @@ gem 'timeliness'
8384
gem 'google_visualr', git: 'https://github.com/winston/google_visualr'
8485

8586
# Globalize for translations
86-
# Must use master branch and activemodel-serializers-xml for Rails 5 upgrade
87-
gem 'globalize', git: 'https://github.com/globalize/globalize'
88-
gem 'activemodel-serializers-xml'
87+
gem "globalize", "~> 7.0"
8988

9089
# Add a clean notifier that shows we are on dev or test
9190
gem 'rack-dev-mark', '>=0.7.8'
@@ -108,10 +107,10 @@ gem 'kgio', '2.10.0'
108107
gem "marcel", "1.0.2"
109108

110109
# Library for helping run pt-online-schema-change commands:
111-
gem "departure", "~> 6.5"
110+
gem "departure", "~> 6.7"
112111

113-
# Ruby 3.1 means we need to specify a version of mail until we get to rails 7.x
114-
gem "mail", ">= 2.8"
112+
gem "rack-timeout"
113+
gem "puma_worker_killer"
115114

116115
group :test do
117116
gem "rspec-rails", "~> 6.0"

0 commit comments

Comments
 (0)