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: upgrade to Olive #66

Merged
merged 25 commits into from
Dec 12, 2022
Merged

feat: upgrade to Olive #66

merged 25 commits into from
Dec 12, 2022

Conversation

regisb
Copy link
Contributor

@regisb regisb commented Oct 12, 2022

No description provided.

Carlos Muniz and others added 2 commits October 3, 2022 14:00
This change is due to changing quickstart to launch in tutor.
ghassanmas and others added 9 commits December 7, 2022 17:58
 This change does a couple of things and it introduce breaking
 changes, in summary it does:
  - It remove the usage of env/(productoin/development)
  - It's no longer possible to set/override MFE config via
    MFE_APP_*
  - It make MFEs rely to config that are defied in LMS
    settins
  - Other essetinal config that are needed at build time are
    are defined in the Dockerfile
  - It sets a proxy for both Caddy (for production) and Webpack
    (for development)
  - For old patches that are used to set/override MFE config, via
    production/development would need to be rewritten
Persistent grades are now enabled everywhere and cannot be disabled. As
a consequence the PERSISTENT_GRADES_ENABLED_FOR_ALL_TESTS setting does
not exist anymore.
In the account MFE (for instance), the top-right menu link to the
profile MFE was incorrect, as it included an "undefined/" portion.
The CREDENTIALS_BASE_URL MFE config was inadvertently set in a previous
PR, thus enabling learner records. For instance, the profile page
included a link to the records page: "View my records"
Calls to the MFE config API endpoint are made with two caches: one on
the client side, in the "edx-cache" local storage, and one on the server
side. The client side cache has a hard-coded timeout of 5 minutes. I see
no reason to have such a high cache timeout on the server side.
The only feature enabled by default is the "Pages & Resources" menu item
in Studio.

Waffle flags for the new React editors are created but disabled by
default.  (The only editor that seems to be fully featured at the moment
is the HTML block editor; Video seems to work without a preview, and
Problem is just a placeholder.)

The new proctoring interface is also disabled, as it requires the
`edx-exams` IDA, which Tutor doesn't currently support.
@arbrandes
Copy link
Collaborator

Already in there!

@arbrandes arbrandes closed this Dec 8, 2022
@arbrandes
Copy link
Collaborator

Oh, wait, is this where we track when the olive branch goes into master? Whoops, reopening.

Adds support for the Discussions MFE, enabling it by default.

Optional features also enabled via waffle flag:

* Learner's tab in the MFE
* Extended moderation reason codes
* Reported content email notifications to moderators
* Enable learner stats in the activity API
When introducing dynamic config[1], `CSRF_TOKEN_API_PATH` was removed
from the MFE build environment and not added to the corresponding Django
settings, leading to POST failures across the board.

This addresses the problem by adding `CSRF_TOKEN_API_PATH` back in.

[1] #69
Brian Smith and others added 2 commits December 9, 2022 16:42
Adds support for the Authn MFE, enabling it by default.

This disable enterprise login by default.

Co-authored-by: Adolfo R. Brandes <abrandes@tcril.org>
@arbrandes
Copy link
Collaborator

@regisb, how does one get this onto the demo instance? The olive branch is up to date with nightly as I write this.

@regisb
Copy link
Contributor Author

regisb commented Dec 9, 2022

I started a build + launch, it should be ready in a few minutes.

@ghassanmas
Copy link
Member

ghassanmas commented Dec 11, 2022

course authroing olive.master branch needs this openedx/frontend-app-authoring/pull/389 I think we forgat to back port it. Back port PR openedx/frontend-app-authoring/pull/408

@arbrandes arbrandes marked this pull request as ready for review December 12, 2022 13:33
@regisb regisb merged commit e388a8d into master Dec 12, 2022
@regisb regisb deleted the olive branch December 12, 2022 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants