Skip to content

Commit fea6de2

Browse files
committed
Merge remote-tracking branch 'upstream/release52' into feat/vt-in-out-words
2 parents bca82a8 + 24aae09 commit fea6de2

File tree

341 files changed

+13089
-5172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+13089
-5172
lines changed

.github/workflows/node.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
CI: true
9191
- name: Send coverage
9292
if: ((github.event_name == 'pull_request') && (!startsWith(github.head_ref, 'release'))) || ((github.event_name == 'push') && (!startsWith(github.ref_name, 'release')))
93-
uses: codecov/codecov-action@v4
93+
uses: codecov/codecov-action@v5
9494
env:
9595
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9696

@@ -246,7 +246,9 @@ jobs:
246246
echo "image=$image" >> $GITHUB_OUTPUT
247247
- name: Trivy scanning
248248
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
249-
uses: aquasecurity/[email protected]
249+
uses: aquasecurity/[email protected]
250+
env:
251+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
250252
with:
251253
image-ref: "${{ steps.trivy-image.outputs.image }}"
252254
format: "table"
@@ -395,7 +397,9 @@ jobs:
395397
echo "image=$image" >> $GITHUB_OUTPUT
396398
- name: Trivy scanning
397399
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
398-
uses: aquasecurity/[email protected]
400+
uses: aquasecurity/[email protected]
401+
env:
402+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
399403
with:
400404
image-ref: "${{ steps.trivy-image.outputs.image }}"
401405
format: "table"
@@ -587,13 +591,17 @@ jobs:
587591
yarn
588592
env:
589593
CI: true
590-
- name: Run generator
594+
- name: Build OpenAPI client library
595+
run: |
596+
cd packages/openapi
597+
yarn build
598+
env:
599+
CI: true
600+
- name: Generate OpenAPI docs and server
591601
run: |
592602
cd packages/openapi
593-
594603
yarn gendocs
595604
yarn genserver
596-
yarn genclient:ts
597605
env:
598606
CI: true
599607

@@ -682,7 +690,7 @@ jobs:
682690
else
683691
# make dependencies of `determine-npm-tag` available
684692
yarn install --mode=skip-build
685-
693+
686694
cd packages
687695
PACKAGE_NAME="@sofie-automation/shared-lib"
688696
PUBLISHED_VERSION=$(yarn npm info --json $PACKAGE_NAME | jq -c '.version' -r)
@@ -700,19 +708,11 @@ jobs:
700708
yarn build
701709
env:
702710
CI: true
703-
- name: Generate OpenAPI client library
704-
if: ${{ steps.do-publish.outputs.tag }}
705-
uses: hatamiarash7/[email protected]
706-
with:
707-
generator: typescript-fetch
708-
openapi-file: ./packages/openapi/api/actions.yaml
709-
output-dir: ./packages/openapi/client/ts
710-
command-args: -p supportsES6=true
711711
- name: Build OpenAPI client library
712712
if: ${{ steps.do-publish.outputs.tag }}
713713
run: |
714714
cd packages/openapi
715-
yarn build:main
715+
yarn build
716716
env:
717717
CI: true
718718
- name: Modify dependencies to use npm packages

.github/workflows/prerelease-libs.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,19 +131,12 @@ jobs:
131131
yarn build
132132
env:
133133
CI: true
134-
- name: Generate OpenAPI client library
135-
if: ${{ steps.do-publish.outputs.tag }}
136-
uses: hatamiarash7/[email protected]
137-
with:
138-
generator: typescript-fetch
139-
openapi-file: ./packages/openapi/api/actions.yaml
140-
output-dir: ./packages/openapi/client/ts
141-
command-args: -p supportsES6=true
134+
142135
- name: Build OpenAPI client library
143-
if: ${{ steps.do-publish.outputs.tag }}
136+
if: ${{ steps.do-publish.outputs.publish }}
144137
run: |
145138
cd packages/openapi
146-
yarn build:main
139+
yarn build
147140
env:
148141
CI: true
149142
- name: Modify dependencies to use npm packages

.github/workflows/prune-container-images.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
prune-container-images:
10+
if: ${{ github.repository_owner == 'nrkno' }}
11+
1012
uses: nrkno/sofie-github-workflows/.github/workflows/prune-container-images.yml@main
1113
strategy:
1214
max-parallel: 1

.github/workflows/prune-tags.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616

1717
jobs:
1818
prune-tags:
19+
if: ${{ github.repository_owner == 'nrkno' }}
20+
1921
name: Prune tags
2022
runs-on: ubuntu-latest
2123
timeout-minutes: 15

.github/workflows/trivy.yml

Lines changed: 42 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Scheduled Trivy Scan
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: '0 10 * * 1'
5+
- cron: "0 10 * * 1"
66

77
jobs:
88
trivy:
9+
if: ${{ github.repository_owner == 'nrkno' }}
10+
911
name: Trivy scan
1012
runs-on: ubuntu-latest
1113
strategy:
@@ -15,17 +17,21 @@ jobs:
1517

1618
steps:
1719
- name: Run Trivy vulnerability scanner (json)
18-
uses: aquasecurity/[email protected]
20+
uses: aquasecurity/[email protected]
21+
env:
22+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
1923
with:
2024
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
2125
format: json
22-
output: '${{ matrix.image }}-trivy-scan-results.json'
26+
output: "${{ matrix.image }}-trivy-scan-results.json"
2327

2428
- name: Run Trivy vulnerability scanner (table)
25-
uses: aquasecurity/[email protected]
29+
uses: aquasecurity/[email protected]
30+
env:
31+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
2632
with:
2733
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
28-
output: '${{ matrix.image }}-trivy-scan-results.txt'
34+
output: "${{ matrix.image }}-trivy-scan-results.txt"
2935

3036
- name: Post all scan results to Github Summary as a table
3137
env:
@@ -38,10 +44,12 @@ jobs:
3844
echo $CODE_BLOCK >> $GITHUB_STEP_SUMMARY
3945
4046
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
41-
uses: aquasecurity/[email protected]
47+
uses: aquasecurity/[email protected]
48+
env:
49+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
4250
with:
43-
format: 'github'
44-
output: 'dependency-results-${{ matrix.image }}.sbom.json'
51+
format: "github"
52+
output: "dependency-results-${{ matrix.image }}.sbom.json"
4553
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
4654
github-pat: ${{ secrets.GITHUB_TOKEN }}
4755

@@ -56,46 +64,31 @@ jobs:
5664
echo ${{ env.SUMMARY }}
5765
5866
- name: Send Slack Notification
59-
uses: slackapi/slack-github-action@v1.27.0
67+
uses: slackapi/slack-github-action@v2.0.0
6068
with:
69+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
70+
webhook-type: incoming-webhook
6171
payload: |
62-
{
63-
"text": "Trivy scan results",
64-
"blocks": [
65-
{
66-
"type": "header",
67-
"text": {
68-
"type": "plain_text",
69-
"text": "Trivy scan results for sofie-core-${{ matrix.image }}:latest"
70-
}
71-
},
72-
{
73-
"type": "section",
74-
"text": {
75-
"type": "mrkdwn",
76-
"text": ":thisisfine: ${{ env.SUMMARY }}"
77-
}
78-
},
79-
{
80-
"type": "section",
81-
"text": {
82-
"type": "mrkdwn",
83-
"text": "Read the full scan results on Github"
84-
},
85-
"accessory": {
86-
"type": "button",
87-
"text": {
88-
"type": "plain_text",
89-
"text": ":github: Scan results",
90-
"emoji": true
91-
},
92-
"value": "workflow_run",
93-
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
94-
"action_id": "button-action"
95-
}
96-
}
97-
]
98-
}
99-
env:
100-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
101-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
72+
text: "Trivy scan results"
73+
blocks:
74+
- type: "header"
75+
text:
76+
type: "plain_text"
77+
text: "Trivy scan results for sofie-core-${{ matrix.image }}:latest"
78+
- type: "section"
79+
text:
80+
type: "mrkdwn"
81+
text: ":thisisfine: ${{ env.SUMMARY }}"
82+
- type: "section"
83+
text:
84+
type: "mrkdwn"
85+
text: "Read the full scan results on Github"
86+
accessory:
87+
type: "button"
88+
text:
89+
type: "plain_text"
90+
text: ":github: Scan results"
91+
emoji: true
92+
value: "workflow_run"
93+
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
94+
action_id: "button-action"

.vscode/settings.json.default

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"packages/shared-lib",
1010
"packages/job-worker",
1111
"packages/openapi",
12-
"packages/live-status-gateway"
12+
"packages/live-status-gateway",
13+
"packages/webui"
1314
],
1415
"prettier.enable": true,
1516
"sonarlint.connectedMode.project": { "projectKey": "nrkno_sofie-core" },

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ This repository uses the following branches:
99
* **_master_** is our main branch. We consider it stable and it is used in production.
1010
* The **_releaseXX_** branches are our in-development branches. When a release is ready, we decide to “freeze” that branch and create a new **_releaseXX+1_** branch.
1111

12-
We encourage you to base your contributions on the latest **_releaseXX_** branch, alternatively the **_master_** branch or a recently frozen **_releaseXX_** branch. The [_Sofie Releases_](https://nrkno.github.io/sofie-core/releases) page collects the status and timeline of the releases.
12+
We require contributions to be based based on the latest **_release\*_** branch.
13+
The [_Sofie Releases_](https://nrkno.github.io/sofie-core/releases) page collects the status and timeline of the releases.

meteor/.meteor/packages

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,14 @@
99
# but you can also edit it by hand.
1010

1111
[email protected] # Packages every Meteor app needs to have
12-
[email protected] # Packages for a great mobile UX
1312
[email protected] # The database Meteor supports right now
1413
[email protected] # Reactive variable for tracker
1514

16-
[email protected] # CSS minifier run for production mode
17-
[email protected] # JS minifier run for production mode
18-
[email protected] # ECMAScript 5 compatibility for older browsers
1915
[email protected] # Enable ECMAScript2015+ syntax in app code
2016
[email protected] # Enable TypeScript syntax in .ts and .tsx modules
2117
[email protected] # Server-side component of the `meteor shell` command
22-
[email protected] # Select when to allow use of the "modern" bundle
23-
24-
[email protected] # Define static page content in .html files
25-
react-meteor-data # React higher-order component for reactively tracking Meteor data
2618

2719
[email protected] # Meteor's client-side reactive programming library
28-
29-
fourseven:scss
3020

3121
3222
ostrio:meteor-root

meteor/.meteor/versions

Lines changed: 0 additions & 19 deletions

meteor/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.51.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.51.1...v1.51.2) (2024-11-21)
6+
7+
8+
### Bug Fixes
9+
10+
* Include previousPartInstance in check to orphan segments rather than remove them. ([2c113b5](https://github.com/nrkno/tv-automation-server-core/commit/2c113b58b205198d13f0fc7e2114704311eb915b))
11+
* updatePartInstancesSegmentIds: take into account when multiple segments have been merged into one. ([bdab8c4](https://github.com/nrkno/tv-automation-server-core/commit/bdab8c4e4ee1e67a3568cccc98106bb7f1258673))
12+
13+
## [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)
14+
15+
## [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)
16+
17+
18+
### Bug Fixes
19+
20+
* allow replacement in replaceInfinitesFromPreviousPlayhead ([ebb154d](https://github.com/nrkno/sofie-core/commit/ebb154d6b59369588da400d8d921a00e41b84dc8))
21+
* **BucketPanel:** Bucket AdLibs don't trigger when created before Rundown activation (SOFIE-3478) ([a16d977](https://github.com/nrkno/sofie-core/commit/a16d9777a301a6d7d69ea00be02b70c53cb9bdcc))
22+
* **LinePartTimeline:** make rules for findMainPiece consistent, make infinite graphics Pieces display correctly ([153d100](https://github.com/nrkno/sofie-core/commit/153d100fb659546201a654af5c566b513951df88))
23+
* **NoraFloatingInspector:** prevent Segment crash when trying to show a Piece with an invalid Nora `previewPayload` ([4a3a2e7](https://github.com/nrkno/sofie-core/commit/4a3a2e779c144b1c9e88c187cce2e5c80d34626d))
24+
* resolve an issue with prompter moving when Parts become PartInstances and the prompter position is juuuust right ([a670a73](https://github.com/nrkno/sofie-core/commit/a670a73fa6bfb8331921a2bedd9c927952cfffcf))
25+
526
## [1.51.0-in-testing.0](https://github.com/nrkno/sofie-core/compare/v1.50.4...v1.51.0-in-testing.0) (2024-08-19)
627

728

0 commit comments

Comments
 (0)