Skip to content

Commit f9fba39

Browse files
authored
Merge pull request #829 from portagenetwork/integration
Merge `integration` For Upcoming Release v4.1.2
2 parents e77f291 + 965b0a6 commit f9fba39

7 files changed

+72
-43
lines changed

CHANGELOG.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
# Changelog
22

3-
## [4.1.1+portage-4.1.0] - 2024-07-08
3+
## [Unreleased]
4+
5+
### Changed
6+
7+
- Use "id" instead of "name" for `default_funder` Org [#814](https://github.com/portagenetwork/roadmap/pull/814)
8+
9+
- Bump jwt from 2.7.1 to 2.8.2 [#803](https://github.com/portagenetwork/roadmap/pull/803)
10+
11+
- Bump cssbundling-rails from 1.3.3 to 1.4.0 [#796](https://github.com/portagenetwork/roadmap/pull/796)
12+
13+
- Bump devise from 4.9.3 to 4.9.4 [#822](https://github.com/portagenetwork/roadmap/pull/822)
14+
15+
- Bump omniauth-rails_csrf_protection from 1.0.1 to 1.0.2 [#802](https://github.com/portagenetwork/roadmap/pull/802)
16+
17+
- Bump pundit from 2.3.1 to 2.3.2 [#786](https://github.com/portagenetwork/roadmap/pull/786)
18+
19+
- Bump rollbar from 3.5.1 to 3.5.2 [#784](https://github.com/portagenetwork/roadmap/pull/784)
20+
21+
- Bump socket.io from 4.6.1 to 4.7.5 [#804](https://github.com/portagenetwork/roadmap/pull/804)
22+
23+
- Bump tinymce from 7.0.0 to 7.2.0 [#801](https://github.com/portagenetwork/roadmap/pull/801)
24+
25+
## [4.1.1+portage-4.1.0] - 2024-07-08, [4.1.1+portage-4.1.1] - 2024-07-09
426

527
### Added
628

Gemfile.lock

+14-13
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ GEM
9898
msgpack (~> 1.2)
9999
brakeman (6.1.2)
100100
racc
101-
builder (3.2.4)
101+
builder (3.3.0)
102102
bullet (7.1.6)
103103
activesupport (>= 3.0.0)
104104
uniform_notifier (~> 1.11)
@@ -124,7 +124,7 @@ GEM
124124
open4 (~> 1.3)
125125
coderay (1.1.3)
126126
colored2 (3.1.2)
127-
concurrent-ruby (1.3.1)
127+
concurrent-ruby (1.3.3)
128128
contact_us (1.2.0)
129129
rails (>= 4.2.0)
130130
cork (0.3.0)
@@ -133,7 +133,7 @@ GEM
133133
bigdecimal
134134
rexml
135135
crass (1.0.6)
136-
cssbundling-rails (1.3.3)
136+
cssbundling-rails (1.4.0)
137137
railties (>= 6.0.0)
138138
danger (9.4.3)
139139
claide (~> 1.0)
@@ -156,7 +156,7 @@ GEM
156156
database_cleaner-core (2.0.1)
157157
date (3.3.4)
158158
debug_inspector (1.2.0)
159-
devise (4.9.3)
159+
devise (4.9.4)
160160
bcrypt (~> 3.0)
161161
orm_adapter (~> 0.1)
162162
railties (>= 4.1.0)
@@ -179,7 +179,7 @@ GEM
179179
fog-aws
180180
ecma-re-validator (0.4.0)
181181
regexp_parser (~> 2.2)
182-
erubi (1.12.0)
182+
erubi (1.13.0)
183183
excon (0.104.0)
184184
execjs (2.9.1)
185185
factory_bot (6.2.1)
@@ -263,7 +263,8 @@ GEM
263263
regexp_parser (~> 2.0)
264264
simpleidn (~> 0.2)
265265
uri_template (~> 0.7)
266-
jwt (2.7.1)
266+
jwt (2.8.2)
267+
base64
267268
kaminari (1.2.2)
268269
activesupport (>= 4.1.0)
269270
kaminari-actionview (= 1.2.2)
@@ -306,7 +307,7 @@ GEM
306307
nokogiri (~> 1)
307308
rake
308309
mini_mime (1.1.5)
309-
minitest (5.23.1)
310+
minitest (5.24.1)
310311
mocha (2.1.0)
311312
ruby2_keywords (>= 0.0.5)
312313
msgpack (1.7.2)
@@ -328,9 +329,9 @@ GEM
328329
net-protocol
329330
nio4r (2.7.0)
330331
no_proxy_fix (0.1.2)
331-
nokogiri (1.16.5-arm64-darwin)
332+
nokogiri (1.16.6-arm64-darwin)
332333
racc (~> 1.4)
333-
nokogiri (1.16.5-x86_64-linux)
334+
nokogiri (1.16.6-x86_64-linux)
334335
racc (~> 1.4)
335336
notiffany (0.1.3)
336337
nenv (~> 0.1)
@@ -356,7 +357,7 @@ GEM
356357
omniauth-orcid (2.1.1)
357358
omniauth-oauth2 (~> 1.3)
358359
ruby_dig (~> 0.0.2)
359-
omniauth-rails_csrf_protection (1.0.1)
360+
omniauth-rails_csrf_protection (1.0.2)
360361
actionpack (>= 4.2)
361362
omniauth (~> 2.0)
362363
omniauth-shibboleth (1.3.0)
@@ -381,7 +382,7 @@ GEM
381382
public_suffix (5.0.5)
382383
puma (6.4.2)
383384
nio4r (~> 2.0)
384-
pundit (2.3.1)
385+
pundit (2.3.2)
385386
activesupport (>= 3.0.0)
386387
pundit-matchers (2.0.0)
387388
rspec-rails (>= 3.0.0)
@@ -441,7 +442,7 @@ GEM
441442
railties (>= 5.2)
442443
rexml (3.2.8)
443444
strscan (>= 3.0.9)
444-
rollbar (3.5.1)
445+
rollbar (3.5.2)
445446
rouge (4.1.3)
446447
rspec-collection_matchers (1.2.1)
447448
rspec-expectations (>= 2.99.0.beta1)
@@ -564,7 +565,7 @@ GEM
564565
yard-tomdoc (0.7.1)
565566
tomparse (>= 0.4.0)
566567
yard
567-
zeitwerk (2.6.15)
568+
zeitwerk (2.6.16)
568569

569570
PLATFORMS
570571
arm64-darwin-21

app/controllers/template_options_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def index
1717
authorize Template.new, :template_options?
1818

1919
org = org_from_params(params_in: { org_id: org_hash.to_json }) if org_hash.present?
20-
funder = Org.find_by(name: Rails.application.config.default_funder_name)
20+
funder = Org.find(Rails.application.config.default_funder_id)
2121

2222
@templates = []
2323

config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ class Application < Rails::Application
108108
# removed the option for selecting a funder. A funder is needed to show the
109109
# customized templates. For this reason we are specifying in the
110110
# documentation the funder that
111-
config.default_funder_name = Rails.application.secrets.default_funder_name
111+
config.default_funder_id = Rails.application.secrets.default_funder_id.to_i
112112
end
113113
end

config/secrets.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test:
3030
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
3131
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
3232
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
33-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
33+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
3434
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
3535
test_password: <%= ENV["TEST_PASSWORD"] %>
3636
user_password: <%= ENV["USER_PASSWORD"] %>
@@ -61,7 +61,7 @@ development:
6161
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
6262
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
6363
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
64-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
64+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
6565
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
6666
test_password: <%= ENV["TEST_PASSWORD"] %>
6767
user_password: <%= ENV["USER_PASSWORD"] %>
@@ -101,7 +101,7 @@ staging:
101101
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
102102
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
103103
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
104-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
104+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
105105
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
106106
test_password: <%= ENV["TEST_PASSWORD"] %>
107107
user_password: <%= ENV["USER_PASSWORD"] %>
@@ -141,7 +141,7 @@ uat:
141141
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
142142
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
143143
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
144-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
144+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
145145
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
146146
test_password: <%= ENV["TEST_PASSWORD"] %>
147147
user_password: <%= ENV["USER_PASSWORD"] %>
@@ -181,7 +181,7 @@ sandbox:
181181
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
182182
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
183183
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
184-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
184+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
185185
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
186186
test_password: <%= ENV["TEST_PASSWORD"] %>
187187
user_password: <%= ENV["USER_PASSWORD"] %>
@@ -221,7 +221,7 @@ production:
221221
translation_io_api_key: <%= ENV['TRANSLATION_IO_API_KEY'] %>
222222
wicked_pdf_path: <%= ENV['WICKED_PDF_PATH'] %>
223223
wicked_pdf_proxy: <%= ENV['WICKED_PDF_PROXY'] %>
224-
default_funder_name: <%= ENV['DEFAULT_FUNDER_NAME'] %>
224+
default_funder_id: <%= ENV['DEFAULT_FUNDER_ID'] %>
225225
super_admin_password: <%= ENV["SUPER_ADMIN_PASSWORD"] %>
226226
test_password: <%= ENV["TEST_PASSWORD"] %>
227227
user_password: <%= ENV["USER_PASSWORD"] %>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"regenerator-runtime": "^0.13.5",
6161
"sass": "^1.57.1",
6262
"timeago.js": "^4.0.2",
63-
"tinymce": "^7.0.0",
63+
"tinymce": "^7.2.0",
6464
"webpack": "^5.75.0",
6565
"webpack-cli": "^5.0.1"
6666
},

yarn.lock

+26-20
Original file line numberDiff line numberDiff line change
@@ -2005,15 +2005,15 @@ encodeurl@~1.0.2:
20052005
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
20062006
integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==
20072007

2008-
engine.io-parser@~5.0.3:
2009-
version "5.0.6"
2010-
resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.0.6.tgz#7811244af173e157295dec9b2718dfe42a64ef45"
2011-
integrity sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==
2008+
engine.io-parser@~5.2.1:
2009+
version "5.2.3"
2010+
resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.2.3.tgz#00dc5b97b1f233a23c9398d0209504cf5f94d92f"
2011+
integrity sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==
20122012

2013-
engine.io@~6.4.1:
2014-
version "6.4.2"
2015-
resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-6.4.2.tgz#ffeaf68f69b1364b0286badddf15ff633476473f"
2016-
integrity sha512-FKn/3oMiJjrOEOeUub2WCox6JhxBXq/Zn3fZOMCBxKnNYtsdKjxhl7yR3fZhM9PV+rdE75SU5SYMc+2PGzo+Tg==
2013+
engine.io@~6.5.2:
2014+
version "6.5.5"
2015+
resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-6.5.5.tgz#430b80d8840caab91a50e9e23cb551455195fc93"
2016+
integrity sha512-C5Pn8Wk+1vKBoHghJODM63yk8MvrO9EWZUfkAt5HAqIgPE4/8FF0PEGHXtEd40l223+cE5ABWuPzm38PHFXfMA==
20172017
dependencies:
20182018
"@types/cookie" "^0.4.1"
20192019
"@types/cors" "^2.8.12"
@@ -2023,8 +2023,8 @@ engine.io@~6.4.1:
20232023
cookie "~0.4.1"
20242024
cors "~2.8.5"
20252025
debug "~4.3.1"
2026-
engine.io-parser "~5.0.3"
2027-
ws "~8.11.0"
2026+
engine.io-parser "~5.2.1"
2027+
ws "~8.17.1"
20282028

20292029
enhanced-resolve@^5.10.0:
20302030
version "5.12.0"
@@ -3694,7 +3694,7 @@ socket.io-adapter@~2.5.2:
36943694
dependencies:
36953695
ws "~8.11.0"
36963696

3697-
socket.io-parser@~4.2.1:
3697+
socket.io-parser@~4.2.4:
36983698
version "4.2.4"
36993699
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.4.tgz#c806966cf7270601e47469ddeec30fbdfda44c83"
37003700
integrity sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==
@@ -3703,16 +3703,17 @@ socket.io-parser@~4.2.1:
37033703
debug "~4.3.1"
37043704

37053705
socket.io@^4.4.1:
3706-
version "4.6.1"
3707-
resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.6.1.tgz#62ec117e5fce0692fa50498da9347cfb52c3bc70"
3708-
integrity sha512-KMcaAi4l/8+xEjkRICl6ak8ySoxsYG+gG6/XfRCPJPQ/haCRIJBTL4wIl8YCsmtaBovcAXGLOShyVWQ/FG8GZA==
3706+
version "4.7.5"
3707+
resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.7.5.tgz#56eb2d976aef9d1445f373a62d781a41c7add8f8"
3708+
integrity sha512-DmeAkF6cwM9jSfmp6Dr/5/mfMwb5Z5qRrSXLpo3Fq5SqyU8CMF15jIN4ZhfSwu35ksM1qmHZDQ/DK5XTccSTvA==
37093709
dependencies:
37103710
accepts "~1.3.4"
37113711
base64id "~2.0.0"
3712+
cors "~2.8.5"
37123713
debug "~4.3.2"
3713-
engine.io "~6.4.1"
3714+
engine.io "~6.5.2"
37143715
socket.io-adapter "~2.5.2"
3715-
socket.io-parser "~4.2.1"
3716+
socket.io-parser "~4.2.4"
37163717

37173718
"source-map-js@>=0.6.2 <2.0.0":
37183719
version "1.0.2"
@@ -3871,10 +3872,10 @@ timeago.js@^4.0.2:
38713872
resolved "https://registry.yarnpkg.com/timeago.js/-/timeago.js-4.0.2.tgz#724e8c8833e3490676c7bb0a75f5daf20e558028"
38723873
integrity sha512-a7wPxPdVlQL7lqvitHGGRsofhdwtkoSXPGATFuSOA2i1ZNQEPLrGnj68vOp2sOJTCFAQVXPeNMX/GctBaO9L2w==
38733874

3874-
tinymce@^7.0.0:
3875-
version "7.0.0"
3876-
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.0.0.tgz#d35441e15f8011cf549b39e58b64648798816e92"
3877-
integrity sha512-ggXLfTRrUALAcjeJSRrZcJDOl6MgC2tPXe/zNOEkQXvTDgcKqFypPRoPpfpK5wejexjyaI/7dwETOntJ5MPBFg==
3875+
tinymce@^7.2.0:
3876+
version "7.2.0"
3877+
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.2.0.tgz#c5015567e742093b43186400c3e7c8394b90cc1f"
3878+
integrity sha512-R460NlE4REIFuLcZd9mpHK8zRsHdOueLV2m6Wsn0JHfGhDWMcfB1IqUX2QGrSbJga93ygJbJbNMwb2sakFlE/g==
38783879

38793880
tmp@^0.2.1:
38803881
version "0.2.1"
@@ -4160,6 +4161,11 @@ ws@~8.11.0:
41604161
resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143"
41614162
integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==
41624163

4164+
ws@~8.17.1:
4165+
version "8.17.1"
4166+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b"
4167+
integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==
4168+
41634169
y18n@^5.0.5:
41644170
version "5.0.8"
41654171
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"

0 commit comments

Comments
 (0)