sufia 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -3
- data/.travis.yml +4 -4
- data/README.md +1 -10
- data/SUFIA_VERSION +1 -1
- data/app/assets/images/audio.png +0 -0
- data/app/assets/javascripts/sufia/trophy.js +11 -5
- data/app/controllers/single_use_links_controller.rb +11 -1
- data/app/helpers/facets_helper.rb +3 -0
- data/app/helpers/sufia/facets_helper_behavior.rb +23 -0
- data/app/helpers/sufia_helper.rb +3 -21
- data/app/views/dashboard/_facet_limit.html.erb +2 -20
- data/app/views/dashboard/_index_partials/_thumbnail_display.html.erb +4 -2
- data/app/views/generic_files/_descriptions.html.erb +2 -18
- data/app/views/generic_files/_field_form.html.erb +7 -2
- data/app/views/generic_files/_media_display.html.erb +0 -16
- data/app/views/generic_files/_permission.html.erb +1 -17
- data/app/views/generic_files/_permission_form.html.erb +1 -1
- data/app/views/generic_files/_show_actions.html.erb +1 -8
- data/app/views/generic_files/_versioning.html.erb +1 -17
- data/app/views/generic_files/edit.html.erb +1 -17
- data/app/views/mailbox/index.html.erb +5 -3
- data/app/views/users/_activity.html.erb +3 -0
- data/app/views/users/_activity_log.html.erb +1 -17
- data/app/views/users/_contributions.html.erb +29 -0
- data/app/views/users/_follower_modal.html.erb +26 -0
- data/app/views/users/_following_modal.html.erb +26 -0
- data/app/views/users/_left_sidebar.html.erb +12 -0
- data/app/views/users/_notify_number.html.erb +0 -16
- data/app/views/users/_profile.html.erb +7 -0
- data/app/views/users/_profile_actions.html.erb +11 -0
- data/app/views/users/_profile_tabs.html.erb +11 -0
- data/app/views/users/_search_form.html.erb +1 -17
- data/app/views/users/_social_media_info.html.erb +20 -0
- data/app/views/users/_user_info.html.erb +0 -16
- data/app/views/users/_vitals.html.erb +4 -0
- data/app/views/users/edit.html.erb +1 -17
- data/app/views/users/index.html.erb +0 -16
- data/app/views/users/notifications_number.js.erb +0 -16
- data/app/views/users/show.html.erb +21 -58
- data/lib/sufia.rb +1 -3
- data/lib/sufia/controller.rb +0 -6
- data/lib/sufia/version.rb +1 -1
- data/spec/controllers/batch_edits_controller_spec.rb +8 -2
- data/spec/controllers/generic_files_controller_spec.rb +8 -28
- data/spec/controllers/single_use_links_controller_spec.rb +26 -2
- data/spec/factories/generic_files.rb +46 -0
- data/spec/factories/users.rb +6 -2
- data/spec/features/browse_dashboard_files_spec.rb +39 -0
- data/spec/features/browse_files_spec.rb +30 -0
- data/spec/features/{contact_form.rb → contact_form_spec.rb} +1 -1
- data/spec/features/{display_dashboard.rb → display_dashboard_spec.rb} +1 -7
- data/spec/features/{ingest_upload_files.rb → ingest_upload_files_spec.rb} +2 -2
- data/spec/features/notifications_spec.rb +20 -0
- data/spec/features/users_spec.rb +12 -0
- data/spec/helpers/sufia_helper_spec.rb +23 -0
- data/spec/lib/sufia/id_service_spec.rb +0 -38
- data/spec/support/features.rb +2 -0
- data/spec/support/features/session_helpers.rb +9 -1
- data/spec/support/fixture_helpers.rb +10 -0
- data/spec/views/dashboard/facet_limit.html.erb_spec.rb +15 -0
- data/spec/views/dashboard/index_partials/_thumbnail_display.html.erb_spec.rb +22 -0
- data/spec/views/generic_file/edit.html.erb_spec.rb +24 -0
- data/spec/views/users/show.html.erb_spec.rb +31 -0
- data/sufia-models/app/models/concerns/sufia/user.rb +2 -2
- data/sufia-models/lib/generators/sufia/models/install_generator.rb +2 -1
- data/sufia-models/lib/generators/sufia/models/templates/migrations/add_linkedin_to_users.rb +5 -0
- data/sufia-models/lib/sufia/models/generic_file/actions.rb +0 -1
- data/sufia-models/lib/sufia/models/version.rb +1 -1
- data/sufia-models/sufia-models.gemspec +3 -5
- data/tasks/sufia-dev.rake +0 -10
- metadata +43 -69
- data/app/views/generic_files/edit_fields/_type.html.erb +0 -12
- data/lib/tasks/fixtures.rake +0 -231
- data/spec/features/browse_dashboard_files.rb +0 -21
- data/spec/features/browse_files.rb +0 -31
- data/spec/fixtures/empty_file.txt +0 -0
- data/spec/fixtures/fits_datastream.xml +0 -42
- data/spec/fixtures/sufia/bg_header.jpg +0 -0
- data/spec/fixtures/sufia/sufia_test1.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test1.foxml.erb +0 -89
- data/spec/fixtures/sufia/sufia_test1.txt +0 -1
- data/spec/fixtures/sufia/sufia_test2.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test2.docx +0 -0
- data/spec/fixtures/sufia/sufia_test2.foxml.erb +0 -88
- data/spec/fixtures/sufia/sufia_test3.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test3.foxml.erb +0 -91
- data/spec/fixtures/sufia/sufia_test3.xls +0 -0
- data/spec/fixtures/sufia/sufia_test4.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test4.foxml.erb +0 -91
- data/spec/fixtures/sufia/sufia_test5.descMeta.txt +0 -19
- data/spec/fixtures/sufia/sufia_test5.foxml.erb +0 -90
- data/spec/fixtures/sufia/sufia_test5.txt +0 -1
- data/spec/fixtures/sufia/sufia_test6.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test6.foxml.erb +0 -89
- data/spec/fixtures/sufia/sufia_test6.jp2 +0 -0
- data/spec/fixtures/sufia/sufia_test6.txt +0 -1
- data/spec/fixtures/sufia_generic_stub.descMeta.txt +0 -12
- data/spec/fixtures/sufia_generic_stub.foxml.erb +0 -79
- data/spec/models/unzip_job_spec.rb +0 -47
- data/spec/rake/sufia_fixtures_spec.rb +0 -74
- data/sufia-models/lib/sufia/models/jobs/unzip_job.rb +0 -38
- data/tasks/sufia-fixtures.rake +0 -232
@@ -1 +0,0 @@
|
|
1
|
-
This is a test fixture. local url
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/publisher> "archivist1" .
|
2
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/description> "Test Document Word DocX Description" .
|
3
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/created> "4/11/2012" .
|
4
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/contributor> "archivist1" .
|
5
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/title> "Test Document Word DocX" .
|
6
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/relation> "test" .
|
7
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/subject> "Word DocX Test" .
|
8
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/language> "En" .
|
9
|
-
<info:fedora/sufia:test2> <http://xmlns.com/foaf/0.1/based_near> "State College" .
|
10
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/rights> "archivist1@example.com" .
|
11
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/creator> "archivist1@example.com" .
|
12
|
-
<info:fedora/sufia:test2> <http://purl.org/dc/terms/identifier> "Test" .
|
Binary file
|
@@ -1,88 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject PID="sufia:test2" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
4
|
-
<foxml:objectProperties>
|
5
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
6
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Test Data 2"/>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
8
|
-
</foxml:objectProperties>
|
9
|
-
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
|
10
|
-
<foxml:datastreamVersion FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
11
|
-
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml">
|
12
|
-
<foxml:xmlContent>
|
13
|
-
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/"
|
14
|
-
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
15
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
16
|
-
<dc:title>Test Document Word DocX</dc:title>
|
17
|
-
<dc:identifier>sufia:test2</dc:identifier>
|
18
|
-
</oai_dc:dc>
|
19
|
-
</foxml:xmlContent>
|
20
|
-
</foxml:datastreamVersion>
|
21
|
-
</foxml:datastream>
|
22
|
-
<foxml:datastream CONTROL_GROUP="M" ID="descMetadata" STATE="A" VERSIONABLE="true">
|
23
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" MIMETYPE="text/plain">
|
24
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test2.descMeta.txt" TYPE="URL"/>
|
25
|
-
</foxml:datastreamVersion>
|
26
|
-
</foxml:datastream>
|
27
|
-
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true">
|
28
|
-
<foxml:datastreamVersion ID="RELS-EXT.0"
|
29
|
-
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="application/rdf+xml" SIZE="286">
|
30
|
-
<foxml:xmlContent>
|
31
|
-
<rdf:RDF xmlns:ns0="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
32
|
-
<rdf:Description rdf:about="info:fedora/sufia:test2">
|
33
|
-
<ns0:hasModel rdf:resource="info:fedora/afmodel:GenericFile"/>
|
34
|
-
</rdf:Description>
|
35
|
-
</rdf:RDF>
|
36
|
-
</foxml:xmlContent>
|
37
|
-
</foxml:datastreamVersion>
|
38
|
-
</foxml:datastream>
|
39
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
40
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2012-08-24T16:08:36.120Z" MIMETYPE="text/xml" SIZE="86">
|
41
|
-
<foxml:xmlContent>
|
42
|
-
<fields>
|
43
|
-
<depositor>archivist1</depositor>
|
44
|
-
<relative_path/>
|
45
|
-
</fields>
|
46
|
-
</foxml:xmlContent>
|
47
|
-
</foxml:datastreamVersion>
|
48
|
-
</foxml:datastream>
|
49
|
-
<foxml:datastream CONTROL_GROUP="M" ID="content" STATE="A" VERSIONABLE="true">
|
50
|
-
<foxml:datastreamVersion ID="content.0" LABEL="Test Data 1"
|
51
|
-
MIMETYPE="text/plain" SIZE="25">
|
52
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test2.docx" TYPE="URL"/>
|
53
|
-
</foxml:datastreamVersion>
|
54
|
-
</foxml:datastream>
|
55
|
-
<foxml:datastream CONTROL_GROUP="X" ID="rightsMetadata" STATE="A" VERSIONABLE="true">
|
56
|
-
<foxml:datastreamVersion CREATED="2012-04-06T13:41:37.093Z" ID="rightsMetadata.0" LABEL="" MIMETYPE="text/xml" SIZE="582">
|
57
|
-
<!--foxml:contentDigest DIGEST="37420e9d0d9e81ccf834494450a649d5" TYPE="MD5"/-->
|
58
|
-
<foxml:xmlContent>
|
59
|
-
<rightsMetadata version="0.1" xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
60
|
-
<copyright>
|
61
|
-
<human/>
|
62
|
-
<machine>
|
63
|
-
<uvalicense>no</uvalicense>
|
64
|
-
</machine>
|
65
|
-
</copyright>
|
66
|
-
<access type="discover">
|
67
|
-
<human/>
|
68
|
-
<machine/>
|
69
|
-
</access>
|
70
|
-
<access type="read">
|
71
|
-
<human/>
|
72
|
-
<machine/>
|
73
|
-
</access>
|
74
|
-
<access type="edit">
|
75
|
-
<human/>
|
76
|
-
<machine>
|
77
|
-
<person>archivist1@example.com</person>
|
78
|
-
</machine>
|
79
|
-
</access>
|
80
|
-
<embargo>
|
81
|
-
<human/>
|
82
|
-
<machine/>
|
83
|
-
</embargo>
|
84
|
-
</rightsMetadata>
|
85
|
-
</foxml:xmlContent>
|
86
|
-
</foxml:datastreamVersion>
|
87
|
-
</foxml:datastream>
|
88
|
-
</foxml:digitalObject>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/publisher> "archivist1" .
|
2
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/description> "Test Document Text Description" .
|
3
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/created> "4/11/2012" .
|
4
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/contributor> "archivist1" .
|
5
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/title> "Test Document Text" .
|
6
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/relation> "test" .
|
7
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/subject> "Plain Text Test" .
|
8
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/language> "En" .
|
9
|
-
<info:fedora/sufia:test3> <http://xmlns.com/foaf/0.1/based_near> "State College" .
|
10
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/rights> "archivist1@example.com" .
|
11
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/creator> "archivist1@example.com" .
|
12
|
-
<info:fedora/sufia:test3> <http://purl.org/dc/terms/identifier> "Test" .
|
@@ -1,91 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject PID="sufia:test3" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
4
|
-
<foxml:objectProperties>
|
5
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
6
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Test Data Excel"/>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
8
|
-
</foxml:objectProperties>
|
9
|
-
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
|
10
|
-
<foxml:datastreamVersion FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
11
|
-
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml">
|
12
|
-
<foxml:xmlContent>
|
13
|
-
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/"
|
14
|
-
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
15
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
16
|
-
<dc:title>Test Data Excel</dc:title>
|
17
|
-
<dc:identifier>sufia:test3</dc:identifier>
|
18
|
-
</oai_dc:dc>
|
19
|
-
</foxml:xmlContent>
|
20
|
-
</foxml:datastreamVersion>
|
21
|
-
</foxml:datastream>
|
22
|
-
<foxml:datastream CONTROL_GROUP="M" ID="descMetadata" STATE="A" VERSIONABLE="true">
|
23
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" MIMETYPE="text/plain">
|
24
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test3.descMeta.txt" TYPE="URL"/>
|
25
|
-
</foxml:datastreamVersion>
|
26
|
-
</foxml:datastream>
|
27
|
-
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true">
|
28
|
-
<foxml:datastreamVersion ID="RELS-EXT.0"
|
29
|
-
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="application/rdf+xml" SIZE="286">
|
30
|
-
<foxml:xmlContent>
|
31
|
-
<rdf:RDF xmlns:ns0="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
32
|
-
<rdf:Description rdf:about="info:fedora/sufia:test3">
|
33
|
-
<ns0:hasModel rdf:resource="info:fedora/afmodel:GenericFile"/>
|
34
|
-
</rdf:Description>
|
35
|
-
</rdf:RDF>
|
36
|
-
</foxml:xmlContent>
|
37
|
-
</foxml:datastreamVersion>
|
38
|
-
</foxml:datastream>
|
39
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
40
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2012-08-24T16:08:36.120Z" MIMETYPE="text/xml" SIZE="86">
|
41
|
-
<foxml:xmlContent>
|
42
|
-
<fields>
|
43
|
-
<depositor>archivist1</depositor>
|
44
|
-
<relative_path/>
|
45
|
-
</fields>
|
46
|
-
</foxml:xmlContent>
|
47
|
-
</foxml:datastreamVersion>
|
48
|
-
</foxml:datastream>
|
49
|
-
|
50
|
-
<foxml:datastream CONTROL_GROUP="M" ID="content" STATE="A" VERSIONABLE="true">
|
51
|
-
<foxml:datastreamVersion ID="content.0" LABEL="Test Data 1"
|
52
|
-
MIMETYPE="application/excel">
|
53
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test3.xls" TYPE="URL"/>
|
54
|
-
</foxml:datastreamVersion>
|
55
|
-
</foxml:datastream>
|
56
|
-
<foxml:datastream CONTROL_GROUP="X" ID="rightsMetadata" STATE="A" VERSIONABLE="true">
|
57
|
-
<foxml:datastreamVersion CREATED="2012-04-06T13:41:37.093Z" ID="rightsMetadata.0" LABEL="" MIMETYPE="text/xml" SIZE="582">
|
58
|
-
<foxml:xmlContent>
|
59
|
-
<rightsMetadata version="0.1" xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
60
|
-
<copyright>
|
61
|
-
<human/>
|
62
|
-
<machine>
|
63
|
-
<uvalicense>no</uvalicense>
|
64
|
-
</machine>
|
65
|
-
</copyright>
|
66
|
-
<access type="discover">
|
67
|
-
<human/>
|
68
|
-
<machine/>
|
69
|
-
</access>
|
70
|
-
<access type="read">
|
71
|
-
<human/>
|
72
|
-
<machine>
|
73
|
-
<group>public</group>
|
74
|
-
</machine>
|
75
|
-
</access>
|
76
|
-
<access type="edit">
|
77
|
-
<human/>
|
78
|
-
<machine>
|
79
|
-
|
80
|
-
<person>archivist1@example.com</person>
|
81
|
-
</machine>
|
82
|
-
</access>
|
83
|
-
<embargo>
|
84
|
-
<human/>
|
85
|
-
<machine/>
|
86
|
-
</embargo>
|
87
|
-
</rightsMetadata>
|
88
|
-
</foxml:xmlContent>
|
89
|
-
</foxml:datastreamVersion>
|
90
|
-
</foxml:datastream>
|
91
|
-
</foxml:digitalObject>
|
Binary file
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/publisher> "archivist1" .
|
2
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/description> "Test Document PDF Description" .
|
3
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/created> "4/11/2012" .
|
4
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/contributor> "archivist1" .
|
5
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/title> "Test Document PDF" .
|
6
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/relation> "test" .
|
7
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/subject> "PDF Test" .
|
8
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/language> "En" .
|
9
|
-
<info:fedora/sufia:test4> <http://xmlns.com/foaf/0.1/based_near> "State College" .
|
10
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/rights> "archivist1@example.com" .
|
11
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/creator> "archivist1@example.com" .
|
12
|
-
<info:fedora/sufia:test4> <http://purl.org/dc/terms/identifier> "Test" .
|
@@ -1,91 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject PID="sufia:test4" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
4
|
-
<foxml:objectProperties>
|
5
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
6
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Test Data PDF"/>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
8
|
-
</foxml:objectProperties>
|
9
|
-
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
|
10
|
-
<foxml:datastreamVersion FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
11
|
-
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml">
|
12
|
-
<foxml:xmlContent>
|
13
|
-
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/"
|
14
|
-
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
15
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
16
|
-
<dc:title>Test Data PDF</dc:title>
|
17
|
-
<dc:identifier>sufia:test4</dc:identifier>
|
18
|
-
</oai_dc:dc>
|
19
|
-
</foxml:xmlContent>
|
20
|
-
</foxml:datastreamVersion>
|
21
|
-
</foxml:datastream>
|
22
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
23
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2012-08-24T16:08:36.120Z" MIMETYPE="text/xml" SIZE="86">
|
24
|
-
<foxml:xmlContent>
|
25
|
-
<fields>
|
26
|
-
<depositor>archivist1</depositor>
|
27
|
-
<relative_path/>
|
28
|
-
</fields>
|
29
|
-
</foxml:xmlContent>
|
30
|
-
</foxml:datastreamVersion>
|
31
|
-
</foxml:datastream>
|
32
|
-
|
33
|
-
<foxml:datastream CONTROL_GROUP="M" ID="descMetadata" STATE="A" VERSIONABLE="true">
|
34
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" MIMETYPE="text/plain">
|
35
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test4.descMeta.txt" TYPE="URL"/>
|
36
|
-
</foxml:datastreamVersion>
|
37
|
-
</foxml:datastream>
|
38
|
-
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true">
|
39
|
-
<foxml:datastreamVersion ID="RELS-EXT.0"
|
40
|
-
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="application/rdf+xml" SIZE="286">
|
41
|
-
<foxml:xmlContent>
|
42
|
-
<rdf:RDF xmlns:ns0="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
43
|
-
<rdf:Description rdf:about="info:fedora/sufia:test4">
|
44
|
-
<ns0:hasModel rdf:resource="info:fedora/afmodel:GenericFile"/>
|
45
|
-
</rdf:Description>
|
46
|
-
</rdf:RDF>
|
47
|
-
</foxml:xmlContent>
|
48
|
-
</foxml:datastreamVersion>
|
49
|
-
</foxml:datastream>
|
50
|
-
<foxml:datastream CONTROL_GROUP="M" ID="content" STATE="A" VERSIONABLE="true">
|
51
|
-
<foxml:datastreamVersion ID="content.0" LABEL="Test Data PDF"
|
52
|
-
MIMETYPE="application/pdf" SIZE="25">
|
53
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test4.pdf" TYPE="URL"/>
|
54
|
-
</foxml:datastreamVersion>
|
55
|
-
</foxml:datastream>
|
56
|
-
<foxml:datastream CONTROL_GROUP="X" ID="rightsMetadata" STATE="A" VERSIONABLE="true">
|
57
|
-
<foxml:datastreamVersion CREATED="2012-04-06T13:41:37.093Z" ID="rightsMetadata.0" LABEL="" MIMETYPE="text/xml" SIZE="582">
|
58
|
-
<!--foxml:contentDigest DIGEST="37420e9d0d9e81ccf834494450a649d5" TYPE="MD5"/-->
|
59
|
-
<foxml:xmlContent>
|
60
|
-
<rightsMetadata version="0.1" xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
61
|
-
<copyright>
|
62
|
-
<human/>
|
63
|
-
<machine>
|
64
|
-
<uvalicense>no</uvalicense>
|
65
|
-
</machine>
|
66
|
-
</copyright>
|
67
|
-
<access type="discover">
|
68
|
-
<human/>
|
69
|
-
<machine/>
|
70
|
-
</access>
|
71
|
-
<access type="read">
|
72
|
-
<human/>
|
73
|
-
<machine>
|
74
|
-
<group>public</group>
|
75
|
-
</machine>
|
76
|
-
</access>
|
77
|
-
<access type="edit">
|
78
|
-
<human/>
|
79
|
-
<machine>
|
80
|
-
<person>archivist1@example.com</person>
|
81
|
-
</machine>
|
82
|
-
</access>
|
83
|
-
<embargo>
|
84
|
-
<human/>
|
85
|
-
<machine/>
|
86
|
-
</embargo>
|
87
|
-
</rightsMetadata>
|
88
|
-
</foxml:xmlContent>
|
89
|
-
</foxml:datastreamVersion>
|
90
|
-
</foxml:datastream>
|
91
|
-
</foxml:digitalObject>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/publisher> "archivist1" .
|
2
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/description> "Test mp3 Description" .
|
3
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/created> "04/11/2012" .
|
4
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/contributor> "archivist1" .
|
5
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/title> "Test mp3" .
|
6
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "test" .
|
7
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keya" .
|
8
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keyb" .
|
9
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keyc" .
|
10
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keyd" .
|
11
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keye" .
|
12
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keyf" .
|
13
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/relation> "keyg" .
|
14
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/subject> "Test mp3 Test" .
|
15
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/language> "En" .
|
16
|
-
<info:fedora/sufia:test5> <http://xmlns.com/foaf/0.1/based_near> "State College" .
|
17
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/rights> "archivist2@example.com" .
|
18
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/creator> "archivist1@example.com" .
|
19
|
-
<info:fedora/sufia:test5> <http://purl.org/dc/terms/identifier> "Test" .
|
@@ -1,90 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject PID="sufia:test5" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
4
|
-
<foxml:objectProperties>
|
5
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
6
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Test mp3"/>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
8
|
-
</foxml:objectProperties>
|
9
|
-
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
|
10
|
-
<foxml:datastreamVersion FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
11
|
-
ID="DC1.0" LABEL="Dublin Core Record for this object" MIMETYPE="text/xml">
|
12
|
-
<foxml:xmlContent>
|
13
|
-
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/"
|
14
|
-
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
|
15
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
16
|
-
<dc:title>Test mp3</dc:title>
|
17
|
-
<dc:identifier>sufia:test5</dc:identifier>
|
18
|
-
</oai_dc:dc>
|
19
|
-
</foxml:xmlContent>
|
20
|
-
</foxml:datastreamVersion>
|
21
|
-
</foxml:datastream>
|
22
|
-
<foxml:datastream CONTROL_GROUP="M" ID="descMetadata" STATE="A" VERSIONABLE="true">
|
23
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" MIMETYPE="text/plain">
|
24
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test5.descMeta.txt" TYPE="URL"/>
|
25
|
-
</foxml:datastreamVersion>
|
26
|
-
</foxml:datastream>
|
27
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
28
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2012-08-24T16:08:36.120Z" MIMETYPE="text/xml" SIZE="86">
|
29
|
-
<foxml:xmlContent>
|
30
|
-
<fields>
|
31
|
-
<depositor>archivist2</depositor>
|
32
|
-
<relative_path/>
|
33
|
-
</fields>
|
34
|
-
</foxml:xmlContent>
|
35
|
-
</foxml:datastreamVersion>
|
36
|
-
</foxml:datastream>
|
37
|
-
|
38
|
-
<foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true">
|
39
|
-
<foxml:datastreamVersion ID="RELS-EXT.0"
|
40
|
-
LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="application/rdf+xml" SIZE="286">
|
41
|
-
<foxml:xmlContent>
|
42
|
-
<rdf:RDF xmlns:ns0="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
43
|
-
<rdf:Description rdf:about="info:fedora/sufia:test5">
|
44
|
-
<ns0:hasModel rdf:resource="info:fedora/afmodel:GenericFile"/>
|
45
|
-
</rdf:Description>
|
46
|
-
</rdf:RDF>
|
47
|
-
</foxml:xmlContent>
|
48
|
-
</foxml:datastreamVersion>
|
49
|
-
</foxml:datastream>
|
50
|
-
<foxml:datastream CONTROL_GROUP="M" ID="content" STATE="A" VERSIONABLE="true">
|
51
|
-
<foxml:datastreamVersion ID="content.0" LABEL="Test Data 1"
|
52
|
-
MIMETYPE="audio/mpeg3" SIZE="25">
|
53
|
-
<foxml:contentLocation REF="file:<%=@localDir%>/sufia/sufia_test5.mp3" TYPE="URL"/>
|
54
|
-
</foxml:datastreamVersion>
|
55
|
-
</foxml:datastream>
|
56
|
-
<foxml:datastream CONTROL_GROUP="X" ID="rightsMetadata" STATE="A" VERSIONABLE="true">
|
57
|
-
<foxml:datastreamVersion CREATED="2012-04-06T13:41:37.093Z" ID="rightsMetadata.0" LABEL="" MIMETYPE="text/xml" SIZE="582">
|
58
|
-
<foxml:xmlContent>
|
59
|
-
<rightsMetadata version="0.1" xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
60
|
-
<copyright>
|
61
|
-
<human/>
|
62
|
-
<machine>
|
63
|
-
<uvalicense>no</uvalicense>
|
64
|
-
</machine>
|
65
|
-
</copyright>
|
66
|
-
<access type="discover">
|
67
|
-
<human/>
|
68
|
-
<machine>
|
69
|
-
<group>public</group>
|
70
|
-
</machine>
|
71
|
-
</access>
|
72
|
-
<access type="read">
|
73
|
-
<human/>
|
74
|
-
<machine/>
|
75
|
-
</access>
|
76
|
-
<access type="edit">
|
77
|
-
<human/>
|
78
|
-
<machine>
|
79
|
-
<person>archivist2@example.com</person>
|
80
|
-
</machine>
|
81
|
-
</access>
|
82
|
-
<embargo>
|
83
|
-
<human/>
|
84
|
-
<machine/>
|
85
|
-
</embargo>
|
86
|
-
</rightsMetadata>
|
87
|
-
</foxml:xmlContent>
|
88
|
-
</foxml:datastreamVersion>
|
89
|
-
</foxml:datastream>
|
90
|
-
</foxml:digitalObject>
|
@@ -1 +0,0 @@
|
|
1
|
-
This is a test fixture for sufia: test5.
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/publisher> "archivist1" .
|
2
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/description> "Test Image Description" .
|
3
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/created> "06/11/2012" .
|
4
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/contributor> "archivist1" .
|
5
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/title> "Test Image" .
|
6
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/relation> "test" .
|
7
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/subject> "Test Image Test" .
|
8
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/language> "En" .
|
9
|
-
<info:fedora/sufia:test6> <http://xmlns.com/foaf/0.1/based_near> "State College" .
|
10
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/rights> "archivist1@example.com" .
|
11
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/creator> "archivist1@example.com" .
|
12
|
-
<info:fedora/sufia:test6> <http://purl.org/dc/terms/identifier> "Test" .
|