Commit Graph

61420 Commits

Author SHA1 Message Date
Justin Hynes
8026f74e80 feat: Add management command for processing scheduled instructor tasks
[MICROBA-1512]
* Adds a new management command to the `instructor_task` app that will be used to process scheduled tasks ready for execution by Celery.
2022-05-20 12:50:27 -04:00
Attiya Ishaque
75ca47695c feat: add required fields rest api (#30198)
* feat: add required fields rest api

* feat: first review changes added.
2022-05-20 12:06:24 +05:00
Justin Hynes
068eecff91 Merge pull request #30408 from openedx/jhynes/microba-1510_update-email-api
feat: MICROBA-1510; add support for updating course email content and schedules
2022-05-19 14:10:54 -04:00
Justin Hynes
79c53f1002 feat: MICROBA-1510; add support for updating course email content and schedules
[MICROBA-1510]
- Add support for updating an instructor task schedule date via REST API
- Add support for updating the contents of a scheduled course email via REST API
2022-05-19 13:42:58 -04:00
Tim McCormack
47f9234323 chore: Upgrade edx-django-utils to 5.0.0 for corrupt cookie logging (#30445) 2022-05-19 17:34:26 +00:00
Justin Hynes
ee6f810bed Merge pull request #30423 from openedx/jhynes/use_instructor_task_constants
chore: update instructor task names to use constants
2022-05-19 11:49:14 -04:00
Robert Raposa
3fc852f53c feat!: change JWT access token expires (#30432)
Introduces JWT_ACCESS_TOKEN_EXPIRE_SECONDS setting. This is the number
of seconds a JWT access token remains valid. We use this custom
setting for JWT formatted access tokens, rather than the
django-oauth-toolkit setting ACCESS_TOKEN_EXPIRE_SECONDS, because the
JWT is non-revocable and we want it to be shorter lived than the
legacy Bearer (opaque) access tokens, and thus to have a smaller
default.

BREAKING CHANGE: The thing that is breaking is that JWT access tokens
will now have a 1 hour default, instead of a 10 hours default. If
third-party scripts are appropriately checking/refreshing the access
token, this should be ok. However, you can always override with a
longer duration temporarily. From a security perspective, we don't
recommend a longer duration, and you may consider a shorter duration.

ARCHBOM-2099
2022-05-19 09:46:17 -04:00
Mohammad Ahtasham ul Hassan
7deea6ec6e feat: add lockfile check (#30440) 2022-05-19 17:54:09 +05:00
Chris Pappas
92388c2888 chore: bumping edx-enterprise version (#30434) 2022-05-18 17:14:49 -04:00
alangsto
5b6558c8ca chore: update name affirmation version (#30430) 2022-05-18 09:34:17 -04:00
Mohammad Ahtasham ul Hassan
f801deaae5 Node Upgrade (#30420)
* feat: Node16 upgrade
2022-05-18 16:12:34 +05:00
Long Lin
ffb9c5dfa2 chore: bump edx-enterprise version 2022-05-17 16:45:23 -04:00
Chris Pappas
e1277b4b87 chore: bump edx-enterprise version; uncomment migration test skip (#30425) 2022-05-17 14:47:37 -04:00
Chris Pappas
a8b26c3aef chore: bumping edx-enterprise version (#30424)
* chore: bumping edx-enterprise version

* temp: skip migration sync test
2022-05-17 12:29:26 -04:00
Justin Hynes
bfd75013a1 chore: update instructor task names to use constants
* Update various instructor task logic to use constants over strings when referring to instructor task names
2022-05-17 11:52:35 -04:00
edX requirements bot
4aa40618a6 chore: Updating Python Requirements (#30414) 2022-05-17 10:57:37 +05:00
Mohammad Ahtasham ul Hassan
fee54bf424 Revert "Node 16 Upgrade (#30354)" (#30399)
This reverts commit f4c3c3fb4d.
2022-05-16 18:42:42 -04:00
edx-semantic-release
bb4136c758 chore(i18n): update translations 2022-05-16 18:25:01 -04:00
Chris Pappas
292cfc2fbc chore: ENT-4349 | bumping edx-enterprise version (#30410) 2022-05-16 16:48:16 -04:00
Demid
006687801f fix: bump pinned pyfilesystem2 version (#30338)
This commit fixes unpickling of exceptions that are based on `fs.error.ResourceError`,
which definitely happens if such an exception is throwed withing a Celery task
and, in turn, causes Celery worker to shut down.

See the details here: https://stackoverflow.com/a/41809333

The new version overrides `__reduce__` as suggested.
2022-05-16 19:51:37 +00:00
Simon Chen
4f339e2f9e fix: make the studio user_id the actual anonymous_user_id (#30248)
* feat: test out individualized anonymouse_user_id for studio preview on xblocks

* test: adds tests for the PreviewModuleSystem anonymous_user_id (#30400)

and the INDIVIDUALIZE_ANONYMOUS_USER_ID flag.

Co-authored-by: Jillian Vogel <jill@opencraft.com>

Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
Co-authored-by: Jillian Vogel <jill@opencraft.com>
2022-05-16 10:37:39 -04:00
edX requirements bot
34627de049 chore: Updating Python Requirements (#30401) 2022-05-16 13:40:22 +00:00
Mohammad Ahtasham ul Hassan
f4c3c3fb4d Node 16 Upgrade (#30354)
* feat: Node16 upgrade
2022-05-16 16:53:37 +05:00
Awais Qureshi
9f904e80f0 build: removing django-celery-results constraint. (#30381)
* build: removing django-celery-results constraint.

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-05-16 15:00:25 +05:00
SaadYousaf
a26a6b83d5 refactor: remove temporary logs and fix email styling for reported content. 2022-05-16 13:48:46 +05:00
Maria Grimaldi
0edb0bb8b6 Merge pull request #29964 from eduNEXT/MJG/cohort-change-filter
[BD-32] feat: add cohort change Open edX Filter
2022-05-13 13:22:40 -04:00
Chris Pappas
ca77b30aca chore: ENT-4349 | bump edx-enterprise version (#30386) 2022-05-13 12:12:28 -04:00
edx-transifex-bot
26fa6c2b97 chore(i18n): update translations (#30383)
Co-authored-by: edx-semantic-release <edx-semantic-release@edx.org>
2022-05-13 14:02:42 +00:00
Feanil Patel
661949771a Merge pull request #30347 from raccoongang/remove-verified-track-cohort
FC-0001: Remove verified track cohort
2022-05-13 09:47:13 -04:00
Eugene Dyudyunov
52dd883a3c refactor: delete now unused FutureCourseWaffleFlag (#30367)
Remove temporary FutureCourseWaffleFlag class;
Update ora2 and edx-toggles to versions cleaned from the
LegacyWaffle* classes;
Replace `override_flag`s with `override_waffle_flag`;
Replace `override_switch`s with `override_waffle_switch` (where it's possible).
2022-05-13 08:48:42 -04:00
Mubbshar Anwar
0d2ea3c2e2 fix: handle ObjectDoesNotExist exception (#30378)
Fix exception ObjectDoesNotExist while geting program enrollment in send_program_reminder_emails command.
2022-05-13 14:23:36 +05:00
Ali Akbar
f63543c49d Merge pull request #30243 from openedx/aakbar/PROD-2739
feat: use new financial assistance flow in FinancialAssistanceTool
2022-05-12 23:45:55 +05:00
Mubbshar Anwar
a83c5cd447 fix: attribute error (#30372)
saved program attribute error in send_program_reminder_emails command
2022-05-12 12:28:53 +05:00
AliAkbar
ac985dbf7f feat: use new financial assistance flow in FinancialAssistanceTool 2022-05-12 00:59:07 +05:00
Maria Grimaldi
6b8de6eb3f Merge pull request #29996 from eduNEXT/MJG/course-about-render-filter
[BD-32] feat: add filter before course about rendering process starts
2022-05-11 14:07:02 -04:00
SaadYousaf
016c697922 fix: add logs and fix issues with reported content email template. 2022-05-11 22:51:01 +05:00
Maria Grimaldi
ccfa0b484b feat: add filter before course about rendering process starts 2022-05-11 13:40:40 -04:00
Eugene Dyudyunov
65d35f9837 chore: update lti-consumer block version (#30370)
This is a part of https://github.com/openedx/public-engineering/issues/28
2022-05-11 12:42:10 -04:00
Ahtisham Shahid
674778fc7a Removed PII sharing requirement from Live API (#30332) 2022-05-11 19:43:56 +05:00
Muhammad Adeel Tajamul
7a4fdf1640 Merge pull request #30366 from openedx/revert-30362-inf-185
Revert "feat: removed piazza from discussion providers"
2022-05-11 15:15:10 +05:00
Muhammad Adeel Tajamul
93dbb03984 Revert "feat: removed piazza from discussion providers" 2022-05-11 13:27:38 +05:00
Abdurrahman Asad
f22a129b23 fix: discussion moderators can't create posts for specific cohorts (#30352)
fix: discussion moderators can't create posts for specific cohorts
2022-05-11 09:41:48 +05:00
Eugene Dyudyunov
655e4a344f refactor!: update CourseWaffleFlag (#30351)
BREAKING: get rid of the LegacyWaffle-based CourseWaffleFlag.
Both CourseWaffleFlag and FutureCourseWaffleFlag now use the modern
WaffleFlag as parent class. FutureCourseWaffleFlag left to support ORA
transition to modern waffle.

Switch to the ORA version which supporting new Waffles.
2022-05-10 15:08:59 -04:00
Maria Grimaldi
695d23489e Merge pull request #29976 from eduNEXT/MJG/certificate-render-filter
[BD-32] feat: add filter before certificate rendering process starts
2022-05-10 14:37:22 -04:00
Maria Grimaldi
7f974d1fff feat: add filter before certificate rendering process starts 2022-05-10 13:59:24 -04:00
Demid
a4ec4c1b8e refactor: Delete XModule classes (#30262)
Removes XModule, XModuleDescriptor, ProxyAttribute classes and their usages.
2022-05-10 19:09:11 +02:00
Agrendalath
0ef57eb136 fix: do not index solutions in CAPA blocks
Most tags that could contain solutions or hints were already being removed,
but the regex did not include the case when they contained attributes.
2022-05-10 19:04:29 +02:00
Muhammad Adeel Tajamul
90184cc765 Merge pull request #30362 from openedx/inf-185
feat: removed piazza from discussion providers
2022-05-10 16:54:01 +05:00
Muneeb Ur Rehman
20a0e6e9e1 feat: create learner pathway skeleton (#30355)
* feat: create skeleton for learner_pathway app

* feat: add learner_pathway app for quality checks

* feat: add verbose name and dir for tests

* feat: add docstrings for files in app

* fix: remove unused imports

* refactor: resolve quality issues
2022-05-10 13:19:45 +05:00
adeel.tajamul
0b69c7b638 feat: removed piazza from discussion providers 2022-05-10 12:28:07 +05:00