Skip to content

feat: add first batch of Open edX Filters - #647

Merged
Ian2012 merged 3 commits into
releasefrom
MJG/backport-1st-filters-batch
Jun 1, 2022
Merged

feat: add first batch of Open edX Filters#647
Ian2012 merged 3 commits into
releasefrom
MJG/backport-1st-filters-batch

Conversation

@mariajgrimaldi

@mariajgrimaldi mariajgrimaldi commented May 10, 2022

Copy link
Copy Markdown
Contributor

Description

This PR backports the 1st filters batch

  • Add enrollment filter (just updates the filter definition so it works with the newer openedx-filters)
  • Add register filter
  • Add login filter

(cherry picked from commit f29a4ee)

Supporting information

Upstream PR openedx/openedx-platform#29449

Testing instructions

Review upstream PR

Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.

Other information

After merging this, one of our private plugins that use openedx-events must be updated.

* Add PreEnrollmentFilter
* Add PreRegisterFilter
* Add PreLoginFilter

(cherry picked from commit f29a4ee)
@mariajgrimaldi
mariajgrimaldi changed the base branch from master to release May 10, 2022 21:40
@mariajgrimaldi
mariajgrimaldi force-pushed the MJG/backport-1st-filters-batch branch from c88b7ee to 8379307 Compare May 10, 2022 21:41

@JuanDavidBuitrago JuanDavidBuitrago left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I test StudentRegistrationRequested with PreventRegistration and it is working

@JuanDavidBuitrago

Copy link
Copy Markdown
Contributor

We test it in Stage:

        "openedx_filters_samples.samples.pipeline.StopEnrollment"

        "openedx_filters_samples.samples.pipeline.StopLogin"

        "openedx_filters_samples.samples.pipeline.StopRegister"

Those filters are running

@mariajgrimaldi
mariajgrimaldi force-pushed the MJG/backport-1st-filters-batch branch from 31929df to 530bf98 Compare May 23, 2022 23:10
@Ian2012
Ian2012 merged commit 6113c7e into release Jun 1, 2022
@mariajgrimaldi
mariajgrimaldi deleted the MJG/backport-1st-filters-batch branch June 1, 2022 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants