Skip to content

Commit

Permalink
Merge branch 'master' into snyk-fix-5d1b3c5f489825ed2c9971fa9afb2dc9
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored Jan 2, 2024
2 parents cf4a605 + ab54887 commit 59c07e6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gem 'redis', '~> 4.2'
gem 'jwt', '~> 2.2.2'
gem 'oauth', '~> 0.5.1'

gem 'doorkeeper', '~> 5.6.7'
gem 'doorkeeper', '~> 5.6.8'
gem 'repost', '~> 0.3.8'

gem 'lodash-rails'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ GEM
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
doorkeeper (5.6.7)
doorkeeper (5.6.8)
railties (>= 5)
dotenv (2.8.1)
dotenv-rails (2.8.1)
Expand Down Expand Up @@ -467,7 +467,7 @@ DEPENDENCIES
byebug
coffee-rails (~> 5.0, >= 5.0.0)
coveralls
doorkeeper (~> 5.6.7)
doorkeeper (~> 5.6.8)
dotenv-rails
faraday
font-awesome-sass (~> 6.4.0)
Expand Down
3 changes: 1 addition & 2 deletions config/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ test:

production:
adapter: <%= ENV['CABLE_ADAPTER'] || 'async' %>
# adapter: redis
# url: redis://localhost:6379/1
channel_prefix: <%= ENV.fetch("REDIS_PREFIX") { "bbb-lti-broker" } %>
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
config.cache_classes = false

# Whitelist IPs
config.web_console.whitelisted_ips = '10.0.0.0/16'
config.web_console.allowed_ips = '0.0.0.0/0'

# Do not eager load code on boot.
config.eager_load = false
Expand Down
1 change: 1 addition & 0 deletions dotenv
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RAILS_SERVE_STATIC_FILES=true

## Enable redis for actioncable
# REDIS_URL=redis://myuser:mypass@localhost
REDIS_PREFIX=bbb-lti-broker

# Only needed for Docker Compose.
## Change DOCKER_REPO when using a repo other than bigbluebutton
Expand Down
6 changes: 2 additions & 4 deletions lib/tasks/db_apps.rake
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ namespace :db do
puts("App '#{args[:name]}' does not exist, it can not be deleted")
exit(1)
end
blti_apps.each do |app|
app.delete
puts("App '#{args[:name]}' was deleted")
end
blti_apps.each(&:destroy)
puts("Apps with name '#{args[:name]}' were successfully destroyed")
rescue StandardError => e
puts(e.backtrace)
exit(1)
Expand Down

0 comments on commit 59c07e6

Please sign in to comment.