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 | app/models/avalon_clip.rb | Ruby | apache-2.0 | 99 | main | 2,258 | # 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 | app/models/indexed_file.rb | Ruby | apache-2.0 | 99 | main | 1,593 | # 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 | app/models/iiif_canvas_presenter.rb | Ruby | apache-2.0 | 99 | main | 12,076 | # 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 | app/models/mods_document.rb | Ruby | apache-2.0 | 99 | main | 12,621 | # 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 | app/models/comment.rb | Ruby | apache-2.0 | 99 | main | 2,644 | # 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 | app/models/supplemental_file.rb | Ruby | apache-2.0 | 99 | main | 5,719 | # 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 | app/models/structure_step.rb | Ruby | apache-2.0 | 99 | main | 1,041 | # 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 | app/models/playlist_item.rb | Ruby | apache-2.0 | 99 | main | 1,560 | # 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 | app/models/user.rb | Ruby | apache-2.0 | 99 | main | 5,777 | # 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 | app/models/api_token.rb | Ruby | apache-2.0 | 99 | main | 847 | # 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 | app/models/external_group.rb | Ruby | apache-2.0 | 99 | main | 1,496 | # 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 | app/models/language_term.rb | Ruby | apache-2.0 | 99 | main | 3,689 | # 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 | app/models/timeline.rb | Ruby | apache-2.0 | 99 | main | 8,151 | # 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 | app/models/ingest_batch.rb | Ruby | apache-2.0 | 99 | main | 1,772 | # 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 | app/models/role_map.rb | Ruby | apache-2.0 | 99 | main | 1,871 | # 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 | app/models/iiif_manifest_range.rb | Ruby | apache-2.0 | 99 | main | 814 | # 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 | app/models/avalon_marker.rb | Ruby | apache-2.0 | 99 | main | 1,023 | # 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 | app/models/collection_search_builder.rb | Ruby | apache-2.0 | 99 | main | 3,504 | # 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 | app/models/lease.rb | Ruby | apache-2.0 | 99 | main | 6,987 | # 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 | app/models/iiif_playlist_manifest_presenter.rb | Ruby | apache-2.0 | 99 | main | 2,951 | # 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 | app/models/structural_metadata.rb | Ruby | apache-2.0 | 99 | main | 3,301 | # 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 | app/models/resource_description_step.rb | Ruby | apache-2.0 | 99 | main | 1,576 | # 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 | app/models/ability.rb | Ruby | apache-2.0 | 99 | main | 11,121 | # 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 | app/models/migration_status.rb | Ruby | apache-2.0 | 99 | main | 1,281 | # 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 | app/models/basic_step.rb | Ruby | apache-2.0 | 99 | main | 2,563 | # --- BEGIN LICENSE_HEADER BLOCK ---
# Copyright 2011-2013, 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://w... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/models/admin/collection.rb | Ruby | apache-2.0 | 99 | main | 13,593 | # 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 | app/models/admin/group.rb | Ruby | apache-2.0 | 99 | main | 5,345 | # 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 | app/models/avalon/rdf_vocab.rb | Ruby | apache-2.0 | 99 | main | 5,895 | # 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 | app/models/concerns/supplemental_file_write_behavior.rb | Ruby | apache-2.0 | 99 | main | 1,886 | # 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 | app/models/concerns/media_object_behavior.rb | Ruby | apache-2.0 | 99 | main | 2,734 | # 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 | app/models/concerns/derivative_intercom.rb | Ruby | apache-2.0 | 99 | main | 1,383 | # 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 | app/models/concerns/admin_collection_behavior.rb | Ruby | apache-2.0 | 99 | main | 1,032 | # 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 | app/models/concerns/master_file_intercom.rb | Ruby | apache-2.0 | 99 | main | 2,067 | # 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 | app/models/concerns/derivative_behavior.rb | Ruby | apache-2.0 | 99 | main | 1,066 | # 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 | app/models/concerns/media_object_intercom.rb | Ruby | apache-2.0 | 99 | main | 3,105 | # 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 | app/models/concerns/master_file_behavior.rb | Ruby | apache-2.0 | 99 | main | 7,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 | app/models/concerns/media_object_mods.rb | Ruby | apache-2.0 | 99 | main | 18,817 | # 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 | app/models/concerns/identifier.rb | Ruby | apache-2.0 | 99 | main | 881 | # 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 | app/models/concerns/iiif_supplemental_file_behavior.rb | Ruby | apache-2.0 | 99 | main | 2,198 | # 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 | app/models/concerns/migration_target.rb | Ruby | apache-2.0 | 99 | main | 911 | # 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 | app/models/concerns/permalink.rb | Ruby | apache-2.0 | 99 | main | 2,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 | app/models/concerns/virtual_groups.rb | Ruby | apache-2.0 | 99 | main | 1,131 | # 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 | app/models/concerns/workflow_model_mixin.rb | Ruby | apache-2.0 | 99 | main | 906 | # --- BEGIN LICENSE_HEADER BLOCK ---
# Copyright 2011-2013, 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://w... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/models/concerns/frame_size.rb | Ruby | apache-2.0 | 99 | main | 1,976 | # 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 | app/models/concerns/supplemental_file_read_behavior.rb | Ruby | apache-2.0 | 99 | main | 1,646 | # 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 | app/models/concerns/hidden.rb | Ruby | apache-2.0 | 99 | main | 1,211 | # 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 | app/mailers/notifications_mailer.rb | Ruby | apache-2.0 | 99 | main | 1,444 | # 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 | app/mailers/ingest_batch_mailer.rb | Ruby | apache-2.0 | 99 | main | 1,743 | # 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 | app/mailers/application_mailer.rb | Ruby | apache-2.0 | 99 | main | 787 | # 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 | app/mailers/batch_registries_mailer.rb | Ruby | apache-2.0 | 99 | main | 3,874 | # 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 | app/mailers/comments_mailer.rb | Ruby | apache-2.0 | 99 | main | 951 | # 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 | app/components/index_header_media_object_component.rb | Ruby | apache-2.0 | 99 | main | 1,109 | class IndexHeaderMediaObjectComponent < Blacklight::DocumentTitleComponent
include TimeFormattingHelper
def initialize(**kwargs)
super
@classes += @actions.present? ? " col-sm-9 col-lg-10" : " col-md-12"
@title = search_result_label(presenter.document)
end
# Override to add test-id
def title
... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/components/formless_document_action_component.rb | Ruby | apache-2.0 | 99 | main | 358 | class FormlessDocumentActionComponent < Blacklight::Document::ActionComponent
def link_to_modal_control
link_to label,
url,
id: @id,
class: "btn btn-default btn-outline",
method: 'post',
data: {}.merge(({ blacklight_modal: "trigger", turbo: false } if @a... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/components/index_metadata_media_object_component.rb | Ruby | apache-2.0 | 99 | main | 585 | class IndexMetadataMediaObjectComponent < Blacklight::DocumentMetadataComponent
# @param fields [Enumerable<Blacklight::FieldPresenter>] Document field presenters
# rubocop:disable Metrics/ParameterLists
def initialize(**kwargs)
super
@classes += %w[col-md-12 col-lg-8]
@field_layout ||= MetadataFieldL... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/components/metadata_field_layout_component.rb | Ruby | apache-2.0 | 99 | main | 800 | class MetadataFieldLayoutComponent < Blacklight::Component
with_collection_parameter :field
renders_one :label
renders_many :values, (lambda do |value: nil, &block|
if @value_tag.nil?
block&.call || value
elsif block
content_tag @value_tag, class: "#{@value_class} blacklight-#{@key}", data: { ... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | app/views/catalog/_document_media_object.atom.builder | Ruby | apache-2.0 | 99 | main | 1,778 | # frozen_string_literal: true
presenter = document_presenter(document)
xml.entry do
xml.title presenter.heading
# updated is required, for now we'll just set it to now, sorry
xml.updated document[:descMetadata_modified_dtsi] || document[:timestamp]
xml.link "rel" => "alternate", "type" => "application/jso... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/schema.rb | Ruby | apache-2.0 | 99 | main | 11,389 | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `bin/rai... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20120918154531_create_identities.rb | Ruby | apache-2.0 | 99 | main | 871 | # 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 | db/migrate/20191004181956_create_active_encode_encode_records.active_encode.rb | Ruby | apache-2.0 | 99 | main | 393 | # frozen_string_literal: true
# This migration comes from active_encode (originally 20180822021048)
class CreateActiveEncodeEncodeRecords < ActiveRecord::Migration[5.0]
def change
create_table :active_encode_encode_records do |t|
t.string :global_id
t.string :state
t.string :adapter
t.stri... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20160803143846_create_searches.blacklight.rb | Ruby | apache-2.0 | 99 | main | 387 | # This migration comes from blacklight (originally 20140202020201)
# frozen_string_literal: true
class CreateSearches < ActiveRecord::Migration[5.1]
def self.up
create_table :searches do |t|
t.text :query_params
t.integer :user_id, index: true
t.string :user_type
t.timestamps null: false... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20230516142233_add_language_to_supplemental_files.rb | Ruby | apache-2.0 | 99 | main | 822 | # 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 | db/migrate/20190212211753_create_timelines.rb | Ruby | apache-2.0 | 99 | main | 1,030 | # 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 | db/migrate/20171002182931_add_tags_to_playlist.rb | Ruby | apache-2.0 | 99 | main | 796 | # 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 | db/migrate/20190604174803_add_limit_to_manifest.rb | Ruby | apache-2.0 | 99 | main | 819 | # 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 | db/migrate/20171130201127_assign_default_value_to_playlist_tags.rb | Ruby | apache-2.0 | 99 | main | 916 | # 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 | db/migrate/20190715215848_persona_devise_invitable_add_to_users.samvera_persona.rb | Ruby | apache-2.0 | 99 | main | 1,687 | # Copyright 2011-2024, 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 | db/migrate/20170530173241_create_minter_states.active_fedora_noid_engine.rb | Ruby | apache-2.0 | 99 | main | 588 | # This migration comes from active_fedora_noid_engine (originally 20160610010003)
# frozen_string_literal: true
class CreateMinterStates < ActiveRecord::Migration[5.1]
def change
create_table :minter_states do |t|
t.string :namespace, null: false, default: 'default'
t.string :template, null: false
... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20170817195104_create_batch_entries.rb | Ruby | apache-2.0 | 99 | main | 1,117 | # 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 | db/migrate/20170118162908_create_migration_statuses.rb | Ruby | apache-2.0 | 99 | main | 1,038 | # 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 | db/migrate/20220822170237_change_active_encode_encode_records_raw_object_to_medium_text.rb | Ruby | apache-2.0 | 99 | main | 874 | # 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 | db/migrate/20121203050857_create_stream_tokens.rb | Ruby | apache-2.0 | 99 | main | 874 | # 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 | db/migrate/20191004181958_add_progress_to_active_encode_encode_records.active_encode.rb | Ruby | apache-2.0 | 99 | main | 263 | # frozen_string_literal: true
# This migration comes from active_encode (originally 20190712174821)
class AddProgressToActiveEncodeEncodeRecords < ActiveRecord::Migration[5.1]
def change
add_column :active_encode_encode_records, :progress, :float
end
end |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20130211152936_create_role_map.rb | Ruby | apache-2.0 | 99 | main | 842 | # 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 | db/migrate/20160825153112_add_annotations_clips_markers.rb | Ruby | apache-2.0 | 99 | main | 1,448 | # 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 | db/migrate/20190806193607_fill_in_providers.rb | Ruby | apache-2.0 | 99 | main | 1,154 | # 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 | db/migrate/20190513230119_add_devise_to_users.rb | Ruby | apache-2.0 | 99 | main | 2,361 | # 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 | db/migrate/20160803143847_create_bookmarks.blacklight.rb | Ruby | apache-2.0 | 99 | main | 470 | # This migration comes from blacklight (originally 20140202020202)
# frozen_string_literal: true
class CreateBookmarks < ActiveRecord::Migration[5.1]
def self.up
create_table :bookmarks do |t|
t.integer :user_id, index: true, null: false
t.string :user_type
t.string :document_id, index: true
... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20160817153843_create_api_tokens.rb | Ruby | apache-2.0 | 99 | main | 1,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 | db/migrate/20190715215847_add_deleted_at_to_users.samvera_persona.rb | Ruby | apache-2.0 | 99 | main | 232 | # This migration comes from samvera_persona (originally 20190520170817)
class AddDeletedAtToUsers < ActiveRecord::Migration[5.0]
def change
add_column :users, :deleted_at, :datetime
add_index :users, :deleted_at
end
end |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20170816135530_add_access_token_to_playlist.rb | Ruby | apache-2.0 | 99 | main | 811 | # 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 | db/migrate/20170523195146_add_index_to_migration_status.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 | db/migrate/20160803143858_create_users.rb | Ruby | apache-2.0 | 99 | main | 1,163 | # 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 | db/migrate/20170530173242_rename_minter_state_random_to_rand.active_fedora_noid_engine.rb | Ruby | apache-2.0 | 99 | main | 251 | # This migration comes from active_fedora_noid_engine (originally 20161021203429)
# frozen_string_literal: true
class RenameMinterStateRandomToRand < ActiveRecord::Migration[5.1]
def change
rename_column :minter_states, :random, :rand
end
end |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20140131223814_create_courses.rb | Ruby | apache-2.0 | 99 | main | 879 | # 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 | db/migrate/20160803143848_add_polymorphic_type_to_bookmarks.blacklight.rb | Ruby | apache-2.0 | 99 | main | 410 | # This migration comes from blacklight (originally 20140320000000)
# frozen_string_literal: true
class AddPolymorphicTypeToBookmarks < ActiveRecord::Migration[5.1]
def change
add_column(:bookmarks, :document_type, :string) unless Bookmark.connection.column_exists? :bookmarks, :document_type
add_index :bo... |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20220526185425_create_checkouts.rb | Ruby | apache-2.0 | 99 | main | 953 | # 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 | db/migrate/20200414154529_create_supplemental_files.rb | Ruby | apache-2.0 | 99 | main | 854 | # 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 | db/migrate/20170817194835_create_batch_registries.rb | Ruby | apache-2.0 | 99 | main | 1,176 | # 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 | db/migrate/20210202160327_add_tags_to_supplemental_files.rb | Ruby | apache-2.0 | 99 | main | 814 | # 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 | db/migrate/20171120190443_add_default_boolean_values_to_batch_registries_and_batch_entries.rb | Ruby | apache-2.0 | 99 | main | 1,499 | # 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 | db/migrate/20240424200346_add_parent_id_to_supplemental_file.rb | Ruby | apache-2.0 | 99 | main | 822 | # 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 | db/migrate/20240624204921_change_sessions_data_to_medium_text.rb | Ruby | apache-2.0 | 99 | main | 826 | # 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 | db/migrate/20191004181957_add_create_options_to_active_encode_encode_records.active_encode.rb | Ruby | apache-2.0 | 99 | main | 273 | # frozen_string_literal: true
# This migration comes from active_encode (originally 20190702153755)
class AddCreateOptionsToActiveEncodeEncodeRecords < ActiveRecord::Migration[5.0]
def change
add_column :active_encode_encode_records, :create_options, :text
end
end |
github | avalonmediasystem/avalon | https://github.com/avalonmediasystem/avalon | db/migrate/20121219173255_create_table_ingest_batch.rb | Ruby | apache-2.0 | 99 | main | 1,007 | # 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 | db/migrate/20140521132807_add_sessions_table.rb | Ruby | apache-2.0 | 99 | main | 951 | # 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 | db/migrate/20191016195828_add_sort_fields_to_active_encode_encode_records.rb | Ruby | apache-2.0 | 99 | main | 1,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/rails_helper.rb | Ruby | apache-2.0 | 99 | main | 8,509 | # 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/spec_helper.rb | Ruby | apache-2.0 | 99 | main | 5,419 | # 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/support/supplemental_files_controller_examples.rb | Ruby | apache-2.0 | 99 | main | 34,333 | # 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/support/optional_example.rb | Ruby | apache-2.0 | 99 | main | 1,146 | # 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
#
# ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.