Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat / Restructure sprint 2 (WIP) #37

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6babace
feat(project): dynamic gtm snippet
langemike Jan 24, 2024
8c0cb9a
refactor(project): make route definitions static and improve url utils
royschut Jan 24, 2024
1612002
refactor: refactor typings
ChristiaanScheermeijer Jan 24, 2024
588f69a
fix(auth): capture error to prevent misleading “wrong combination” error
langemike Jan 25, 2024
9d8ff15
feat(project): customizable footer through env-var
langemike Jan 25, 2024
f98e99c
refactor(project): add replaceable components to ui-react
royschut Jan 25, 2024
a1c6188
feat(project): favicons in different sizes
langemike Jan 26, 2024
1e3607d
chore(project): dynamic manifest.json
langemike Jan 26, 2024
bcfb08b
chore: update depcheck
ChristiaanScheermeijer Jan 30, 2024
bb593e9
fix(player): inlineplayer not supporting tvod
royschut Jan 25, 2024
7de84ae
fix(user): tvod subscription not reloaded after login for authvod/avod
royschut Jan 25, 2024
3c021a9
refactor(payment): fix hasTVODOffers not properly defined
royschut Jan 25, 2024
7b483b9
docs(project): update url signing link
royschut Jan 25, 2024
d63b056
fix(payment): subscription offer panel shown for authvod+tvod
royschut Jan 25, 2024
626fa6b
refactor(payment): simplify useOffers hook
royschut Jan 25, 2024
7bba6a2
refactor(user): prevent unnecessary subscription calls
royschut Jan 26, 2024
5dc0a18
refactor(user): let reloadSubscriptions handle all access modals
royschut Jan 30, 2024
710694d
refactor: Cleeng and Inplayer account typings
ChristiaanScheermeijer Jan 30, 2024
572f953
refactor: account consents and capture fields
ChristiaanScheermeijer Feb 1, 2024
9314a13
refactor: move controllers and refactor form logic
royschut Feb 1, 2024
169d851
refactor: account screen consents and registration fields
ChristiaanScheermeijer Feb 2, 2024
4b97d96
fix(project): show footer when custom footer is provided
langemike Feb 5, 2024
e088362
fix/checkout bugs
royschut Feb 5, 2024
b116f49
fix(account): delete account error
ChristiaanScheermeijer Feb 5, 2024
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
10 changes: 5 additions & 5 deletions docs/backend-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ that any backend integration needs to support broken down by role:
- [Account](../packages/common/src/services/integrations/AccountService.ts)
- login
- register
- getPublisherConsents
- getCustomerConsents
- getConsents
- getConsentsValues
- resetPassword
- changePassword
- updateCustomer
- updateCustomerConsents
- updateConsentsValues
- getCustomer
- refreshToken
- getLocales
- getCaptureStatus
- updateCaptureAnswers
- getRegistrationFields
- updateRegistrationFieldsValues
- [Subscription](../packages/common/src/services/integrations/SubscriptionService.ts)
- getSubscriptions
- updateSubscription
Expand Down
9 changes: 1 addition & 8 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ Use the `styling` object to define extra styles for your application.
"styling": {
"backgroundColor": null,
"highlightColor": null,
"headerBackground": null,
"footerText": "Blender Foundation"
"headerBackground": null
}
```

Expand All @@ -187,12 +186,6 @@ Use this parameter to change the background color of the header. By default, the

---

**styling.footerText** (optional)

Text that will be placed in the footer of the site. Markdown links are supported.

---

**features**

Use the `features` object to define extra properties for your app.
Expand Down
2 changes: 1 addition & 1 deletion docs/features/video-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This article outlines how such an authorization service should work.

## Signed URLs

With [URL signing](https://support.jwplayer.com/articles/how-to-enable-url-token-signing) enabled on the JW property, a video client can only access the media URLs from JW backends when it has a valid JWT token:
With [URL signing](https://docs.jwplayer.com/platform/reference/protect-your-content-with-signed-urls) enabled on the JW property, a video client can only access the media URLs from JW backends when it has a valid JWT token:

```
GET media/PEEzDfdA?token=<tokenA>
Expand Down
3 changes: 3 additions & 0 deletions packages/common/.depcheckrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ ignores: [
'@typescript-eslint/parser',
'@typescript-eslint/eslint-plugin',
'eslint-plugin-import',

# Installed by inplayer SDK (only used for typings)
'axios'
]
1 change: 0 additions & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"devDependencies": {
"@types/ini": "^1.3.31",
"@types/jwplayer": "^8.2.13",
"@types/lodash.merge": "^4.6.6",
"jsdom": "^22.1.0",
"timezone-mock": "^1.3.4",
Expand Down
11 changes: 11 additions & 0 deletions packages/common/src/FormValidationError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export type FormValidationErrors = Record<string, string>;

export class FormValidationError extends Error {
public errors: FormValidationErrors;

constructor(errors: FormValidationErrors) {
super(Object.values(errors)[0]);

this.errors = errors;
}
}
Loading
Loading