Commit Graph

57520 Commits

Author SHA1 Message Date
Feanil Patel
cfca652dee feat: Add paths to easily view various error pages.
Currently it's hard to see the content of an error without knowing how
to cause an existing view to make that error in production.  Adding
these default paths should make that a lot easier.
2021-02-08 14:03:26 -05:00
Feanil Patel
cd3e4353b1 feat: Add a 403 and 429 handler.
See context here: https://django-ratelimit.readthedocs.io/en/latest/cookbook/429.html#context

For now we continue to fall back to django's default 403 handler for 403
but provide a new 429 template that we use for ratelimit exceptions.

This commit also updates a logistration test that relied on the old 403
behavior of django-ratelimit instead of the newly added 429 behavior.
2021-02-08 14:03:26 -05:00
Bianca Severino
54505b82c4 Merge pull request #26436 from edx/bseverino/proctoring-check-fix
[MST-645] Account for no enrollment in courseware rules
2021-02-08 13:39:40 -05:00
Carla Duarte
a3f0050c4d Merge pull request #26396 from edx/ciduarte/depr-keys
AA-650: block deprecated keys from course home MFE
2021-02-08 13:27:58 -05:00
Bianca Severino
4fb36709a5 Account for no enrollment in courseware rules 2021-02-08 13:12:52 -05:00
Matt Tuchfarber
eac7904a7f Merge pull request #26434 from edx/tuchfarber/update_pylint
Update to newest edx-lint
2021-02-08 13:02:07 -05:00
Carla Duarte
8d2d78dc61 AA-650: block deprecated keys from course home MFE 2021-02-08 13:00:36 -05:00
Matt Tuchfarber
978183bfc6 Update to newest edx-lint
Copy existing pylintrc changes to pylintrc_tweaks
2021-02-08 12:26:47 -05:00
Feanil Patel
03d2d983ea Merge pull request #26392 from edx/feanil/rate_limit_anon_csv
Feanil/rate limit anon csv
2021-02-08 12:05:21 -05:00
Fox Piacenti
c840e6f9bb Update Library v2 Indexes to work with ElasticSearch 7. Repair blockstore integration tests. (#26230) 2021-02-08 11:55:47 -05:00
Christie Rice
367d2a07c9 Fix lint-amnesty warnings (#26411) 2021-02-08 10:49:32 -05:00
Usama Sadiq
1dca1835ce Merge pull request #26429 from edx/BOM-2334
Apply pylint-amnesty.
2021-02-08 20:46:15 +05:00
Gábor Boros
dd55860da1 [TSD] [SE-3988] add annotations to instructor plugin settings (#26202)
docs: add annotations to instructor plugin settings
2021-02-08 10:45:26 -05:00
Tim McCormack
b8a6e30bd9 fix: Add new proctoring key to Studio devstack & tests envs (copy from LMS) (#26430)
Turns out it's needed for the Proctoring Settings view.

Also reorder slightly for better clustering.

MST-644
2021-02-08 15:43:51 +00:00
Awais Qureshi
7ee49390bb BOM-2334
Apply pylint-amnesty.
2021-02-08 20:12:45 +05:00
Usama Sadiq
045a3dc249 Merge pull request #26422 from edx/BOM-2337
Apply pylint-amnesty.
2021-02-08 20:09:34 +05:00
Usama Sadiq
325d4ec770 Merge pull request #26423 from edx/BOM-2338
Apply pylint-amnesty.
2021-02-08 20:09:12 +05:00
Christie Rice
6e5a9f5f6f MICROBA-918 Move methods to separate certificate generation from celery task to schedule certificate generation. Also standardizes imports. (#26410) 2021-02-08 10:01:04 -05:00
edx-pipeline-bot
930980d732 Merge pull request #26427 from edx/private_to_public_01b389b
Mergeback PR from private to public.
2021-02-08 09:36:23 -05:00
Usama Sadiq
9ab240f87e Merge pull request #26380 from edx/usamasadiq/bom-2312-pylint-amnesty-common-lib
Applied pylint-amnesty
2021-02-08 18:57:01 +05:00
Usama Sadiq
eb2f8e791b Merge pull request #26382 from edx/usamasadiq/bom-2327-pylint-amnesty
Applied pylint amnesty
2021-02-08 18:56:01 +05:00
Usama Sadiq
1bb06669e3 Merge branch 'master' into usamasadiq/bom-2312-pylint-amnesty-common-lib 2021-02-08 18:26:15 +05:00
Usama Sadiq
7eb2c40106 Merge branch 'master' into usamasadiq/bom-2327-pylint-amnesty 2021-02-08 18:24:53 +05:00
Usama Sadiq
90666a6231 Merge pull request #26311 from edx/usamasadiq/bom-2305-pylint-amnesty
Applied pylint-amnesty
2021-02-08 18:23:34 +05:00
Muhammad Soban Javed
108859a550 Merge pull request #25954 from edx/iamsobanjaved/celery-tasks-openedx
Replace @task decorator with @shared_task in openedx
2021-02-08 18:23:22 +05:00
Usama Sadiq
78087152b8 Merge pull request #26387 from edx/usamasadiq/bom-2333-pylint-amnesty
Applied pylint amnesty
2021-02-08 18:20:51 +05:00
JayRam Nai
17cde562da docs: Add annotations for ENABLE_FOOTER_MOBILE_APP_LINKS feature flag (#26389)
docs: update warning for ENABLE_FOOTER_MOBILE_APP_LINKS features toggle
2021-02-08 07:58:09 -05:00
JayRam Nai
16cc57dc7d docs: Add annotations for EDITABLE_SHORT_DESCRIPTION feature flag (#26401) 2021-02-08 07:56:48 -05:00
Ali Akbar
01b389b73a Merge pull request #221 from edx/IM/security-fixes-10
Incident Management Security Fixes 10
2021-02-08 17:46:16 +05:00
Ali Akbar
06cfaa2d88 Merge pull request #220 from edx/IM/security-fixes-9
Incident Management Security Fixes 9
2021-02-08 17:46:06 +05:00
Awais Qureshi
7321e9e5eb BOM-2338
Apply pylint-amnesty.
2021-02-08 17:42:01 +05:00
Awais Qureshi
41b50237d3 BOM-2337
Apply pylint-amnesty.
2021-02-08 17:12:55 +05:00
usamasadiq
1175838fa5 fix pep8 warnings 2021-02-08 16:08:01 +05:00
M. Zulqarnain
047a5f5f19 BOM-2319 : Pylint amnesty in openedx content apps (#26347)
* pylint amnesty in openedx content apps

Co-authored-by: Jawayria <jawayriahashmi@gmail.com>
2021-02-08 15:51:22 +05:00
usamasadiq
7bbde8f0f5 Applied pylint-amnesty 2021-02-08 13:00:22 +05:00
usamasadiq
e6d43ac69c Applied pylint amnesty 2021-02-08 12:45:57 +05:00
M. Zulqarnain
3db1a21263 BOM-2247 : Upgrade pip-tools (#26192)
* Upgrade pip-tools

* Updating Python Requirements (#26191)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-02-08 12:42:05 +05:00
edX requirements bot
cdeb430f68 Updating Python Requirements (#26418) 2021-02-08 12:19:01 +05:00
JayRam Nai
f5ba226c71 docs: Add annotations for ENABLE_DJANGO_ADMIN_SITE feature flag (#26388) 2021-02-06 11:04:22 -05:00
JayRam Nai
c658a4719b docs: Adds annotations for HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED feature flag (#26403) 2021-02-06 10:48:10 -05:00
Uzair Rasheed
6522bbdc43 Merge pull request #26413 from edx/reset-password-success-email
reset-password-success-email
2021-02-06 17:01:01 +05:00
uzairr
d86550e1a3 reset-password-success-email 2021-02-06 15:41:56 +05:00
Felipe Montoya
081a334fb8 Merge pull request #26212 from eduNEXT/lmm/annotation_mfe_urls
[TSD] Add annotations for MFE URL settings
2021-02-05 17:51:05 -05:00
Felipe Montoya
aba34c506e Merge pull request #26406 from jramnai/tsd-enable_student_history_view
[TSD] docs: Add annotations for ENABLE_STUDENT_HISTORY_VIEW feature flag
2021-02-05 17:50:41 -05:00
Aarif
b3b8e81148 replaced unittest assertions pytest assertions (#26267) 2021-02-05 23:54:11 +05:00
Tim McCormack
38f29c30f8 feat: Use edx-proctoring 3.0.0 and set required ID generation key (#26408)
MST-637: edx-proctoring 3.0.0 now requires a new key for use in ID
generation, starting from same value as SECRET_KEY (pre-rotation, but
rotation never happened for devstack.)

Remote config changes already made for relevant environments.
2021-02-05 16:19:14 +00:00
Tim McCormack
ac7a9f405b refactor: Remove old version of anonymous user ID generation (#26398)
In commit 2723e0e2/PR #26162, we created a new version of the
`anonymous_id_for_user` method that would make it safe to rotate the
`SECRET_KEY` setting (without changing existing anonymous IDs). This
included a toggle to allow fast reversion to the old code if needed.

This commit removes the old code and the toggle as we are satisfied with
the correctness and performance of the new code.

ref: ARCHBOM-1645
2021-02-05 15:35:16 +00:00
Waheed Ahmed
335915a933 Fix failed attempts and lockout messages for MFE.
VAN-342
2021-02-05 19:37:20 +05:00
Matthew Piatetsky
b91f720b7e Merge pull request #26293 from edx/AA-613
[AA-613] Return content type gate for staff users when masquerading as the Learner in Audit or Learner in Limited Access Roles
2021-02-05 09:18:34 -05:00
Jayram Nai
df517c7c21 docs: Add annotations for ENABLE_STUDENT_HISTORY_VIEW feature flag 2021-02-05 18:54:36 +05:30