-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added - Organization bulk contract signature - Add a Badge React component - Add a footer on enrollment's item in the learner dashboard. It give the possibility to purchase linked product or download linked certificate. - Add download contracts pages on the teacher dashboard. - Add a contract information and actions in learner dashboard order's listing and details. - In the learner dashboard, enroll actions are disabled when an unsigned contract is linked to the order. - Add the ability to sign an order's contract. - Add terms checkbox and specific "sign" button in the Sale Tunnel. - The CourseRunProductItem disables enrollment if there is a needed signature. - Handle OrderGroup on product purchase Changed - Teacher dashboard access is restricted to user which has access to a course or an organization. - Frontend Order type have been split into two: CredentialOrder and CertificateOrder. - Update PurchaseButton messages to aid with translation. - Update courses and organizations default permissions - Update cunningham to 2.0.0 - Update frontend components OrderStateMessage with new computed state 'waiting signature' - Update SaleTunnel to add certificate product course run information. - Update SaleTunnel to display product instructions. - When a course have multiple seller organizations, CourseGlimpse now display the number of seller organization instead of the title of the first one. - Update `JOANIE_BACKEND` settings, frontend widgets and learner dashboard to match new API endpoint to retrieve course products - Use cunningham Button component. - Use cunningham form components (input, select, radio, checkbox). - Delete richie Button component now that we use cunningham Button component. - Delete courseRun.starts_in_message, we compute it on frontend side. Fixed - Fix typo on the DashboardOrderLoader component. - Prevent LTIConsumer component to rerender on user session update - Fix Order interface against changed field 'target_enrollments' and 'enrollment' - Fix dashboard mobile layout. - Course details characteristics overflow issue - Map all richie course properties into `getCourseGlimpseProps` util - Fix course run computed state. A run without end date must be ONGOING_OPEN - Fix cookiecutter circleci gitlint configuration - Opened Course Run show empty date as '...' - Fix dashboard enrollment listing when they're linked to a product certificate. - Fix order cache issues Removed - Remove `course_enrollment_widget_props` extra tags - Remove `CourseProductItem` as a widget
- Loading branch information
Showing
42 changed files
with
3,192 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...r.organization}}-richie-site-factory/template/{{cookiecutter.site}}/requirements/base.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
boto3==1.28.9 | ||
django-check-seo==0.6.2 | ||
django-configurations==2.4.1 | ||
django-check-seo==0.6.4 | ||
django-configurations==2.5 | ||
django-storages==1.13.2 | ||
dockerflow==2022.8.0 | ||
gunicorn==20.1.0 | ||
psycopg2-binary==2.9.6 | ||
richie==2.24.1 | ||
gunicorn==21.2.0 | ||
psycopg2-binary==2.9.9 | ||
richie==2.25.0-beta.0 | ||
unidecode==1.3.6 # required by django-check-seo | ||
sentry-sdk==1.28.1 | ||
sentry-sdk==1.39.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...nization}}-richie-site-factory/template/{{cookiecutter.site}}/src/frontend/cunningham.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* Custom Cunningham Tokens for Richie | ||
In a child project, you can override those tokens by creating a token file like this one, | ||
merge your custom tokens with default Richie ones then by using cunningham cli to generate | ||
sass and ts tokens files (take a look to the `build-theme` command within package.json | ||
see it in action). | ||
E.g: | ||
const tokens = require('richie-education/cunningham.cjs') | ||
module.exports = { | ||
theme: { | ||
...tokens.themes.default | ||
colors: { | ||
...tokens.colors, | ||
'your-black': '#1E1E1E', | ||
}, | ||
}, | ||
*/ | ||
module.exports = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
...site-factory/template/{{cookiecutter.site}}/src/frontend/scss/extras/colors/_palette.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// {{cookiecutter.site}} palette overwrites | ||
/// | ||
/// Color palette and schemes | ||
/// | ||
|
||
// This file is to override the default Richie palette colors. | ||
// Default Richie file: https://github.com/openfun/richie/blob/master/src/frontend/scss/colors/_palette.scss | ||
// Named colors | ||
// Do not add any color here, add or override color in cunningham.cjs instead. | ||
// --------- | ||
|
||
// The example below only overrides the `firebrick6` color value from `#F72C30` to `#FF0000`, | ||
// other palette colors are still those by default. | ||
@use '../../vendors/cunningham-tokens' as tokens; | ||
|
||
// $palette: recursive-map-merge( | ||
// $palette, | ||
// ( | ||
// 'firebrick6': #FF0000, | ||
// ) | ||
// ); | ||
$palette: recursive-map-merge( | ||
$palette, | ||
map-get(tokens.$themes, 'default', 'theme', 'colors') | ||
); |
Oops, something went wrong.