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

Remove additional config and code for cloud storage #2180

Merged
merged 1 commit into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions app/views/hyrax/base/_browse_everything.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/hyrax/base/_browse_everything_supplemental.html.erb

This file was deleted.

6 changes: 3 additions & 3 deletions config/browse_everything_providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# dropbox:
# :app_key: YOUR_DROPBOX_APP_KEY
# :app_secret: YOUR_DROPBOX_APP_SECRET
box:
:client_id: <%= ENV['BOX_OAUTH_CLIENT_ID'] %>
:client_secret: <%= ENV['BOX_OAUTH_CLIENT_SECRET'] %>
# box:
# :client_id: <%= ENV['BOX_OAUTH_CLIENT_ID'] %>
# :client_secret: <%= ENV['BOX_OAUTH_CLIENT_SECRET'] %>
# google_drive:
# :client_id: YOUR_GOOGLE_API_CLIENT_ID
# :client_secret: YOUR_GOOGLE_API_CLIENT_SECRET
Expand Down
4 changes: 0 additions & 4 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,5 @@ en:
text: 'Restricted; Files & ToC'
files_restricted:
text: 'Restricted; Files Only'
upload:
browse_everything:
browse_files_button: "Upload via Box"
cloud_timeout_message_html: "For PDFs 100MB or larger, we recommend uploading via your Emory Box account. You will be asked to log into Box. If you have a file larger than 2.5 GB, contact the ETD team using the <a href='/contact'>Help Form</a>."
contact_form:
header: Help
3 changes: 0 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@

resources :schools, only: [:index, :show]

get '/auth/box', to: 'box_auth#auth'
post '/file/box', to: 'box_redirect#redirect_file'

get 'error_404', to: 'pages#error_404'
# If you go somewhere without a route, show a 404 page
match '*path', via: :all, to: 'pages#error_404'
Expand Down