@clickview/ship-it 0.0.18 → 0.0.20-dev.1

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.
Files changed (138) hide show
  1. package/README.md +48 -48
  2. package/config.json +10 -10
  3. package/lib/config.json +11 -11
  4. package/lib/src/api-clients/git-lab/GitLabApiClient.js +404 -404
  5. package/lib/src/api-clients/git-lab/GitLabMapper.js +81 -81
  6. package/lib/src/api-clients/index.js +18 -18
  7. package/lib/src/api-clients/team-city/TeamCityApiClient.js +85 -85
  8. package/lib/src/commands/BumpPackagesCommand.js +84 -84
  9. package/lib/src/commands/CreateBranchCommand.js +100 -100
  10. package/lib/src/commands/CreateMergeRequestCommand.js +107 -107
  11. package/lib/src/commands/CreateReleaseNotesCommand.js +84 -84
  12. package/lib/src/commands/CreateTestingNotesCommand.js +84 -84
  13. package/lib/src/commands/InstallPackagesCommand.js +76 -76
  14. package/lib/src/commands/ListProjectsCommand.js +76 -76
  15. package/lib/src/commands/ReleaseCommand.js +129 -129
  16. package/lib/src/commands/StartConsumingProjectBuildsCommand.js +76 -76
  17. package/lib/src/commands/StatusCommand.js +88 -88
  18. package/lib/src/commands/TagMasterCommand.js +76 -76
  19. package/lib/src/commands/ValidateMergeRequestCommand.js +76 -76
  20. package/lib/src/commands/VersionCommand.js +76 -76
  21. package/lib/src/commands/index.js +29 -29
  22. package/lib/src/constants/CommandTypeMapping.js +19 -19
  23. package/lib/src/constants/GitLabMemberIds.js +6 -6
  24. package/lib/src/constants/MonorepoPackageJsonFiles.js +16 -15
  25. package/lib/src/constants/ProjectNames.js +62 -61
  26. package/lib/src/constants/TeamCityBuildIDs.js +15 -15
  27. package/lib/src/constants/index.js +19 -19
  28. package/lib/src/errors/ShipItError.js +32 -32
  29. package/lib/src/errors/index.js +17 -17
  30. package/lib/src/index.js +18 -18
  31. package/lib/src/interfaces/Config.js +2 -2
  32. package/lib/src/interfaces/MergeRequestState.js +2 -2
  33. package/lib/src/interfaces/ProjectNames.js +2 -2
  34. package/lib/src/interfaces/ShipItCommand.js +2 -2
  35. package/lib/src/interfaces/ShipItTask.js +2 -2
  36. package/lib/src/interfaces/VersionType.js +2 -2
  37. package/lib/src/interfaces/command-cli-options/MilestoneCommandCliOptions.js +2 -2
  38. package/lib/src/interfaces/command-cli-options/ReleaseCommandCliOptions.js +2 -2
  39. package/lib/src/interfaces/command-cli-options/index.js +18 -18
  40. package/lib/src/interfaces/command-options/BaseCommandOptions.js +2 -2
  41. package/lib/src/interfaces/command-options/BumpPackagesCommandOptions.js +2 -2
  42. package/lib/src/interfaces/command-options/DockerMilestoneCommandOptions.js +2 -2
  43. package/lib/src/interfaces/command-options/MilestoneCommandOptions.js +2 -2
  44. package/lib/src/interfaces/command-options/ReleaseCommandOptions.js +2 -2
  45. package/lib/src/interfaces/command-options/ValidateMRCommandOptions.js +2 -2
  46. package/lib/src/interfaces/command-options/index.js +21 -21
  47. package/lib/src/interfaces/index.js +26 -26
  48. package/lib/src/interfaces/models/Branch.js +2 -2
  49. package/lib/src/interfaces/models/Commit.js +2 -2
  50. package/lib/src/interfaces/models/CommitFile.js +2 -2
  51. package/lib/src/interfaces/models/File.js +2 -2
  52. package/lib/src/interfaces/models/Label.js +2 -2
  53. package/lib/src/interfaces/models/MergeRequest.js +2 -2
  54. package/lib/src/interfaces/models/Milestone.js +2 -2
  55. package/lib/src/interfaces/models/Project.js +2 -2
  56. package/lib/src/interfaces/models/ProjectConfig.js +9 -9
  57. package/lib/src/interfaces/models/Release.js +2 -2
  58. package/lib/src/interfaces/models/Tag.js +2 -2
  59. package/lib/src/interfaces/models/index.js +26 -26
  60. package/lib/src/interfaces/view-models/MilestoneProject.js +2 -2
  61. package/lib/src/interfaces/view-models/index.js +17 -17
  62. package/lib/src/inversify.config.js +67 -67
  63. package/lib/src/services/GitLabService.js +498 -498
  64. package/lib/src/services/TeamCityService.js +34 -34
  65. package/lib/src/services/index.js +18 -18
  66. package/lib/src/startup/AddMilestoneCommand.js +95 -95
  67. package/lib/src/startup/GetAction.js +68 -68
  68. package/lib/src/startup/SetupCommands.js +128 -127
  69. package/lib/src/tasks/BumpPackagesTask.js +229 -229
  70. package/lib/src/tasks/BumpVersionTxtTask.js +110 -110
  71. package/lib/src/tasks/CommitPackageVersionsTask.js +116 -116
  72. package/lib/src/tasks/CreateBranchTask.js +104 -104
  73. package/lib/src/tasks/CreateMergeRequestTask.js +118 -118
  74. package/lib/src/tasks/CreateReleaseNotesTask.js +122 -122
  75. package/lib/src/tasks/CreateTestingNotesTask.js +135 -135
  76. package/lib/src/tasks/InstallPackagesTask.js +399 -351
  77. package/lib/src/tasks/ListProjectsTask.js +87 -87
  78. package/lib/src/tasks/StartConsumingProjectBuildsTask.js +149 -149
  79. package/lib/src/tasks/StartMonorepoBuildTask.js +95 -95
  80. package/lib/src/tasks/TagMasterTask.js +121 -121
  81. package/lib/src/tasks/ValidateCommitsTask.js +119 -119
  82. package/lib/src/tasks/ValidateDescriptionsTask.js +151 -151
  83. package/lib/src/tasks/ValidateMergeRequestTask.js +115 -115
  84. package/lib/src/tasks/ValidateTask.js +240 -237
  85. package/lib/src/tasks/VersionTask.js +98 -98
  86. package/lib/src/tasks/index.js +33 -33
  87. package/lib/src/types.js +49 -49
  88. package/lib/src/utils/BranchNames.js +11 -11
  89. package/lib/src/utils/Commits.js +55 -55
  90. package/lib/src/utils/Csv.js +54 -54
  91. package/lib/src/utils/Descriptions.js +237 -237
  92. package/lib/src/utils/GroupIds.js +6 -6
  93. package/lib/src/utils/Logger.js +62 -62
  94. package/lib/src/utils/ProjectIds.js +47 -47
  95. package/lib/src/utils/Versions.js +20 -20
  96. package/lib/src/utils/index.js +22 -22
  97. package/package.json +47 -47
  98. package/dist/A2/A2 Testing Notes.csv +0 -518
  99. package/dist/A2/Batch.Api.md +0 -37
  100. package/dist/A2/ClickView.Curator.md +0 -17
  101. package/dist/A2/Clients.md +0 -23
  102. package/dist/A2/Discover.Api.md +0 -14
  103. package/dist/A2/FileGenerator.md +0 -8
  104. package/dist/A2/Krakend.md +0 -25
  105. package/dist/A2/Library.Api.md +0 -13
  106. package/dist/A2/Lite.md +0 -27
  107. package/dist/A2/Master.Auth.md +0 -52
  108. package/dist/A2/Objects.Api.md +0 -8
  109. package/dist/A2/Permissions.Api.md +0 -12
  110. package/dist/A2/Release Notes.md +0 -479
  111. package/dist/A2/Search.Api.md +0 -12
  112. package/dist/A2/Subjects.API.md +0 -22
  113. package/dist/A2/Users.Api.md +0 -63
  114. package/dist/A2/clickview.md +0 -83
  115. package/dist/A2/index.app.md +0 -15
  116. package/dist/Z2/Analytics Web.md +0 -7
  117. package/dist/Z2/Batch.Api.md +0 -13
  118. package/dist/Z2/ClickView Online.md +0 -19
  119. package/dist/Z2/ClickView.Cron.md +0 -8
  120. package/dist/Z2/ClickView.Curator.md +0 -39
  121. package/dist/Z2/Clients.md +0 -31
  122. package/dist/Z2/Discover.Api.md +0 -12
  123. package/dist/Z2/Domain.Api.md +0 -31
  124. package/dist/Z2/Image.Api.md +0 -12
  125. package/dist/Z2/Krakend.md +0 -33
  126. package/dist/Z2/LTI.md +0 -8
  127. package/dist/Z2/Launch.Web.md +0 -9
  128. package/dist/Z2/Library Editor.md +0 -7
  129. package/dist/Z2/Library.Api.md +0 -13
  130. package/dist/Z2/Lite.md +0 -32
  131. package/dist/Z2/Master.Auth.md +0 -16
  132. package/dist/Z2/Objects.Api.md +0 -9
  133. package/dist/Z2/Permissions.Api.md +0 -0
  134. package/dist/Z2/Prospect.Api.md +0 -17
  135. package/dist/Z2/RealtimeSalesforceSync.md +0 -19
  136. package/dist/Z2/Release Notes.md +0 -549
  137. package/dist/Z2/Users.Api.md +0 -13
  138. package/dist/Z2/clickview.md +0 -135
@@ -1,518 +0,0 @@
1
- projectName,mrTitle,mrAuthor,mrAssignee,mrUrl,notes
2
- Lite,Re-instate requestUrlPrefix for public access until A3,Michael McDonnell,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/lite/-/merge_requests/377,"## Code changes
3
- - Re-instate use of `requestUrlPrefix` for passing the region prefix until A3.
4
-
5
-
6
- ## Testing
7
- - In NP:
8
- - Both public and authenticated routes should continue to load as expected (regression test)"
9
- Lite,Support Presentation URLs,Michael McDonnell,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/lite/-/merge_requests/368,"## Dependencies
10
- - Requires https://gitlab.cvinternal.net/clickview/back-end/clickview.subjects.api/-/merge_requests/193
11
- - Required by https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3129
12
-
13
-
14
- ## Code changes
15
- - Added `PresentationSlugRouteRouteConstraint` to restrict valid requests to a valid subset of values:
16
- - `""primary"", ""secondary"", ""tertiary"", ""elementary"", ""middle"", ""high""`
17
- - Added `GetRegionCodeByContentRegion` to `PublicService`
18
- - This is a bit of a :wastebasket: solution, but will allow us to avoid mapping `ContentRegion` to presentation in `Subjects.API`
19
- - Added new `GetPresentationBySlug` endpoint (`GET presentations/{presentationSlug:presentationSlug}`) to retrieve a presentation by slug
20
- - Opened up core routes to support a `presentationSlug` prefix
21
-
22
-
23
- ## Testing
24
- - In NP:
25
- - As a public user:
26
- - All existing page routes should continue be accessible via page-load/bookmarks
27
- - As an authenticated user:
28
- - All existing page routes should continue be accessible via page-load/bookmarks"
29
- clickview,Auth: Adding email errors,Shale Kuzmanovski,Ryan Wang,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3156,"## Auth
30
-
31
- ### Code changes
32
- - Migrating some errors added to `AppErrors.ts` after the frontend was migrated to monorepo. https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/401
33
-
34
- ## Testing"
35
- clickview,Migrate job-title changes to monorepo,Nan Chen,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3155,"## Auth
36
-
37
- ### Code changes
38
- - Migrate Job title changes to monorepo/auth project.
39
-
40
- ## Testing
41
- - Create an invite using a customer on trial, the invite link should take you to a UI where the user can enter their job title
42
- - Create an invite using a customer that is not on trial, the invite link should take you to where the user cannot enter their job title"
43
- clickview,Shared: Add UsePageMetadata to handle page metadata,Michael McDonnell,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3150,"## Common
44
-
45
- ### Code changes
46
- - Added `PageMetadataContextProvider`
47
- - Introduced new package `react-helmet-async`
48
-
49
- ## Shared
50
-
51
- ### Code changes
52
- - Added `useSetPageMetadata` component and `PageMetadataHelper`
53
- - Added new type checks to helpers:
54
- - `isSeries` to `SeriesHelper`
55
- - `isPlaylist` to `PlalyistHelper`
56
- - `isCuratedDashboard` to `CuratedDashboardHelper`
57
- - `isTopicClassification` to `TopicHelper`
58
- - Added `description` to `ParentVideoProps`
59
-
60
- ## Testing
61
- - N/A"
62
- clickview,Sign up: Inject Ajax Urls + Braze Config,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3143,"## Dependencies
63
- - https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3142
64
- - https://gitlab.cvinternal.net/clickview/back-end/krakend/-/merge_requests/108
65
-
66
- ## Shared
67
-
68
- ### Code changes
69
- - Sign up has been updated so that all the urls it uses in fetch requests are injected into it.
70
- - Sign up have been updated so that the braze urls, product name and product version are injected.
71
-
72
- ## Testing
73
- - Sign up needs a regression test, as the urls it fetches from have been refactored."
74
- clickview,Sign up: Remove I18n,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3142,"## Shared
75
-
76
- ### Code changes
77
- - Remove I18n from the sign up app.
78
- - Made a start on removing helpers that reference underscore.
79
-
80
- ## Testing
81
- - Sign up app needs a regression test, paying attention to copy, making sure none is missing or incorrect."
82
- clickview,Sign up: Move the entire app into shared,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3141,"## Shared
83
-
84
- ### Code changes
85
- - The entire sign up app has been moved from lite into shared.
86
- - The sign up app now takes an object that defines all the image urls.
87
-
88
- ## Testing
89
- - Sign up app still works in NP."
90
- clickview,Curator: .NET Core fixes,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3140,"## Dependencies
91
- - https://gitlab.cvinternal.net/clickview/front-end/ClickView.Curator/-/merge_requests/1100
92
-
93
- ## Curator
94
-
95
- ### Code changes
96
- - .NET Core fixes
97
-
98
- ## Testing"
99
- clickview,Auth: webpack setup,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3139,"## Auth
100
-
101
- ### Code changes
102
- - Setup the `package.json` for `@clickview/auth` to be it's own package.
103
- - Setup scripts in the root `package.json`
104
- - Setup `webpack.config`
105
-
106
- ## Testing
107
- - The way auth's javascript is pulled together has been re-worked. Auth needs a general regression test looking for any abnormalities."
108
- clickview,Auth: Migrating all auth files from the C# Auth project,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3138,"## Auth
109
-
110
- ### Code changes
111
- - Migrated all of the frontend from the Auth project into monorepo. Along with their file histories.
112
-
113
- ## Testing"
114
- clickview,Curator: Update Video Status,Michael McDonnell,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3137,"## Curator
115
-
116
- ### Customer changes
117
- - Added ability to change video status from the new edit video page
118
- - Partially implements INBOX-3664
119
-
120
- ### Code changes
121
- - Added `BadgeHelper`
122
- - Removed local `CurationStatus` and use `libs/shared`
123
- - Replaced usage of getStatusBadgeClass
124
- - Added `MasterObjectRequests`
125
- - Add `UpdateObjectStatusView` to new video page actions
126
-
127
- ## Testing
128
- - In Curator:
129
- - When viewing the newer Edit Video page, it should be possible to modify the status of a video from the video actions dropdown"
130
- clickview,Lite: Fix job title typo,Shale Kuzmanovski,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3133,"## Lite
131
-
132
- ### Customer changes
133
- - Fix a typo in the list of job titles when signing up in the UK. Fixes INBOX-4776.
134
-
135
- ## Testing"
136
- clickview,Update promoted topic widget,Nan Chen,Joshua Taylor,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3125,"## Lite
137
-
138
- ### Customer changes
139
- - Update description text lines on different screen sizes in SubjectThumbnailWidget
140
- - Update the description to take up 55% of the whole card.
141
-
142
- ## Testing"
143
- clickview,Curation Studio: Addressing comments,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3122,## Testing
144
- clickview,Curation Studio Bulk Actions: Series,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3105,"## Dependencies
145
- * https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3099
146
- * https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3066
147
-
148
- ## Curator
149
-
150
- ### Customer changes
151
- * (dev only) Added a bulk action for series to curation studio. Implements CC-501 and completely implements CC-497
152
-
153
- ### Code changes
154
- - Removed the season bulk action as we've decided not to have that one anymore
155
- - Updated the rest of the bulk action icons
156
-
157
- ## Testing
158
- * In Curation Studio (assembly line) there should be an action for bulk adding videos to a series."
159
- clickview,Curation Studio Bulk Actions: Backbone Audiences,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3103,"## Dependencies
160
- - https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3099
161
- - https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3052
162
-
163
- ## Curator
164
-
165
- ### Customer changes
166
- * (dev only) Added a bulk action for backbone audiences to curation studio. Implements CC-499
167
-
168
- ## Testing
169
- - In Curation Studio (assembly line) there should be an action for bulk adding videos to backbone audiences."
170
- clickview,Curation Studio Bulk Actions: Libraries,Joshua Taylor,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3102,"## Dependencies
171
- - https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3099
172
-
173
- ## Curator
174
-
175
- ### Customer changes
176
- * (dev only) Added a bulk action for adding to libraries. Implements CC-500
177
-
178
- ## Testing
179
- * In assembly line, there should be a bulk action for adding videos to libraries."
180
- Clients,Add more permission API methods,Kevin Wellalagodage,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/93,"## ClickView.Clients.Permission
181
- ### Code changes
182
- - Add `GetCustomerProductsAsync` method
183
- - Add `SetCustomerProductsAsync` method
184
- - Add `SetCustomersAccessPolicyAsync` method
185
-
186
-
187
- ## Testing"
188
- Clients,Add AllowSignup property to access policy metadata,Kevin Wellalagodage,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/92,"## ClickView.Clients.Permission
189
- ### Code changes
190
- - Set `AllowSignup` to be `true` for the `trial_14_v1` and `freemium_v1` access policies
191
-
192
-
193
- ## Testing"
194
- Clients,Create trial,Cameron Hill,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/91,"## ClickView.Clients.User
195
- ### Code changes
196
- - Add `CreateTrialAsync` to create trials for existing users
197
-
198
-
199
- ## Testing"
200
- Clients,Add videos to library endpoint to library api client,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/90,"## Dependencies
201
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/library.api/-/merge_requests/103
202
-
203
-
204
- ## ClickView.Clients.Library
205
- ### Code changes
206
- - Added `AddMasterObjectsToLibraryAsync` to Library Api client. Implements CORE-1122
207
-
208
-
209
- ## Testing"
210
- Search.Api,Order series videos by most recent released,Jorge Arai,Prad Nepal,https://gitlab.cvinternal.net/clickview/back-end/search.api/-/merge_requests/135,"## Customer changes
211
- - When there are series on search results, their videos should be ordered by the most recently released to the oldest.
212
-
213
-
214
- ## Code changes
215
- - Added required ordering for series in `SearchService`. Fixes INBOX-4768
216
-
217
-
218
- ## Testing
219
- - Searching for series, videos should be displayed ordered from the most recently released to the oldest."
220
- index.app,Series video fix,Prad Nepal,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/index.app/-/merge_requests/72,"## Code changes
221
- * Added a handler to listen to series video updates. Fixes INBOX-4773
222
-
223
-
224
- ## Testing
225
- * Updating the status of the video should update series video index. You can test this on product by:
226
- 1. Create a new series
227
- 2. Upload a new video and set it to draft
228
- 3. Add the video to the series
229
- 4. If you search for the series now, it should not show up because there aren't any accessible videos in the series
230
- 5. Update the status of the video to published
231
- 6. Search for the series again, and it should show up"
232
- index.app,Added documentations to readme,Prad Nepal,Cameron Hill,https://gitlab.cvinternal.net/clickview/back-end/index.app/-/merge_requests/67,## Testing
233
- Users.Api,Invite if user exists,Ryan Wang,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/182,"## Code changes
234
- * Add `POST v2/users` to create users in batch and get user invited to the school if the provided email already exists
235
-
236
-
237
- ## Testing
238
- * Hitting the endpoint `POST v2/users` with an existing user's email, an invitation will be sent to user's email and the user should be able to join the school once the invitation link in the email is clicked"
239
- Users.Api,add new v2/users/validate endpoint to not return error if email is in use,Ryan Wang,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/181,"## Code changes
240
- * Add new endpoint `POST v2/users/validate` to verify users and no `EmailAlreadyExisted` error is returned if the email has already existed in ClickView
241
-
242
-
243
- ## Testing
244
- * Hitting the endpoint `POST v2/users/validate` with an existing user's email, no error code should be returned"
245
- Users.Api,add a new endpoint to remove users from a customer,Ryan Wang,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/180,"## Code changes
246
- * Add a new endpoint `POST v1/users/remove` to allow admin to remove users from the customer
247
-
248
-
249
- ## Testing
250
- * Hitting `POST v1/users/remove` endpoint with customer id and a list of user ids, the users should be removed from the customer"
251
- Users.Api,do not pass in access policy when creating trial,Ryan Wang,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/178,"## Customer changes
252
- * `AccessPolicy` is no longer required when creating trial
253
-
254
-
255
- ## Code changes
256
- * Remove `AccessPolicy` property from `CreateTrialRequest`
257
- * Update the logic of getting access policy by country code, which has 14-day trial applied to `AU` only and falls back to `Freemium` for all other countries
258
-
259
-
260
- ## Testing
261
- * A trial should be created successfully without passing in the `AccessPolicy`"
262
- Users.Api,remove obsoleted sso/sync end point,Ryan Wang,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/176,"## Code changes
263
- * Remove obsoleted `v1/users/sso/sync` endpoint since Auth has replaced it with `v1/sso/users` to create or update user
264
-
265
-
266
- ## Testing"
267
- Users.Api,Add customer id to create trial response,Kevin Wellalagodage,Cameron Hill,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/175,"## Code changes
268
- - Update `POST v1/{userId}/trials` endpoint
269
- - Add `customerId` to response
270
-
271
-
272
- ## Testing"
273
- Users.Api,Join requests,Kevin Wellalagodage,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/168,"## Before release
274
- * [ ] Update packages to release version
275
- * [ ] Run `next.sql`
276
- * [ ] Rename `next.sql`
277
- * [ ] Configure `queue:*` in Octopus Deploy
278
- * [ ] Configure queue
279
- * [ ] Create `api_user`
280
- * [ ] Configure `api_user` permissions
281
- * [ ] Create `ex_user_notifications`
282
- * [ ] Bind `ex_user_notifications` to `q_email_notifications` and `q_push_notifications`
283
-
284
-
285
- ## Code changes
286
- - Create endpoints
287
- - `GET v1/customers/{id}/join-requests` for getting join requests by customer
288
- - `POST v1/customers/{id}/join-requests` for creating a join request
289
- - `GET v1/users/{id}/join-requests` for getting join requests by user
290
- - `PUT v1/join-requests/{id}` for updating the status of a join request
291
-
292
-
293
- ## Testing"
294
- Users.Api,Approved domains,Kevin Wellalagodage,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/167,"## Before release
295
- * [ ] Update packages to release version
296
- * [ ] Run `next.sql`
297
- * [ ] Rename `next.sql`
298
-
299
-
300
- ## Code changes
301
- - Create endpoints
302
- - `GET v1/approved-domains?domain=` for getting approved domains by domain
303
- - `POST v1/approved-domains` for creating an approved domain
304
- - `PUT v1/approved-domains/{id}` for updating an approved domain
305
- - `DELETE v1/approved-domains/{id}` for deleting an approved domain
306
- - `GET v1/customers/{id}/approved-domains` for getting approved domains by customer
307
-
308
-
309
- ## Testing"
310
- Batch.Api,Remove duplicate codes for new bulk actions,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/70,"## Dependencies
311
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/68
312
-
313
-
314
- ## Code changes
315
- - Added `BaseAddMasterObjectResponse` with the shared properties among the new metadata response classes and inherited it
316
- - Added `BaseMasterObjectResultMetadata` with the shared properties among the new metadata result classes and inherited it
317
- - Removed all duplicated code
318
-
319
-
320
- ## Testing"
321
- Batch.Api,Add bulk action to add videos libraries,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/68,"## Before release
322
- - Release `Library.Api` and `Clients`
323
- - Update `ClickView.Clients.Library` with the latest package version
324
- - Add scope `internal.libraries.manage` to `Batch API` in `Curator > Developer > Applications`
325
- - Add `urls:libraryApi` to octo
326
-
327
-
328
- ## Dependencies
329
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/66
330
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/library.api/-/merge_requests/103
331
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/90
332
-
333
-
334
- ## Customer changes
335
- - New batch feature to add videos to libraries
336
-
337
-
338
- ## Code changes
339
- - Added `LibraryApi Client`
340
- - Added `LibraryService`
341
- - Added new job type `AddVideosLibrary`
342
- - Added a job handler for `AddVideosLibrariesHandler`. Implements CORE-1101
343
-
344
-
345
- ## Testing
346
- - Use the bulk action to add videos to libraries
347
- - Property `LibraryIds`: Libraries to be processed
348
- - Property `ObjectIds`: Master video objects to be added to the libraries"
349
- Master.Auth,Monorepo setup,Shale Kuzmanovski,Michael McDonnell,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/409,"## Code changes
350
- - All frontend assets have been deleted as they have been moved to monorepo in https://gitlab.cvinternal.net/clickview/front-end/clickview/-/merge_requests/3138
351
- - Setup package.json to run node scripts to either link assets or copy them into the appropriate folders.
352
-
353
-
354
- ## Testing
355
- - Running Auth as a monorepo consumer should work as expected."
356
- Master.Auth,Fix job title typo,Shale Kuzmanovski,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/408,"## Code changes
357
- - Fix a typo in the list of job titles when signing up in the UK. Fixes INBOX-4776.
358
-
359
-
360
- ## Testing"
361
- Master.Auth,JS app region info,Cameron Hill,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/407,"## Code changes
362
- - Include region info into the js app
363
-
364
-
365
- ## Testing"
366
- Master.Auth,General cleanup of controllers,Cameron Hill,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/406,"## Code changes
367
- - General cleanup of view controllers
368
- - Cleanup `BaseController.CurrentUserId`
369
- - Remove `AuthConfiguration` from DI and replace with specific option classes
370
-
371
-
372
- ## Testing
373
- - Change change customer from Lite
374
- - Visiting `/launch` will redirect the user to `launch.clickview.net` (or `the staging version in staging)"
375
- Master.Auth,Async viewmodel,Cameron Hill,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/405,"## Code changes
376
- - Replace `BaseController.App()` with `BaseController.AppAsync()`
377
- - Replace `BaseController.AppError()` with `BaseController.AppErrorAsync()`
378
- - `BaseController.GetAppViewModelAsync` is now async
379
-
380
-
381
- ## Testing"
382
- Master.Auth,Update ContinueSignInAsync to try and select the best customer id,Cameron Hill,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/404,"## Code changes
383
- - Updated the logic of `ContinueSignInAsync`
384
- - Instead of requiring to select the customer if none exists on the partial login, do the usual sign in logic to try and select a customer if one exists
385
- - This is so we can continue after creating a trial (when the user has no customers and is associated to one during the signup)
386
-
387
-
388
- ## Testing
389
- - Login with a user that has many customers. They should be able to select one and login with that selected customer"
390
- Master.Auth,Create trial,Cameron Hill,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/403,"## Before release
391
- - Bump user api client to 2.14.0
392
-
393
-
394
- ## Dependencies
395
- - UserApi A2 release (https://gitlab.cvinternal.net/clickview/back-end/users.api/-/merge_requests/175)
396
-
397
-
398
- ## Code changes
399
- - Added `/ajax/trails/new` endpoint to create a new trial for the current partial login user
400
-
401
-
402
- ## Testing"
403
- Master.Auth,prevent non educational email to sign up,Ryan Wang,Jorge Arai,https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/401,"## Customer changes
404
- * Non educational email will banned for signing up with ClickView
405
-
406
-
407
- ## Code changes
408
- * Validate the external user's email and check against the blacklist in prospect api to prevent non educational email to sign up with ClickView
409
-
410
-
411
- ## Testing
412
- * Go to lite and login and choose `Sign in with Google` (provided `emulateUSA=true` is set in the query string and `features.social-signup` is set to `true` in cookie) and sign in with a gmail account, an error message `It looks like the email you tried does not work for signing in to ClickView. You can try signing in with your school account.` should be shown."
413
- ClickView.Curator,Link legacy video edit page to new version & allow archived deletion,Michael McDonnell,Nan Chen,https://gitlab.cvinternal.net/clickview/front-end/ClickView.Curator/-/merge_requests/1105,"## Customer changes
414
- - Added link to new edit video page from ultra legacy edit page
415
- - Correctly show error modal when attempting to delete a video that's `Published`
416
- - Partially implements INBOX-3664
417
-
418
-
419
- ## Code changes
420
- - Update template for `GenericActions`
421
-
422
-
423
- ## Testing
424
- - In curator:
425
- - It should only be possible to delete videos once they've been archived
426
- - Previously workspace videos could not be deleted, this should now be possible only if the video has fist been archived
427
- - The use case for this is where Steve needs to replace a tracking code for an errored video, but then can't clean up the video"
428
- Permissions.Api,Add AllowSignup property to access policy metadata,Kevin Wellalagodage,Shale Kuzmanovski,https://gitlab.cvinternal.net/clickview/back-end/permissions.api/-/merge_requests/41,"## Before release
429
- - Make sure the After Release notes are done!
430
- - After release: Set `AllowSignup` to be `true` for the `trial_14_v1` and `freemium_v1` access policies
431
-
432
-
433
- ## Code changes
434
- - Add `AllowSignup` property to access policy metadata, so that we can prevent users signing up to a BDM driven trial. Partially implements INBOX-4744.
435
-
436
-
437
- ## Testing"
438
- FileGenerator,"Add ""Has Video at a Glance"" column to content report",Kevin Wellalagodage,Prad Nepal,https://gitlab.cvinternal.net/clickview/back-end/filegenerator/-/merge_requests/110,"## Code changes
439
- - Add `Has Video at a Glance` column to the content report. Implements INBOX-4765.
440
-
441
-
442
- ## Testing
443
- - [Generate a content report](https://staging.clickviewcurator.com/hostedlibraries) and ensure that there is correctly populated `Has Video at a Glance` column"
444
- Discover.Api,Add new featured templates series playlist,Jorge Arai,Prad Nepal,https://gitlab.cvinternal.net/clickview/back-end/discover.api/-/merge_requests/123,"## Before release
445
- - [ ] Run `next.sql`
446
-
447
-
448
- ## Code changes
449
- - Added `WithMembers` optional parameter used in `curated_series` providing an option to return with members or not
450
- - Adjust `series` ogqls to return associated videos if `WithMembers = true`
451
- - Add new templates `Featured series`(`featured_poster_thumbnail_list`).
452
- Implements CORE-1123
453
-
454
-
455
- ## Testing"
456
- Subjects.API,Dotnet 7,Michael McDonnell,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/clickview.subjects.api/-/merge_requests/194,
457
- Subjects.API,Add endpoint to get presentation by unique slug,Michael McDonnell,Cameron Hill,https://gitlab.cvinternal.net/clickview/back-end/clickview.subjects.api/-/merge_requests/193,"## Before release
458
- - [ ] All presentations need to be assigned a unique `Slug`.
459
- - The basic composition for presentations of type `Subject` is: `{regionCode}-{schoolLevel}`
460
- - Examples: `au-primary`, `au-secondary`, `au-tertiary`, `us-elementary`, `us-middle`, `us-high`.
461
- - @michael.mcdonnell Will provide the appropriate mappings based on `presentationId`.
462
-
463
-
464
- ## Dependencies
465
- - Required by https://gitlab.cvinternal.net/clickview/front-end/lite/-/merge_requests/368
466
-
467
-
468
- ## Code changes
469
- - Added new `GetBySlugAsync` endpoint (`GET v2/presentations/{slug}`) to `PresentationsV2Controller`
470
- - Added `VanitySlug` property to `Presentation` Model
471
- - `VanitySlug` is a computed value based up on `Slug`, which will only return the final segment of the slug based upon the presence of a hyphen.
472
- - `gb-sct-primary` -> `primary` (with `gb-sct` discarded)
473
-
474
-
475
- ## Testing
476
- - Presentations should continue to load as expect within Online, NP and Curator with the existence of the `vanitySlug` on the model"
477
- Library.Api,Add endpoint to add videos to library,Jorge Arai,Ryan Wang,https://gitlab.cvinternal.net/clickview/back-end/library.api/-/merge_requests/103,"## Dependencies
478
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/398
479
-
480
-
481
- ## Code changes
482
- - Added method `AddMasterObjectsToLibraryRequestAsync` to `LibraryService` to add objects to a hosted library and a valid category if available.
483
- - Added endpoint `PUT` `/v1/libraries/{id}/objects`
484
- Implements CORE-1118
485
-
486
-
487
- ## Testing"
488
- Krakend,Rate limiting,Kevin Wellalagodage,Wei Zong,https://gitlab.cvinternal.net/clickview/back-end/krakend/-/merge_requests/109,"## Code changes
489
- - Support endpoint rate limiting. See [here](https://www.krakend.io/docs/endpoints/rate-limit/)
490
- - Rate limit trial endpoints:
491
- - `POST v1/trials`
492
- - `POST v1/prospects`
493
-
494
-
495
- ## Testing
496
- - Ensure that these Gateway endpoints can only be hit once every 5 seconds per IP address:
497
- - `POST v1/trials`
498
- - `POST v1/prospects`"
499
- Krakend,Trial endpoints,Kevin Wellalagodage,Wei Zong,https://gitlab.cvinternal.net/clickview/back-end/krakend/-/merge_requests/108,"## Before release
500
- - Enable `internal.prospect.read` and `internal.prospect.write` scopes
501
-
502
-
503
- ## Code changes
504
- - Add trial endpoints. Implements LTE-1888.
505
- - `POST v1/trials` for creating trials
506
- - `GET v1/search/prospects` for searching prospects
507
- - `POST v1/prospects` for creating prospects
508
- - `GET v1/prospects/{prospectId}/trial-status` for getting a prospect's trial status
509
- - `GET v1/users/trial-status` for getting a user's trial status
510
-
511
-
512
- ## Testing"
513
- Objects.Api,Reenabling virtual assoc timeout,Prad Nepal,Kevin Wellalagodage,https://gitlab.cvinternal.net/clickview/back-end/objects.api/-/merge_requests/246,"## Code changes
514
- * The VA timeout was reverted because of the memory issues that the Objects API was having. Since we have found the cause of the memory issue (new relic agent), we can deploy this change. Fixes INBOX-4187
515
-
516
-
517
- ## Testing
518
- * VA that use timeout feature (e.g. `_videoProgress`) should timeout if it takes more than one and half seconds"
@@ -1,37 +0,0 @@
1
-
2
- # Before release
3
- - Release `Library.Api` and `Clients`
4
- - Update `ClickView.Clients.Library` with the latest package version
5
- - Add scope `internal.libraries.manage` to `Batch API` in `Curator > Developer > Applications`
6
- - Add `urls:libraryApi` to octo
7
-
8
-
9
- # Dependencies
10
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/68
11
-
12
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/batch.api/-/merge_requests/66
13
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/library.api/-/merge_requests/103
14
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/clients/-/merge_requests/90
15
-
16
-
17
- # Customer changes
18
- - New batch feature to add videos to libraries
19
-
20
-
21
- # Code changes
22
- - Added `BaseAddMasterObjectResponse` with the shared properties among the new metadata response classes and inherited it
23
- - Added `BaseMasterObjectResultMetadata` with the shared properties among the new metadata result classes and inherited it
24
- - Removed all duplicated code
25
-
26
- - Added `LibraryApi Client`
27
- - Added `LibraryService`
28
- - Added new job type `AddVideosLibrary`
29
- - Added a job handler for `AddVideosLibrariesHandler`. Implements CORE-1101
30
-
31
-
32
- # Testing
33
-
34
- - Use the bulk action to add videos to libraries
35
- - Property `LibraryIds`: Libraries to be processed
36
- - Property `ObjectIds`: Master video objects to be added to the libraries
37
-
@@ -1,17 +0,0 @@
1
-
2
- # Customer changes
3
- - Added link to new edit video page from ultra legacy edit page
4
- - Correctly show error modal when attempting to delete a video that's `Published`
5
- - Partially implements INBOX-3664
6
-
7
-
8
- # Code changes
9
- - Update template for `GenericActions`
10
-
11
-
12
- # Testing
13
- - In curator:
14
- - It should only be possible to delete videos once they've been archived
15
- - Previously workspace videos could not be deleted, this should now be possible only if the video has fist been archived
16
- - The use case for this is where Steve needs to replace a tracking code for an errored video, but then can't clean up the video
17
-
@@ -1,23 +0,0 @@
1
-
2
- # Dependencies
3
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/library.api/-/merge_requests/103
4
-
5
- # ClickView.Clients.Library
6
-
7
- ## Code changes
8
- - Added `AddMasterObjectsToLibraryAsync` to Library Api client. Implements CORE-1122
9
-
10
- # ClickView.Clients.Permission
11
-
12
- ## Code changes
13
- - Add `GetCustomerProductsAsync` method
14
- - Add `SetCustomerProductsAsync` method
15
- - Add `SetCustomersAccessPolicyAsync` method
16
- - Set `AllowSignup` to be `true` for the `trial_14_v1` and `freemium_v1` access policies
17
-
18
- # ClickView.Clients.User
19
-
20
- ## Code changes
21
- - Add `CreateTrialAsync` to create trials for existing users
22
-
23
- # Testing
@@ -1,14 +0,0 @@
1
-
2
- # Before release
3
- - [ ] Run `next.sql`
4
-
5
-
6
- # Code changes
7
- - Added `WithMembers` optional parameter used in `curated_series` providing an option to return with members or not
8
- - Adjust `series` ogqls to return associated videos if `WithMembers = true`
9
- - Add new templates `Featured series`(`featured_poster_thumbnail_list`).
10
- Implements CORE-1123
11
-
12
-
13
- # Testing
14
-
@@ -1,8 +0,0 @@
1
-
2
- # Code changes
3
- - Add `Has Video at a Glance` column to the content report. Implements INBOX-4765.
4
-
5
-
6
- # Testing
7
- - [Generate a content report](https://staging.clickviewcurator.com/hostedlibraries) and ensure that there is correctly populated `Has Video at a Glance` column
8
-
@@ -1,25 +0,0 @@
1
-
2
- # Before release
3
- - Enable `internal.prospect.read` and `internal.prospect.write` scopes
4
-
5
-
6
- # Code changes
7
- - Support endpoint rate limiting. See [here](https://www.krakend.io/docs/endpoints/rate-limit/)
8
- - Rate limit trial endpoints:
9
- - `POST v1/trials`
10
- - `POST v1/prospects`
11
-
12
- - Add trial endpoints. Implements LTE-1888.
13
- - `POST v1/trials` for creating trials
14
- - `GET v1/search/prospects` for searching prospects
15
- - `POST v1/prospects` for creating prospects
16
- - `GET v1/prospects/{prospectId}/trial-status` for getting a prospect's trial status
17
- - `GET v1/users/trial-status` for getting a user's trial status
18
-
19
-
20
- # Testing
21
- - Ensure that these Gateway endpoints can only be hit once every 5 seconds per IP address:
22
- - `POST v1/trials`
23
- - `POST v1/prospects`
24
-
25
-
@@ -1,13 +0,0 @@
1
-
2
- # Dependencies
3
- - Merge after https://gitlab.cvinternal.net/clickview/back-end/Master.Auth/-/merge_requests/398
4
-
5
-
6
- # Code changes
7
- - Added method `AddMasterObjectsToLibraryRequestAsync` to `LibraryService` to add objects to a hosted library and a valid category if available.
8
- - Added endpoint `PUT` `/v1/libraries/{id}/objects`
9
- Implements CORE-1118
10
-
11
-
12
- # Testing
13
-