source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/search_builder_spec.rb | Ruby | apache-2.0 | 99 | main | 4,013 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/avalon_clip_spec.rb | Ruby | apache-2.0 | 99 | main | 6,302 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/playlist_spec.rb | Ruby | apache-2.0 | 99 | main | 12,375 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/master_file_spec.rb | Ruby | apache-2.0 | 99 | main | 43,721 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/iiif_manifest_presenter_spec.rb | Ruby | apache-2.0 | 99 | main | 6,989 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/supplemental_file_spec.rb | Ruby | apache-2.0 | 99 | main | 15,069 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/file_upload_step_spec.rb | Ruby | apache-2.0 | 99 | main | 1,488 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/avalon_marker_spec.rb | Ruby | apache-2.0 | 99 | main | 5,149 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/concerns/migration_target_spec.rb | Ruby | apache-2.0 | 99 | main | 1,170 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/concerns/permalink_spec.rb | Ruby | apache-2.0 | 99 | main | 2,371 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/concerns/virtual_groups_spec.rb | Ruby | apache-2.0 | 99 | main | 1,850 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/models/concerns/hidden_spec.rb | Ruby | apache-2.0 | 99 | main | 1,279 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/auth_identity_spec.rb | Ruby | apache-2.0 | 99 | main | 1,617 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_navigation_spec.rb | Ruby | apache-2.0 | 99 | main | 3,283 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_admin_collection_spec.rb | Ruby | apache-2.0 | 99 | main | 3,330 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_catalog_spec.rb | Ruby | apache-2.0 | 99 | main | 5,071 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/secure_routes_spec.rb | Ruby | apache-2.0 | 99 | main | 1,963 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/media_object_spec.rb | Ruby | apache-2.0 | 99 | main | 10,050 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/login_redirect_spec.rb | Ruby | apache-2.0 | 99 | main | 2,009 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_playlist_spec.rb | Ruby | apache-2.0 | 99 | main | 7,657 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_homepage_spec.rb | Ruby | apache-2.0 | 99 | main | 4,037 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/features/capybara_checkouts_spec.rb | Ruby | apache-2.0 | 99 | main | 1,860 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/atom_feed_spec.rb | Ruby | apache-2.0 | 99 | main | 2,728 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/redirect_spec.rb | Ruby | apache-2.0 | 99 | main | 2,093 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/search_spec.rb | Ruby | apache-2.0 | 99 | main | 1,280 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/devise_login.rb | Ruby | apache-2.0 | 99 | main | 1,834 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/mejs_spec.rb | Ruby | apache-2.0 | 99 | main | 1,060 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/about_page_spec.rb | Ruby | apache-2.0 | 99 | main | 1,972 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/comments_spec.rb | Ruby | apache-2.0 | 99 | main | 3,703 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/api_authentication_spec.rb | Ruby | apache-2.0 | 99 | main | 2,631 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/checkouts_spec.rb | Ruby | apache-2.0 | 99 | main | 12,793 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/cors_spec.rb | Ruby | apache-2.0 | 99 | main | 1,156 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/requests/jobs_spec.rb | Ruby | apache-2.0 | 99 | main | 1,381 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/playlist_items_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 9,264 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/encode_records_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 8,237 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/avalon_marker_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 6,898 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/groups_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 9,408 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/dropbox_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 2,277 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/derivative_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 2,125 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/timelines_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 35,006 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/catalog_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 27,741 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/master_files_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 39,827 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/vocabulary_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 6,249 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/admin_collections_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 34,044 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/media_objects_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 99,048 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/collections_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 6,503 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/omniauth_callbacks_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 6,545 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/supplemental_files_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 3,323 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/application_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 7,940 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/objects_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 2,704 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/bookmarks_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 21,860 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/playlists_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 32,290 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/comments_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 2,788 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/controllers/samvera/persona/user_controller_spec.rb | Ruby | apache-2.0 | 99 | main | 9,310 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/playlist.rb | Ruby | apache-2.0 | 99 | main | 1,119 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/playlist_item.rb | Ruby | apache-2.0 | 99 | main | 793 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/master_files.rb | Ruby | apache-2.0 | 99 | main | 3,508 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/encode.rb | Ruby | apache-2.0 | 99 | main | 2,841 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/supplemental_file.rb | Ruby | apache-2.0 | 99 | main | 1,543 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/batch_registries.rb | Ruby | apache-2.0 | 99 | main | 1,069 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/users.rb | Ruby | apache-2.0 | 99 | main | 2,597 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/groups.rb | Ruby | apache-2.0 | 99 | main | 932 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/derivatives.rb | Ruby | apache-2.0 | 99 | main | 1,552 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/media_objects.rb | Ruby | apache-2.0 | 99 | main | 3,767 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/avalon_marker.rb | Ruby | apache-2.0 | 99 | main | 898 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/encode_record.rb | Ruby | apache-2.0 | 99 | main | 3,181 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/collections.rb | Ruby | apache-2.0 | 99 | main | 1,558 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/timeline.rb | Ruby | apache-2.0 | 99 | main | 1,128 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/lease.rb | Ruby | apache-2.0 | 99 | main | 806 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/batch_entries.rb | Ruby | apache-2.0 | 99 | main | 1,848 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/comments.rb | Ruby | apache-2.0 | 99 | main | 868 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/checkouts.rb | Ruby | apache-2.0 | 99 | main | 938 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/factories/avalon_clip.rb | Ruby | apache-2.0 | 99 | main | 901 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/mailers/ingest_batch_mailer_spec.rb | Ruby | apache-2.0 | 99 | main | 2,474 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/mailers/notifications_mailer_spec.rb | Ruby | apache-2.0 | 99 | main | 3,641 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/mailers/batch_registries_mailer_spec.rb | Ruby | apache-2.0 | 99 | main | 9,573 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/mailers/comments_mailer_spec.rb | Ruby | apache-2.0 | 99 | main | 2,004 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/mailers/previews/comments_mailer_preview.rb | Ruby | apache-2.0 | 99 | main | 1,088 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/components/index_header_media_object_component_spec.rb | Ruby | apache-2.0 | 99 | main | 1,896 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/views/google_analytics_spec.rb | Ruby | apache-2.0 | 99 | main | 1,412 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/views/checkouts/index.html.erb_spec.rb | Ruby | apache-2.0 | 99 | main | 3,239 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | spec/validators/uniqueness_validator_spec.rb | Ruby | apache-2.0 | 99 | main | 2,988 | # Copyright 2011-2025, 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
#
# ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/routes.rb | Ruby | apache-2.0 | 99 | main | 8,809 | require 'avalon/routing/can_constraint'
Rails.application.routes.draw do
mount Samvera::Persona::Engine => '/'
mount Blacklight::Engine => '/catalog'
concern :searchable, Blacklight::Routes::Searchable.new
concern :exportable, Blacklight::Routes::Exportable.new
resource :catalog, only: [], as: 'catalog', pa... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/application.rb | Ruby | apache-2.0 | 99 | main | 3,803 | require_relative 'boot'
require_relative '../lib/tempfile_factory'
require 'rails/all'
require 'resolv-replace'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Avalon
VERSION = '8.1.1'
class Application < Rai... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/deploy.rb | Ruby | apache-2.0 | 99 | main | 951 | # config valid only for current version of Capistrano
lock '>=3.6.1'
set :application, 'avalon'
set :repo_url, 'git://github.com/avalonmediasystem/avalon.git'
# If SCM_BRANCH is set, use it. Otherwise, ask for a branch, defaulting to the currently checked out branch.
set :branch, -> { ENV['SCM_BRANCH'] || ask(:branch... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/puma.rb | Ruby | apache-2.0 | 99 | main | 2,044 | # This configuration file will be evaluated by Puma. The top-level methods that
# are invoked here are part of Puma's configuration DSL. For more information
# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
#
# Puma starts a configurable number of processes (workers) and each process
# serve... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/deploy/dynamic.rb | Ruby | apache-2.0 | 99 | main | 692 | # Example:
# DB=postgres REPO=git@github.com:user/avalon.git BRANCH=deploy/prod USER=deploy APP_HOST=avalon.example.edu cap dynamic deploy
set :rails_env, ENV['RAILS_ENV'] || 'production'
set :bundle_flags, "--with #{ENV['DB']}" if ENV['DB']
set :bundle_without, ENV['RAILS_ENV'] == "development" ? "production" : 'dev... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/active_fedora_general.rb | Ruby | apache-2.0 | 99 | main | 9,445 | baseparts = 2 + [(Noid::Rails.config.template.gsub(/\.[rsz]/, '').length.to_f / 2).ceil, 4].min
baseurl = "#{ActiveFedora.fedora.host}#{ActiveFedora.fedora.base_path}"
ActiveFedora::Base.translate_uri_to_id = lambda do |uri|
uri.to_s.sub(baseurl, '').split('/', baseparts).last... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/recaptcha.rb | Ruby | apache-2.0 | 99 | main | 215 | # config/initializers/recaptcha.rb
if Settings.recaptcha.present?
Recaptcha.configure do |config|
config.site_key = Settings.recaptcha.site_key
config.secret_key = Settings.recaptcha.secret_key
end
end |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/okcomputer.rb | Ruby | apache-2.0 | 99 | main | 1,347 | if defined? OkComputer
require "net/https"
require "uri"
class AvalonCheck < OkComputer::Check
def initialize _time_limit=10
@time_limit = _time_limit
super()
end
def status
Timeout.timeout(@time_limit) do
ping
end
end
def ping
raise NotImplementedError... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/mime_types.rb | Ruby | apache-2.0 | 99 | main | 490 | # Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:
# Mime::Type.register "text/richtext", :rtf
Mime::Type.register "application/n-triples", :nt
Mime::Type.register "application/ld+json", :jsonld
Mime::Type.register "text/turtle", :ttl
Mime::Type.register "app... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/active_storage.rb | Ruby | apache-2.0 | 99 | main | 234 | # This is set in config/application.rb but it seems like the settings aren't loaded at that point so doing it again here
Rails.application.config.active_storage.service = (Settings&.active_storage&.service.presence || "local").to_sym |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/hydra_config.rb | Ruby | apache-2.0 | 99 | main | 3,719 | # windows doesn't properly require hydra-head (from the gemfile), so we need to require it explicitly here:
require 'hydra/head' unless defined? Hydra
# require 'hydra/datastream/rights_metadata'
require 'hydra/multiple_policy_aware_access_controls_enforcement'
require 'hydra/multiple_policy_aware_ability'
# TODO: rem... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/active_fedora_env.rb | Ruby | apache-2.0 | 99 | main | 1,484 | class EnvironmentConfigurator < ActiveFedora::FileConfigurator
def initialize
reset!
end
def load_fedora_config
return @fedora_config unless @fedora_config.empty?
fedora_setting = Settings.fedora&.url || ENV['FEDORA_URL']
fedora_timeout = Settings.fedora&.timeout || ENV['FEDORA_TIMEOUT']
if ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/active_job_uniqueness.rb | Ruby | apache-2.0 | 99 | main | 1,491 | # frozen_string_literal: true
ActiveJob::Uniqueness.configure do |config|
# Global default expiration for lock keys. Each job can define its own ttl via :lock_ttl option.
# Stategy :until_and_while_executing also accept :on_runtime_ttl option.
#
# config.lock_ttl = 1.day
# Prefix for lock keys. Can not be s... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/assets.rb | Ruby | apache-2.0 | 99 | main | 929 | # Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = "1.0"
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# Add Yarn node_modules ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/session_store.rb | Ruby | apache-2.0 | 99 | main | 622 | # Be sure to restart your server when you modify this file.
#Avalon::Application.config.session_store :cookie_store, :key => '_avalon_session'
Avalon::Application.config.session_store :active_record_store,
secure: Rails.application.routes.default_url_options[:protocol] == "https" && Rails.env.production?,
httponly... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/inflections.rb | Ruby | apache-2.0 | 99 | main | 664 | # Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format. Inflections
# are locale specific, and you may define rules for as many different
# locales as you wish. All of these examples are active by default:
# ActiveSupport::Inflector.inflections(:en) do |inflec... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/action_mailer.rb | Ruby | apache-2.0 | 99 | main | 511 | ActiveSupport.on_load(:action_mailer) do
ActionMailer::MailDeliveryJob.rescue_from(StandardError) do |exception|
Rails.logger.error "Error delivering mail: #{exception}"
end
case Settings&.email&.mailer&.to_sym
when :aws_sdk
require 'aws-sdk-rails'
Aws::Rails.add_action_mailer_delivery_method(:aws_... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | config/initializers/policy_aware_modification.rb | Ruby | apache-2.0 | 99 | main | 2,772 | require 'active-fedora'
module Blacklight::AccessControls::Enforcement
def apply_group_permissions(permission_types, ability = current_ability)
groups = ability.user_groups
return [] if groups.empty?
permission_types.map do |type|
field = solr_field_for(type, 'group')
"_query_:\"{!terms f=#{f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.