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

Release 7.5 #5005

Merged
merged 326 commits into from
Dec 7, 2022
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
308bf80
Refactor for codeclimate
masaball Aug 1, 2022
8e45126
Update spec/controllers/vocabulary_controller_spec.rb
masaball Aug 1, 2022
4e3c97c
Merge pull request #4814 from avalonmediasystem/controlled_vocab_api
cjcolvar Aug 1, 2022
8ac1c78
Allow managers to GET collection/items endpoint
masaball Aug 2, 2022
c913f8d
Limit items endpoint to users who have read access
masaball Aug 2, 2022
17f3cc5
Merge pull request #4816 from avalonmediasystem/collection_items_api
cjcolvar Aug 3, 2022
3e08f37
Update checkouts page
masaball Aug 3, 2022
a8fb335
Refactor update of checkouts page
masaball Aug 3, 2022
a409b64
Updates to item page CDL controls
Dananji Aug 4, 2022
fa7dfe7
Merge pull request #4817 from avalonmediasystem/checkouts_updates
cjcolvar Aug 5, 2022
6346b17
Cleaner formatting of lending period string using ActiveSupport
Dananji Aug 5, 2022
1bd4791
Merge pull request #4818 from avalonmediasystem/cdl_item-page-updates
Dananji Aug 5, 2022
3d16c67
Display remaining time for non-admin users
Dananji Aug 1, 2022
3449799
Fix for failing test
Dananji Aug 1, 2022
f3a5a6c
Add back in hidden content on view page
Dananji Aug 5, 2022
1aa31a5
Lending period countdown changes
Dananji Aug 5, 2022
6c9d6a9
Change file_watcher implementation used in development to support M1 …
cjcolvar Aug 5, 2022
1c12265
Merge pull request #4820 from avalonmediasystem/cjcolvar-patch-2
cjcolvar Aug 5, 2022
0235b9d
Merge pull request #4819 from avalonmediasystem/cdl_countdown-updates
cjcolvar Aug 8, 2022
8bd7306
Fix from feedback
Dananji Aug 8, 2022
fc7bba2
Merge pull request #4815 from avalonmediasystem/cdl_display-remaining…
cjcolvar Aug 8, 2022
726030b
Fix validation check on collection page
masaball Aug 10, 2022
30f4d89
Fix issues for codeclimate
masaball Aug 10, 2022
6fa1e58
Fix typo
masaball Aug 10, 2022
0fe8ed0
Refactor error generation
masaball Aug 11, 2022
79d4364
Merge pull request #4823 from avalonmediasystem/cdl_validation_check
cjcolvar Aug 12, 2022
c198677
Add CDL conditional logic
masaball Aug 8, 2022
10b4d05
Add convenience method for checking cdl settings
masaball Aug 10, 2022
f2ec65f
Fix rebase conflicts
masaball Aug 12, 2022
6ae7b0f
Stay in modal when links clicked inside modal
cjcolvar Aug 12, 2022
2f9b58c
Merge pull request #4832 from avalonmediasystem/cjcolvar-patch-2
Aug 12, 2022
9ab4b56
Merge pull request #4822 from avalonmediasystem/cdl_conditional
cjcolvar Aug 12, 2022
c061cd5
Styling changes for collection search cards
cjcolvar Aug 17, 2022
9c61840
Fix duplication of notices on checkouts page
masaball Aug 19, 2022
b17dcce
Merge pull request #4837 from avalonmediasystem/ui_tweaks
cjcolvar Aug 19, 2022
76b3107
Remove flash messages from checkout actions
masaball Aug 19, 2022
79112c7
Merge pull request #4840 from avalonmediasystem/cdl_flash_messages
cjcolvar Aug 19, 2022
bb0b891
Fix deletion of users with checkouts
masaball Aug 19, 2022
7695914
Move checkout destroy test to model spec
masaball Aug 19, 2022
e7df8fe
Merge pull request #4842 from avalonmediasystem/cdl_user_delete
cjcolvar Aug 21, 2022
0124abc
New SME build with keydown event handling fixed
Dananji Aug 22, 2022
fd69e41
Upgrade to ActiveEncode 1.x
cjcolvar Aug 22, 2022
7337ced
Merge pull request #4843 from avalonmediasystem/active_encode_1
cjcolvar Aug 22, 2022
5858153
Merge pull request #4844 from avalonmediasystem/new-sme-build
cjcolvar Aug 22, 2022
65c7ab2
Checkout Stream token WIP
masaball Aug 17, 2022
27810e1
Add CDL check to Stream Token assignment
masaball Aug 18, 2022
1db3214
Update security_service_spec.rb
masaball Aug 18, 2022
e0ff077
Fixes for codeclimate
masaball Aug 18, 2022
3d37da7
Re-add error catch for master files
masaball Aug 19, 2022
1f7e43d
Refactor errors in security helper
masaball Aug 22, 2022
4336268
Remove vestiges of old multipart dropdown handling: hidden field and …
cjcolvar Aug 22, 2022
7282775
Change CDL controls location in item page
Dananji Aug 22, 2022
28672cd
Merge pull request #4845 from avalonmediasystem/changlings
cjcolvar Aug 22, 2022
2b24c70
Add missing CSS class
cjcolvar Aug 22, 2022
f4de5a3
Add conditional logic to template
Dananji Aug 22, 2022
705ab35
Merge pull request #4847 from avalonmediasystem/css_fixes
cjcolvar Aug 22, 2022
49e9793
Correctly encode timeline manifest url within iframe src url
cjcolvar Aug 23, 2022
2b184a1
Merge pull request #4848 from avalonmediasystem/fire_escape
cjcolvar Aug 23, 2022
555c1e1
Merge pull request #4846 from avalonmediasystem/cdl_controls-location
cjcolvar Aug 23, 2022
9e2e21a
Styling changes from IU
cjcolvar Aug 24, 2022
7e73f79
Highlight active sorting on facet pagination modal
cjcolvar Aug 24, 2022
255cb92
Merge pull request #4850 from avalonmediasystem/iu_improvements
cjcolvar Aug 24, 2022
195a6e7
Refactor security helper
masaball Aug 25, 2022
582dfbb
Fixes for codeclimate
masaball Aug 25, 2022
139839a
Fix unwanted browser warning in Timeliner
Dananji Aug 26, 2022
b8cb3b0
Merge pull request #4839 from avalonmediasystem/cdl_stream_token
cjcolvar Aug 26, 2022
ef5c4ff
Filter only on username and email; disable sorting on roles
cjcolvar Aug 26, 2022
ec2057f
Merge pull request #4856 from avalonmediasystem/user_datatable
cjcolvar Aug 26, 2022
afe7eab
Rename variables and function
Dananji Aug 29, 2022
8f9e614
Change return button styling on item view page
masaball Aug 29, 2022
cde17e0
Fix html encoded titles in collection cards
Dananji Aug 29, 2022
7ed79d1
Merge pull request #4851 from avalonmediasystem/fix-timeliner-bug
cjcolvar Aug 29, 2022
e5a034e
Update _destroy_checkout.html.erb
masaball Aug 29, 2022
ddb9e34
Merge pull request #4858 from avalonmediasystem/cdl_return_button
cjcolvar Aug 29, 2022
65b14ed
Merge pull request #4859 from avalonmediasystem/collection-card-title
cjcolvar Aug 29, 2022
f5f98fc
Center CDL checkout text, button in embed player
Dananji Aug 29, 2022
a2b8481
Merge pull request #4861 from avalonmediasystem/cdl_center-embed-text
cjcolvar Aug 30, 2022
c4901e6
Add authentication prompt for cdl items
masaball Aug 30, 2022
c07ac37
Change from authenticaiton popup to redirect
masaball Aug 30, 2022
164af2e
Merge pull request #4862 from avalonmediasystem/cdl_authentication_pr…
cjcolvar Aug 31, 2022
6895986
Improve devise error display
masaball Aug 29, 2022
4b98d98
Fixes for codeclimate
masaball Aug 29, 2022
91ab808
More codeclimate fixes
masaball Aug 29, 2022
295d068
Create view for devise errors
masaball Aug 31, 2022
75151b0
Change devise pages to use bootstrap forms
masaball Aug 31, 2022
2841b1a
Merge pull request #4857 from avalonmediasystem/devise_errors
cjcolvar Aug 31, 2022
ea2187d
Fix label on reset password page
masaball Aug 31, 2022
96b36db
Change check out button text on item page
Dananji Aug 31, 2022
4f4217e
Merge pull request #4864 from avalonmediasystem/Fix_password_edit
cjcolvar Aug 31, 2022
1694919
Update spec/features/media_object_spec.rb
Dananji Aug 31, 2022
86b0149
Merge pull request #4865 from avalonmediasystem/checkout-btn-text
cjcolvar Aug 31, 2022
cb10784
Adjust collection card and metadata styling to properly align content…
Dananji Aug 31, 2022
6e68780
Merge pull request #4866 from avalonmediasystem/collection-card-metadata
cjcolvar Aug 31, 2022
9657802
Outline buttons of bulk actions on selected items page
cjcolvar Sep 2, 2022
501e3d4
Update CORS to echo request origin (#4867)
masaball Sep 2, 2022
09347bb
Merge pull request #4868 from avalonmediasystem/bulk_action_buttons
Dananji Sep 6, 2022
9796031
Merge pull request #4798 from avalonmediasystem/solr8_docker
Dananji Sep 6, 2022
fb4965c
Add LDAP group auths to API requests
masaball Sep 6, 2022
6861968
Fix overflow of encode records table
Dananji Sep 13, 2022
c5d6ca1
Merge pull request #4876 from avalonmediasystem/encoding-dashboard
Dananji Sep 13, 2022
cdd8394
Make embed login popup autoclose
masaball Sep 13, 2022
395fd78
Add access control check to MediaObject #index
masaball Sep 15, 2022
ac0e08e
Fix video player aspect ratio and size for mobile devices
Dananji Sep 16, 2022
a0b97a4
Merge pull request #4877 from avalonmediasystem/devise_popup
masaball Sep 19, 2022
aa98b44
LDAP search will return nil sometimes instead of []
cjcolvar Sep 19, 2022
cf78fbb
Merge pull request #4871 from avalonmediasystem/ldap_api
cjcolvar Sep 19, 2022
8b76b30
Hyperlink collection name in breadcrumbs in media object edit page
Dananji Sep 19, 2022
3380a85
Merge pull request #4885 from avalonmediasystem/breadcrumb-link
cjcolvar Sep 19, 2022
5e26eb7
Merge pull request #4882 from avalonmediasystem/ldap_no_group_entry
cjcolvar Sep 20, 2022
25615c6
Override accessible_by method
masaball Sep 20, 2022
0a701d1
Rescue OAuth signature errors
masaball Sep 20, 2022
3b8585c
Refactor search builder filters
cjcolvar Sep 21, 2022
dbe310c
WIP
masaball Sep 22, 2022
1a35ddf
Update error messages in I18 translation file
masaball Sep 22, 2022
b69f6cb
Add error handling for controlled vocab issues
masaball Sep 22, 2022
72f32f2
Add error handling for derivatives #authorize
masaball Sep 22, 2022
ed567a2
Add test for admin/collections
masaball Sep 23, 2022
ca3eaf9
Block file upload form while upload is in progress
Dananji Sep 23, 2022
c7e8bb4
Merge pull request #4881 from avalonmediasystem/player-size
cjcolvar Sep 26, 2022
36fa7f8
Merge pull request #4891 from avalonmediasystem/fileupload-block
cjcolvar Sep 26, 2022
ce844c0
Apply additional avalon filters in accessible_by; don't mess with the…
cjcolvar Sep 26, 2022
e74e6b4
Fix media object tests
masaball Sep 27, 2022
a493b1d
Log time spent doing LDP and Solr requests
cjcolvar Oct 3, 2022
af5b4f6
Avoid sending solr blank file_size_ltsi field (fixes test failure wit…
cjcolvar Oct 4, 2022
672974c
Configure sorting by solr timestamp for atom feed
cjcolvar Oct 5, 2022
dcc8bd8
Merge pull request #4904 from avalonmediasystem/recently_sorted
masaball Oct 6, 2022
4fc7b68
Fix codeclimate issues
masaball Oct 6, 2022
cc4908f
Skip accessible_by restrictions if administrator and clean up
cjcolvar Oct 7, 2022
8ebfaeb
Update mediaelement.js to latest version
Dananji Oct 10, 2022
4ddad43
Merge pull request #4878 from avalonmediasystem/api_access_control
cjcolvar Oct 10, 2022
1aed2b9
Add new error type and clean up
masaball Oct 10, 2022
e428a91
Merge pull request #4901 from avalonmediasystem/count_the_times
cjcolvar Oct 10, 2022
a5cc4b1
Merge pull request #4893 from avalonmediasystem/500_error_handling
cjcolvar Oct 11, 2022
c8d885d
Try upgrading to node 14
cjcolvar Oct 11, 2022
9cd44ef
Adding avalon customizations (#4259)
Dananji Oct 11, 2022
8659e48
Fix captions in ME.js with empty cue at EOF
Dananji Oct 13, 2022
3949e43
Update item not available message with return date and time
Dananji Oct 14, 2022
758d52a
Merge pull request #4909 from avalonmediasystem/mediaelement-update
cjcolvar Oct 17, 2022
dfc8ff6
Merge pull request #4921 from avalonmediasystem/fix-webvtt-mejs
cjcolvar Oct 17, 2022
f5b3d64
Return timeline manifest when requested as an id
Dananji Oct 18, 2022
8bd28af
Merge pull request #4923 from avalonmediasystem/timeliner-manifest
cjcolvar Oct 18, 2022
e256a66
Speed up media objects show page for many sectioned items
cjcolvar Oct 18, 2022
6d6e530
Merge pull request #4924 from avalonmediasystem/solr_caching
cjcolvar Oct 18, 2022
3807cb1
Add caching to is_editor and streamline related methods
masaball Oct 13, 2022
a343a1a
Update app/models/media_object.rb
Dananji Oct 18, 2022
745edb8
Change generationg of cache key
masaball Oct 18, 2022
7e059d5
Merge pull request #4922 from avalonmediasystem/cdl_checkout-message
cjcolvar Oct 19, 2022
4ad94bc
Remove non-existent tokens from session before creating new ones
cjcolvar Oct 24, 2022
bda52f3
Merge pull request #4929 from avalonmediasystem/session_cleanup
cjcolvar Oct 25, 2022
4c70040
Add timeliner build with video support
Dananji Oct 24, 2022
9c7018e
Merge pull request #4930 from avalonmediasystem/video-timeliner
cjcolvar Oct 25, 2022
27d4d40
Merge pull request #4920 from avalonmediasystem/is_editor
cjcolvar Nov 1, 2022
577ec50
Merge pull request #4913 from avalonmediasystem/cjcolvar-patch-3
cjcolvar Nov 2, 2022
548d924
CUD operations on supplemental files should check if can edit owning …
cjcolvar Nov 4, 2022
2f8868b
Merge pull request #4947 from avalonmediasystem/what_supp_doc
cjcolvar Nov 4, 2022
4c70220
Remove max checkouts from settings.yml
masaball Nov 7, 2022
a6f17a3
Adjust CORS configuration
masaball Nov 8, 2022
cf0579b
Merge pull request #4948 from avalonmediasystem/remove_max_checkouts
cjcolvar Nov 8, 2022
7292e89
Merge pull request #4949 from avalonmediasystem/cors-headers
cjcolvar Nov 9, 2022
c6f5785
Bring in newer active_encode and reduce completeness threshold to 95%
cjcolvar Nov 9, 2022
70158b2
Merge pull request #4950 from avalonmediasystem/aeiou
cjcolvar Nov 9, 2022
02c77df
Bug fix for dynamic fields in resource description form
Dananji Nov 10, 2022
e1e3882
Fix for ios fullscreen captions not displaying
Dananji Nov 10, 2022
a2932aa
Merge pull request #4952 from avalonmediasystem/dynamic-field-bugfix
cjcolvar Nov 11, 2022
7914846
WIP
masaball Oct 28, 2022
f40f700
Update backend for collection level cdl enabling
masaball Nov 3, 2022
674fc4e
Update views for collection level cdl enabling
masaball Nov 3, 2022
3c80976
Update test suite for collection level cdl enabling
masaball Nov 3, 2022
7414eda
Fixes for codeclimate
masaball Nov 3, 2022
390ab62
Fix bug where lending period error would display when enabling cdl
masaball Nov 4, 2022
385396c
Refactor predicates and helpers
masaball Nov 10, 2022
d59b718
Properly handle case when master file has been deleted
cjcolvar Oct 24, 2022
f957f2e
Rename frame source flag from master to non_local_file to cover maste…
cjcolvar Nov 11, 2022
877e176
Refactor to separate application and collection CDL toggles
masaball Nov 11, 2022
c11f499
Remove ActiveModel::Type::Boolean cast from cdl_enabled
masaball Nov 14, 2022
b2b8efa
Update test suite and add copyright boiler plate to cdl_helper
masaball Nov 14, 2022
ea6bb92
Clean up
masaball Nov 14, 2022
cd75a4a
Merge pull request #4932 from avalonmediasystem/thumbnail_craziness
cjcolvar Nov 14, 2022
81089f1
Rename collection cdl_enabled method
masaball Nov 15, 2022
f97ac37
Add guard clause to cdl_helper
masaball Nov 15, 2022
3cf9e0b
Fix tests
masaball Nov 15, 2022
d25e871
Update JS dependencies and remove resolutions if good version is in y…
cjcolvar Nov 15, 2022
00fce51
Merge pull request #4942 from avalonmediasystem/cdl_collection_enable
masaball Nov 15, 2022
6048613
WIP
masaball Nov 10, 2022
54897c1
Add resolutions for glob-parent and unset-value to force using newer …
cjcolvar Nov 15, 2022
9e93855
Add embed message when cdl is enabled
masaball Nov 15, 2022
ce38462
Merge pull request #4955 from avalonmediasystem/up_from_the_dep
cjcolvar Nov 15, 2022
26e801e
Rename tests to reflect expected behavior
masaball Nov 15, 2022
03f4d3d
Merge pull request #4953 from avalonmediasystem/ios-fs-captions-bugfix
cjcolvar Nov 15, 2022
46013f1
Bump version to prepare for release
cjcolvar Nov 15, 2022
8f367c0
Merge pull request #4956 from avalonmediasystem/cdl_embeds
cjcolvar Nov 15, 2022
51937d9
Merge pull request #4957 from avalonmediasystem/vbump
cjcolvar Nov 15, 2022
a034327
Merge pull request #4958 from avalonmediasystem/develop
masaball Nov 15, 2022
3711247
Create bucket configured for master file management move strategy
cjcolvar Nov 16, 2022
f2cdb97
Remove limitation of ascii only characters
masaball Oct 20, 2022
4f03c50
Add consistent value to delete button confirmation
masaball Nov 18, 2022
961e83a
Perform pass through encode job later to ensure it runs on same serve…
cjcolvar Nov 18, 2022
d3b5e36
Merge pull request #4972 from avalonmediasystem/playlist_item_delete
cjcolvar Nov 18, 2022
b993aa5
Merge pull request #4971 from avalonmediasystem/non-ascii-characters
cjcolvar Nov 18, 2022
56aa8f1
Show popover confirmation for delete buttons for captions and supplem…
cjcolvar Nov 18, 2022
e2a3cc5
Fix date sorting for paged_index datatables
masaball Nov 21, 2022
7573843
Move repeated line out of conditional to DRY things
masaball Nov 21, 2022
8ac2189
Move variable assignment outside of conditional
masaball Nov 21, 2022
7beb017
Merge pull request #4976 from avalonmediasystem/datatables_sorting
cjcolvar Nov 28, 2022
557d455
Turn on/off player hotkeys when using copy playlist modal
Dananji Nov 28, 2022
8089478
Merge pull request #4974 from avalonmediasystem/confirmation
Dananji Nov 28, 2022
05416a1
Merge pull request #4977 from avalonmediasystem/hotkeys-playlist-modal
cjcolvar Nov 28, 2022
650cc2c
Fix page redirect for copy playlist modal submission
Dananji Nov 28, 2022
5045d7b
Return to stored location if available
cjcolvar Nov 28, 2022
40ef2ba
Merge pull request #4978 from avalonmediasystem/copy-playlist-fix
cjcolvar Nov 28, 2022
333c53e
Fix player hotkeys with playlist marker edit forms and delete actions
Dananji Nov 29, 2022
1775547
Update app/assets/javascripts/media_player_wrapper/mejs4_helper_marke…
Dananji Nov 30, 2022
00224ac
Merge pull request #4959 from avalonmediasystem/hole_in_the_bucket_liza
Dananji Nov 30, 2022
78f9d1d
Merge pull request #4980 from avalonmediasystem/fix-playlist-markers
Dananji Nov 30, 2022
85bfe87
Merge pull request #4979 from avalonmediasystem/get_back
cjcolvar Nov 30, 2022
e8e6404
Move all hotkey enable/disable code to ME.js module
Dananji Nov 30, 2022
4b8ce52
Merge pull request #4982 from avalonmediasystem/hotkeys-with-forms
cjcolvar Nov 30, 2022
579782b
Merge pull request #4973 from avalonmediasystem/cjcolvar-patch-3
Dananji Nov 30, 2022
e258af1
Change how item status is displayed for old checkouts
masaball Dec 1, 2022
6b6202b
Redirect unauthed users to login from checkouts page
masaball Dec 1, 2022
dc54483
Add unath user coverage for display_returned param
masaball Dec 1, 2022
7c59413
Remove messages from final column
masaball Dec 1, 2022
fb8f829
Revert "Fix for ios fullscreen captions not displaying"
Dananji Dec 2, 2022
a7186ec
Merge pull request #4990 from avalonmediasystem/revert-4953-ios-fs-ca…
cjcolvar Dec 2, 2022
ae87316
Merge pull request #4988 from avalonmediasystem/cdl_non-authed-user
cjcolvar Dec 2, 2022
16ce8e2
Convert utc dates to local time zone on client-side using moment.js
cjcolvar Nov 30, 2022
7d420e3
Merge pull request #4985 from avalonmediasystem/composite_meridian
Dananji Dec 2, 2022
f9a819a
Fix portrait video aspect ratio in player fullscreen mode
Dananji Dec 2, 2022
34108d3
Merge pull request #4989 from avalonmediasystem/cdl_last_column
cjcolvar Dec 2, 2022
84edb38
Merge pull request #4992 from avalonmediasystem/portrait-fullscreen
cjcolvar Dec 2, 2022
b36ac72
Change CDL message for existing embeds & readd embed share tab
masaball Dec 2, 2022
d6a726a
Remove checkout buttons for historical checkouts
masaball Dec 2, 2022
9b855c9
Replace conditional with guard clause
masaball Dec 2, 2022
bae12b5
Merge pull request #4993 from avalonmediasystem/cdl_embeds
cjcolvar Dec 2, 2022
8716536
Change nil return to an empty string
masaball Dec 2, 2022
732545f
Merge pull request #4994 from avalonmediasystem/cdl_last_column
masaball Dec 2, 2022
9ccdff5
Covert utc dates whenever datatables redraws
cjcolvar Dec 2, 2022
cb9e478
Merge pull request #4995 from avalonmediasystem/dt_utc
cjcolvar Dec 2, 2022
70e8f5c
Merge pull request #4996 from avalonmediasystem/develop
cjcolvar Dec 2, 2022
fd94b23
Upgrade to latest active_encode for google drive processing fix
cjcolvar Dec 5, 2022
6356149
Merge pull request #4997 from avalonmediasystem/ae_up
cjcolvar Dec 5, 2022
6096828
Merge pull request #4998 from avalonmediasystem/develop
masaball Dec 5, 2022
fa7cdff
Store only user relevant locations for later redirection post-login
cjcolvar Dec 5, 2022
af37893
Merge pull request #4999 from avalonmediasystem/limited_redirect
cjcolvar Dec 6, 2022
96bdb33
Use class instead of id since the id wasn't unique
cjcolvar Dec 6, 2022
cf64ad6
Change restricted redirect param to user_return_to
masaball Dec 6, 2022
bd502d6
Merge pull request #5002 from avalonmediasystem/i_like_to_move_it
cjcolvar Dec 6, 2022
21acb63
Fix media object controller test
masaball Dec 6, 2022
79102a4
Merge pull request #5003 from avalonmediasystem/redirect_params
masaball Dec 6, 2022
23889bb
Merge pull request #5004 from avalonmediasystem/develop
masaball Dec 6, 2022
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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_12.x | bash - \
&& curl -sL http://deb.nodesource.com/setup_14.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
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gem 'rdf-vocab', '< 3.1.5'
gem 'blacklight', '~> 7.25'
gem 'blacklight-access_controls', '>= 6.0.1' # ensure rails 6 support
gem 'rdf', '~> 3.1'
gem 'rsolr', '~> 1.0'
gem 'rsolr', '~> 2.0'

# Rails & Samvera Plugins
gem 'about_page', git: 'https://github.com/avalonmediasystem/about_page.git', tag: 'avalon-r6.5'
Expand All @@ -54,7 +54,7 @@ gem 'rack-cors', require: 'rack/cors'
gem 'rails_same_site_cookie'
gem 'recaptcha', require: 'recaptcha/rails'
gem 'samvera-persona', '~> 0.3'
gem 'speedy-af', '~> 0.2'
gem 'speedy-af', '~> 0.3'

# Avalon Components
gem 'avalon-workflow', git: "https://github.com/avalonmediasystem/avalon-workflow.git", tag: 'avalon-r6.5'
Expand All @@ -70,7 +70,7 @@ gem 'omniauth-lti', git: "https://github.com/avalonmediasystem/omniauth-lti.git"
gem "omniauth-saml", "~> 2.0"

# Media Access & Transcoding
gem 'active_encode', '~> 0.8.2'
gem 'active_encode', '~> 1.0'
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'
Expand Down
43 changes: 22 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ GEM
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active-fedora (13.2.7)
active-fedora (13.3.0)
active-triples (>= 0.11.0, < 2.0.0)
activemodel (>= 5.1)
activesupport (>= 5.1)
Expand All @@ -132,9 +132,9 @@ GEM
active_elastic_job (3.2.0)
aws-sdk-sqs (~> 1)
rails (>= 5.2.6, < 7.1)
active_encode (0.8.2)
active_encode (1.1.1)
addressable (~> 2.8)
rails
sprockets (< 4)
active_fedora-datastreams (0.4.0)
active-fedora (>= 11.0.0.pre, < 14)
activemodel (< 6.1)
Expand Down Expand Up @@ -176,8 +176,8 @@ GEM
zeitwerk (~> 2.2, >= 2.2.2)
acts_as_list (1.0.4)
activerecord (>= 4.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
airbrussh (1.4.0)
sshkit (>= 1.6.1, != 1.7.0)
amazing_print (1.4.0)
Expand Down Expand Up @@ -398,7 +398,7 @@ GEM
mail (~> 2.7)
equivalent-xml (0.6.0)
nokogiri (>= 1.4.3)
erubi (1.10.0)
erubi (1.11.0)
et-orbi (1.2.6)
tzinfo
ethon (0.15.0)
Expand Down Expand Up @@ -483,7 +483,7 @@ GEM
hydra-access-controls (= 12.0.1)
hydra-core (= 12.0.1)
rails (>= 5.2, < 7)
i18n (1.11.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
iconv (1.0.8)
iiif_manifest (0.6.0)
Expand Down Expand Up @@ -548,7 +548,7 @@ GEM
activesupport (>= 4)
railties (>= 4)
request_store (~> 1.0)
loofah (2.18.0)
loofah (2.19.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
Expand All @@ -566,7 +566,7 @@ GEM
mime-types-data (3.2022.0105)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.2)
minitest (5.16.3)
msgpack (1.4.5)
multi_json (1.15.0)
multi_xml (0.6.0)
Expand All @@ -582,7 +582,7 @@ GEM
noid-rails (3.0.3)
actionpack (>= 5.0.0, < 7)
noid (~> 0.9)
nokogiri (1.13.7)
nokogiri (1.13.9)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nom-xml (1.2.0)
Expand Down Expand Up @@ -631,7 +631,7 @@ GEM
pry (~> 0.13.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (4.0.7)
public_suffix (5.0.0)
puma (5.6.4)
nio4r (~> 2.0)
raabro (1.4.0)
Expand Down Expand Up @@ -757,8 +757,9 @@ GEM
roo (2.8.3)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
rsolr (1.1.2)
rsolr (2.5.0)
builder (>= 2.1.2)
faraday (>= 0.9, < 3, != 2.0.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
Expand Down Expand Up @@ -850,7 +851,7 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
slop (4.9.1)
slop (4.9.3)
solr_wrapper (3.1.2)
http
retriable
Expand All @@ -862,9 +863,9 @@ GEM
nokogiri
stomp
xml-simple
speedy-af (0.2.0)
speedy-af (0.3.0)
active-fedora (>= 11.0.0)
activesupport (> 5.2, < 6.1)
activesupport (> 5.2)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
Expand Down Expand Up @@ -898,7 +899,7 @@ GEM
railties (>= 3.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.9)
tzinfo (1.2.10)
thread_safe (~> 0.1)
uber (0.0.15)
uglifier (4.2.0)
Expand All @@ -907,7 +908,7 @@ GEM
unf_ext
unf_ext (0.0.8)
unicode-display_width (1.8.0)
unicode-types (1.7.0)
unicode-types (1.8.0)
user_agent_parser (2.9.0)
view_component (2.58.0)
activesupport (>= 5.0.0, < 8.0)
Expand Down Expand Up @@ -944,7 +945,7 @@ GEM
nokogiri (~> 1.8)
xray-rails (0.3.2)
rails (>= 3.1.0)
zeitwerk (2.6.0)
zeitwerk (2.6.6)
zk (1.10.0)
zookeeper (~> 1.5.0)
zookeeper (1.5.1)
Expand All @@ -958,7 +959,7 @@ DEPENDENCIES
active-fedora (~> 13.2, >= 13.2.5)
active_annotations (~> 0.4)
active_elastic_job
active_encode (~> 0.8.2)
active_encode (~> 1.0)
active_fedora-datastreams (~> 0.4)
activejob-traffic_control
activejob-uniqueness
Expand Down Expand Up @@ -1052,7 +1053,7 @@ DEPENDENCIES
redis-rails
rest-client (~> 2.0)
roo
rsolr (~> 1.0)
rsolr (~> 2.0)
rspec-its
rspec-rails
rspec-retry
Expand All @@ -1065,7 +1066,7 @@ DEPENDENCIES
sidekiq-cron (~> 1.2)!
simplecov
solr_wrapper (>= 0.16)
speedy-af (~> 0.2)
speedy-af (~> 0.3)
sprockets (~> 3.7.2)
sprockets-es6
sqlite3
Expand Down
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
//= require cropperjs/dist/cropper.min
//= require url-search-params-polyfill/index.js

//= require moment/min/moment-with-locales.min.js
//= require hls.js/dist/hls.min.js

// include all of our vendored js
Expand Down
6 changes: 4 additions & 2 deletions app/assets/javascripts/avalon_playlists/playlists.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ $('#playlist_title').on('keyup',
)

$('#copy-playlist-form').bind('ajax:success',
(event, data, status, xhr) ->
(event) ->
[data, status, xhr] = event.detail
if (data.errors)
console.log(data.errors.title[0])
else
Expand All @@ -67,7 +68,8 @@ $('#copy-playlist-form').bind('ajax:success',
if ( $('#with_refresh').val() )
location.reload()
).bind('ajax:error',
(e, xhr, status, error) ->
(event) ->
[data, status, xhr] = event.detail
console.log(xhr.responseJSON.errors)
)

Expand Down
13 changes: 4 additions & 9 deletions app/assets/javascripts/button_confirmation.js.coffee
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 2011-2022, The Trustees of Indiana University and Northwestern
# University. Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
#
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
Expand All @@ -20,11 +20,6 @@ $ ->
apply_button_confirmation()

@apply_button_confirmation = () ->
# Remove popover when clicked outside. Reference: https://jsfiddle.net/guya/fjZja/
$('html').on 'click', (e) ->
if typeof $(e.target).data('original-title') == 'undefined' and !$(e.target).parents().is('.popover.in')
$('[data-original-title]').popover 'hide'

$(document).on 'click', '#special_button_color', ->
$('.btn-confirmation').popover 'hide'
true
Expand All @@ -37,7 +32,7 @@ $ ->
if typeof $(this).attr('form') == "undefined"
button = '<a href="' + $(this).attr('href') + '" class="btn btn-sm btn-danger btn-confirm" data-method="delete" rel="nofollow">Yes, Delete</a>'
else
button = '<input class="btn btn-sm btn-danger btn-confirm" form="' + $(this).attr('form') + '" type="submit">'
button = '<input class="btn btn-sm btn-danger btn-confirm" form="' + $(this).attr('form') + '" type="submit" value="Yes, Delete">'
$('#' + $(this).attr('form')).find('[name=\'_method\']').val 'delete'
'<p>Are you sure?</p> ' + button + ' <a href="#" class="btn btn-sm btn-primary" id="special_button_color">No, Cancel</a>'
).click ->
Expand Down
6 changes: 3 additions & 3 deletions app/assets/javascripts/direct_upload.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ $ ->
form = $(file_input.parents('form:first'))
submit_button = form.find('input[type="submit"], *[data-trigger="submit"]')
submit_button.on 'click', ->
form.addClass('form-disabled')
$('.directupload input:file').fileupload 'send',
files: $('.directupload input:file').prop('files')
return false
Expand All @@ -37,15 +38,14 @@ $ ->
progress = parseInt(data.loaded / data.total * 100, 10)
progress_bar.css('width', "#{progress}%")
start: (e)->
submit_button.prop('disabled', true)
progress_bar.
css('background', 'green').
css('display', 'block').
css('width', '0%').
css('padding', '7px').
text("Loading...")
done: (e, data)->
submit_button.prop('disabled', false)
form.removeClass('form-disabled')
progress_bar.text("Uploading done")

# extract key and generate URL from response
Expand All @@ -61,7 +61,7 @@ $ ->
file_input.replaceWith(input)
form.submit()
fail: (e, data)->
submit_button.prop('disabled', false)
form.removeClass('form-disabled')
progress_bar.
css("background", "red").
text("Failed")
25 changes: 25 additions & 0 deletions app/assets/javascripts/display_returned_items.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2011-2022, The Trustees of Indiana University and Northwestern
* University. Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
* --- END LICENSE_HEADER BLOCK ---
*/

// Toggle display of returned items on checkouts page
$('#inactive_checkouts').on('change', function() {
var table = $('#checkouts-table').DataTable();
if (this.checked) {
table.ajax.url('/checkouts.json?display_returned=true').load();
} else {
table.ajax.url('/checkouts.json').load();
}
});
14 changes: 7 additions & 7 deletions app/assets/javascripts/dynamic_fields.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ $ ->
else
current_input_group.after(new_input_group)

$(document).on 'click', '.remove-dynamic-field', (e) ->
e.preventDefault()
current_input_group = $(this).closest('.input-group')
textarea = current_input_group.data('textarea')
if typeof(textarea)!="undefined"
$(document.getElementById(textarea)).remove()
current_input_group.remove()
$(document).on 'click', '.remove-dynamic-field', (e) ->
e.preventDefault()
current_input_group = $(this).closest('.input-group')
textarea = current_input_group.data('textarea')
if typeof(textarea)!="undefined"
$(document.getElementById(textarea)).remove()
current_input_group.remove()
9 changes: 9 additions & 0 deletions app/assets/javascripts/localize_times.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Requires moment.js
function localize_times() {
$('*[data-utc-time]').each(function() {
$(this).text(moment($(this).data('utc-time')).format('LLL'))
});
}

$(document).ready(localize_times);
$(document).on('draw.dt', localize_times);
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ class MEJSMarkersHelper {

// Show popover confirmation
$button.popover({
container: '#popover-container-' + $button[0].dataset.markerId,
container: '#popover-container-' + markerId,
content: content,
sanitize: false,
html: true,
placement: 'top'
placement: 'top',
trigger: 'focus'
});
$button.popover('show');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Object.assign(MediaElementPlayer.prototype, {
handleControlClick: function(e) {
const t = this;
let addMarkerObj = t.addMarkerObj;

// Exit full screen
if(addMarkerObj.player.isFullScreen) {
addMarkerObj.player.exitFullScreen();
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/move_section.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* --- END LICENSE_HEADER BLOCK ---
*/

$('#show_move_modal').on('click', function(){
$('.show_move_modal').on('click', function(){
$('#move_modal').show();
var id = $(this).data('id');
// Set the URL for form POST action
Expand Down
Loading