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

merge ru urm q2 #2805

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
85920aa
New payment details implementation
AndriiMysko Feb 8, 2023
aa51d29
Fix tests
AndriiMysko Feb 9, 2023
9cfef7e
Antifraud for v1 plans
AndriiMysko Feb 9, 2023
6376286
Adjust tests
AndriiMysko Feb 10, 2023
c975f4c
Merge branch 'payment_method_tab_am' into new_user_journey_dev
AndriiMysko Feb 10, 2023
5de968c
fix for lack of first_sync for assembla
AndriiMysko Feb 10, 2023
62e6d28
added hosted billing help
AndriiMysko Feb 10, 2023
d97e061
Add the new macOS information section in select-plan and modify billi…
Jullianos Jan 31, 2023
105949e
Adjust manual and github plans view
AndriiMysko Feb 13, 2023
6e2a22a
Fix local registration checkbox
AndriiMysko Feb 16, 2023
773022e
ui updates
AndriiMysko Feb 23, 2023
6bea8b3
redirection attempt, wizard fix, trial plan desc
AndriiMysko Feb 28, 2023
02ad650
ui updates
AndriiMysko Mar 9, 2023
6ae4961
sync subscriptions on first_syn
AndriiMysko Mar 13, 2023
21cd028
redirect from ghapp installation to firstsync
AndriiMysko Mar 15, 2023
4d42873
style fixes,profile menu update,fix for company
gbarc80 Mar 16, 2023
1c2bfbb
tests update
gbarc80 Mar 16, 2023
c3d6c3c
ui updates
gbarc80 Mar 20, 2023
30201a8
ui updates
gbarc80 Mar 20, 2023
028299d
redirection updates, typos fixed
gbarc80 Mar 21, 2023
4fa677a
ui updates - plan, wizard, activation
gbarc80 Mar 23, 2023
b105838
coupon
gbarc80 Mar 23, 2023
c33ec59
installation redirections, email banner update
gbarc80 Mar 24, 2023
edf92a0
random ui updates
gbarc80 Mar 24, 2023
6340e63
lint
gbarc80 Mar 24, 2023
fee0e23
total price hide
gbarc80 Mar 24, 2023
09cf0e4
empty invoices field, installation_id fix
gbarc80 Mar 27, 2023
ee76cf6
radio color,mail banner, double badge
gbarc80 Mar 28, 2023
4b41c15
ui fixes - review 03.28
gbarc80 Mar 30, 2023
80313d7
sync popup improvement
gbarc80 Mar 30, 2023
24c8644
billing css merge
gbarc-dt May 22, 2023
167d2fe
activation button fix
gbarc-dt May 24, 2023
ef0700b
lint
gbarc-dt May 24, 2023
120be38
user roles wip
gbarc-dt May 26, 2023
3f31080
Merge branch 'master' into new_user_journey_dev
murtaza-swati May 30, 2023
6d31388
logs, settings, caches
gbarc-dt Jun 7, 2023
a654110
fixed the condition for settings
gbarc-dt Jun 7, 2023
8ca05ca
perm fixes/test fixes
gbarc-dt Jun 9, 2023
5b530c3
usage banner fix, settings from profile access check
gbarc-dt Jun 23, 2023
c65308e
tests
gbarc-dt Jun 23, 2023
0d61a3d
PRD Travis ASM Handshake
Jul 10, 2023
ff9738d
PRD New User Journey
Jul 10, 2023
4c54695
Merge branch 'new_user_journey_dev' into dt-userroles-prd
gbarc-dt Jul 14, 2023
9b2e683
selected plan up
gbarc-dt Jul 14, 2023
c5fdd38
lint
gbarc-dt Jul 14, 2023
8237b79
lint
gbarc-dt Jul 14, 2023
5e1c004
activate update
gbarc-dt Jul 14, 2023
d99d257
ruby up
gbarc-dt Jul 24, 2023
736ae5d
Merge branch 'dt-ror-update' into prd-ruby-upgrade-dev
gbarc-dt Jul 24, 2023
d4c514d
some rubocop reverts
gbarc-dt Jul 25, 2023
8f0cdaf
w/a for stripe issue with font
gbarc-dt Aug 16, 2023
5b82c6e
Merge remote-tracking branch 'origin/prd-ruby-upgrade' into prd-ruby-…
gbarc-dt Sep 18, 2023
563636f
Merge remote-tracking branch 'origin/dt-userroles-prd' into prd-ror-u…
gbarc-dt Sep 26, 2023
82fcadc
Q2+Q1 merge
gbarc-dt Jan 2, 2024
0ff576a
log limit env
gbarc-dt Jan 8, 2024
5810221
removed org admin reqs for some menus
gbarc-dt Feb 20, 2024
ed053c5
typo fix
GbArc Feb 23, 2024
b6255d3
Merge branch 'dt-q2-ror' into merge_ror_urm_q2
DominikAlberski Feb 28, 2024
9e40072
Merge branch 'dt-orgadmin_fixes' into merge_ror_urm_q2
DominikAlberski Feb 28, 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
32 changes: 32 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
require: rubocop-performance

Documentation:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 40
Style/AsciiComments:
Enabled: false
Metrics/AbcSize:
Enabled: false
Style/GuardClause:
Enabled: false
Style/FormatStringToken:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Naming/MemoizedInstanceVariableName:
EnforcedStyleForLeadingUnderscores: required
Style/MultilineBlockChain:
Enabled: false
Lint/ConstantDefinitionInBlock:
Enabled: false
Naming/VariableNumber:
Enabled: false
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.2
3.2.2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.4
FROM ruby:3.2.2

LABEL maintainer Travis CI GmbH <support+travis-web-docker-images@travis-ci.com>

Expand Down
27 changes: 17 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
ruby "~> 2.4.2"
# frozen_string_literal: true

ruby '~> 3.2.2'

source 'https://rubygems.org'

gem 'travis-web', path: 'waiter'
gem 'puma', '~> 3.12.4'
gem 'rack-ssl', '~> 1.4'
gem 'rack-protection', '~> 1.4'
gem 'rack-mobile-detect'
gem 'sinatra'
gem 'hashr'
gem 'puma', '~> 6'
gem 'rack-mobile-detect'
gem 'rack-protection', '~> 3.0'
gem 'rack-ssl', '~> 1.4'
gem 'sanitize'
gem 'sinatra'
gem 'travis-web', path: 'waiter'

group :development, :test do
gem 'rake'
end


group :development do
# gem 'debugger'
gem 'foreman'
gem 'rubocop'
gem 'rubocop-performance'
gem 'rubocop-rspec'
gem 'simplecov'
gem 'simplecov-console'
end

group :test do
gem 'rspec', '~> 2.11'
gem 'test-unit'
gem 'rspec', '~> 3.12'
gem 'rack-test'
gem 'sinatra-contrib'
gem 'test-unit'
end
156 changes: 108 additions & 48 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,78 +6,138 @@ PATH
GEM
remote: https://rubygems.org/
specs:
backports (3.6.8)
ansi (1.5.0)
ast (2.4.2)
crass (1.0.6)
diff-lcs (1.2.5)
foreman (0.82.0)
thor (~> 0.19.1)
hashr (2.0.0)
mini_portile2 (2.4.0)
multi_json (1.12.1)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
nokogumbo (2.0.2)
nokogiri (~> 1.8, >= 1.8.4)
power_assert (0.4.1)
puma (3.12.6)
rack (1.6.12)
diff-lcs (1.5.0)
docile (1.4.0)
foreman (0.87.2)
hashr (2.0.1)
json (2.6.3)
language_server-protocol (3.17.0.3)
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
nio4r (2.5.9)
nokogiri (1.15.2-x86_64-linux)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
racc
power_assert (2.0.3)
puma (6.3.0)
nio4r (~> 2.0)
racc (1.7.1)
rack (2.2.7)
rack-mobile-detect (0.4.0)
rack
rack-protection (1.5.5)
rack-protection (3.0.6)
rack
rack-ssl (1.4.1)
rack
rack-test (0.6.3)
rack (>= 1.0)
rake (12.3.3)
rspec (2.99.0)
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-core (2.99.2)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.99.4)
sanitize (5.2.1)
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.1)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.54.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-performance (1.18.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.22.0)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sanitize (6.0.1)
crass (~> 1.0.2)
nokogiri (>= 1.8.0)
nokogumbo (~> 2.0)
sinatra (1.4.8)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sinatra-contrib (1.4.7)
backports (>= 2.0)
nokogiri (>= 1.12.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-console (0.9.1)
ansi
simplecov
terminal-table
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sinatra (3.0.6)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.0.6)
tilt (~> 2.0)
sinatra-contrib (3.0.6)
multi_json
rack-protection
rack-test
sinatra (~> 1.4.0)
tilt (>= 1.3, < 3)
test-unit (3.2.3)
mustermann (~> 3.0)
rack-protection (= 3.0.6)
sinatra (= 3.0.6)
tilt (~> 2.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
test-unit (3.6.1)
power_assert
thor (0.19.1)
tilt (2.0.8)
tilt (2.2.0)
unicode-display_width (2.4.2)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
foreman
hashr
puma (~> 3.12.4)
puma (~> 6)
rack-mobile-detect
rack-protection (~> 1.4)
rack-protection (~> 3.0)
rack-ssl (~> 1.4)
rack-test
rake
rspec (~> 2.11)
rspec (~> 3.12)
rubocop
rubocop-performance
rubocop-rspec
sanitize
simplecov
simplecov-console
sinatra
sinatra-contrib
test-unit
travis-web!

RUBY VERSION
ruby 2.4.2p198
ruby 3.2.2p53

BUNDLED WITH
1.17.3
2.4.14
2 changes: 1 addition & 1 deletion app/components/profile-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default Component.extend({
isOrganizationAdmin: and('isOrganization', 'hasAdminPermissions'),
showOrganizationSettings: computed('isOrganizationAdmin', 'isProVersion', 'hasSettingsReadPermissions', function () {
const forOrganization = !this.isOrganization || this.hasSettingsReadPermissions;
return this.isOrganizationAdmin && this.isProVersion && forOrganization;
return (this.isOrganizationAdmin || forOrganization) && this.isProVersion;
}),

showSubscriptionTab: computed('features.enterpriseVersion', 'hasPlanViewPermissions',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/multi-signin-button.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
</div>
</AnimatedIf>
</div>
{{/if}}
{{/if}}
2 changes: 1 addition & 1 deletion app/templates/components/profile-nav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
</LinkTo>
</li>
{{/if}}
{{#if (and this.showSubscriptionTab this.isOrganizationAdmin)}}
{{#if this.showSubscriptionTab}}
<li data-test-billing-tab>
<LinkTo @route="organization.billing" @model={{this.model}}>
Plan
Expand Down
2 changes: 1 addition & 1 deletion config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module.exports = function (environment) {
hidePostalCode: true,
style: {
base: {
fontStyle: 'Source Sans Pro',
fontStyle: 'sans-serif',
fontSize: '15px',
color: '#666',
'::placeholder': {
Expand Down
10 changes: 7 additions & 3 deletions waiter/Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
$: << 'lib'
# frozen_string_literal: true

$LOAD_PATH << 'lib'
task :update_emojis do
s = Dir.glob('assets/images/emoji/*.png').map {|png| png.split('/', 4)[3].gsub('.png', '')}.map{|png| "'#{png}'"}.join(", ")
s = Dir.glob('assets/images/emoji/*.png').map do |png|
png.split('/', 4)[3].gsub('.png', '')
end.map { |png| "'#{png}'" }.join(', ')
e = "@EmojiDictionary = [#{s}]"
File.open("assets/scripts/config/emoij.coffee", "w") {|f| f.write(e) }
File.open('assets/scripts/config/emoij.coffee', 'w') { |f| f.write(e) }
end
Loading