Commit Graph

55930 Commits

Author SHA1 Message Date
Thomas Tracy
bf0de81c57 Ttracy/demographics bugs 19 20 (#25148)
* Focus first input when loading a wizard page

* Add aria-hidden to info icon:
2020-09-29 13:37:19 -04:00
Justin Hynes
641336c27c Merge pull request #25143 from edx/jhynes/microba-605_button-style
MICROBA-605 | Adjust demographics modal button style
2020-09-29 12:38:14 -04:00
Alex Dusenbery
3292104470 enterprise_customer_uuid_for_request() should not return a __CACHE_MISS__. 2020-09-29 12:03:33 -04:00
Justin Hynes
0fb481adc4 MICROBA-605 | Adjust demographics modal button style
[MICROBA-605]
- Remove box-shadow on buttons in Demographics modal
2020-09-29 11:21:28 -04:00
Justin Hynes
77d63c57f0 Merge pull request #25138 from edx/jhynes/MB-600_demographics-link-new-tab
MB-600 | Open demographics modal link in new tab
2020-09-29 10:21:04 -04:00
Thomas Tracy
b1ed288915 Fix form auto-filling "prefer not to respond" (#25126)
An issue with 2 options having the same react child key. This makes the
keys more unique.
2020-09-29 09:42:13 -04:00
Justin Hynes
66821bb1e1 MB-600 | Open demographics modal link in new tab
[MB-600]
- Update demographics modal to open embedded link in new tab
2020-09-29 09:33:21 -04:00
Justin Hynes
bac8f3aebc Merge pull request #25127 from edx/jhynes/microba-596_fix-spacing
MICROBA-596 | Adjust style of MultiSelect dropdown in demographics modal
2020-09-29 07:43:52 -04:00
Nimisha Asthagiri
bc1d1bc2c5 Merge pull request #23731 from open-craft/alanoe/move_celery_check_to_high_priority_queue_upstream
Move Celery check task to the high priority queue
2020-09-29 06:37:06 -04:00
Uzair Rasheed
3ebf068ff3 Merge pull request #25111 from edx/refactor-third-party-auth-msg
Refactor third party auth msg
2020-09-29 13:32:45 +05:00
uzairr
b1d321374f Refactor third party auth msg generation 2020-09-29 06:52:02 +05:00
Justin Hynes
e200215421 MICROBA-596 | Adjust style of MultiSelect dropdown in demographics modal
[MICROBA-596]
- Add space between checkbox and label
- Adjust spacing between end of MultiSelect dropdown choices and next question
2020-09-28 16:03:39 -04:00
David Ormsbee
3a5ec45676 Merge pull request #25118 from edx/ormsbee/exempt-ccx-from-search-indexing
Exclude CCX Courses from search indexing.
2020-09-28 14:32:24 -04:00
Brandon Baker
d6541c6282 Upgrade enterprise to 3.8.22 (#25122) 2020-09-28 14:15:55 -04:00
David Ormsbee
168c5deee8 Exclude CCX Courses from search indexing.
Search indexing is prohibitively slow for large CCX courses, even
taking hours in the case of some particularly large ones with
thousands of blocks. Temporarily disabling this functionality until
it can be made more performant (PSRE-288), so that we're not
blocking the workers from doing more latency-sensitive work.

There is a separate effort to put search indexing in its own set
of workers.
2020-09-28 13:58:13 -04:00
Albert (AJ) St. Aubin
1b298deaad Suppress Hotjar on demographic collection modal 2020-09-28 13:29:21 -04:00
Tim McCormack
62ecf6dde9 Add README explaining normal/codejail requirements split (#25037) 2020-09-28 17:25:11 +00:00
Michael Terry
6f69fd7dc2 Merge pull request #25105 from edx/mikix/public-outline
AA-253: don't send outline if not enrolled
2020-09-28 11:46:22 -04:00
Tim McCormack
ec65018306 Rename more "custom metric" references to "custom attribute" (#25018)
* Rename CookieMetricsMiddleware to CookingMonitoringMiddleware

This fixes a misuse of New Relic terminology. Here we are in fact using
custom attributes; custom metrics are a different thing that we may start
using in the future.

* Rename metric -> attribute in courseware New Relic code

* Fix my weird typo

* Replace `s/metric/attribute/g` in waffle_utils and in caller

This changes:

- `WAFFLE_FLAG_CUSTOM_METRICS`
- `WaffleFlagNamespace._set_waffle_flag_metric`
- `_get_waffle_flag_custom_metrics_set` and some other unreferenced
  internals

* Avoid direct use of newrelic (while we're in there)

* Fix existing typo in line I touched

* A few other "metric" names in files touched in previous renaming PRs

* Make dependency constraint note terse, and add description
2020-09-28 11:35:44 -04:00
Fox Piacenti
2c15bbba2d Add type field/constraint to to libraries v2. (#24861) 2020-09-28 10:58:27 -04:00
Michael Terry
100018081d AA-253: don't send outline if not enrolled
This is for the learning MFE outline endpoint.

Also clean up some related permissions issues.
2020-09-28 10:45:07 -04:00
Tim McCormack
5b331b2d4d Merge branch 'master' into timmc/misc-metric-attribute
# Conflicts:
#	cms/envs/common.py
#	lms/envs/common.py
2020-09-28 13:56:08 +00:00
Tim McCormack
f29e418264 Revert "Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)" (#25025)" (#25055)
This reverts commit 986a448d9e.
2020-09-28 13:53:57 +00:00
Sameen Fatima
1c1ffbfa00 Merge pull request #25110 from edx/sameen/upgrade-edx-enterprise
upgrade edx-enterprise 3.8.21
2020-09-28 16:21:55 +05:00
sameenfatima78
f618263253 upgrade edx-enterprise 3.8.21 2020-09-28 15:18:44 +05:00
edX Transifex Bot
d74f6d9800 fix(i18n): update translations 2020-09-27 17:34:20 -04:00
Josh McLaughlin
73fd2ed849 Update default for override to avoid setting duplication 2020-09-25 21:50:11 -07:00
Tim McCormack
ae0741d637 Make dependency constraint note terse, and add description 2020-09-25 19:39:51 +00:00
Thomas Tracy
331952550c Modal Bugfixes (#25101)
- fixes an issue with the keyboard not properly opening the multiselect
- Adds missing aria-label
- properly disables "clear all" on multiselect when theres an error
2020-09-25 15:27:14 -04:00
Tim McCormack
705ad07524 A few other "metric" names in files touched in previous renaming PRs 2020-09-25 19:11:30 +00:00
Robert Raposa
1cc4ae2080 ARCHBOM-1339: add ADRs for extracting waffle_utils (#24798)
- Add ADR for the extraction of waffle_utils to
edx-toggles to reuse across IDAs.
- Add ADR for temporarily leaving CourseWaffleFlag
in edx-platform in order to simplify extraction.
- Add ADR for simplifying the interface for
WaffleFlag and WaffleSwitch by removing the
Namespace classes.

ARCHBOM-1339

Co-authored-by: Feanil Patel <feanil@edx.org>
2020-09-25 15:02:46 -04:00
Calen Pennington
a04690d051 Increase the mongo query count by one because edxnotes has been turned back on, and it loads the course from the modulestore as part of get_html 2020-09-25 14:13:30 -04:00
Kyle McCormick
ef845ebc43 Fully qualify remaining edxnotes imports 2020-09-25 14:13:30 -04:00
Kyle McCormick
ddae9e02ab Use fully-qualified edxnotes app name when checking if installed 2020-09-25 14:13:30 -04:00
Troy Sankey
92cf17b95b Merge pull request #25088 from edx/pwnage101/course-id-list-view-bypass-has-access
Bypass calls to has_access() when listing courses
2020-09-25 13:52:59 -04:00
Robert Raposa
326372f518 Merge pull request #25082 from edx/robrap/ARCHBOM-1495-custom-metric-rename
ARCHBOM-1495: replace deprecated RequestMetricsMiddleware
2020-09-25 13:48:33 -04:00
Troy Sankey
dded86d2ae Change subquery to JOIN in list_course_keys API 2020-09-25 12:54:37 -04:00
Robert Raposa
3136a3192c Merge pull request #25096 from edx/robrap/remove-flaky-login-ratelimit-test
remove flaky test_login_ratelimited
2020-09-25 12:14:40 -04:00
Troy Sankey
83a0327b92 Also exclude libraries from the list_course_keys API 2020-09-25 11:53:35 -04:00
Robert Raposa
9c6ee54258 remove flaky test_login_ratelimited 2020-09-25 11:24:47 -04:00
Troy Sankey
e3cd6d55c4 Bypass calls to has_access() when listing courses
When listing courses for which a user has "staff" level access, bypass
calls to has_access() and use a hopefully more performant and simpler
access pattern that uses only a single ORM query and far less processing
per course.

Caution: this short-circuit implementation does not handle org-level
access grants.
2020-09-25 10:44:03 -04:00
Robert Raposa
04560b5ec6 replace deprecated RequestMetricsMiddleware
Replace deprecated RequestMetricsMiddleware with
renamed version RequestCustomAttributesMiddleware.

ARCHBOM-1495
2020-09-25 09:37:45 -04:00
Justin Hynes
133e616d4d Merge pull request #25083 from edx/jhynes/microba-595_work_status_default
MICROBA-595 | Add default option to work status choices
2020-09-25 09:35:03 -04:00
Fox Piacenti
7bc10e0464 Adjustments to library user access API endpoints required by frontend needs. (#24919) 2020-09-25 09:33:32 -04:00
edX requirements bot
a96a23ef94 Updating Python Requirements (#25090) 2020-09-25 13:40:07 +05:00
Justin Hynes
055595e39e MICROBA-595 | Add default option to work status choices
[MICROBA-595]
- Add default option to work status choices
2020-09-24 15:30:35 -04:00
Kyle McCormick
31a4b761ad Lower 'Mismatch between the children...' message to DEBUG level (#25065)
This message comes from the content library block transformer,
and has been filling up our logs at a rate of 250k instances/hr.

Since we don't need to see this log message in production any more,
we are lowering it to the DEBUG level.
2020-09-24 09:13:48 -04:00
Awais Qureshi
d2f2a2918e Merge pull request #25071 from edx/jenkins/upgrade-python-requirements-dc230bc
Python Requirements Update
2020-09-24 16:10:26 +05:00
Nadeem Shahzad
813763c766 Merge pull request #25072 from edx/nadeem/psre-248
update db dump github action (PSRE-248)
2020-09-24 14:15:34 +05:00
Alan Evangelista
b9559fc934 Move Celery check task to the high priority queue
Currently, LMS uses 3 Celery workers: lms_default_1, lms_high_1 and
lms_high_mem_1. Each Celery worker sends messages to a single queue:
edx.core.default, edx.core.high and edx.core.high_mem, respectively.
The number of child processes per Celery worker is set to 1. Due to
this configuration, any task in a queue blocks all other tasks.

Currently, the Celery check task submitted by the /heartbeat?extended
LMS HTTP API endpoint runs in the default queue. When some slow task
(eg course grades creation) is sent to the default queue, it will
block the Celery check task, which will expire and the heartbeat endpoint
will fail. This patch moves the task to another queue which has
only shorter tasks and in which this problem will not occur.

Use a Django setting for the Celery check task routing key so that
it can be overriden by individual OpenEDX instances via JSON
env files.
2020-09-24 01:27:08 -07:00