Skip to content

Commit

Permalink
Remove all pusher references and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sammo1235 committed Dec 10, 2024
1 parent 014fa9d commit 63b68b1
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 76 deletions.
5 changes: 0 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ AWS_SECRET_ACCESS_KEY=xxx
AWS_REGION=xxx
AWS_S3_BUCKET_NAME=xxx
DISPLAY_SOCIAL_MOBILITY_AWARD=true
PUSHER_SOCKET_HOST=localhost
PUSHER_WS_PORT=8080
PUSHER_APP_ID=app_id
PUSHER_APP_KEY=app_key
PUSHER_SECRET=secret
GOV_UK_NOTIFY_API_KEY=key
GOV_UK_NOTIFY_API_TEMPLATE_ID=id
SESSION_TIMEOUT=1
Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ gem "redis-store", "~> 1.4"
# We use it for communicating with api.debounce.io
gem "rest-client"

# We are using Pusher with Poxa server for realtime collaborator editing
gem "pusher", "0.15.2"

# Text Search
gem "pg_search", "~> 2.3.3"

Expand Down
6 changes: 0 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,6 @@ GEM
nio4r (~> 2.0)
pundit (0.3.0)
activesupport (>= 3.0.0)
pusher (0.15.2)
httpclient (~> 2.5)
multi_json (~> 1.0)
pusher-signature (~> 0.1.8)
pusher-signature (0.1.8)
raabro (1.4.0)
racc (1.8.1)
rack (2.2.9)
Expand Down Expand Up @@ -788,7 +783,6 @@ DEPENDENCIES
pry-byebug
puma (~> 6.4.3)
pundit (~> 0.3)
pusher (= 0.15.2)
rack-cors (~> 1.0)
rack-mini-profiler (>= 0.10.1)
rack-protection (= 3.0.5)
Expand Down
1 change: 0 additions & 1 deletion app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#= require moment.min
#= require core
#= require libs/suchi/isOld.js
#= require libs/pusher.min.js
#= require mobile
#= require browser-check
#= require vendor/zxcvbn
Expand Down
9 changes: 0 additions & 9 deletions app/assets/javascripts/libs/pusher.min.js

This file was deleted.

31 changes: 0 additions & 31 deletions app/controllers/users/collaborator_access_controller.rb

This file was deleted.

15 changes: 0 additions & 15 deletions config/initializers/pusher_init.rb

This file was deleted.

6 changes: 0 additions & 6 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@

namespace :users do
resources :form_answers, only: [:show] do
resources :collaborator_access, only: [] do
collection do
get "auth/:section/:timestamp" => "collaborator_access#auth"
end
end

# shortlisted docs block
resource :audit_certificate, only: [:show, :create, :destroy] do
get "Guide-to-Editing-External-Accountants-Report-Using-Adobe-PDF-Editor", as: :guide, to: "audit_certificates#guide"
Expand Down

0 comments on commit 63b68b1

Please sign in to comment.