Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from opf:dev #224

Merged
merged 17 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
cccf05c
build(deps-dev): bump @types/jquery from 3.5.29 to 3.5.30 in /frontend
dependabot[bot] May 9, 2024
c360856
build(deps): bump zone.js from 0.14.4 to 0.14.5 in /frontend
dependabot[bot] May 9, 2024
a63322c
update locales from crowdin [ci skip]
openprojectci May 10, 2024
3b77946
update locales from crowdin [ci skip]
openprojectci May 10, 2024
223f633
Merge branch 'release/14.0' into dev
openprojectci May 10, 2024
2266a53
build(deps): bump appsignal from 3.7.2 to 3.7.4
dependabot[bot] May 10, 2024
7d0d980
build(deps-dev): bump rubocop from 1.63.4 to 1.63.5
dependabot[bot] May 10, 2024
c5b677e
build(deps-dev): bump i18n-tasks from 1.0.13 to 1.0.14
dependabot[bot] May 10, 2024
7186116
build(deps): bump the angular group in /frontend with 13 updates
dependabot[bot] May 10, 2024
540c0b1
Merge pull request #15512 from opf/dependabot/bundler/dev/appsignal-3…
dombesz May 10, 2024
16f3170
Merge pull request #15513 from opf/dependabot/bundler/dev/rubocop-1.63.5
dombesz May 10, 2024
1cd757f
Merge pull request #15514 from opf/dependabot/bundler/dev/i18n-tasks-…
dombesz May 10, 2024
bf24000
Merge pull request #15510 from opf/dependabot/npm_and_yarn/frontend/d…
dombesz May 10, 2024
e73c55a
Merge pull request #15509 from opf/dependabot/npm_and_yarn/frontend/d…
dombesz May 10, 2024
b9cbdb5
Merge pull request #15508 from opf/dependabot/npm_and_yarn/frontend/d…
dombesz May 10, 2024
3dffd26
add missing schema_cache.yml and structure.sql
machisuji May 10, 2024
60b39b9
Bump version to 14.2
cbliard May 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ GEM
airbrake-ruby (6.2.2)
rbtree3 (~> 0.6)
android_key_attestation (0.3.0)
appsignal (3.7.2)
appsignal (3.7.4)
rack
ast (2.4.2)
attr_required (1.0.2)
Expand Down Expand Up @@ -622,10 +622,9 @@ GEM
i18n-js (4.2.3)
glob (>= 0.4.0)
i18n
i18n-tasks (1.0.13)
i18n-tasks (1.0.14)
activesupport (>= 4.0.2)
ast (>= 2.1.0)
better_html (>= 1.0, < 3.0)
erubi
highline (>= 2.0.0)
i18n
Expand Down Expand Up @@ -927,7 +926,7 @@ GEM
redis-client (0.22.1)
connection_pool
regexp_parser (2.9.0)
reline (0.5.5)
reline (0.5.6)
io-console (~> 0.5)
representable (3.2.0)
declarative (< 0.1.0)
Expand Down Expand Up @@ -968,7 +967,7 @@ GEM
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.13.1)
rubocop (1.63.4)
rubocop (1.63.5)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down
12 changes: 6 additions & 6 deletions config/locales/crowdin/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ lt:
no_results_title_text: Šis projektas papildomos vietos diske nenaudoja.
lists:
create:
success: "The modified list has been saved as a new list"
failure: "The modified list cannot be saved: %{errors}"
success: "Pakeistas sąrašas įrašytas kaip naujas sąrašas"
failure: "Nepavyksta įrašyti pakeisto sąrašo: %{errors}"
update:
success: "The modified list has been saved"
failure: "The modified list cannot be saved: %{errors}"
can_be_saved: "List modified:"
can_be_saved_as: "The modifications can only be saved in a new list:"
success: "Pakeistas sąrašas buvo įrašytas"
failure: "Nepavyksta įrašyti pakeisto sąrašo: %{errors}"
can_be_saved: "Sąrašas pakeistas:"
can_be_saved_as: "Pakeitimus galima įrašyti tik į naują sąrašą:"
members:
index:
no_results_title_text: Nėra nė vieno šio projekto dalyvio.
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ ms:
grids/grid:
page: "Halaman"
row_count: "Bilangan baris"
column_count: "Bilangan lajur"
column_count: "Bilangan kolum"
widgets: "Widget"
oauth_client:
client: "ID pelanggan"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ zh-TW:
subject: "%{user_name} 在「 #%{id} - %{subject} 」提到您"
notification:
center: "顯示通知中心"
see_in_center: "See comment in notification center"
see_in_center: "詳見通知中心留言"
settings: "更改電子郵件設定"
salutation: "%{user} 您好"
salutation_full_name: "全名"
Expand Down
19 changes: 19 additions & 0 deletions docker/prod/setup/postinstall-onprem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@ apt-get install -y \
service postgresql stop
rm -rf /var/lib/postgresql/{$CURRENT_PGVERSION,$NEXT_PGVERSION}

# create schema_cache.yml and db/structure.sql

su - postgres -c "$PGBIN/initdb -D /tmp/nulldb"
su - postgres -c "$PGBIN/pg_ctl -D /tmp/nulldb -l /dev/null -l /tmp/nulldb/log -w start"

# give some more time for DB to start
sleep 5

echo "create database structure; create user structure with encrypted password 'p4ssw0rd'; grant all privileges on database structure to structure;" | su - postgres -c psql

# dump schema
DATABASE_URL=postgres://structure:p4ssw0rd@127.0.0.1/structure RAILS_ENV=production bundle exec rake db:migrate db:schema:dump db:schema:cache:dump

# this line requires superuser rights, which is not always available and doesn't matter anyway
sed -i '/^COMMENT ON EXTENSION/d' db/structure.sql

su - postgres -c "$PGBIN/pg_ctl -D /tmp/nulldb stop"
rm -rf /tmp/nulldb

a2enmod proxy proxy_http
rm -f /etc/apache2/sites-enabled/000-default.conf

Expand Down
Loading
Loading