Chatwoot/Gemfile

156 lines
3.6 KiB
Text
Raw Normal View History

source 'https://rubygems.org'
ruby '2.7.3'
2019-10-16 22:18:48 +00:00
##-- base gems for rails --##
gem 'rack-cors', require: 'rack/cors'
gem 'rails'
2019-10-16 22:18:48 +00:00
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false
##-- rails application helper gems --##
gem 'acts-as-taggable-on'
2019-10-16 22:18:48 +00:00
gem 'attr_extras'
gem 'browser'
2019-09-04 04:38:21 +00:00
gem 'hashie'
gem 'jbuilder'
gem 'kaminari'
2019-10-20 08:47:26 +00:00
gem 'responders'
2020-02-14 17:49:17 +00:00
gem 'rest-client'
gem 'telephone_number'
2019-10-16 22:18:48 +00:00
gem 'time_diff'
gem 'tzinfo-data'
2019-10-20 08:47:26 +00:00
gem 'valid_email2'
# compress javascript config.assets.js_compressor
gem 'uglifier'
##-- used for single column multiple binary flags in notification settings/feature flagging --##
gem 'flag_shih_tzu'
# Random name generator for user names
gem 'haikunator'
# Template parsing safely
gem 'liquid'
# Parse Markdown to HTML
gem 'commonmarker'
# Validate Data against JSON Schema
gem 'json_schemer'
##-- for active storage --##
gem 'aws-sdk-s3', require: false
gem 'azure-storage-blob', require: false
gem 'google-cloud-storage', require: false
gem 'mini_magick'
2019-10-16 22:18:48 +00:00
##-- gems for database --#
gem 'groupdate'
2019-09-04 04:38:21 +00:00
gem 'pg'
gem 'redis'
gem 'redis-namespace'
gem 'redis-rack-cache'
# super fast record imports in bulk
gem 'activerecord-import'
2019-10-16 19:32:42 +00:00
2019-10-16 22:18:48 +00:00
##--- gems for server & infra configuration ---##
🔥Docker and environment variables cleanup (#270) * Added dotenv-rails gem to manage environment variables * Added dotenv-rails gem to manage environment variables * Removed figaro which was used earlier for this purpose * Standardized variable names * Changed all env variables to be upper case. This included changes in files referencing env variables. * Added example env file with all variables set to empty value * Removed the earlier setup of copying application.yml and database.yml and the scripts and documentation associated to this * Docker setup * Added docker file for building the docker images * Added entrypoint.sh script which is referenced inside the Docker image * Cloned the Procfile for development using docker which has slight change compared to regular procfile * Added the docker-compose.yml which has 3 service's configuration, postgres, redis and chatwoot server and a mounted volume for postgres * Added docker related info to documentation * Added the docker setup info in the documentation * Added info for using`rbenv` instead of rvm for managing ruby versions * Updated the documentation for environment variables to have one about `dotenv-rails` gem and removed the documentation about the old copy paste method used by figaro * Changing the postgres database, username and password as environment variables * Removed database.yml from gitignore * Made the postgres databse, username and password as environemnt variables * Added this in documentation * Added a quick setup page * Added quick setup page * Removed the docs from README and added link to the docs in website * Removed the figaro related things from circle.ci config * Adding external volume for redis in docker compose * Added instructions for adding the redis volume in docs
2019-11-23 19:57:39 +00:00
gem 'dotenv-rails'
2019-10-20 08:47:26 +00:00
gem 'foreman'
gem 'puma'
gem 'webpacker', '~> 5.x'
# metrics on heroku
gem 'barnes'
2019-10-16 22:18:48 +00:00
##--- gems for authentication & authorization ---##
gem 'devise'
gem 'devise-secure_password', '~> 2.0'
gem 'devise_token_auth'
2019-10-16 22:18:48 +00:00
# authorization
gem 'jwt'
2019-10-16 22:18:48 +00:00
gem 'pundit'
# super admin
gem 'administrate'
2019-10-16 22:18:48 +00:00
##--- gems for pubsub service ---##
# https://karolgalanciak.com/blog/2019/11/30/from-activerecord-callbacks-to-publish-slash-subscribe-pattern-and-event-driven-design/
2019-10-16 22:18:48 +00:00
gem 'wisper', '2.0.0'
##--- gems for channels ---##
2020-09-08 05:54:08 +00:00
# TODO: bump up gem to 2.0
gem 'facebook-messenger'
2019-10-16 22:18:48 +00:00
gem 'telegram-bot-ruby'
gem 'twilio-ruby', '~> 5.32.0'
# twitty will handle subscription of twitter account events
# gem 'twitty', git: 'https://github.com/chatwoot/twitty'
gem 'twitty'
2019-10-16 22:18:48 +00:00
# facebook client
gem 'koala'
# slack client
gem 'slack-ruby-client'
# for dialogflow integrations
gem 'google-cloud-dialogflow'
2019-10-16 22:18:48 +00:00
##--- gems for debugging and error reporting ---##
# static analysis
gem 'brakeman'
gem 'scout_apm'
2019-10-16 22:18:48 +00:00
gem 'sentry-raven'
##-- background job processing --##
2019-10-16 22:18:48 +00:00
gem 'sidekiq'
# We want cron jobs
gem 'sidekiq-cron'
2019-10-16 22:18:48 +00:00
##-- Push notification service --##
gem 'fcm'
gem 'webpush'
##-- geocoding / parse location from ip --##
# http://www.rubygeocoder.com/
gem 'geocoder'
# to parse maxmind db
gem 'maxminddb'
# to create db triggers
gem 'hairtrigger'
gem 'procore-sift'
group :development do
gem 'annotate'
gem 'bullet'
gem 'letter_opener'
2019-09-04 04:38:21 +00:00
gem 'web-console'
2020-02-23 07:24:29 +00:00
# used in swagger build
gem 'json_refs', git: 'https://github.com/tzmfreedom/json_refs', ref: '131b11294fd6af9c428171f38516e6222a58c874'
# When we want to squash migrations
gem 'squasher'
end
group :test do
# Cypress in rails.
gem 'cypress-on-rails', '~> 1.0'
# fast cleaning of database
gem 'database_cleaner'
end
group :development, :test do
gem 'bundle-audit', require: false
gem 'byebug', platform: :mri
2019-09-04 04:38:21 +00:00
gem 'factory_bot_rails'
gem 'faker'
gem 'listen'
gem 'mock_redis', git: 'https://github.com/sds/mock_redis', ref: '16d00789f0341a3aac35126c0ffe97a596753ff9'
gem 'pry-rails'
gem 'rspec-rails', '~> 4.0.0.beta2'
gem 'rubocop', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false
gem 'scss_lint', require: false
2019-09-04 04:38:21 +00:00
gem 'seed_dump'
gem 'shoulda-matchers'
2020-02-03 08:44:03 +00:00
gem 'simplecov', '0.17.1', require: false
gem 'spring'
gem 'spring-watcher-listen'
gem 'webmock'
2019-10-20 08:47:26 +00:00
end