Skip to content

Commit 51367b2

Browse files
committed
🔖(chore) bump to 3.1.0
Added - Refactor Elasticsearch client initialization and add client custom settings Fixed - Fix building site from cookicutter - Fix lazy load video player mode for programs - Fix gitlint warning
1 parent 79bdeba commit 51367b2

Some content is hidden

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

67 files changed

+2774
-275
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unrealeased]
1010

11+
## [3.1.0] - 2025-05-15
12+
1113
### Added
1214

1315
- Refactor Elasticsearch client initialization and add client custom settings
@@ -2295,7 +2297,8 @@ us:
22952297
- finish integrating the missing pages and improve the sandbox environment;
22962298
- test and polish the use of richie as a django app / node dependency.
22972299

2298-
[unreleased]: https://github.com/openfun/richie/compare/v3.0.0...master
2300+
[unreleased]: https://github.com/openfun/richie/compare/v3.1.0...master
2301+
[3.1.0]: https://github.com/openfun/richie/compare/v3.0.0...v3.1.0
22992302
[3.0.0]: https://github.com/openfun/richie/compare/v3.0.0-beta.0...v3.0.0
23002303
[3.0.0-beta.0]: https://github.com/openfun/richie/compare/v2.34.0...v3.0.0-beta.0
23012304
[2.34.0]: https://github.com/openfun/richie/compare/v2.33.0...v2.34.0

cookiecutter/{{cookiecutter.organization}}-richie-site-factory/template/{{cookiecutter.site}}/requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ django-storages==1.13.2
55
dockerflow==2022.8.0
66
gunicorn==23.0.0
77
psycopg2-binary==2.9.9
8-
richie==3.0.0
8+
richie==3.1.0
99
unidecode==1.3.6 # required by django-check-seo
1010
sentry-sdk==2.11.0

cookiecutter/{{cookiecutter.organization}}-richie-site-factory/template/{{cookiecutter.site}}/src/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"CMS"
2222
],
2323
"dependencies": {
24-
"richie-education": "3.0.0"
24+
"richie-education": "3.1.0"
2525
},
2626
"devDependencies": {
2727
"@formatjs/cli": "6.3.11",

docs/cookiecutter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ If you chose to install Cookiecutter, you can now run it against our
2525
[template][2] as follows:
2626

2727
```bash
28-
cookiecutter gh:openfun/richie --directory cookiecutter --checkout v3.0.0
28+
cookiecutter gh:openfun/richie --directory cookiecutter --checkout v3.1.0
2929
```
3030

3131
If you didn't want to install it on your machine, we provide a Docker image
3232
built with our [own repository][4] that you can use as follows:
3333

3434
```bash
3535
docker run --rm -it -u $(id -u):$(id -g) -v $PWD:/app \
36-
fundocker/cookiecutter gh:openfun/richie --directory cookiecutter --checkout v3.0.0
36+
fundocker/cookiecutter gh:openfun/richie --directory cookiecutter --checkout v3.1.0
3737
```
3838

3939
The `--directory` option is to indicate that our Cookiecutter template is in

src/frontend/i18n/locales/ar-SA.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -177,27 +177,27 @@
177177
},
178178
"components.CourseGlimpseFooter.certificateOfferIconAlt": {
179179
"description": "Course certificate offer alternative text",
180-
"message": "The course offers a certification."
180+
"message": "An exam is available"
181181
},
182182
"components.CourseGlimpseFooter.dateIconAlt": {
183183
"description": "Course date logo alternative text for screen reader users",
184-
"message": "Course date"
184+
"message": "Availability"
185185
},
186186
"components.CourseGlimpseFooter.enrollmentOfferIconFreeAlt": {
187187
"description": "Course offers free alternative text",
188-
"message": "The entire course can be completed for free."
188+
"message": "All content is available for free"
189189
},
190190
"components.CourseGlimpseFooter.enrollmentOfferIconPaidAlt": {
191191
"description": "Course offers paid alternative text",
192-
"message": "Course requires a payment."
192+
"message": "Access requires payment"
193193
},
194194
"components.CourseGlimpseFooter.enrollmentOfferIconPartiallyFreeAlt": {
195195
"description": "Course offers partially free alternative text",
196-
"message": "More than half of the course is for free."
196+
"message": "Most of the content is available for free"
197197
},
198198
"components.CourseGlimpseFooter.enrollmentOfferIconSubscriptionAlt": {
199199
"description": "Course offers subscription alternative text",
200-
"message": "Course requires to be a subscriber or a paid member."
200+
"message": "Access requires a subscription"
201201
},
202202
"components.CourseGlimpseList.courseCount": {
203203
"description": "Result count & pagination information for course search. Appears right above search results",
@@ -1645,35 +1645,35 @@
16451645
},
16461646
"components.SyllabusCourseRun.certificateFreeOffer": {
16471647
"description": "Message for the free certification offer of an opened course run block",
1648-
"message": "The certification process is free."
1648+
"message": "Free certificate"
16491649
},
16501650
"components.SyllabusCourseRun.certificatePaidOffer": {
1651-
"description": "Messagge for the paid certification offer of an opened course run block",
1652-
"message": "The certification process is paid."
1651+
"description": "Message for the paid certification offer of an opened course run block",
1652+
"message": "Paid certificate"
16531653
},
16541654
"components.SyllabusCourseRun.certificateSubscriptionOffer": {
16551655
"description": "Message for the subscription certification offer of an opened course run block",
1656-
"message": "The certification process is offered through subscription."
1656+
"message": "Offered certificate through subscription"
16571657
},
16581658
"components.SyllabusCourseRun.certificationPrice": {
16591659
"description": "Title of the certification price section of an opened course run block",
1660-
"message": "Certification price"
1660+
"message": "Certificate enrollment fee (optional)"
16611661
},
16621662
"components.SyllabusCourseRun.course": {
16631663
"description": "Title of the course dates section of an opened course run block",
16641664
"message": "Course"
16651665
},
16661666
"components.SyllabusCourseRun.courseFreeOffer": {
16671667
"description": "Message for the free course offer of an opened course run block",
1668-
"message": "The course content is free."
1668+
"message": "Free access"
16691669
},
16701670
"components.SyllabusCourseRun.coursePaidOffer": {
16711671
"description": "Message for the paid course offer of an opened course run block",
1672-
"message": "The course content is paid."
1672+
"message": "Paid access"
16731673
},
16741674
"components.SyllabusCourseRun.coursePartiallyFree": {
16751675
"description": "Message for the partially free course offer of an opened course run block",
1676-
"message": "The course content is free."
1676+
"message": "Partially free access"
16771677
},
16781678
"components.SyllabusCourseRun.coursePeriod": {
16791679
"description": "Course date of an opened course run block",
@@ -1685,7 +1685,7 @@
16851685
},
16861686
"components.SyllabusCourseRun.courseSubscriptionOffer": {
16871687
"description": "Message for the subscription course offer of an opened course run block",
1688-
"message": "Subscribe to access the course content."
1688+
"message": "Subscribe to access the course content"
16891689
},
16901690
"components.SyllabusCourseRun.enrollNow": {
16911691
"description": "CTA for users to enroll on ongoing of future open course.",
@@ -1709,43 +1709,43 @@
17091709
},
17101710
"components.SyllabusCourseRunCompacted.certificateFreeOffer": {
17111711
"description": "Message for the free certification offer of an opened course run block",
1712-
"message": "The certification process is free."
1712+
"message": "Free certificate"
17131713
},
17141714
"components.SyllabusCourseRunCompacted.certificatePaidOffer": {
17151715
"description": "Messagge for the paid certification offer of an opened course run block",
1716-
"message": "The certification process is paid."
1716+
"message": "Paid certificate"
17171717
},
17181718
"components.SyllabusCourseRunCompacted.certificateSubscriptionOffer": {
17191719
"description": "Message for the subscription certification offer of an opened course run block",
1720-
"message": "The certification process is offered through subscription."
1720+
"message": "Offered certificate through subscription"
17211721
},
17221722
"components.SyllabusCourseRunCompacted.certificationPrice": {
17231723
"description": "Title of the certification price section of an opened course run block",
1724-
"message": "Certification price"
1724+
"message": "Certificate enrollment fee (optional)"
17251725
},
17261726
"components.SyllabusCourseRunCompacted.course": {
17271727
"description": "Title of the course dates section of an opened course run block",
17281728
"message": "Course"
17291729
},
17301730
"components.SyllabusCourseRunCompacted.courseFreeOffer": {
17311731
"description": "Message for the free course offer of an opened course run block",
1732-
"message": "The course content is free."
1732+
"message": "Free access"
17331733
},
17341734
"components.SyllabusCourseRunCompacted.coursePaidOffer": {
17351735
"description": "Message for the paid course offer of an opened course run block",
1736-
"message": "The course content is paid."
1736+
"message": "Paid access"
17371737
},
17381738
"components.SyllabusCourseRunCompacted.coursePartiallyFree": {
17391739
"description": "Message for the partially free course offer of an opened course run block",
1740-
"message": "The course content is free."
1740+
"message": "Partially free access"
17411741
},
17421742
"components.SyllabusCourseRunCompacted.coursePrice": {
17431743
"description": "Title of the course enrollment price section of an opened course run block",
17441744
"message": "Enrollment price"
17451745
},
17461746
"components.SyllabusCourseRunCompacted.courseSubscriptionOffer": {
17471747
"description": "Message for the subscription course offer of an opened course run block",
1748-
"message": "Subscribe to access the course content."
1748+
"message": "Subscribe to access the course content"
17491749
},
17501750
"components.SyllabusCourseRunCompacted.enrollNow": {
17511751
"description": "CTA for users to enroll on ongoing of future open course.",

src/frontend/i18n/locales/es-ES.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -177,27 +177,27 @@
177177
},
178178
"components.CourseGlimpseFooter.certificateOfferIconAlt": {
179179
"description": "Course certificate offer alternative text",
180-
"message": "The course offers a certification."
180+
"message": "An exam is available"
181181
},
182182
"components.CourseGlimpseFooter.dateIconAlt": {
183183
"description": "Course date logo alternative text for screen reader users",
184-
"message": "Fecha del curso"
184+
"message": "Availability"
185185
},
186186
"components.CourseGlimpseFooter.enrollmentOfferIconFreeAlt": {
187187
"description": "Course offers free alternative text",
188-
"message": "The entire course can be completed for free."
188+
"message": "All content is available for free"
189189
},
190190
"components.CourseGlimpseFooter.enrollmentOfferIconPaidAlt": {
191191
"description": "Course offers paid alternative text",
192-
"message": "Course requires a payment."
192+
"message": "Access requires payment"
193193
},
194194
"components.CourseGlimpseFooter.enrollmentOfferIconPartiallyFreeAlt": {
195195
"description": "Course offers partially free alternative text",
196-
"message": "More than half of the course is for free."
196+
"message": "Most of the content is available for free"
197197
},
198198
"components.CourseGlimpseFooter.enrollmentOfferIconSubscriptionAlt": {
199199
"description": "Course offers subscription alternative text",
200-
"message": "Course requires to be a subscriber or a paid member."
200+
"message": "Access requires a subscription"
201201
},
202202
"components.CourseGlimpseList.courseCount": {
203203
"description": "Result count & pagination information for course search. Appears right above search results",
@@ -1509,7 +1509,7 @@
15091509
},
15101510
"components.SearchFilterGroupModal.closeModal": {
15111511
"description": "Text for the button to close the search filters modal",
1512-
"message": "Cerrar ventana modal"
1512+
"message": "Close modal"
15131513
},
15141514
"components.SearchFilterGroupModal.error": {
15151515
"description": "Error message when the search for more filter value fails in the search filters modal.",
@@ -1645,35 +1645,35 @@
16451645
},
16461646
"components.SyllabusCourseRun.certificateFreeOffer": {
16471647
"description": "Message for the free certification offer of an opened course run block",
1648-
"message": "The certification process is free."
1648+
"message": "Free certificate"
16491649
},
16501650
"components.SyllabusCourseRun.certificatePaidOffer": {
1651-
"description": "Messagge for the paid certification offer of an opened course run block",
1652-
"message": "The certification process is paid."
1651+
"description": "Message for the paid certification offer of an opened course run block",
1652+
"message": "Paid certificate"
16531653
},
16541654
"components.SyllabusCourseRun.certificateSubscriptionOffer": {
16551655
"description": "Message for the subscription certification offer of an opened course run block",
1656-
"message": "The certification process is offered through subscription."
1656+
"message": "Offered certificate through subscription"
16571657
},
16581658
"components.SyllabusCourseRun.certificationPrice": {
16591659
"description": "Title of the certification price section of an opened course run block",
1660-
"message": "Certification price"
1660+
"message": "Certificate enrollment fee (optional)"
16611661
},
16621662
"components.SyllabusCourseRun.course": {
16631663
"description": "Title of the course dates section of an opened course run block",
16641664
"message": "Course"
16651665
},
16661666
"components.SyllabusCourseRun.courseFreeOffer": {
16671667
"description": "Message for the free course offer of an opened course run block",
1668-
"message": "The course content is free."
1668+
"message": "Free access"
16691669
},
16701670
"components.SyllabusCourseRun.coursePaidOffer": {
16711671
"description": "Message for the paid course offer of an opened course run block",
1672-
"message": "The course content is paid."
1672+
"message": "Paid access"
16731673
},
16741674
"components.SyllabusCourseRun.coursePartiallyFree": {
16751675
"description": "Message for the partially free course offer of an opened course run block",
1676-
"message": "The course content is free."
1676+
"message": "Partially free access"
16771677
},
16781678
"components.SyllabusCourseRun.coursePeriod": {
16791679
"description": "Course date of an opened course run block",
@@ -1685,7 +1685,7 @@
16851685
},
16861686
"components.SyllabusCourseRun.courseSubscriptionOffer": {
16871687
"description": "Message for the subscription course offer of an opened course run block",
1688-
"message": "Subscribe to access the course content."
1688+
"message": "Subscribe to access the course content"
16891689
},
16901690
"components.SyllabusCourseRun.enrollNow": {
16911691
"description": "CTA for users to enroll on ongoing of future open course.",
@@ -1709,43 +1709,43 @@
17091709
},
17101710
"components.SyllabusCourseRunCompacted.certificateFreeOffer": {
17111711
"description": "Message for the free certification offer of an opened course run block",
1712-
"message": "The certification process is free."
1712+
"message": "Free certificate"
17131713
},
17141714
"components.SyllabusCourseRunCompacted.certificatePaidOffer": {
17151715
"description": "Messagge for the paid certification offer of an opened course run block",
1716-
"message": "The certification process is paid."
1716+
"message": "Paid certificate"
17171717
},
17181718
"components.SyllabusCourseRunCompacted.certificateSubscriptionOffer": {
17191719
"description": "Message for the subscription certification offer of an opened course run block",
1720-
"message": "The certification process is offered through subscription."
1720+
"message": "Offered certificate through subscription"
17211721
},
17221722
"components.SyllabusCourseRunCompacted.certificationPrice": {
17231723
"description": "Title of the certification price section of an opened course run block",
1724-
"message": "Certification price"
1724+
"message": "Certificate enrollment fee (optional)"
17251725
},
17261726
"components.SyllabusCourseRunCompacted.course": {
17271727
"description": "Title of the course dates section of an opened course run block",
17281728
"message": "Course"
17291729
},
17301730
"components.SyllabusCourseRunCompacted.courseFreeOffer": {
17311731
"description": "Message for the free course offer of an opened course run block",
1732-
"message": "The course content is free."
1732+
"message": "Free access"
17331733
},
17341734
"components.SyllabusCourseRunCompacted.coursePaidOffer": {
17351735
"description": "Message for the paid course offer of an opened course run block",
1736-
"message": "The course content is paid."
1736+
"message": "Paid access"
17371737
},
17381738
"components.SyllabusCourseRunCompacted.coursePartiallyFree": {
17391739
"description": "Message for the partially free course offer of an opened course run block",
1740-
"message": "The course content is free."
1740+
"message": "Partially free access"
17411741
},
17421742
"components.SyllabusCourseRunCompacted.coursePrice": {
17431743
"description": "Title of the course enrollment price section of an opened course run block",
17441744
"message": "Enrollment price"
17451745
},
17461746
"components.SyllabusCourseRunCompacted.courseSubscriptionOffer": {
17471747
"description": "Message for the subscription course offer of an opened course run block",
1748-
"message": "Subscribe to access the course content."
1748+
"message": "Subscribe to access the course content"
17491749
},
17501750
"components.SyllabusCourseRunCompacted.enrollNow": {
17511751
"description": "CTA for users to enroll on ongoing of future open course.",

0 commit comments

Comments
 (0)