Skip to content

Releases: openfun/richie

v2.14.0

04 Apr 12:07
Compare
Choose a tag to compare

Added

  • Add a CourseProductList Component
  • Add a SaleTunnel component
  • Add an AddressesManagement component
  • Add a PaymentButton component
  • Add a PaymentInterface component to lazy load the right payment component
    according to the provider used
  • Create a StepBreadcrumb component to display progress within a step process
  • Create a useStepManager hook to manage step process
  • Create a React Icon component that can optionally take alternative text
    for screen reader users.
  • Add a heading for screen reader users on the search results page to have a
    more understandable navigation.
  • Add new page templates for various multiple columns and their own CSS to
    adjust every possible plugins to fit correctly;
  • Add theme variable to change checkmark color.
  • Add new placeholder 'excerpt' to Organization detail template
  • Add the website's name by default in every page title, that can be changed
    or disabled by overriding the new site_title and site_title_separator
    blocks
  • Add alternative text on course glimpse icons for screen reader users
  • On search page, warn screen reader users when the search results change
  • On search page, the "clear filters" button now have details on current
    filters for screen reader users
  • Add a __stretched-link element to the card css block to help make
    screen reader-friendly card links

Changed

  • Remove the use of Google Fonts
  • Improve overall accessibility in Richie templates
  • Move enroll button for the first open course run below the contact block.
    If there are more than one open run, they're all still shown on course
    detail aside block.
  • Update frontend overriding system to allow to override any frontend module.
  • Improve React search suggestion field labels for screen readers.
  • Removed usage of deprecated Sass division '/' operator in favor of
    'math.div'.
  • Organization plugin variant 'row' now use excerpt if not empty else the
    description with every markup removed
  • Set font size to 1rem on some detail pages contents: Organization
    excerpt, Program body and Person main content
  • Use anchors instead of buttons in search pagination to let users open pages
    in new tabs if they want
  • Improve the offscreen class implementation to prevent potential visual
    issues for sighted user keyboards
  • Change how course glimpse anchor is structured (allows text selection
    in the course glimpse + better screen reader user experience)
  • Add context for screen reader users on search filters "more options" buttons
  • On course page, make the organization image link clearer for
    screen reader users with a better alternative text
  • Change how program glimpses HTML is structured to be clearer when using
    a screen reader
  • Specify that we are on a course page in the course detail page title
  • Remove contact block on course detail page

Fixed

  • Clear session cache on login and register
  • Make useCourseSearch hook locale sensitive
  • Stop using {% blockplugin %} template tags in and replace them by
    simple {% if %} tags that do the same and don't inject frontend editing markup
  • Fix get_placeholder_plugins when placed in by refactoring and
    introducing new placeholder_as_plugins template tag
  • Prevent context processor error when WEB_ANALYTICS_ID setting is not defined.
  • Fix autocomplete views tests that may failed because of result order.
  • Fix section tile title with richtext and special character escaping.
  • Change blogpost detail template to display author even in published mode
    except if its placeholder is empty.
  • Fix missing styles for Organization plugin 'row' variant link wrapper
  • Fix course glimpse layout when organization logo is too narrow
  • Fix course run deletion when translation title is empty
  • Reordered course glimpse text order in the DOM for better screen reader
    support.
  • On course page, make the course title the first thing that is read to
    screen readers (instead of the badges)
  • Fix program glimpse heading level being too high on course detail page
  • Hide title To be scheduled, Upcoming, Ongoing and Archived when all
    course runs have catalog visibility hidden.

v2.13.0

18 Feb 17:28
Compare
Choose a tag to compare

Added

  • Send web analytics event when a user enrolls to a course using the LMS enrollment api.
  • Wrap React widgets in a ErrorBoundary
  • Add settings to setup Joanie
  • Add course runs to the course search API
  • Add autocomplete feature on Page select in page related plugins

Changed

  • Differentiate between Google Analytics and Google Tag Manager js code as different Web Analytics providers.
  • Show organization acronym by using the menu_title field (if set) on the organization page.
  • Improve pagination blocks labels for screen reader users when there are multiple pagination components on one page
  • Use the new createWebStoragePersistor to persist React query state
  • Upgrade mysql to version 8

v2.12.0

04 Feb 18:58
Compare
Choose a tag to compare

Added

  • Create a React Banner component
  • Add catalog visibility field to course run so it's possible to hide a course run on the catalog and/or hide it completely. Possible values are course_and_search, course_only and hidden.

Changed

  • Upgrade to Python 3.10,
  • Do not use absolute positioning to place course glimpse metadata
  • Improve semantic of glimpses

Fixed

  • Hide unpublished objects from list views (category, person and program)
  • Add missing translation within search autocomplete menu
  • Fix a layout issue on autosuggest search menu
  • Fixed a layout issue on course glimpse when organization title and course title are too long
  • Add missing language parameter in LTI requests issued by LTI consumer plugin

v2.11.0

10 Jan 09:30
Compare
Choose a tag to compare

Changed

  • Rename branding_footer template block to body_footer_brand in
    richie/base.htmland include link it can be customized.
  • Refactor scss color variables to be more easily customizable.

Fixed

  • Make LMS authentication optional.

v2.10.0

27 Dec 10:45
Compare
Choose a tag to compare

Added

  • Add Russian translations
  • Add infinite scrolling to the facet search modal in course search.
  • Add reusable form components
  • Add theme property to Spinner component
  • Add setting to limit the number of archived course runs displayed by default on a course detail page.
  • Add timing function variables
  • Add a outline variant to button
  • Create a shadowed-box mixin
  • Add a meta description default value from course introduction, blog excerpt, category description, person bio, program excerpt and organization description
  • Improve social sharing by specifying og:description meta for blogpost, category, person, program and organization.

Changed

  • Include new pages in navigation by default so they have a breadcrumb
  • Create a generic React Modal component
  • Create an context util
  • Add react-query to manage API requests and local data store
  • Move type utils into type directory
  • Make licenses on course page optional

Fixed

  • Fix blogpost header image aspect ratio and sizes
  • Fix negative scores causing a 500 error for courses far in the future
  • Remove transparency when not necessary so that images are converted to jpg
  • Prevent logout action to be called twice
  • Fix og:image when using S3Boto3Storage
  • Remove error message related with cache when any test fails

v2.9.1

03 Nov 14:20
Compare
Choose a tag to compare

Fixed

  • Improve handling for autocompletion missing query errors
  • Stack organization logo to the right and behind category badget on
    course glimpse
  • Fix rendering difference between React and Django course glimpses
  • Hide enrollment count by default until an explicit minimum is set
  • Fix an error when a user typed a short search query in the header or home

v2.9.0

27 Oct 15:40
Compare
Choose a tag to compare

Added

  • Add enrollment count to course run and to course page
  • Add blocks on header and footer for branding overrides
  • Add organization logo to course glimpse

Changed

  • Update course search API to remove MPTT regexes as query params and replace
    them with arrays or strings.
  • Use stable IDs for categories and organizations in ES indices and throughout
    all search-related code.

Fixed

  • Fix useCache hook when it has to encode UTF-16 characters to base 64.
  • Fix an issue related to css selector priority from r-scheme-colors mixins
  • Fix css classes related with course runs on the course detail page.
  • Fix error on course page when course run doesn't have any title and the
    setting WEB_ANALYTICS_ID is enabled
  • Fix organization str when organization code is null

v2.8.2

05 Oct 14:25
Compare
Choose a tag to compare

Fixed

  • Fix schema.org related "pt_effort" string computation when effort is not set
  • Use $r-course-subheader-aside to define subheader aside column width

v2.8.1

28 Sep 14:46
Compare
Choose a tag to compare

Changed

  • Set a proper default value to DJANGO_SECRET_KEY in Base configuration

Fixed

  • Remove use of f-strings within gettext_lazy
  • Lazily retrieve elasticsearch server version
  • Fix meta header "alternate" href value to avoid duplicates in search engine
  • Fix search template meta block like missing favicon and open graph metas

v2.8.0

20 Sep 11:49
e017797
Compare
Choose a tag to compare

Added

  • Schema.org structured data markup for course detail pages
  • Course code information on the course glimpse
  • Course introduction and code to the search index and API
  • Documentation on connecting Richie with OpenEdX
  • Add robots.txt template with a sitemap rule so it is no longer needed to register the sitemap.xml URL from each crawler administration panel
  • Add a new web analytics feature with support for Google Analytics by default
  • Richie is now compatible with both ES6 and ES7

Changed

  • Increase blogpost excerpt size limit to 240 characters
  • Change organization icon on course glimpse to a building
  • Boost course title field by a factor of 20 (empirical) for fulltext queries
  • Sort related blogposts by their publication date (latest comes first)
  • Upgrade to DjangoCMS 3.9.0 (and subsequently to Django 3.2.6)

Fixed

  • Fix course teaser layout issues on Safari
  • Fix html landmarks for screen readers
  • Fix link to homepage should have a default title for context
  • Escape FRONTEND_CONTEXT characters for use in Javascript string
  • Reverse 401 and 403 errors in course run synchronization webhook
  • Fix missing persons search index update on publish/unpublish
  • Delete object from search indices when its page is unpublished
  • Fix section on blogpost detail page which was breaking the flow for children
  • Hide unpublished pages when getting related objects on a public page
  • Fix course and organization code fields normalization and validation
  • Fix search bug due to wrong ordering of char filters
  • Stop indexing unpublished categories
  • Repatriate within our codebase the deprecated bootstrap mixin make-container-max-widths
  • Fix course teaser layout issues on Safari