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

chore: Upgrade to Rails 7 #6719

Merged
merged 51 commits into from
May 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ea24299
chore: Experiement rails upgrade
sojan-official Mar 21, 2023
046cd08
Merge branch 'develop' into chore/update-rails
sojan-official Mar 21, 2023
81fa949
chore: fix
sojan-official Mar 21, 2023
ecd435c
chore: Upgrade chores
sojan-official Mar 21, 2023
24e521a
Merge branch 'develop' into chore/update-rails
sojan-official Apr 19, 2023
144aa5a
chore: bump up gems
sojan-official Apr 19, 2023
36bee21
chore: bump ruby version
sojan-official Apr 19, 2023
d04bd86
chore: fix nokogiri build issue
sojan-official Apr 19, 2023
a55ad21
chore: fix build error
sojan-official Apr 19, 2023
77493ed
Merge branch 'develop' into chore/update-rails
sojan-official Apr 19, 2023
eec4263
chore: fix rubocop
sojan-official Apr 19, 2023
0471f1d
Delete validate_push
sojan-official Apr 19, 2023
406a0a8
chore: fix specs
sojan-official Apr 19, 2023
ccbdeba
chore: update timeouts
sojan-official Apr 19, 2023
14e2c5f
Merge branch 'develop' into chore/update-rails
sojan-official Apr 20, 2023
cc4ffe3
chore: Action cable spec fix
sojan-official Apr 20, 2023
e32faf9
chore: spec fix
sojan-official Apr 20, 2023
6c65a9c
chore: more spec fixes
sojan-official Apr 20, 2023
d8c3968
chore: spec fix
sojan-official Apr 20, 2023
f2212dc
chore: rubocop fixes
sojan-official Apr 20, 2023
ae71350
Merge branch 'develop' into chore/update-rails
sojan-official Apr 20, 2023
e65bf08
chore: fix docker builds
sojan-official Apr 20, 2023
d44f4ce
Merge branch 'develop' into chore/update-rails
sojan-official Apr 25, 2023
a51210d
chore: switch to forks
sojan-official Apr 25, 2023
7833311
chore: resolve dependencies
sojan-official Apr 25, 2023
c9cf9e5
chore: minor cleanups
sojan-official Apr 25, 2023
92a0a8f
Merge branch 'develop' into chore/update-rails
sojan-official Apr 26, 2023
ef5dd3b
Merge branch 'develop' into chore/update-rails
sojan-official Apr 26, 2023
4efecac
Merge branch 'develop' into chore/update-rails
sojan-official Apr 26, 2023
3ef08d6
chore: spec fix
sojan-official Apr 26, 2023
c732ed5
chore: clean up schema.rb
sojan-official Apr 27, 2023
4c12c47
Merge branch 'develop' into chore/update-rails
sojan-official Apr 27, 2023
91e751d
chore: deploy fix
sojan-official Apr 27, 2023
f9cc643
chore: fix rubocop
sojan-official Apr 27, 2023
155363b
chore: debug
sojan-official Apr 27, 2023
e5d29b6
chore: test
sojan-official Apr 27, 2023
47e8859
Workaround for broken build from postcss error
nithindavid May 2, 2023
db5cd29
Fixes broken build with css variables
nithindavid May 2, 2023
98cf5a7
Merge branch 'develop' into chore/update-rails
sojan-official May 2, 2023
2d48c05
chore: fix rake task for db enhancements
sojan-official May 2, 2023
16432c9
chore: fix sentry error
sojan-official May 2, 2023
d94e656
Merge branch 'develop' into chore/update-rails
sojan-official May 3, 2023
ddd0e0c
chore: fix specs
sojan-official May 3, 2023
f1eef2a
Merge branch 'develop' into chore/update-rails
sojan-official May 3, 2023
ad18f58
Merge branch 'develop' into chore/update-rails
sojan-official May 4, 2023
80ae368
chore: Add slugignore
sojan-official May 5, 2023
e762d39
chore: fix dialogflow
sojan-official May 5, 2023
8d8d8d7
chore: add missing gem
sojan-official May 5, 2023
e2ecc28
chore: rubocop fix
sojan-official May 5, 2023
bfa5679
chore: fix partial rendering
sojan-official May 5, 2023
25bd621
Merge branch 'develop' into chore/update-rails
pranavrajs May 6, 2023
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
Prev Previous commit
Next Next commit
chore: switch to forks
  • Loading branch information
sojan-official committed Apr 25, 2023
commit a51210d4da2e95c567587f215cfbd045a5478d49
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ gem 'google-cloud-translate'

##-- for active storage --##
gem 'aws-sdk-s3', require: false
gem 'azure-storage-blob', require: false
# original gem isn't maintained actively
# we wanted updated version of farady which is a dependecy for slack-ruby-client
#gem 'azure-storage-blob', git: 'https://github.com/chatwoot/azure-storage-ruby', branch: 'chatwoot', require: false
gem 'azure-storage-blob'
gem 'google-cloud-storage', require: false
gem 'image_processing'

Expand All @@ -68,7 +71,7 @@ gem 'barnes'

##--- gems for authentication & authorization ---##
gem 'devise'
gem 'devise-secure_password', git: 'https://github.com/chatwoot/devise-secure_password', branch: 'rails-upgrade'
gem 'devise-secure_password', git: 'https://github.com/chatwoot/devise-secure_password', branch: 'chatwoot'
gem 'devise_token_auth'
# authorization
gem 'jwt'
Expand Down Expand Up @@ -132,7 +135,7 @@ gem 'email_reply_trimmer'

# TODO: we might have to fork this gem since 0.3.1 has hard depency on nokogir 1.10.
# and this gem hasn't been updated for a while.
gem 'html2text', git: 'https://github.com/happy-co/html2text_ruby', branch: 'bump-nokogiri-version'
gem 'html2text', git: 'https://github.com/chatwoot/html2text_ruby', branch: 'chatwoot'

# to calculate working hours
gem 'working_hours'
Expand Down
31 changes: 16 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
GIT
remote: https://github.com/chatwoot/devise-secure_password
revision: 00b0fd503703a15870cde30d385363da42fe3410
branch: rails-upgrade
revision: adcc85fe1babfe40feae73dbcae64d14fff86e69
branch: chatwoot
specs:
devise-secure_password (2.0.1)
devise (>= 4.0.0, < 5.0.0)
railties (>= 5.0.0, < 8.0.0)

GIT
remote: https://github.com/happy-co/html2text_ruby
revision: d98279ed9e8c3b110fa8b43dc3f1f9042daeb95e
branch: bump-nokogiri-version
remote: https://github.com/chatwoot/html2text_ruby
revision: cdbdbbbf898d846d0136d69d688a003c6b26074b
branch: chatwoot
specs:
html2text (0.3.1)
nokogiri (>= 1.13.6)
Expand Down Expand Up @@ -103,10 +103,11 @@ GEM
rake (>= 10.4, < 14.0)
ast (2.4.2)
attr_extras (7.1.0)
audited (5.3.2)
audited (5.3.3)
activerecord (>= 5.0, < 7.1)
request_store (~> 1.2)
aws-eventstream (1.2.0)
aws-partitions (1.749.0)
aws-partitions (1.753.0)
aws-sdk-core (3.171.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
Expand All @@ -115,7 +116,7 @@ GEM
aws-sdk-kms (1.63.0)
aws-sdk-core (~> 3, >= 3.165.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.120.1)
aws-sdk-s3 (1.121.0)
aws-sdk-core (~> 3, >= 3.165.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
Expand Down Expand Up @@ -325,7 +326,7 @@ GEM
google-protobuf (~> 3.14)
googleapis-common-protos-types (~> 1.2)
grpc (~> 1.27)
googleapis-common-protos-types (1.5.0)
googleapis-common-protos-types (1.6.0)
google-protobuf (~> 3.14)
googleauth (1.5.2)
faraday (>= 0.17.3, < 3.a)
Expand Down Expand Up @@ -517,9 +518,9 @@ GEM
orm_adapter (0.5.0)
os (1.1.4)
parallel (1.23.0)
parser (3.2.2.0)
parser (3.2.2.1)
ast (~> 2.4.1)
pg (1.4.6)
pg (1.5.1)
pg_search (2.3.6)
activerecord (>= 5.2)
activesupport (>= 5.2)
Expand All @@ -537,7 +538,7 @@ GEM
activesupport (>= 3.0.0)
raabro (1.4.0)
racc (1.6.2)
rack (2.2.6.4)
rack (2.2.7)
rack-attack (6.6.1)
rack (>= 1.0, < 3)
rack-cors (2.0.1)
Expand Down Expand Up @@ -607,7 +608,7 @@ GEM
rexml (3.2.5)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.5)
Expand Down Expand Up @@ -636,7 +637,7 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.17.1)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-performance (1.17.1)
rubocop (>= 1.7.0, < 2.0)
Expand Down Expand Up @@ -735,7 +736,7 @@ GEM
i18n
timeout (0.3.2)
trailblazer-option (0.1.2)
twilio-ruby (5.76.0)
twilio-ruby (5.77.0)
faraday (>= 0.9, < 3.0)
jwt (>= 1.5, < 3.0)
nokogiri (>= 1.6, < 2.0)
Expand Down