@clickview/ship-it 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.json +1 -1
- package/dist/X2/Analytics Web.md +11 -0
- package/dist/X2/Batch.Api.md +11 -0
- package/dist/X2/ClickView Online.md +43 -0
- package/dist/X2/ClickView.Cloud247.SpliceService.md +12 -0
- package/dist/X2/ClickView.Cron.md +10 -0
- package/dist/X2/ClickView.Curator.md +22 -0
- package/dist/X2/ClickView.OnlineApi.md +14 -0
- package/dist/X2/Curriculum.App.md +9 -0
- package/dist/X2/CurriculumIngestion.Api.md +8 -0
- package/dist/X2/Discover.Api.md +35 -0
- package/dist/X2/Domain.Api.md +11 -0
- package/dist/X2/FileGenerator.md +11 -0
- package/dist/X2/Hydration.App.md +9 -0
- package/dist/X2/Integrations.Api.md +8 -0
- package/dist/X2/Krakend.md +18 -0
- package/dist/X2/LTI.md +11 -0
- package/dist/X2/Library Editor.md +11 -0
- package/dist/X2/Library.Api.md +13 -0
- package/dist/X2/Lite.md +21 -0
- package/dist/X2/Master.Api.md +21 -0
- package/dist/X2/Master.Auth.md +22 -0
- package/dist/X2/Objects.Api.md +30 -0
- package/dist/X2/Permissions.Api.md +34 -0
- package/dist/X2/Release Notes.md +932 -0
- package/dist/X2/Share.Api.md +8 -0
- package/dist/X2/Subjects.API.md +21 -0
- package/dist/X2/TvProgramMonitor.App.md +8 -0
- package/dist/X2/Users.Api.md +25 -0
- package/dist/X2/VideoProcessorService.md +12 -0
- package/dist/X2/X2 Release Notes.md +932 -0
- package/dist/X2/X2 Testing Notes.csv +1200 -0
- package/dist/X2/X2 Testing Notes_old.csv +2060 -0
- package/dist/X2/clickview.md +314 -0
- package/dist/X2/index.app.md +8 -0
- package/dist/X2/notification-service.md +48 -0
- package/dist/Y2/Y2 Testing Notes.csv +1057 -0
- package/lib/config.json +1 -1
- package/lib/src/api-clients/git-lab/GitLabApiClient.js +0 -1
- package/lib/src/commands/CreateTestingNotesCommand.js +84 -0
- package/lib/src/commands/index.js +1 -0
- package/lib/src/constants/CommandTypeMapping.js +1 -0
- package/lib/src/interfaces/models/ProjectConfig.js +9 -0
- package/lib/src/inversify.config.js +2 -0
- package/lib/src/services/GitLabService.js +33 -0
- package/lib/src/startup/SetupCommands.js +1 -0
- package/lib/src/tasks/CreateMergeRequestTask.js +12 -9
- package/lib/src/tasks/CreateReleaseNotesTask.js +11 -8
- package/lib/src/tasks/CreateTestingNotesTask.js +135 -0
- package/lib/src/tasks/TagMasterTask.js +1 -2
- package/lib/src/tasks/ValidateDescriptionsTask.js +63 -33
- package/lib/src/tasks/ValidateMergeRequestTask.js +5 -4
- package/lib/src/tasks/index.js +1 -0
- package/lib/src/types.js +2 -0
- package/lib/src/utils/Csv.js +54 -0
- package/lib/src/utils/Descriptions.js +120 -103
- package/package.json +3 -2
package/config.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer changes
|
|
3
|
+
- Updated the report for actions to associate objects to backbone classifications, backbone audiences, classifications, and audiences, to contain every single association that's occurred including the names and IDs of each associated object. Fixes CC-384
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
- Updated handlers for associating objects to backbone classifications, backbone audiences, classifications, and audiences, to process each master object (video/playlist/series) 1 object at a time instead of processing each classification/audience/backbone one at a time. Implements CORE-954
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Testing
|
|
11
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# Dependencies
|
|
3
|
+
- https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/1992
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Customer changes
|
|
7
|
+
- If an NP user is viewing an Online share link, they will no longer see the "Training Channel" link and the ClickView logo will no longer have a link. Fixes INBOX-3832
|
|
8
|
+
|
|
9
|
+
- Fix users not being marked as SSO in new user manager (attempt #2). Fixes INBOX-3676
|
|
10
|
+
|
|
11
|
+
* Fixed a shared link broken issue after domain migration, because we have stopped updating the username/email in shortcode api when doing domain migration. Close INBOX-3789
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# Code changes
|
|
15
|
+
- Notifications now use the `appLink` field before referencing the old `link` field. Partially implements INBOX-3984
|
|
16
|
+
- Added a new shared `SafeUrlConcat` helper
|
|
17
|
+
|
|
18
|
+
- Add missing IdpCode mappings to the DataRender class
|
|
19
|
+
- Ensure all sql to get SsoMappings contains the same select statements
|
|
20
|
+
|
|
21
|
+
* Replace `username/email` with `UserId` when checking the owner of shared link because `username/email` is no longer saved in short code api
|
|
22
|
+
* Replace `CustomerId` with `MasterCustomerId` when checking the customer, because newly generated share link does not save `CustomerId` anymore
|
|
23
|
+
|
|
24
|
+
- Updated libraries to React 18. Partially implements CORE-770
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# Testing
|
|
28
|
+
- All notifications should show the correct icon
|
|
29
|
+
|
|
30
|
+
- All notification links should still work. Especially:
|
|
31
|
+
- Auto captions available
|
|
32
|
+
- Library request notifs
|
|
33
|
+
- Old staff request notifs
|
|
34
|
+
- Video available
|
|
35
|
+
- Video available in your custom library (when your staff request gets approved)
|
|
36
|
+
|
|
37
|
+
- Open an Online share link as an NP user (no online product). You should not have any links on your page that link somewhere else in Online, such as training channel or the ClickView logo
|
|
38
|
+
|
|
39
|
+
- In AU/UK/US/NZ, create a new user and login via SAML. The user should show up as a SAML user in new user manager
|
|
40
|
+
|
|
41
|
+
* Video should be played back normally after domain migration
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
# Before release
|
|
3
|
+
- Confirm that the web editor has be modified to divert curator tv workflow to vps and has been pushed to production
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
- Remove curator video re-encoding logic with embedded ClickView watermark
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Testing
|
|
11
|
+
- Video Splicing task requesting watermark on will be rejected.
|
|
12
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
# Dependencies
|
|
3
|
+
- https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/2536
|
|
4
|
+
|
|
5
|
+
- https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/1992
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Customer changes
|
|
9
|
+
- Changed all copy from "working list" or "working set" to "workbench" or "your workbench". Partially implements CC-389
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# Code changes
|
|
13
|
+
- Add `Clips` and `Interactives` tabs under `Content` in Curator Implements CC-369
|
|
14
|
+
|
|
15
|
+
- Updated libraries to React 18. Partially implements CORE-770
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# Testing
|
|
19
|
+
|
|
20
|
+
- In curator, the new `Clips` and `Interactives` tabs under `Content` will only be displayed when users log in as dev.
|
|
21
|
+
|
|
22
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer changes
|
|
3
|
+
* Add endpoints to allow online and user api to set and get sso year group mappings. Partially implements CORE-930
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
* Add new endpoint `GET v2/admin/customers/{customerGuid}/sso-year-group-mappings` to fetch sso year group mappings of a customer
|
|
8
|
+
* Add new endpoint `POST v2/admin/customers/{customerGuid}/sso-year-group-mappings` to add or update sso year group mappings for a customer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# Testing
|
|
12
|
+
* Hitting `GET v2/admin/customers/{customerGuid}/sso-year-group-mappings` endpoint should return a list of sso year group mappings if they exist, otherwise, an empty list should be returned
|
|
13
|
+
* Hitting `POST v2/admin/customers/{customerGuid}/sso-year-group-mappings` endpoint should add or update sso year group mappings for a customer
|
|
14
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer changes
|
|
3
|
+
- Non-curator users will see only `Published` dashboards and widgets
|
|
4
|
+
|
|
5
|
+
- For curated widgets, widgets contents will be presented in the same order as the objects were provided on the widget creation.
|
|
6
|
+
|
|
7
|
+
- Dashboards that use `classifications` widget can now filter classifications by `CanBePreferred`
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Code changes
|
|
11
|
+
- If user is non-curator, set status filters to `Published`. Closes INBOX-4006
|
|
12
|
+
|
|
13
|
+
- Fix curated media test
|
|
14
|
+
|
|
15
|
+
- Content fetched from `Objects Api` is reordered according to the list of object Ids stored in `Discover Api`. Fixes (CORE-960)
|
|
16
|
+
|
|
17
|
+
- Added nullable boolean optional filter `canBePreferred` to be used on `classifications` widget data fetching. Implements CORE-942
|
|
18
|
+
|
|
19
|
+
- In `curated_media` widget, clips and interactives will also return parent media data with thumbnails. Closes CORE-955
|
|
20
|
+
|
|
21
|
+
- Update build scripts to their latest
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# Testing
|
|
25
|
+
- When accessing dashboards created in Curation Studio, if non-curator user, it should view only `Published` dashboards and widgets
|
|
26
|
+
|
|
27
|
+
- All tests should run successfully
|
|
28
|
+
|
|
29
|
+
- Curated widgets should present the correct order of objects, same order when objects were assigned on widget creation
|
|
30
|
+
|
|
31
|
+
- When fetching data in `Discover Api`, `classifications` widget, if optional filter `canBePreferred` is set, result data will be filtered accordingly (`true`/`false`).
|
|
32
|
+
|
|
33
|
+
- In `Discover API`, clips and interactives in `curated_media` widget should return parent media data with thumbnails.
|
|
34
|
+
|
|
35
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
- Adding a v2 version of `v1/interactives/metadata/{metadataId}/users/{userId}/latest-session` which now takes a shareId and will scope the response to only latest sessions for the shareId passed in. Partially fixes INBOX-3974.
|
|
4
|
+
|
|
5
|
+
- Create `v1/subjects/presentations/{presentationId}/audiences` endpoint, for fetching audiences by presentation
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Testing
|
|
9
|
+
|
|
10
|
+
- N/A
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
* Making sure the new csv report doesn't contain videos with empty titles. Fixes INBOX-4027
|
|
4
|
+
|
|
5
|
+
- Remove migration report handler used for pbt. Closes CORE-650
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Testing
|
|
9
|
+
* Generate a video usage report and make sure none of the video title columns are null or empty
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
* Using accessible presentations by customer instead of accessible presentations by user to filter out presentations in stream hydrated events. Fixes INBOX-3946
|
|
4
|
+
* The old method filtered out all the presentations that weren't accessible by the user in the stream event but the problem was that, when a teacher shared a content to student that was in a presentation that student couldn't access, the presentation and classification information of that content was being filtered out
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Testing
|
|
8
|
+
* Share a video that is in presentation that a student can't access. When the student watches the video, the `Topics` usage count in analytics should increment
|
|
9
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
# Dependencies
|
|
3
|
+
- https://gitlab.cvinternal.net/clickview/back-end/permissions.api/-/merge_requests/28
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
* Add a new endpoint `GET /v1/customers/{id}/sso-year-group-mappings` to fetch a list of sso year group mappings for a customer
|
|
8
|
+
* Add a new endpoint `POST /v1/customers/{id}/sso-year-group-mappings` to set sso year group mappings for a customer
|
|
9
|
+
|
|
10
|
+
- Use the new permissions endpoint: `v1/users/permissions`
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Testing
|
|
14
|
+
* Hitting `GET /v1/customers/{id}/sso-year-group-mappings` should return a list of sso year group mappings
|
|
15
|
+
* Hitting `POST /v1/customers/{id}/sso-year-group-mappings` should allow you to set year group mappings for a customer
|
|
16
|
+
|
|
17
|
+
- Visiting [Settings](https://www.clickview.net/settings) as an Admin should show the User Management section, but visting as a Learner shouldn't.
|
|
18
|
+
|
package/dist/X2/LTI.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
- Upgrade project to .NET6. Closes INBOX-3498
|
|
4
|
+
- Update build scripts to their latest versions
|
|
5
|
+
- Replace `ClickView.LtiAdvantage` with the official "alpha" version at `LtiAdvantage`
|
|
6
|
+
- Remove `IdentityServer4.AccessTokenValidation` as its no longer maintained
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# Testing
|
|
10
|
+
- Ensure that LTI still works
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer changes
|
|
3
|
+
* Fixed an issue where teachers can send library requests to unpublished custom library. Close INBOX-3923
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
* Add library `CurationStatus` check to stop non-admin staff from adding library request to the unpublished library
|
|
8
|
+
* Return `Bad Request` with error type `library-not-published` error when calling `POST v1/library-requests` endpoint
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# Testing
|
|
12
|
+
* Non-admin staff can not send library request to unpublished custom library, but admin is still able to add video to their unpublished custom library
|
|
13
|
+
|
package/dist/X2/Lite.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
# Dependencies
|
|
3
|
+
- https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/1992
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Code changes
|
|
7
|
+
- Add `App()` to `BaseController` and rename `Home/Index.cshtml to `Shared/App.cshtml`
|
|
8
|
+
- Replace all `View("Index", ViewModel)` with `App()`
|
|
9
|
+
|
|
10
|
+
- Added new `GeoLocationService`
|
|
11
|
+
- Added `CloudflareGeoLocationProvider` which uses cloudflare headers
|
|
12
|
+
- Added `MaxMindGeoLocationProvider` which uses maxmind
|
|
13
|
+
|
|
14
|
+
- Updated libraries to React 18. Partially implements CORE-770
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Testing
|
|
18
|
+
- Lite loads
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
# Customer changes
|
|
3
|
+
- Master api allows direct assoc between:
|
|
4
|
+
- `SubjectPresentationClassification` x `Interactives`
|
|
5
|
+
- `SubjectPresentationClassification` x `Clips`
|
|
6
|
+
- `SubjectPresentationAudience` x `Interactives`
|
|
7
|
+
- `SubjectPresentationAudience` x `Clips`
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Code changes
|
|
11
|
+
- Added new `AssocType` `SUBJECT_PRESENTATION_AUDIENCE`. Implements CORE-944
|
|
12
|
+
- Added new type constraints for:
|
|
13
|
+
- `SubjectPresentationClassification` x `Interactives`
|
|
14
|
+
- `SubjectPresentationClassification` x `Clips`
|
|
15
|
+
- `SubjectPresentationAudience` x `Interactives`
|
|
16
|
+
- `SubjectPresentationAudience` x `Clips`
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Testing
|
|
20
|
+
- In Master Api, Clips and interactives can be directly associated to Subject Presentation Classifications and Subject Presentation Audiences
|
|
21
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
- Fix lockout events not logged to snowflake because we have no instance region. Always log to AU snowflake. Fixes INBOX-3922
|
|
4
|
+
|
|
5
|
+
- Delete Customer Idp Mappings when a customer is deleted. Closes INBOX-4032
|
|
6
|
+
- Delete Customer settings when a customer is deleted
|
|
7
|
+
|
|
8
|
+
- Add `robots.txt` to block everything just in case. Closes INBOX-4059
|
|
9
|
+
|
|
10
|
+
- Create scope for managing access policies
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Testing
|
|
14
|
+
- when you are locked out of your account, there should be an event in snowflake
|
|
15
|
+
|
|
16
|
+
- Add an idp mapping to a customer in auth, then delete the customer from master api. The idp mapping should also be deleted
|
|
17
|
+
- Deleting a customer should not delete all idp mappings
|
|
18
|
+
|
|
19
|
+
- `/robots.txt` exists
|
|
20
|
+
|
|
21
|
+
- N/A
|
|
22
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
# Code changes
|
|
3
|
+
- Update `ClickViewContentHandler` virtual assoc handler to use the master service `IsClickViewContentAsync`
|
|
4
|
+
|
|
5
|
+
- Add `IsPublicUserContext` checks to all update object checks to prevent public users from updating objects
|
|
6
|
+
|
|
7
|
+
- Add `IsPublicUserContext` checks to all create checks to prevent public users from creating objects
|
|
8
|
+
|
|
9
|
+
- Don't add to a reference of the video result list in `VideoService`. Return a list instead
|
|
10
|
+
|
|
11
|
+
- Ensure all assoc checks do not allow public access
|
|
12
|
+
- Almost all of these didn't however I've added a public check to short circuit a lot of them to avoid extra processing
|
|
13
|
+
|
|
14
|
+
* Added unit tests for `AccessService` methods. Implements CORE-876
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Testing
|
|
18
|
+
- `IsClickViewContent` virtual assoc should be correct
|
|
19
|
+
|
|
20
|
+
- Basic smoke test of updating objects
|
|
21
|
+
- You should not be able to update any object with a public user context
|
|
22
|
+
|
|
23
|
+
- Basic smoke test of creating objects
|
|
24
|
+
- You should not be able to create any object with a public user context
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
- You should not be allowed to associate any objects to another when using a public user context
|
|
28
|
+
|
|
29
|
+
* All unit tests for `AccessService` should pass
|
|
30
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# Before release
|
|
3
|
+
* Add `urls:domainApi` to Octo
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Dependencies
|
|
7
|
+
- https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/308
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Code changes
|
|
11
|
+
- Add `/v1/users/permissions` to replace `/v1/users/{userId}/permissions`
|
|
12
|
+
- `UserId` is now optional, and if not specified will return permissions for a public user
|
|
13
|
+
- The public user logic uses the permission set "public"
|
|
14
|
+
- Renamed `MasterPermissionSetRepository` to `InMemoryPermissionSetRepository`
|
|
15
|
+
- Fixed sql error in `PermissionRepository.GetAllForSetAsync`
|
|
16
|
+
|
|
17
|
+
- Moved fluent validation handling logic to a `ValidatorPipeline` for MediatR. This fixes an issue that was preventing the permission create and update endpoints from being hit. @prad.nepal Updated `FluentValidation.AspNetCore` from `9.2.0` to `11.2.2` in W3, in this upgrade the warnings that were previously thrown about the async validation turned into exceptions. See https://docs.fluentvalidation.net/en/latest/async.html.
|
|
18
|
+
|
|
19
|
+
- Create `v1/access-policies/*` for access policy management
|
|
20
|
+
- Create `GET/POST/DELETE v1/customers/{customerId}/access-policies` for customer access policy management
|
|
21
|
+
- Create `AccessPolicyWorker` to move customers between policies on a schedule
|
|
22
|
+
- Create `AccessPolicyBehaviour` to filter a user's permissions based on their access policy
|
|
23
|
+
- Filtering only occurs when the new `customerId` query parameter is used on the `v1/users/permissions` and `v1/users/{userId}/permissions` endpoints
|
|
24
|
+
- Set `JsonIgnoreCondition.WhenWritingNull` so that null values are ignored
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# Testing
|
|
28
|
+
- Getting permissions for a user will return
|
|
29
|
+
- Getting permissions without a userId will return the public permissions
|
|
30
|
+
|
|
31
|
+
- Creating a permission with an unknown permission set should show the validation error "Unknown permission set"
|
|
32
|
+
|
|
33
|
+
- N/A
|
|
34
|
+
|