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

Testing develop on staging #5412

Merged
merged 326 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
326 commits
Select commit Hold shift + click to select a range
36c11a1
Merge pull request #5197 from avalonmediasystem/visibility_facet
cjcolvar May 31, 2023
6713b7f
Adjust display/hide of caption edit labels
masaball May 31, 2023
77b7821
Use SpeedyAF::Proxy for faster ability checks
cjcolvar May 31, 2023
78a2f04
Set MasterFile duration from ActiveEncode technical metadata
masaball Jun 1, 2023
47d5459
Readd duration assignment to reloadTechnicalMetadata!
masaball Jun 1, 2023
c0d86a5
Update #set_default_poster_offset
masaball Jun 2, 2023
405c980
Merge pull request #5223 from avalonmediasystem/poster_bug
masaball Jun 5, 2023
6a4d4bc
Clean up
masaball Jun 5, 2023
ec3a17c
Move waveform to seeAlso
masaball Jun 7, 2023
082ee4f
Validate caption file type
masaball Jun 7, 2023
b0ebd01
Fix tests
masaball Jun 7, 2023
772faf2
Improve behavior of public and token timelines
masaball Jun 9, 2023
6217ba3
Move #show url_fragment generation to own method
masaball Jun 9, 2023
4ce5380
Fix for codeclimate
masaball Jun 9, 2023
2f2f102
Simplify negative caption validation test
masaball Jun 12, 2023
5edf0ce
Small refactor and test for save callback url
cjcolvar Jun 13, 2023
cc9c371
Merge pull request #5213 from avalonmediasystem/multiple_captions
masaball Jun 13, 2023
6242c83
Merge pull request #5229 from avalonmediasystem/public_timeline
cjcolvar Jun 13, 2023
fc12e33
Add ability checks for SpeedyAF::Base objects; only use proxy for end…
cjcolvar Jun 13, 2023
4d05e30
Adjust tests
masaball Jun 14, 2023
a16169a
Merge pull request #5221 from avalonmediasystem/cjcolvar-patch-3
cjcolvar Jun 14, 2023
7106011
Slight refactor of #see_also
masaball Jun 14, 2023
487159c
Merge pull request #5231 from avalonmediasystem/seeAlso_waveform
masaball Jun 15, 2023
0dd5135
Bump iiif_manifest
masaball Jun 15, 2023
641dcfe
Merge pull request #5232 from avalonmediasystem/seeAlso_waveform
masaball Jun 15, 2023
4f30a7d
New SME build using seeAlso property for waveform information
Dananji Jun 15, 2023
18afdca
Fix failing #see_also tests
masaball Jun 16, 2023
7b1d6ac
Merge pull request #5233 from avalonmediasystem/sme-waveform-build
cjcolvar Jun 16, 2023
b9c9885
Avoid reifying from fedora when rendering thumbnail on search results…
cjcolvar Jun 16, 2023
35042d4
Avoid reifying on hls_manifest requests when master file title isn't set
cjcolvar Jun 16, 2023
c0b519c
Don't load from fedora on item view page or IIIF manifest
cjcolvar Jun 16, 2023
542928d
Load from fedora when doing edit, update, or json_update
cjcolvar Jun 20, 2023
17a04ac
Assume solr fields are multiple if they include the m suffix except i…
cjcolvar Jun 20, 2023
1e30d2a
Mirror previous behavior by raising not found if SpeedyAF can't find …
cjcolvar Jun 21, 2023
358cb50
Add captions and transcripts to iiif manifest
masaball May 30, 2023
d999557
Add tests
masaball Jun 2, 2023
c5f4cc7
Generate distinct IIIF IDs for captions and transcripts
masaball Jun 15, 2023
faaf6aa
Fix for codeclimate
masaball Jun 15, 2023
1fd471e
Add legacy master file captions to manifest
masaball Jun 16, 2023
b743e0d
Fix typo in test
masaball Jun 21, 2023
a1bf501
More refinement of singular fields
cjcolvar Jun 21, 2023
5b531a9
Fix tests
cjcolvar Jun 21, 2023
41a84be
Speedily show delete confirmation page
cjcolvar Jun 21, 2023
5235bd8
Handle more case statements looking specifically for MediaObject
cjcolvar Jun 21, 2023
2cf91f3
Allow is_a? checks to work with SpeedyAF
cjcolvar Jun 21, 2023
56dfb5f
Authorize in #show_progress instead of load_and_authorize_resource fo…
cjcolvar Jun 21, 2023
109823d
Refactor methods into concern for sharing between presenter and model
cjcolvar Jun 21, 2023
ae8e617
Test that fedora isn't called and final fixes to get tests to pass
cjcolvar Jun 21, 2023
140c1a5
Fix failing tests
cjcolvar Jun 23, 2023
5585f2f
Don't reify if captions not found
cjcolvar Jun 23, 2023
4370a2d
Use the configured protocol of embed url instead of //
cjcolvar Jun 26, 2023
38a0838
Avoid reading from fedora when loading playlist show view
cjcolvar Jun 26, 2023
a9746b1
Merge pull request #5235 from avalonmediasystem/andale_andale
cjcolvar Jun 27, 2023
0da085a
Avoid reifying when to_key is called on MediaObject
cjcolvar Jun 27, 2023
ee0c066
Use SpeedyAF proxy for MediaObject tree route
cjcolvar Jun 27, 2023
ac9c4a9
Use SpeedyAF proxies for add to playlist routes
cjcolvar Jun 27, 2023
6aacf21
Use SpeedyAF proxies for BookmarksController actions
cjcolvar Jun 27, 2023
d6c8c11
Merge pull request #5243 from avalonmediasystem/proper_protocol
cjcolvar Jun 27, 2023
8941058
Merge pull request #5244 from avalonmediasystem/speedy_playlists
cjcolvar Jun 27, 2023
3981f84
Merge pull request #5246 from avalonmediasystem/speedy_keys
cjcolvar Jun 27, 2023
0151ae9
Merge pull request #5247 from avalonmediasystem/speedy_tree
cjcolvar Jun 27, 2023
2464687
Merge pull request #5248 from avalonmediasystem/faster_faster
cjcolvar Jun 27, 2023
e9c5ea3
Index collection posters and serve from solr if <512K
cjcolvar Jun 27, 2023
55be10f
Check for existence of master_file.captions
masaball Jun 28, 2023
81b718a
Merge pull request #5245 from avalonmediasystem/index_collection_posters
cjcolvar Jun 28, 2023
ed42861
Use SpeedyAF when rendering bulk action modals
cjcolvar Jun 28, 2023
47deff6
Collection poster end-user route should use SpeedyAF like admin route
cjcolvar Jun 28, 2023
4153b61
Merge pull request #5226 from avalonmediasystem/iiif_caption_transcript
masaball Jun 28, 2023
34c55fb
Indicate machine generated transcripts in iiif manifest
masaball Jun 12, 2023
fa12100
Merge pull request #5250 from avalonmediasystem/speedy_collection_poster
cjcolvar Jun 28, 2023
943a014
Merge pull request #5249 from avalonmediasystem/bulk_actions_speedyif…
cjcolvar Jun 28, 2023
a281e93
Merge pull request #5251 from avalonmediasystem/iiif_robot_transcript
masaball Jun 28, 2023
2b16196
Bump active encode
masaball Jun 23, 2023
5da1d6f
Refactor access settings forms for collection edit
masaball Jun 27, 2023
91ad81b
Move media object access forms to their own partial
masaball Jun 27, 2023
b8f1efb
Update controller and bulk action job
masaball Jun 29, 2023
a6e1f60
Update views
masaball Jun 29, 2023
bb7e7d0
SpeedyAF::Proxy::Model#where does not automatically include has_model…
cjcolvar Jun 30, 2023
4b8fbff
Adjust naming
masaball Jun 30, 2023
fffb72c
Merge pull request #5254 from avalonmediasystem/speedy_bulk_action_mo…
cjcolvar Jun 30, 2023
ef3f076
Index cdl_enabled as _bsi instead of _ssim
cjcolvar Jun 30, 2023
07f63a5
Merge pull request #5257 from avalonmediasystem/speedy_cdl_fix
cjcolvar Jun 30, 2023
6947a33
Update testing
masaball Jul 3, 2023
3bc747f
Add handling for multiple captions to HLS manifest
masaball Jun 6, 2023
c4868ab
Change param name and make minor fixes
masaball Jun 20, 2023
3bbda46
Add test for 'master_file_caption' option
masaball Jun 29, 2023
03d9683
Fix special access modal
masaball Jul 5, 2023
7096cde
Fix special access overwrite param
masaball Jul 5, 2023
ffc8aca
Merge pull request #5238 from avalonmediasystem/hls_multiple_captions
masaball Jul 5, 2023
facf0b4
Fix alignments of the edit forms and labels for supplemental file edi…
Dananji Jul 10, 2023
060a6b7
Separate modal submit to its own form and cleanup
masaball Jul 11, 2023
0f06a14
Merge pull request #5258 from avalonmediasystem/access_settings
masaball Jul 12, 2023
502a150
Merge pull request #5261 from avalonmediasystem/manage-files-align
Dananji Jul 12, 2023
ac14ca4
SME with video display and scrollable structure
Dananji Jul 6, 2023
60dd037
Add SME build with video
Dananji Jul 13, 2023
c717f4b
Merge pull request #5260 from avalonmediasystem/new-sme-with-video
Dananji Jul 13, 2023
74b1e4b
Fix read group assignment on overwrite
masaball Jul 13, 2023
3cd3c4d
Increase whitespace above Set Default Access Control heading
masaball Jul 13, 2023
33d2c79
Move if clause to DRY up code
masaball Jul 14, 2023
fe92501
Add playlist manifest to routes
masaball Jul 6, 2023
ba5ba35
Create service for serializing playlists to IIIF
masaball Jul 10, 2023
5c098c4
Bump iiif_manifest
masaball Jul 11, 2023
b42843b
Add playlist metadata and fix ranges
masaball Jul 12, 2023
871c3ad
Add tests
masaball Jul 13, 2023
b277096
Merge pull request #5263 from avalonmediasystem/access_settings
masaball Jul 14, 2023
1b0f8c0
Allow users in manager group to be added to collection with editor role
cjcolvar Jul 17, 2023
e998b48
Merge pull request #5265 from avalonmediasystem/editor_not_manager
cjcolvar Jul 21, 2023
e5b7379
Fix bugs with collection manager move to new property
cjcolvar Jul 21, 2023
14da15a
Merge pull request #5268 from avalonmediasystem/collection_manager_fixes
cjcolvar Jul 21, 2023
824ed85
Bump IIIF Manifest gem and adjust handling of media fragments
masaball Jul 21, 2023
e7b34f8
Fixes for codeclimate
masaball Jul 24, 2023
7b937bc
Handle read/edit users/groups
cjcolvar Jul 24, 2023
8054ca8
Merge pull request #5271 from avalonmediasystem/speedy_mo_ac
cjcolvar Jul 24, 2023
83b8252
Update tests and clean up
masaball Jul 25, 2023
3e34711
Merge pull request #5264 from avalonmediasystem/iiif_playlist
masaball Jul 25, 2023
7f4b99a
Change poster CSS to 'contain'
masaball Jul 25, 2023
b24fbca
Merge pull request #5274 from avalonmediasystem/poster_size_css
Jul 27, 2023
6f63275
Use #update instead of deprecated #update_attributes
cjcolvar Jul 31, 2023
8342283
Merge pull request #5282 from avalonmediasystem/persona_user_update_fix
cjcolvar Aug 1, 2023
c3d5662
Strip trailing slashes from uris to avoid odd case in AF/LDP/AT
cjcolvar Aug 2, 2023
9e49aa4
Add tests for trailing slash in id
cjcolvar Aug 2, 2023
1b27d0f
Proposed fix for issue #5286
sgurnick Aug 4, 2023
cab4bb9
Ensure migration can run to completion even if a collection is manage…
cjcolvar Aug 7, 2023
1ca5c95
Use matching node version (14) to fix container build
cjcolvar Aug 7, 2023
143ff5c
Merge pull request #5290 from avalonmediasystem/cjcolvar-patch-4
cjcolvar Aug 7, 2023
ce9faed
Add series to MediaObject model and provide edit form
masaball Aug 7, 2023
6650c87
Retool avalon_marker controller to act more like the Web Annotation P…
cjcolvar Aug 8, 2023
8c7caf3
Add MediaObject.autocomplete tests
masaball Aug 8, 2023
01a32a7
Adjust other model autocompletes to handle id param
masaball Aug 8, 2023
2195b31
Redesign solr query for case insensitiveness
masaball Aug 8, 2023
a95280b
Fixes for codeclimate
masaball Aug 8, 2023
bb96d1e
Merge pull request #5291 from avalonmediasystem/matching_nodejs
cjcolvar Aug 9, 2023
7e0f84e
Fix typo in spec
masaball Aug 9, 2023
1aa85ea
Add hint text for series form field
masaball Aug 9, 2023
700f063
Merge pull request #5295 from avalonmediasystem/annotation_service
cjcolvar Aug 9, 2023
9841c72
Fix media fragment anchor and change range labels
masaball Aug 9, 2023
4a709c6
Change series indexing and tighten tests
masaball Aug 9, 2023
a9b085f
Return web annotation json for GET requests
cjcolvar Aug 9, 2023
f3dec49
Merge pull request #5297 from avalonmediasystem/iiif_playlist
masaball Aug 9, 2023
741119e
Merge pull request #5293 from avalonmediasystem/media-series
masaball Aug 9, 2023
7ccdb86
Add motivation to annotation response
cjcolvar Aug 9, 2023
b501151
Add CORS headers to annotation service endpoints
cjcolvar Aug 9, 2023
a6186cc
Put id in correct place in web annotation json
cjcolvar Aug 10, 2023
e834ec6
Merge pull request #5298 from avalonmediasystem/annotation_service
cjcolvar Aug 10, 2023
37185c5
LocalStorage is not available inside an iframe unless users change a …
cjcolvar Aug 10, 2023
a96bcc0
Simplify conditionals
cjcolvar Aug 14, 2023
d116b6b
Handle edge case of multiple trailing slashes
cjcolvar Aug 14, 2023
2624c4f
Merge pull request #5284 from avalonmediasystem/cjcolvar-patch-3
cjcolvar Aug 14, 2023
e8f8d85
Create podman-image.yml to build images and push to both GHCR and Doc…
cjcolvar Aug 9, 2023
d8906a9
Merge pull request #5310 from avalonmediasystem/cjcolvar-patch-4
cjcolvar Aug 14, 2023
6364985
Ramp poc (#5277)
Dananji Aug 15, 2023
a71ef04
Upgrade to node 20
cjcolvar Aug 10, 2023
710d56a
Switch to shakapacker from webpacker
cjcolvar Aug 10, 2023
c0b9185
Use latest develop image and bump open file limit needed for fcrepo
cjcolvar Aug 16, 2023
f515a3a
Merge branch 'develop' into conditional_local_storage
cjcolvar Aug 16, 2023
a868aae
Merge pull request #5307 from avalonmediasystem/conditional_local_sto…
cjcolvar Aug 16, 2023
6e80b25
Use blank canvas to represent inaccesible playlist items
masaball Aug 16, 2023
000935d
Fixes for codeclimate
masaball Aug 16, 2023
2afc316
Pass into presenter the result of ability check
masaball Aug 16, 2023
be05458
Change kwarg default to reflect boolean expectation
masaball Aug 18, 2023
6720614
Bump iiif_manifest
masaball Aug 18, 2023
e587669
Merge pull request #5315 from avalonmediasystem/blank_canvas
masaball Aug 18, 2023
b1d0ab3
Update arguments for annotation_content methods
masaball Aug 18, 2023
346055a
Add support for solr 9 and test it
cjcolvar Aug 15, 2023
0fc4c7e
Merge pull request #5317 from avalonmediasystem/bump_iiif
masaball Aug 18, 2023
d71dbbf
Use `circleci tests run` to enable rerun only failed tests option
cjcolvar Aug 18, 2023
e78e5eb
Fix issue blocking ramp from loading on item view page
cjcolvar Aug 18, 2023
3c2ba09
Add parent item metadata to playlist canvases
masaball Aug 18, 2023
1be8107
Merge pull request #5319 from avalonmediasystem/parent_item_metadata
masaball Aug 18, 2023
268e0d7
Merge pull request #5308 from avalonmediasystem/node_webpack_upgrade
cjcolvar Aug 21, 2023
ae700eb
Don't use SpeedyAF::Proxy on route which modifies StructuralMetadata
cjcolvar Aug 18, 2023
e9d2e79
Merge pull request #5320 from avalonmediasystem/SME_save
cjcolvar Aug 21, 2023
b477907
Merge pull request #5311 from avalonmediasystem/solr9
cjcolvar Aug 22, 2023
0027e26
Fix input field for series autocomplete
masaball Aug 22, 2023
f815e62
Add marker annotation service definition to playlist manifest if requ…
cjcolvar Aug 22, 2023
7d723b4
Merge pull request #5318 from avalonmediasystem/circleci_failed_test_…
cjcolvar Aug 22, 2023
f9125d8
Add id value to MediaObject.autocomplete
masaball Aug 22, 2023
5d208a3
Merge pull request #5322 from avalonmediasystem/media-series
masaball Aug 22, 2023
f0134a1
Add other Ramp components to item page
Dananji Aug 17, 2023
0fb8fe2
Add conditional rendering for CDL
Dananji Aug 21, 2023
789d20f
Render progress when ingesting in-progress
Dananji Aug 21, 2023
83c799c
Ramp with fixes to transcript rendering
Dananji Aug 22, 2023
558da48
Fix failing tests
Dananji Aug 22, 2023
8e8aa2b
Refactor prop naming and access to provide context
Dananji Aug 22, 2023
309c7b7
Rebase off of develop and build yarn.lock
Dananji Aug 22, 2023
d1dc1c7
Merge pull request #5321 from avalonmediasystem/anno_service_declaration
cjcolvar Aug 23, 2023
c6d84b7
StringIO no longer supports #lines so switched to #each_line
cjcolvar Aug 4, 2023
d315e2a
Code cleanup and fix failing test
Dananji Aug 24, 2023
ff79c69
Merge pull request #5326 from avalonmediasystem/sgurnick-issue-5286
cjcolvar Aug 25, 2023
cf47711
Skip JS tests
Dananji Aug 28, 2023
f70f124
Merge pull request #5323 from avalonmediasystem/ramp-itemview-page
cjcolvar Aug 28, 2023
c2ca70d
Change 'Add' access setting button to btn-primary
masaball Aug 29, 2023
a881e9c
Fix auth check for playlist manifest generation
masaball Aug 29, 2023
cb0ca4a
Merge pull request #5333 from avalonmediasystem/button-up
masaball Aug 29, 2023
2cb858e
Merge pull request #5334 from avalonmediasystem/playlist_manifest_auth
masaball Aug 30, 2023
a477a5b
Add series metadata to object view and catalog
masaball Aug 22, 2023
579da82
Adjust tests and add placeholders for MODS changes
masaball Aug 24, 2023
8c6438e
Fix failing SpeedyAF and Media Object series tests
masaball Aug 28, 2023
6f7300f
Set self._series in media object model
masaball Aug 29, 2023
e8e50db
Fix Series field in iiif manifest
masaball Aug 30, 2023
1e2ca94
Move series property into descMetadata MODS document.
cjcolvar Sep 5, 2023
eb47d62
Bring series property in through bib import including dedup.
cjcolvar Sep 5, 2023
eac52db
Merge pull request #5347 from avalonmediasystem/series_mods
masaball Sep 5, 2023
443d46c
Add credentials cors headers for playlist marker edit operations
cjcolvar Sep 6, 2023
2502f3b
Implement embedded player using videojs
masaball Sep 5, 2023
3b8f8af
Reenable playlist player
masaball Sep 6, 2023
539c69f
Add access restriction and lending period to iiif metadata
masaball Sep 7, 2023
e76bc27
Move videojs inclusion and embed css into asset pipeline
masaball Sep 7, 2023
4fa129c
Merge pull request #5354 from avalonmediasystem/iiif_manifest_access_…
masaball Sep 8, 2023
808ff0f
Merge branch 'develop' into object-view-series
masaball Sep 8, 2023
3c957cf
Remove unneeded <script> tags from partial
masaball Sep 8, 2023
590fa57
Merge pull request #5351 from avalonmediasystem/videojs-embed
masaball Sep 8, 2023
f306747
Fix serialization of source metadata in playlist manifests
masaball Sep 8, 2023
b1a9120
Merge pull request #5327 from avalonmediasystem/object-view-series
masaball Sep 11, 2023
37c8209
Merge pull request #5358 from avalonmediasystem/iiif_playlist_source_…
masaball Sep 11, 2023
ea54703
Prevent reification when loading media object #show
masaball Sep 11, 2023
efa50ad
Add persisted? to IndexedFile solr doc
masaball Sep 12, 2023
2b422c9
Add localstorage check to Modernizr
cjcolvar Sep 12, 2023
21b1c92
Use Modernizr to check if localStorage is available
cjcolvar Sep 12, 2023
75aef58
Use Modernizr to check if localStorage is available
cjcolvar Sep 12, 2023
9958b27
Define persisted? in proxy instead of storing in solr doc
masaball Sep 13, 2023
87d6daa
Merge pull request #5362 from avalonmediasystem/still_reifying
cjcolvar Sep 13, 2023
185d185
Move create thumbnail button out of player
masaball Sep 14, 2023
f581905
Use correct comment syntax
cjcolvar Sep 15, 2023
d171ed9
Merge pull request #5349 from avalonmediasystem/cjcolvar-patch-3
masaball Sep 20, 2023
fb118f3
Merge pull request #5367 from avalonmediasystem/localstorage-redux
cjcolvar Sep 22, 2023
71c691c
Merge pull request #5371 from avalonmediasystem/create_thumbnail
masaball Sep 22, 2023
e8de783
Create partials for title and playlist button
masaball Sep 22, 2023
0f29854
Implement new media object page design
masaball Sep 22, 2023
d1dbd29
Change class name of add to playlist button
masaball Sep 25, 2023
fd74d51
Add expand all sections button
masaball Sep 25, 2023
3e8010b
Skip test requiring Ramp to render
masaball Sep 25, 2023
9850c77
Remove references to webpacker
cjcolvar Sep 20, 2023
b2bb1f5
Clean some disk space by removing unused parts from base image
cjcolvar Sep 20, 2023
cca1b7c
Add ending time to range canvas references
masaball Sep 26, 2023
7d72c69
Merge pull request #5382 from avalonmediasystem/ending_time
masaball Sep 26, 2023
0d16202
Merge pull request #5381 from avalonmediasystem/production_build
cjcolvar Sep 27, 2023
7cc481e
Remove unneeded html and css
masaball Sep 27, 2023
5d164cd
Merge pull request #5380 from avalonmediasystem/new_mo_show
masaball Sep 29, 2023
b46971b
Override Ramp css for details and transcript tabs in itemview page
Dananji Oct 2, 2023
952a9c8
Update player API to work with new embedded player
masaball Oct 2, 2023
4fddb64
Use preferred method for getting videojs player
masaball Oct 3, 2023
4019a16
Merge pull request #5394 from avalonmediasystem/player-api
masaball Oct 3, 2023
6867815
Merge pull request #5393 from avalonmediasystem/css-fix-itempage
Dananji Oct 3, 2023
5e87809
New Ramp build
Dananji Oct 3, 2023
b483405
Merge pull request #5396 from avalonmediasystem/new-ramp-build
Dananji Oct 4, 2023
5597232
Fix title font to match ramp components
masaball Oct 5, 2023
24a62a9
Merge pull request #5403 from avalonmediasystem/title-css
masaball Oct 5, 2023
43752cf
Use fragment_identifier in playlist item ranges
masaball Oct 5, 2023
3cf72b5
Merge pull request #5404 from avalonmediasystem/playlist_structure_fr…
masaball Oct 6, 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
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
docker:
# Primary container image where all steps run.
- image: avalonmediasystem/avalon:7.5.0-dev-ruby3
- image: avalonmediasystem/avalon:develop
environment:
- DATABASE_URL=postgresql://postgres@localhost:5432/postgres
- FEDORA_URL=http://localhost:8080/fcrepo/rest
Expand All @@ -21,7 +21,7 @@ jobs:
environment:
CATALINA_OPTS: '-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC'
- image: zookeeper:3.4
- image: solr:8-slim
- image: solr:9
environment:
VERBOSE: yes
SECURITY_JSON: '{"authentication":{"blockUnknown": false, "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, "realm":"My Solr users", "forwardCredentials": false}, "authorization":{ "class":"solr.RuleBasedAuthorizationPlugin", "permissions":[{"name":"security-edit", "role":"admin"}], "user-role":{"solr":"admin"}}}'
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
fi
zip -1 -r solr_conf.zip ./*
curl -H "Content-type:application/octet-stream" --data-binary @solr_conf.zip "http://solr:[email protected]:<< parameters.solr_port >>/solr/admin/configs?action=UPLOAD&name=solrconfig"
curl -H 'Content-type: application/json' http://solr:[email protected]:<< parameters.solr_port >>/api/collections/ -d '{create: {name: << parameters.core_name >>, config: solrconfig, numShards: 1}}'
curl "http://solr:[email protected]:<< parameters.solr_port >>/solr/admin/collections?action=CREATE&name=hydra-test&numShards=1&collection.configName=solrconfig"

- run:
command: |
Expand All @@ -113,11 +113,11 @@ jobs:

# Pull in the parallel_rspec step and modify it to ensure that test results get stored
# - samvera/parallel_rspec
- run: mkdir /tmp/test-results
- run:
name: Run rspec in parallel
command: |
mkdir /tmp/test-results
bundle exec rspec --format progress --format RspecJunitFormatter -o /tmp/test-results/rspec.xml $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
circleci tests glob "spec/**/*_spec.rb" | circleci tests run --command="xargs bundle exec rspec --format progress --format RspecJunitFormatter -o /tmp/test-results/rspec.xml" --verbose --split-by=timings
# collect reports
- store_test_results:
path: /tmp/test-results
Expand Down
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Report an identified bug
title: "[BUG] "
labels: "bug \U0001F41B"
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior, including the results:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen when these steps are followed.

**Screenshots/Screen Recording**
If applicable, add screenshots or a screen recording to help explain your problem.

**Environment (please complete the following information):**
- Device / platform [e.g. laptop, iphone pro 12]
- OS: [e.g. iOS]
- Browser [e.g. chrome version 90.0.4430.93]
- [ ] avalon-dev
- [ ] avalon-staging
- [ ] mco-staging
- [ ] mco-production
- [ ] demo

**Release:**
Is this issue associated with a specific release? [e. g. 7.6]

**Additional notes**
Any additional information or notes that may be helpful in diagnosing or fixing the problem.
84 changes: 84 additions & 0 deletions .github/workflows/podman-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Builds image and stores in ghcr.io then sends webhook to deploy new image
name: Podman Image CI

on:
push:
branches: [ "main", "staging", "develop", "sandbox" ]

env:
GHCR_USER: ${{ github.actor }}
GHCR_PASSWORD: ${{ github.token }}
GHCR_IMAGE_REGISTRY: ghcr.io/avalonmediasystem
DOCKERHUB_IMAGE_REGISTRY: docker.io/avalonmediasystem
DOCKERHUB_USER: ${{ secrets.dockerhub_user }}
DOCKERHUB_PASSWORD: ${{ secrets.dockerhub_password }}
IMAGE_TAG: ${{ fromJSON('{"refs/heads/main":"production","refs/heads/develop":"develop","refs/heads/staging":"staging","refs/heads/sandbox":"sandbox"}')[github.ref] }}
BRANCH: ${{ fromJSON('{"refs/heads/main":"main","refs/heads/develop":"develop","refs/heads/staging":"staging","refs/heads/sandbox":"sandbox"}')[github.ref] }}
BUILD_TARGET: ${{ fromJSON('{"refs/heads/main":"prod","refs/heads/develop":"dev","refs/heads/staging":"prod","refs/heads/sandbox":"prod"}')[github.ref] }}

jobs:

build:
runs-on: ubuntu-latest

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v3
- name: Determine DockerHub image tags
id: determine_dockerhub_tags
run: |
AVALON_VERSION=`script/avalon_image_tags.rb -t`
echo "AVALON_VERSION=${AVALON_VERSION}" >> "$GITHUB_OUTPUT"
if [ $IMAGE_TAG = 'develop' ]; then
AVALON_TAGS=`script/avalon_image_tags.rb --branch ${BRANCH} -a ${AVALON_VERSION}-dev | awk 'gsub(","," ")'`
elif [ $IMAGE_TAG = 'production' ]; then
AVALON_TAGS=`script/avalon_image_tags.rb -s -t -a latest | awk 'gsub(","," ")'`
else
AVALON_TAGS=""
fi
echo "tags=${AVALON_TAGS}" >> "$GITHUB_OUTPUT"
echo "Will pushing to DockerHub with tags: ${AVALON_TAGS}"
- name: Build Image
id: build_image
uses: redhat-actions/buildah-build@v2
with:
image: avalon
tags: ${{ env.IMAGE_TAG }} ${{ github.sha }} ${{ steps.determine_dockerhub_tags.outputs.tags }}
containerfiles: ./Dockerfile
oci: true
extra-args: --target ${{ env.BUILD_TARGET }}
- name: Push To GHCR
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_image.outputs.image }}
tags: ${{ env.IMAGE_TAG }} ${{ github.sha }}
registry: ${{ env.GHCR_IMAGE_REGISTRY }}
username: ${{ env.GHCR_USER }}
password: ${{ env.GHCR_PASSWORD }}
extra-args: |
--disable-content-trust
- name: Push To Dockerhub
if: ${{ steps.determine_dockerhub_tags.outputs.tags != '' }}
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_image.outputs.image }}
tags: ${{ steps.determine_dockerhub_tags.outputs.tags }}
registry: ${{ env.DOCKERHUB_IMAGE_REGISTRY }}
username: ${{ env.DOCKERHUB_USER }}
password: ${{ env.DOCKERHUB_PASSWORD }}
extra-args: |
--disable-content-trust
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN echo "deb http://ftp.us.debian.org/debian/ bullseye main cont
&& echo "deb-src http://ftp.us.debian.org/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list.d/bullseye.list \
&& cat /etc/apt/sources.list.d/bullseye.list \
&& apt-get update && apt-get install -y --no-install-recommends curl gnupg2 ffmpeg \
&& curl -sL http://deb.nodesource.com/setup_14.x | bash - \
&& curl -sL http://deb.nodesource.com/setup_20.x | bash - \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& cat /etc/apt/sources.list.d/nodesource.list \
Expand Down Expand Up @@ -111,7 +111,7 @@ RUN bundle config set --local without 'development test' \


# Install node modules
FROM node:12-bullseye-slim as node-modules
FROM node:20-bullseye-slim as node-modules
LABEL stage=build
LABEL project=avalon
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates
Expand All @@ -131,7 +131,6 @@ COPY --from=node-modules --chown=app:app /node_modules ./node_modules
USER app
ENV RAILS_ENV=production

RUN SECRET_KEY_BASE=$(ruby -r 'securerandom' -e 'puts SecureRandom.hex(64)') bundle exec rake webpacker:compile
RUN SECRET_KEY_BASE=$(ruby -r 'securerandom' -e 'puts SecureRandom.hex(64)') bundle exec rake assets:precompile
RUN cp config/controlled_vocabulary.yml.example config/controlled_vocabulary.yml

Expand Down
7 changes: 3 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ gem 'sass', '3.4.22'
gem 'sprockets-es6'
gem 'twitter-typeahead-rails', '0.11.1.pre.corejavascript'
gem 'uglifier', '>= 1.3.0'
gem 'webpacker'
gem 'shakapacker'

# Core Samvera
gem 'active-fedora', '~> 14.0', '>= 14.0.1'
Expand All @@ -53,7 +53,7 @@ gem 'avalon-about', git: 'https://github.com/avalonmediasystem/avalon-about.git'
#gem 'bootstrap-sass', '< 3.4.1' # Pin to less than 3.4.1 due to change in behavior with popovers
gem 'bootstrap-toggle-rails'
gem 'bootstrap_form'
gem 'iiif_manifest', '~> 1.3'
gem 'iiif_manifest', git: 'https://github.com/samvera-labs/iiif_manifest.git', branch: 'main'
gem 'rack-cors', require: 'rack/cors'
gem 'rails_same_site_cookie'
gem 'recaptcha', require: 'recaptcha/rails'
Expand All @@ -74,11 +74,10 @@ gem 'omniauth-lti', git: "https://github.com/avalonmediasystem/omniauth-lti.git"
gem "omniauth-saml", "~> 2.0"

# Media Access & Transcoding
gem 'active_encode', '~> 1.0', '>= 1.1.3'
gem 'active_encode', '~> 1.2'
gem 'audio_waveform-ruby', '~> 1.0.7', require: 'audio_waveform'
gem 'browse-everything', git: "https://github.com/avalonmediasystem/browse-everything.git", branch: 'v1.2-avalon'
gem 'fastimage'
gem 'media_element_add_to_playlist', git: 'https://github.com/avalonmediasystem/media-element-add-to-playlist.git', tag: 'avalon-r6.5'
gem 'mediainfo', git: "https://github.com/avalonmediasystem/mediainfo.git", tag: 'v0.7.1-avalon'
gem 'rest-client', '~> 2.0'
gem 'roo'
Expand Down
Loading