-
Notifications
You must be signed in to change notification settings - Fork 235
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
Bump Node.js (18.19.1 → 18.20.5), Ruby (3.2.5 → 3.3.6), Rubocop (1.42.0 → 1.70.0), sqlite3 (1.6.9 → 1.7.3), rails-html-sanitizer (1.6.0 → 1.6.2) #4123
Changes from all commits
a267a08
d5070c5
72d719d
19cb907
07bd17b
27ce389
7ea7632
b4909a5
614fc60
3862af3
82387d4
ae4824a
62a2cee
0ce373e
9558992
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.19.1 | ||
18.20.5 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2.5 | ||
3.3.6 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:3.2.5-slim | ||
FROM ruby:3.3.6-slim | ||
|
||
# Install dependencies | ||
RUN \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ def user_project_role_radio(user, role_name, role_id, user_project_role_id) | |
global_access = (user.role_id >= role_id.to_i) | ||
disabled = (user.role_id > role_id.to_i) | ||
project_access = (user_project_role_id.to_i >= role_id.to_i) | ||
checked = (global_access || project_access) | ||
checked = global_access || project_access | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI kinda like these assignment wrappers since it makes things clearer, but 🤷 |
||
title = "User is a global #{user.role.name.capitalize}" if global_access | ||
|
||
label_tag nil, class: ('disabled' if disabled), title: title do | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ def change | |
OutboundWebhook.find_each do |wh| | ||
OutboundWebhookStage.create!(stage_id: wh.stage_id, outbound_webhook_id: wh.id) do |o| | ||
o.created_at = wh.created_at | ||
o.updated_at = o.updated_at | ||
o.updated_at = wh.updated_at | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh nice catch! |
||
end | ||
end | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ def parsed_template | |
def validate_template | ||
return errors.add :template, "needs to be set" if template.blank? | ||
return errors.add :template, "needs to be a Hash" unless parsed_template.is_a?(Hash) | ||
return errors.add :template, "needs metadata.labels.team" unless parsed_template.dig("metadata", "labels", "team") | ||
errors.add :template, "needs metadata.labels.team" unless parsed_template.dig("metadata", "labels", "team") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ugh the symmetry 😞 |
||
rescue Psych::Exception | ||
errors.add :template, "needs to be valid yaml" | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI got a PR for that read here #4120
... we are almost done with hosting samson ourselves, so if you can verify it works we can merge that too