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

Hide user collection tag #794

Closed
wants to merge 224 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
1e6b11c
fixes for build
orangewolf Sep 19, 2023
4538ab3
add note about running base container, make sure initialize_app is bu…
orangewolf Dec 20, 2023
d01e7a0
Merge pull request #3 from samvera-labs/startup_improvements
orangewolf Jan 8, 2024
a221761
support overriding gems via knapsack
orangewolf Jan 8, 2024
b2ce5be
Update bundler.d/example.rb
jeremyf Jan 8, 2024
fc61518
Merge pull request #4 from samvera-labs/override_gems
orangewolf Jan 8, 2024
175bde3
📚 Doc two different methods for getting started
jeremyf Dec 7, 2023
d04e7d4
Merge pull request #2 from samvera-labs/adding-documentation
jeremyf Jan 9, 2024
fc60c6b
📚 Incorporate docs from Adventist knapsack
jeremyf Jan 9, 2024
418a390
Merge pull request #5 from samvera-labs/updating-documentation
jeremyf Jan 9, 2024
0edb75d
🧹 Use Hyku v6.0.0rc1+ for referencing knapsack main
jeremyf Jan 10, 2024
5a7c54c
Updating knapsack's Gemfile.lock
jeremyf Jan 10, 2024
95d03ab
🧹 Configure Knapsack to Use Hyku Prime
jeremyf Jan 10, 2024
56510a0
Merge pull request #6 from samvera-labs/adding-docs-regarding-knapsack
jeremyf Jan 11, 2024
672dc9b
get fixes from adventist
orangewolf Feb 1, 2024
172a603
Get the build working
ShanaLMoore Feb 19, 2024
54fc18d
Merge pull request #8 from samvera-labs/get-build-working
jeremyf Feb 19, 2024
5fa5dfa
Merge branch 'main' into adventist-mods
ShanaLMoore Feb 20, 2024
9bc2dc4
merge in main
ShanaLMoore Feb 20, 2024
0363299
revert Gemfile.lock
ShanaLMoore Feb 20, 2024
536c7c6
Revert "revert Gemfile.lock"
ShanaLMoore Feb 20, 2024
01c95c1
Revert "Updating knapsack's Gemfile.lock"
ShanaLMoore Feb 20, 2024
96a43bf
Update Gemfile.lock
ShanaLMoore Feb 20, 2024
31c7682
Merge pull request #7 from samvera-labs/adventist-mods
ShanaLMoore Feb 20, 2024
a57745b
🎁 Add works generator
kirkkwang Mar 12, 2024
972d067
🎁 Add SimpleSchemaLoaderDecorator for work types
kirkkwang Mar 15, 2024
e35a628
Merge pull request #10 from samvera-labs/add-works-generator
kirkkwang Mar 15, 2024
031f11f
Merge pull request #11 from samvera-labs/simple-schema-loader-decorator
kirkkwang Mar 15, 2024
c07a2af
Update `HykuKnapsack::WorkResourceGenerator`
kirkkwang Mar 15, 2024
0bdd510
Merge pull request #12 from samvera-labs/update-work-resource-generator
kirkkwang Mar 18, 2024
810f7f1
🎁 Contribute back from HykuUp Knapsack
kirkkwang Apr 2, 2024
48d5d05
Copying Gemfile.lock from hykuu up knapsack
jeremyf Apr 2, 2024
464c1a6
⚙️ Remove Sentry from prime also handle gem file updates
jeremyf Apr 2, 2024
03cc1df
📚 Doc not to add to Gemfile
jeremyf Apr 2, 2024
42dc070
Remove knapsacker
jeremyf Apr 2, 2024
05b0085
💄 endless and ever appeasing of the coppers
jeremyf Apr 2, 2024
caeed7b
Update hyrax-webapp
ShanaLMoore Apr 2, 2024
3f1bfcc
Add symlink for .rspec to run
ShanaLMoore Apr 2, 2024
5b84eed
add rspec.xml blank file
ShanaLMoore Apr 2, 2024
9e0f437
create a sample spec to pass Move test pipeline step
ShanaLMoore Apr 3, 2024
66381e5
add specs for Hyku::Application
ShanaLMoore Apr 3, 2024
4f403f1
add specs for Hyku::Application
ShanaLMoore Apr 3, 2024
4eb3d14
re add rspec.xml
ShanaLMoore Apr 3, 2024
2ab19d4
Merge branch 'prime_main' of https://github.com/samvera-labs/hyku_kna…
ShanaLMoore Apr 3, 2024
35bd9f7
Update rspec.xml
ShanaLMoore Apr 3, 2024
aee1a57
Merge pull request #16 from samvera-labs/prime_main
ShanaLMoore Apr 3, 2024
0cfca4b
update engine.rb to specify engine root for migrations
kirkkwang May 15, 2024
1962a47
Merge pull request #17 from samvera-labs/specific-app-root
kirkkwang May 15, 2024
6ce1ecd
Update generator
kirkkwang Jul 3, 2024
da485d7
Update engine
kirkkwang Jul 3, 2024
f25ff64
Update rails_helper
kirkkwang Jul 3, 2024
5fa90da
Wrap Hyrax initializer in after_initialize
kirkkwang Jul 3, 2024
997fcde
Update Dockerfile
kirkkwang Jul 3, 2024
89eb35a
Update submodule
kirkkwang Jul 12, 2024
c9ac6da
Update Gemfile.lock
kirkkwang Jul 12, 2024
63f9c94
Merge pull request #19 from samvera-labs/contribute-back-from-pals
ShanaLMoore Jul 15, 2024
c3826a8
Merge remote-tracking branch 'knapsack_prime/main' into pull-in-hyku-…
ShanaLMoore Jul 17, 2024
d956499
Changes to get app to build
laritakr Jul 17, 2024
36bb3ec
Comment out shared/ajax_modal for now
ShanaLMoore Jul 18, 2024
8a0a4aa
update submodule to 20b8c56e
ShanaLMoore Jul 18, 2024
e7116c2
update .gitmodule
ShanaLMoore Jul 18, 2024
96fe1ed
:broom: Fix docker build issues
ShanaLMoore Jul 19, 2024
a9045bb
update Gemfile.lock
ShanaLMoore Jul 19, 2024
246508f
🎁 Adds wings initializer
ShanaLMoore Jul 19, 2024
881fcd4
Remove lib/wings
laritakr Jul 19, 2024
47339e2
Resolve decorated decorators
laritakr Jul 19, 2024
d080cb5
Patch simple schema decorator
laritakr Jul 19, 2024
6e962e5
Clean up engine
laritakr Jul 19, 2024
11c9798
Generate ConferenceItemResource
laritakr Jul 19, 2024
e1b5346
Uncomment iiif print for conference item
laritakr Jul 22, 2024
0fc7240
Create DatasetResource
laritakr Jul 22, 2024
91749f3
Create ExamPaperResource
laritakr Jul 22, 2024
d2d2e3a
Fix dataset indexer inheritance
laritakr Jul 22, 2024
aacaa1b
Create Journal Article Resource
laritakr Jul 22, 2024
17a887f
Create published_work_resource
laritakr Jul 22, 2024
2a1e39b
Generate ThesisResource
laritakr Jul 22, 2024
64b6d06
Missed published_works_controller updates
laritakr Jul 22, 2024
7b3de9e
Update ThesisResourceForm from generated version
laritakr Jul 22, 2024
42ccd71
Update thesis resource indexer from generated
laritakr Jul 22, 2024
22474c8
Update thesis resource from generated
laritakr Jul 22, 2024
a0746a7
Additional schemas to resources, forms, and index
laritakr Jul 22, 2024
da33925
Remove docker-compose version
laritakr Jul 22, 2024
cfa48b3
update github actions versions
ShanaLMoore Jul 22, 2024
96df5ba
Final pieces for resource models
laritakr Jul 22, 2024
5e0148e
:bug: Ensure multiple? method is called correctly for new and existin…
ShanaLMoore Jul 22, 2024
f564e5c
Create resources (#702)
laritakr Jul 23, 2024
5213dbb
:bug: Fix form for resoures (#704)
ShanaLMoore Jul 23, 2024
442210a
re-adds if statements
ShanaLMoore Jul 23, 2024
7bc5266
Add some missing includes
laritakr Jul 23, 2024
21ba377
Missed a few indexers
laritakr Jul 23, 2024
d9d633e
Add some missing includes (#706)
laritakr Jul 23, 2024
7f96764
♻️ Revert rails to support good_jobs and remove Gemfile.lock
ShanaLMoore Jul 23, 2024
5ad9251
Adds comment to explain rails version
ShanaLMoore Jul 24, 2024
729fa01
Initial add of metadata for resources
laritakr Jul 23, 2024
38a335b
Update yaml files with actual metadata
laritakr Jul 24, 2024
81267ba
Correct errors
laritakr Jul 24, 2024
a52d9a8
Begin to clean up duplication of metadata terms
laritakr Jul 24, 2024
00aea8f
Finish separating metadata
laritakr Jul 24, 2024
df5c6b6
Collection metadata yaml
laritakr Jul 24, 2024
c2d1dee
Remove term from collection_resource yaml
laritakr Jul 25, 2024
830775e
Add metadata (#712)
laritakr Jul 25, 2024
049efe8
First steps toward slug valkyrization
laritakr Jul 26, 2024
184577b
Add empty line at end of file
laritakr Jul 26, 2024
6d13c63
Complete Valkyrization of slugs
laritakr Jul 30, 2024
9754fa8
Use Hyrax::SolrService to remove extra solr index
laritakr Jul 30, 2024
c4ed078
Valkyrize slugs (#714)
laritakr Aug 1, 2024
74dda42
Add a listener to remove solr for slugs
laritakr Aug 1, 2024
c8d4a93
Update docker-compose.yml
ShanaLMoore Aug 1, 2024
858f4f5
Add slug rescues for admin set not found
ShanaLMoore Aug 2, 2024
aecec0e
Fix transaction for no slugs
laritakr Aug 2, 2024
ee72552
Update Dockerfile
ShanaLMoore Aug 2, 2024
8388d93
Add a listener to remove solr for slugs (#719)
laritakr Aug 5, 2024
ac58d59
Add rescue for ActiveFedora::ObjectNotFoundError
ShanaLMoore Aug 5, 2024
630c7e5
Add lonely operator to chained method calls
ShanaLMoore Aug 5, 2024
5e92ad1
renames CsvParserDecorator to avoid conflicts with Hyku
ShanaLMoore Aug 5, 2024
c88e0b7
Override IiifPrint
laritakr Aug 5, 2024
b17a589
Add override documentation
laritakr Aug 5, 2024
f2b8be2
update submodule
ShanaLMoore Aug 6, 2024
4787234
Adds support to set filename on an uploaded file
ShanaLMoore Aug 6, 2024
bd79212
Fix universal viewer
laritakr Aug 6, 2024
b6c3f10
Fix manifest (#733)
laritakr Aug 6, 2024
0d9bb61
adds override_default_thumbnail property to fileset metadata
ShanaLMoore Aug 7, 2024
7a1c6c6
Update build-test-lint.yaml
ShanaLMoore Aug 7, 2024
559175e
debug: try removing branch: '6-1-stable'
ShanaLMoore Aug 7, 2024
4c25ebe
remove rails override in bundler.d
ShanaLMoore Aug 7, 2024
fa6d3ea
Delete file_set_metadata.yaml
ShanaLMoore Aug 7, 2024
d0d6da0
update submodule to support good jobs
ShanaLMoore Aug 7, 2024
16df6a5
Merge branch 'pull-in-hyku-knapsack' into oai-customizations
ShanaLMoore Aug 7, 2024
528f02b
Update Gemfile
ShanaLMoore Aug 7, 2024
ad938c1
Handle bulkrax thumbnail url
laritakr Aug 7, 2024
dc6428f
spec helper updates
ShanaLMoore Aug 7, 2024
bf169ab
Wire up listener correctly
laritakr Aug 7, 2024
f2e6386
🙃 re adds override_default_thumbnail to fileset
ShanaLMoore Aug 7, 2024
be568b5
Update the docker compose file to use latest base image that is built…
aprilrieger Aug 7, 2024
a58ec26
ci: add ability to select which step to debug
ShanaLMoore Aug 8, 2024
ff2c404
Wire up listener correctly (#736)
laritakr Aug 8, 2024
dd33091
try the easy thing first
orangewolf Aug 8, 2024
15e34d4
Merge branch 'pull-in-hyku-knapsack' of github.com:scientist-softserv…
orangewolf Aug 8, 2024
28983d4
fix various things keeping the specs from running
orangewolf Aug 8, 2024
795cb93
fix load order issue where user got loaded before active record hooks…
orangewolf Aug 8, 2024
86f4293
remove json_canonicalization override and update submodule
ShanaLMoore Aug 9, 2024
9ad6fbf
Merge branch 'pull-in-hyku-knapsack' into oai-customizations
laritakr Aug 9, 2024
37f7649
⚙️ Update submodule and wings for FindBySlug
kirkkwang Aug 9, 2024
7d29371
✅ Fixer indexer specs
ShanaLMoore Aug 12, 2024
2f27b5a
✅ Fix for csv entry spec
ShanaLMoore Aug 12, 2024
83edff6
⚙️ Remove `SimpleSchemaLoaderDecorator`
kirkkwang Aug 12, 2024
e238913
⚙️ Use `adl.test` instead of `hyku.test`
kirkkwang Aug 12, 2024
7e2e140
⚙️ Remove `Gemfile.lock`
kirkkwang Aug 12, 2024
3bc2a7c
✅ Fix for bulkrax failing specs
ShanaLMoore Aug 12, 2024
64e53fd
✅ fix failing spec for adv_search_builder
ShanaLMoore Aug 12, 2024
93093c1
Merge remote-tracking branch 'refs/remotes/origin/pull-in-hyku-knapsa…
ShanaLMoore Aug 12, 2024
bf9fc90
fixes inability to create collections
ShanaLMoore Aug 13, 2024
3273e0f
comment out failing specs for now
ShanaLMoore Aug 13, 2024
bf0aea4
Set thumbnail id via remote files
laritakr Aug 13, 2024
2788776
♻️ Refactor Engine
kirkkwang Aug 13, 2024
ed46b3a
🚧 Add home and show themes to Knapsack
kirkkwang Aug 13, 2024
5e997ca
🧹 updates submodule
ShanaLMoore Aug 14, 2024
6051ac6
✅ Explicitly add IIIF Print to config
kirkkwang Aug 14, 2024
6bcad36
Update staging-deploy.tmpl.yaml
ShanaLMoore Aug 14, 2024
68a5470
⚙️ Move Engine's to_prepare to an initializer
kirkkwang Aug 14, 2024
8379ec8
Merge branch 'pull-in-hyku-knapsack' into pull-in-hyku-knapsack-ui
kirkkwang Aug 14, 2024
0a8f013
💄 Bring back masthead
kirkkwang Aug 14, 2024
f3c3273
Oai customizations (#735)
ShanaLMoore Aug 14, 2024
b3f0fb2
💄 Update user_util_links with Hyku
kirkkwang Aug 15, 2024
718edd2
💄 Update search form area styling
kirkkwang Aug 15, 2024
bf9283e
update submodule for rubocop
ShanaLMoore Aug 15, 2024
72a91cd
add rubocop file
ShanaLMoore Aug 15, 2024
cddc190
Update file set metadata
laritakr Aug 15, 2024
6c6eb2f
Add import url to fileset (#750)
laritakr Aug 15, 2024
ba8d8d3
💄 Fix homepage body and footer styling
kirkkwang Aug 15, 2024
7daf43b
Merge branch 'pull-in-hyku-knapsack' into pull-in-hyku-knapsack-ui
kirkkwang Aug 15, 2024
5e0f159
Pull in hyku knapsack UI (#751)
kirkkwang Aug 15, 2024
6a1e31b
Set Valkyrie env vars for staging
laritakr Aug 15, 2024
d21d07d
💄 Refine css for adventist_digital_library theme
kirkkwang Aug 15, 2024
c8ad84c
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 15, 2024
54adf77
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 16, 2024
4ef608a
💄 Move application and hompage templates
kirkkwang Aug 16, 2024
163b38e
💄 Adjust styles for adl_show page theme
kirkkwang Aug 16, 2024
0181d39
💄 Make appearance styling match Hyku
kirkkwang Aug 16, 2024
b91e8e3
Update submodule
kirkkwang Aug 16, 2024
1fdffcd
🤖 Update build-test-lint
kirkkwang Aug 16, 2024
e5331fb
💄 Fix styling on featured works
kirkkwang Aug 16, 2024
a5f8c1a
Add adl_show preview
kirkkwang Aug 16, 2024
addef83
🐛 Get catalog index working
kirkkwang Aug 16, 2024
87166af
Bring back yellow in header gradient
kirkkwang Aug 17, 2024
213a4ec
💄 Fix catalog search results styles
kirkkwang Aug 17, 2024
50cd15e
🎁 Make feature collections work like Hyku
kirkkwang Aug 18, 2024
58daa68
💄 Add themes behavior to Collections
kirkkwang Aug 18, 2024
2a0fe2e
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
b474be9
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
598f02f
I741 fix adventist valkyrie lint (#754)
sjproctor Aug 19, 2024
7e6badb
🐛 Add a reject for publication_status
kirkkwang Aug 19, 2024
d2f5580
🤖 Remove extra migrations
kirkkwang Aug 19, 2024
67f07db
fix knapsack inclusion of bundler inject files and try to speed up bu…
orangewolf Aug 19, 2024
04f8a5b
fix knapsack inclusion of bundler inject files and try to speed up bu…
ShanaLMoore Aug 20, 2024
ff60e94
Update submodule
laritakr Aug 20, 2024
732bde3
Update submodule (#761)
laritakr Aug 20, 2024
0496c65
Fix permission issue for thumbnail
ShanaLMoore Aug 20, 2024
1b63f28
Fix permission issue for thumbnail (#765)
ShanaLMoore Aug 21, 2024
d04d7c8
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 15, 2024
67a8999
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 16, 2024
9ddcc9f
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
259ff66
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
b29f619
🐛 Add a reject for publication_status
kirkkwang Aug 19, 2024
6481ac6
🤖 Remove extra migrations
kirkkwang Aug 19, 2024
7b6d42e
fix knapsack inclusion of bundler inject files and try to speed up bu…
orangewolf Aug 19, 2024
49944dc
✅ Fixes failing specs
sjproctor Aug 21, 2024
7e3154b
🐛 Wrap slug_valkyrie_overrides in to_prepare
kirkkwang Aug 21, 2024
7f13aa7
Failing tests (#766)
sjproctor Aug 21, 2024
562a30e
guard against nils in _sort_per_page view
ShanaLMoore Aug 21, 2024
e4ec022
Update submodule
laritakr Aug 23, 2024
4a0fae4
Update submodule (#772)
laritakr Aug 23, 2024
42f5d2a
:bug: PDF.js fix
ShanaLMoore Aug 27, 2024
b852c62
:lipstick: rubocop fix
ShanaLMoore Aug 27, 2024
1ca87fc
Override IiifPrint config
laritakr Aug 27, 2024
75f19cb
Fix splitting for generic work and image resoures (#778)
ShanaLMoore Aug 27, 2024
8ff411a
Update submodule
laritakr Aug 28, 2024
fc27973
Update submodule to fix reingesting (#782)
ShanaLMoore Aug 28, 2024
3af4c9b
Use PDFjs flipper to control splitting
laritakr Aug 29, 2024
ecd5589
Switch where we skip out of splitting
laritakr Aug 29, 2024
36cf84f
Do not split if pdfjs flipper on (#783)
laritakr Aug 30, 2024
2360c3b
⚙️disable EXTERNAL_IIIF_URL
ShanaLMoore Aug 30, 2024
eac35dd
Update hyrax-webapp
ShanaLMoore Sep 5, 2024
1216126
🎁 Hide User Collection and Public tags
sjproctor Sep 9, 2024
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
8 changes: 3 additions & 5 deletions .github/workflows/build-test-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
uses: scientist-softserv/actions/.github/workflows/build.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/build.yaml@webworkersunited
secrets: inherit
with:
platforms: 'linux/amd64'
Expand All @@ -26,16 +26,14 @@ jobs:

test:
needs: build
uses: scientist-softserv/actions/.github/workflows/test.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/test.yaml@webworkersunited
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
webTarget: hyku-web
workerTarget: hyku-worker
rspec_cmd: "cd .. && gem install semaphore_test_boosters && bundle && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL"

lint:
needs: build
uses: scientist-softserv/actions/.github/workflows/lint.yaml@v0.0.15
uses: scientist-softserv/actions/.github/workflows/lint.yaml@webworkersunited
with:
webTarget: hyku-web
workerTarget: hyku-worker
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ scratch.md
.DS_Store

/coverage
file_cache/
3 changes: 1 addition & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "hyrax-webapp"]
path = hyrax-webapp
url = https://github.com/samvera/hyku.git
branch = adventist_dev
url = https://github.com/samvera/hyku.git
156 changes: 60 additions & 96 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,132 +1,96 @@
# Turn on RSpec cops
require: rubocop-rspec
inherit_from: .rubocop_todo.yml

# With the rubocop 0.47.0 and rubocop-rspec 1.8.0 the following stderr message was sent:
# An error occurred while RSpec/DescribedClass cop was inspecting path/to/file
RSpec/DescribedClass:
Enabled: false
inherit_gem:
bixby: bixby_default.yml

AllCops:
NewCops: disable
TargetRubyVersion: 3.2.2
DisplayCopNames: true
TargetRubyVersion: 2.3
Exclude:
- 'hyrax-webapp/**/*'
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'vendor/**/*'
- 'lib/dog_biscuits/**/*'
- 'lib/dog_biscuits.rb'
- '.internal_test_app/**/*'
- 'spec/fixtures/**/*'
- 'spec/internal/**/*'
- 'spec/test_app_templates/**/*'
- 'Rakefile'
- 'lib/tasks/rubocop.rake'
# disabling collections controller as most of the rubocop errors are in hyrax
- 'app/controllers/hyrax/dashboard/collections_controller.rb'

Rails:
Enabled: true

Rails/DynamicFindBy:
Whitelist:
- find_by_user_key
# NOTE: When we run knapsack's rubocop, we don't want to check the submodule
# for Hyku. We'll assume it's okay and has it's own policing policies.
- "hyrax-webapp/**/*"
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'vendor/**/*'
- 'lib/tasks/rubocop.rake'

Layout/HashAlignment:
Exclude:
- 'lib/importer/factory/object_factory.rb'

Rails/UnknownEnv:
Environments:
- development
- production
- staging
- test
- app/forms/hyrax/forms/admin/adl_appearance_decorator.rb

Metrics/LineLength:
Max: 120
Metrics/BlockLength:
AllowedMethods: ['included', 'describe', 'it', 'context']
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'spec/controllers/curation_concerns/generic_works_controller_spec.rb'
- 'spec/services/iiif_collection_thumbnail_path_service_spec.rb'
- 'spec/services/iiif_work_thumbnail_path_service_spec.rb'
- 'spec/routing/proprietor/accounts_routing_spec.rb'

Layout/IndentationConsistency:
EnforcedStyle: rails
- "spec/**/*.rb"
- app/controllers/catalog_controller_decorator.rb

Layout/DotPosition:
EnforcedStyle: leading
Metrics/ModuleLength:
Exclude:
- lib/dog_biscuits.rb
- app/models/solr_document_decorator.rb

Style/Documentation:
Style/AsciiComments:
Enabled: false

Style/StringLiterals:
# rubocop suggests !thing.nil? instead, but that is NOT equivalent
Style/DoubleNegation:
Enabled: false

Style/WordArray:
Style/CollectionMethods:
PreferredMethods:
collect: 'map'
collect!: 'map!'
inject: 'reduce'
detect: 'find'
find_all: 'select'

Style/SymbolArray:
Enabled: false

Metrics/ClassLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
Style/ClassAndModuleChildren:
Enabled: false

Metrics/ModuleLength:
Max: 200
Style/SingleLineBlockParams:
Enabled: false

Rails/HasAndBelongsToMany:
Exclude:
- 'app/models/role.rb'
Rails/ApplicationJob:
Enabled: false

RSpec/AnyInstance:
Rails/ApplicationMailer:
Enabled: false

RSpec/InstanceVariable:
Exclude:
- 'spec/controllers/hyku/registrations_controller_spec.rb'
Rails/ApplicationRecord:
Enabled: false

RSpec/NamedSubject:
Rails/RakeEnvironment:
Enabled: false

RSpec/DescribeClass:
Exclude:
- 'spec/requests/**/*'
- 'spec/features/**/*'
- 'spec/views/**/*'
- 'spec/routing/**/*'
- 'spec/tasks/**/*'
# We define custom methods like `find_by_user_key`,
# `find_by_created_date`, etc
Rails/DynamicFindBy:
Enabled: false

Rails/FilePath:
Exclude:
- 'spec/routing/**/*'
# # By default RSpec/MessageSpies has the following:
# # Prefer have_received for setting message expectations. Setup form as a spy using allow or instance_spy.
# # The default assumes EnforcedStyle is 'have_received'. Most of our specs are 'receive'
RSpec/MessageSpies:
Enabled: false

RSpec/ExpectActual:
Exclude:
- 'spec/routing/**/*'
Enabled: false

RSpec/VerifiedDoubles:
RSpec/LetSetup:
Enabled: false

RSpec/MessageExpectation:
Enabled: false

# By default RSpec/MessageSpies has the following:
# Prefer have_received for setting message expectations. Setup form as a spy using allow or instance_spy.
RSpec/MessageSpies:
Enabled: true
EnforcedStyle: receive

RSpec/ExampleLength:
Max: 20

RSpec/NestedGroups:
Max: 4
Enabled: false

RSpec/MultipleExpectations:
RSpec/LeadingSubject:
Enabled: false

Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'lib/tasks/*.rake'
- 'app/controllers/catalog_controller.rb'
RSpec/ExampleLength:
Max: 16
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Metrics/CyclomaticComplexity:
# Offense count: 14
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Layout/LineLength:
Max: 161

# Offense count: 24
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ghcr.io/samvera/hyku/base:d6ef0431 as hyku-knap-base
FROM ghcr.io/samvera/hyku/base:20b8c56e as hyku-knap-base

# This is specifically NOT $APP_PATH but the parent directory
COPY --chown=1001:101 . /app/samvera
RUN ln -s /app/samvera/bundler.d /app/.bundler.d
ENV BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera
ENV BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true

Expand Down
Loading
Loading