Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f6a6c59
files: support videos as additional files
zubeydecivelek Nov 27, 2024
f43d527
docs: replacing main file
zubeydecivelek Apr 3, 2025
9e2fa6b
legacy: record redirection / new table for record marcxml
zubeydecivelek Apr 11, 2025
f73e56a
subtitles: fix renaming on publish
zubeydecivelek Apr 28, 2025
dd12aa1
schema: add legacy_recid and contributor roles
zubeydecivelek May 13, 2025
ed07da0
schema: add _curation and alternate_identifiers
zubeydecivelek May 15, 2025
d475db1
schema: add additonal titles and descriptions
zubeydecivelek May 26, 2025
5279bc7
schema: add tags and additional languages
zubeydecivelek Jun 10, 2025
b916411
mappings: change collections to keyword
zubeydecivelek Jun 25, 2025
29a864d
schema: add digitized to curation
zubeydecivelek Jul 4, 2025
dbb10b3
homepage: display lectures
zubeydecivelek Jul 9, 2025
4b6db83
category: add Lectures
zubeydecivelek Jul 10, 2025
a7e5fb2
schema: fix _curation.digitized type
zubeydecivelek Jul 10, 2025
234a1d7
landing page: display related indico videos
zubeydecivelek Jul 15, 2025
98f30cd
homepage: add hover to subcategories
zubeydecivelek Jul 15, 2025
365aa87
feature: follow and search transcriptions
zubeydecivelek Jul 17, 2025
08c6254
transcriptions: move them side-by-side to player and add hide button
zzacharo Jul 18, 2025
3241f6e
templates: rename related_indico_section to related_event_section and…
zzacharo Jul 24, 2025
1adb60c
detail: fix transcript filtering
zzacharo Jul 25, 2025
262c8c9
detail: fix toggle transcript css
zzacharo Jul 25, 2025
b9596f8
landing page: remove thumbnails download
zubeydecivelek Aug 15, 2025
d2c68e0
form: change related links to related identifiers
zubeydecivelek Aug 14, 2025
6252774
tests: fix failing tests
zubeydecivelek Aug 14, 2025
966cc92
feature: add chapters and task for chapter frames
zubeydecivelek Aug 13, 2025
fd187b2
feature: landing page point in time jumps
zubeydecivelek Aug 15, 2025
edd8d34
feature: add share link with timestamp
zubeydecivelek Aug 21, 2025
ff083dd
feature: chapter improvements
zubeydecivelek Aug 22, 2025
3f08b9b
chapters: increase frame size
zubeydecivelek Aug 26, 2025
e1b396f
fix: chapters height for small screens
zubeydecivelek Aug 26, 2025
901feb2
fix: deposit form bug
zubeydecivelek Aug 27, 2025
32931f4
fix: ignore extract_chapter_frames for project state
zubeydecivelek Aug 27, 2025
2e4d113
chapters: improve ExtractChapterFramesTask
zubeydecivelek Aug 28, 2025
1c04072
category: restrict access for Lectures
zubeydecivelek Aug 19, 2025
21fc9ff
landing page: display first 10 line in description
zubeydecivelek Sep 2, 2025
e804a8a
chapters: run task after replacing master
zubeydecivelek Sep 2, 2025
3221879
chapters: fix bugs
zubeydecivelek Sep 3, 2025
64395cf
chapters: improve task and landing page
zubeydecivelek Sep 4, 2025
31ed8f5
fix: transcriptions search
zubeydecivelek Sep 5, 2025
5c295c6
auth: allow external accounts to login and restrict upload
zubeydecivelek Aug 18, 2025
76961d1
permissions: require upload permission for edit
zubeydecivelek Sep 9, 2025
562ed53
readme: add note to replacing master file
zubeydecivelek Aug 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ name: CI

on:
push:
branches: main
branches:
- main
pull_request:
branches: main
branches:
- main
- additional-files

schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 4 * * 6"
Expand Down
122 changes: 79 additions & 43 deletions Bruno Collection - CDS Videos Publish Video.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,8 @@
"items": [
{
"type": "http",
"name": "Step 6: Get Project to Check the Flow Status",
"name": "Optional- Update the Access of the Video",
"seq": 7,
"request": {
"url": "{{baseURL}}/api/deposits/project/{{project_id}}",
"method": "GET",
"headers": [
{
"name": "content-type",
"value": "application/vnd.project.partial+json",
"enabled": true
}
],
"params": [],
"body": {
"mode": "json",
"json": "",
"formUrlEncoded": [],
"multipartForm": []
},
"script": {},
"vars": {},
"assertions": [],
"tests": "",
"auth": {
"mode": "inherit"
}
}
},
{
"type": "http",
"name": "Optional: Update the Access of the Video",
"seq": 6,
"request": {
"url": "{{baseURL}}/api/deposits/video/{{video_id}}",
"method": "PUT",
Expand Down Expand Up @@ -79,7 +49,7 @@
"params": [],
"body": {
"mode": "json",
"json": "{\n \"$schema\": \"https://localhost:5000/schemas/deposits/records/videos/project/project-v1.0.0.json\",\n \"_access\": {\n \"update\": [\n \"admin@test.ch\",\n \"your-egroup@cern.ch\"\n ],\n \"read\": [ // If you want to restrict the project, add access read\n \"your-egroup@cern.ch\"\n ]\n },\n // Add category and type\n \"category\": \"ATLAS\",\n \"type\": \"VIDEO\"\n}",
"json": "{\n \"_access\": {\n \"update\": [\n \"admin@test.ch\",\n \"your-egroup@cern.ch\"\n ],\n \"read\": [ // If you want to restrict the project, add access read\n \"your-egroup@cern.ch\"\n ]\n },\n // Add category and type\n \"category\": \"ATLAS\",\n \"type\": \"VIDEO\"\n}",
"formUrlEncoded": [],
"multipartForm": []
},
Expand Down Expand Up @@ -111,7 +81,7 @@
"params": [],
"body": {
"mode": "json",
"json": "{\n \"$schema\":\"https://localhost:5000/schemas/deposits/records/videos/video/video-v1.0.0.json\",\n \"_project_id\":\"{{project_id}}\",\n \"title\":\n {\n \"title\":\"your_title\"\n },\n \"_access\": {\n \"read\": [\n \"your-egroup@cern.ch\"\n ]\n },\n \"vr\": false,\n \"featured\": false,\n \"language\": \"en\",\n \"contributors\": [\n {\n \"name\": \"Surname, Name\",\n \"ids\": [\n {\n \"value\": \"cern id\",\n \"source\": \"cern\"\n }\n ],\n \"email\": \"test@cern.ch\",\n \"role\": \"Co-Producer\"\n }\n ],\n \"description\": \"Description\",\n \"date\": \"2024-11-12\",\n \"keywords\":[\n {\n \"name\": \"keyword\",\n \"value\": {\n \"name\": \"keyword\"\n }\n },\n {\n \"name\": \"keyword2\",\n \"value\": {\n \"name\": \"keyword2\"\n }\n }\n ],\n \"related_links\":[\n {\n \"name\": \"related link\",\n \"url\": \"https://relatedlink\"\n }\n ]\n}",
"json": "{\n \"_project_id\":\"{{project_id}}\",\n \"language\":\"en\",\n \"title\":\n {\n \"title\":\"your_title\"\n },\n \"_access\": {\n \"read\": [\n \"your-egroup@cern.ch\"\n ]\n },\n \"vr\": false,\n \"featured\": false,\n \"language\": \"en\",\n \"contributors\": [\n {\n \"name\": \"Surname, Name\",\n \"ids\": [\n {\n \"value\": \"cern id\",\n \"source\": \"cern\"\n }\n ],\n \"email\": \"test@cern.ch\",\n \"role\": \"Co-Producer\"\n }\n ],\n \"description\": \"Description\",\n \"date\": \"2024-11-12\",\n \"keywords\":[\n {\n \"name\": \"keyword\",\n \"value\": {\n \"name\": \"keyword\"\n }\n },\n {\n \"name\": \"keyword2\",\n \"value\": {\n \"name\": \"keyword2\"\n }\n }\n ],\n \"related_links\":[\n {\n \"name\": \"related link\",\n \"url\": \"https://relatedlink\"\n }\n ]\n}",
"formUrlEncoded": [],
"multipartForm": []
},
Expand Down Expand Up @@ -184,7 +154,9 @@
"formUrlEncoded": [],
"multipartForm": []
},
"script": {},
"script": {
"res": "let data = res.body;\nbru.setEnvVar(\"main_video_key\", data.key);"
},
"vars": {},
"assertions": [],
"tests": "",
Expand All @@ -195,12 +167,18 @@
},
{
"type": "http",
"name": "Step 5: Upload additional file",
"name": "Optional: Upload additional file",
"seq": 5,
"request": {
"url": "{{baseURL}}/api/files/{{bucket_id}}/{{additional_file}}",
"method": "PUT",
"headers": [],
"headers": [
{
"name": "X-Invenio-File-Tags",
"value": "context_type=additional_file",
"enabled": true
}
],
"params": [],
"body": {
"mode": "json",
Expand All @@ -221,8 +199,38 @@
},
{
"type": "http",
"name": "Step 7: Publish",
"name": "Step 5: Get Video to Check the Flow Status",
"seq": 8,
"request": {
"url": "{{baseURL}}/api/deposits/video/{{video_id}}",
"method": "GET",
"headers": [
{
"name": "content-type",
"value": "application/vnd.project.partial+json",
"enabled": true
}
],
"params": [],
"body": {
"mode": "json",
"json": "",
"formUrlEncoded": [],
"multipartForm": []
},
"script": {},
"vars": {},
"assertions": [],
"tests": "",
"auth": {
"mode": "inherit"
}
}
},
{
"type": "http",
"name": "Step 6- Publish",
"seq": 9,
"request": {
"url": "{{baseURL}}/api/deposits/video/{{video_id}}/actions/publish",
"method": "POST",
Expand All @@ -248,9 +256,40 @@
"mode": "inherit"
}
}
},
{
"type": "http",
"name": "Optional: Replace Main File",
"seq": 6,
"request": {
"url": "{{baseURL}}/api/files/{{bucket_id}}/{{main_video_key}}",
"method": "PUT",
"headers": [
{
"name": "X-Invenio-File-Tags",
"value": "times_replaced=1",
"enabled": true
}
],
"params": [],
"body": {
"mode": "json",
"json": "",
"formUrlEncoded": [],
"multipartForm": []
},
"script": {
"req": "const fs = require('fs');\nconst path = require('path');\n\n// File details\nconst filename = \"video_name.mp4\"; // CHANGE HERE\nconst filePath = \"video_file_path\"; // CHANGE HERE\n\n// Read the file as raw binary data\nconst fileContent = fs.readFileSync(filePath);\n\n// Set request headers\nreq.setHeader(\"Accept\", \"application/json, text/plain, */*\"); \nreq.setHeader(\"Accept-Encoding\", \"gzip, deflate, br, zstd\"); \nreq.setHeader(\"Content-Length\", fileContent.length);\n\n// Attach the file content as the request body\nreq.setBody(fileContent);\n"
},
"vars": {},
"assertions": [],
"tests": "",
"auth": {
"mode": "inherit"
}
}
}
],
"activeEnvironmentUid": "O01m8KLYsgrkGRjOSv443",
"environments": [
{
"variables": [
Expand Down Expand Up @@ -284,9 +323,6 @@
"allow": true
}
},
"ignore": [
"node_modules",
".git"
]
"ignore": ["node_modules", ".git"]
}
}
}
Loading