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

Reshare feature branch #502

Merged
merged 40 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7614105
allow downloads setting (#476)
summer-cook May 16, 2023
b1d2eac
adds UV config to disable downloads based on Account Setting. (#484)
sephirothkod May 18, 2023
386e4f7
I456 reshare hyku upgrade (#478)
labradford May 18, 2023
39b7791
wraps download links in an if statement that checks if allow_download…
sephirothkod May 19, 2023
9d82b60
Merge branch 'main' into reshare-feature
labradford May 19, 2023
d4c5964
Merge branch 'reshare-feature' of github.com:scientist-softserv/palni…
labradford May 19, 2023
e523e3b
remove duplicate migrations (#498)
labradford May 23, 2023
e4ffe32
try a different decorator style to fix staging.
sephirothkod May 23, 2023
29c9253
Merge remote-tracking branch 'origin/reshare-feature' into reshare-fe…
sephirothkod May 23, 2023
fc2d258
initial addition of cdl worktype
summer-cook May 23, 2023
96a9ce5
iiif decorator update (#499)
sephirothkod May 23, 2023
c83ea85
CDL Worktype (#501)
summer-cook May 24, 2023
cb1e24c
add mappings
summer-cook May 24, 2023
2b1c74d
remove flappy cdl spec
summer-cook May 24, 2023
77ec4ae
add auth_provider to dashboard (#500)
labradford May 24, 2023
7c500ce
Merge branch 'main' into reshare-feature
labradford May 24, 2023
bd71f29
fix oer show page (#503)
labradford May 24, 2023
3aca2a9
add properties to oai (#504)
summer-cook May 25, 2023
3c7271d
I507 show page error (#508)
labradford May 30, 2023
2181e3f
dynamic partial rendering for auth provider form (#509)
labradford May 31, 2023
f3c4a8e
make contributing library into an example controlled vocab (#510)
summer-cook May 31, 2023
bdaf08b
Use current year (#539)
summer-cook Jun 5, 2023
e706c1f
add libraries (#536)
summer-cook Jun 5, 2023
d1c9766
allow update of collection title color (#537)
summer-cook Jun 5, 2023
cccfb47
merge-main-into-reshare-feature (#543)
summer-cook Jun 6, 2023
05a38c0
merge main into branch
summer-cook Jun 8, 2023
196039c
merge changes
summer-cook Jun 9, 2023
7b71c02
merge main
summer-cook Jun 14, 2023
52b4589
remove ISIL (#575)
summer-cook Jun 14, 2023
8cd901e
fix merge conflicts and change inheritance of search builder (#603)
summer-cook Jul 5, 2023
1a0cb57
I599 show page theme (#604)
summer-cook Jul 6, 2023
a6688fa
I600 uv customization (#606)
summer-cook Jul 11, 2023
f1323e5
Rework for dynamic sso (#619)
summer-cook Jul 18, 2023
838a034
really make the tenants only have one auth provider (#620)
summer-cook Jul 19, 2023
980b321
remove required true from the views (#621)
summer-cook Jul 19, 2023
5d655d2
add feature flipper for auth provider tab (#629)
labradford Jul 24, 2023
d321ce9
Reshare feature test (#630)
labradford Jul 25, 2023
4d5bacd
remove auth provider from account settings on delete (#631)
labradford Jul 26, 2023
a470c0c
Fix spec issues, resolve merge conflicts for reshare feature (#636)
summer-cook Jul 31, 2023
54e86c0
Merge branch 'main' into reshare-feature
labradford Jul 31, 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
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ jobs:
SOLR_ADMIN_USER: admin
SOLR_ADMIN_PASSWORD: admin
SOLR_COLLECTION_NAME: hydra-test
SOLR_CONFIGSET_NAME: hyku-1
SOLR_CONFIGSET_NAME: hyku
SOLR_HOST: localhost
SOLR_PORT: 8985
SOLR_URL: http://admin:admin@localhost:8985/solr/
SETTINGS__SOLR__URL: http://admin:admin@localhost:8985/solr/
RAILS_ENV: test
RACK_ENV: test
FCREPO_TEST_PORT: 8080/fcrepo
Expand Down
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Common checks that may occur in our repositories:

1. Travis CI - where our automated tests are running
2. Approval Required - Github enforces at least one person approve a pull request. Also, all reviewers that have chimed in must approve.
3. Required Labels - an appropriate [semver](https://semver.org/) label (see [release.yml](https://github.com/samvera/hyku/blob/main/.github/release.yml))

If one or more of the required checks failed (or are incomplete), the code should not be merged (and the UI will not allow it). If all of the checks have passed, then anyone on the project (including the pull request submitter) may merge the code.

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@

-

# Notes
# Notes
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Refs #issuenumber

</details>

# Notes
# Notes
20 changes: 20 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: Breaking Changes 🛠
labels:
- major-ver
- title: Exciting New Features 🎉
labels:
- minor-ver
- title: Bug Fixes 🐞
labels:
- patch-ver
- title: Database Changes
labels:
- database-changes
- title: Other Changes
labels:
- "*"
19 changes: 19 additions & 0 deletions .github/workflows/base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Build Base"
run-name: Build Base of ${{ github.ref_name }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
build:
uses: scientist-softserv/actions/.github/workflows/[email protected]
secrets: inherit
with:
platforms: "linux/amd64" # "linux/amd64,linux/arm64"
target: hyku-base
image_name: samvera/hyku/base
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ pg_upgrade_*.log
rerun.txt
pickle-email-*.html
*-deploy.yaml
solr_db_initialized
fits.log

## Environment normalization:
/.bundle
Expand Down
3 changes: 2 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--color
--require rails_helper
--require rails_helper
--exclude-pattern .internal_test_app/**/*
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Common checks that may occur in our repositories:

1. Travis CI - where our automated tests are running
2. Approval Required - Github enforces at least one person approve a pull request. Also, all reviewers that have chimed in must approve.
3. Required Labels - an appropriate [semver](https://semver.org/) label (see [release.yml](https://github.com/samvera/hyku/blob/main/.github/release.yml))

If one or more of the required checks failed (or are incomplete), the code should not be merged (and the UI will not allow it). If all of the checks have passed, then anyone on the project (including the pull request submitter) may merge the code.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ CMD ./bin/web

FROM hyku-base as hyku-worker
ENV MALLOC_ARENA_MAX=2
CMD ./bin/worker
CMD ./bin/worker
38 changes: 13 additions & 25 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# frozen_string_literal: true

source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.5'

gem 'activerecord-nulldb-adapter'
# Use sqlite3 as the database for Active Record
gem 'pg'
Expand All @@ -16,7 +14,6 @@ gem 'sass-rails', '~> 5.0'
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
Expand All @@ -25,41 +22,34 @@ gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
# bundle exec rake doc:rails generates the API under doc/api.
# gem 'sdoc', '~> 0.4.0', group: :doc

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

gem 'active-fedora', '>= 11.1.4'
gem 'flutie'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'pry-byebug'

gem 'i18n-debug', require: false
gem 'i18n-tasks'
gem 'rspec'
gem 'rspec-rails', '>= 3.6.0'

gem 'coveralls', '~> 0.8', '>= 0.8.23', require: false
gem 'simplecov', require: false

gem 'fcrepo_wrapper', '~> 0.4'
gem 'solr_wrapper', '~> 2.0'

gem 'rubocop', '~> 0.50', '<= 0.52.1', require: false
gem 'rubocop-rspec', '~> 1.22', '<= 1.22.2', require: false
# sidkiq does not work in development with xray rails. comment it in if you need it
gem 'rubocop', '~> 0.50', '<= 0.52.1'
gem 'rubocop-rspec', '~> 1.22', '<= 1.22.2'
# gem 'xray-rails'
end

group :test do
gem 'capybara'
gem 'capybara-screenshot', '~> 1.0'
gem 'database_cleaner-active_record'
gem 'database_cleaner'
gem 'factory_bot_rails'
gem 'launchy'
# rack-test >= 0.71 does not work with older Capybara versions (< 2.17). See #214 for more details
Expand All @@ -75,11 +65,9 @@ group :test do
gem 'webdrivers', '~> 4.0'
gem 'webmock'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '>= 3.3.0'

gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'easy_translate'
Expand All @@ -88,43 +76,39 @@ group :development do
gem 'spring-watcher-listen', '~> 2.0.0'
end

# Bulkrax
gem 'bulkrax', '~> 4.3.0'
gem 'bulkrax', '~> 5.0'

gem 'blacklight', '~> 6.7'
gem 'blacklight_oai_provider', '~> 6.1', '>= 6.1.1'

gem 'hyrax', git: 'https://github.com/samvera/hyrax.git', branch: 'privkey_for_ga4_3.x' #'~> 3.6.0'
gem 'addressable', '2.8.1'
gem 'bolognese', '>= 1.9.10'
gem 'hyrax-doi', git: 'https://github.com/samvera-labs/hyrax-doi.git'#, branch: 'hyrax_upgrade'
gem 'hyrax-doi', git: 'https://github.com/samvera-labs/hyrax-doi.git', branch: 'hyrax_upgrade'
gem 'hyrax-iiif_av', git: 'https://github.com/samvera-labs/hyrax-iiif_av.git', branch: 'main'
gem 'iiif_print', git: 'https://github.com/scientist-softserv/iiif_print.git', branch: 'main'
gem 'postrank-uri', '>= 1.0.24'
gem 'redlock', '>= 0.1.2', '< 2.0' # lock redlock per https://github.com/samvera/hyrax/pull/5961
gem 'rsolr', '~> 2.0'

gem 'devise'
gem 'devise-guests', '~> 0.3'
gem 'devise-i18n'
gem 'devise_invitable', '~> 1.6'

gem 'apartment'
gem 'config', '~> 2.2', '>= 2.2.1'
gem 'is_it_working'
gem 'rolify'

gem 'flipflop', '~> 2.3'
gem 'lograge'

gem 'mods', '~> 2.4'

group :aws, :test do
gem 'carrierwave-aws', '~> 1.3'
end

group :aws do
gem 'active_elastic_job'#, git: 'https://github.com/active-elastic-job/active-elastic-job'
gem 'aws-sdk-sqs'
end

gem 'activejob-scheduler', git: 'https://github.com/notch8/activejob-scheduler.git'
gem 'bootstrap-datepicker-rails'
gem "cocoon"
Expand All @@ -142,7 +126,6 @@ gem 'sidekiq'
gem 'terser' # to support the Safe Navigation / Optional Chaining operator (?.) and avoid uglifier precompile issue
gem 'tether-rails'
gem 'progress_bar'

# Pronto adds comments to MRs in gitlab when rubocop offenses are made.
gem 'pronto'
gem 'pronto-brakeman', require: false
Expand All @@ -153,5 +136,10 @@ gem 'pronto-rubocop', require: false

gem "order_already", "~> 0.3.1"
gem "redcarpet"
# When first attempting to upgrade to Hyrax v3.4.2, this dry-monads gem was upgraded to v1.5.0.
# This version threw the following error:
# NameError: uninitialized constant Dry::Monads::Result::Transformer
# Locking it to v1.4.x does not throw an error.
gem 'dry-monads', '~> 1.4.0'
gem 'blacklight_range_limit'
gem "blacklight_advanced_search"
Loading
Loading