Commit Graph

56267 Commits

Author SHA1 Message Date
muhammad-ammar
f0aae8ecf5 * update DSC needed cache key to invalidate existing stored values
* refactor DSC logs

ENT-3494
2020-11-04 17:52:02 +05:00
adeel khan
7cd9c6652a Merge pull request #25476 from edx/adeel/van_98_update_confirm_password_url_domain
Adds Logistration MFE url for forgot password email.
2020-11-03 13:40:03 +05:00
Usama Sadiq
028be7ebdf Merge pull request #25508 from edx/jenkins/upgrade-python-requirements-dbf6ef2
Python Requirements Update
2020-11-03 11:41:28 +05:00
edX requirements bot
0f39482e54 Updating Python Requirements 2020-11-02 23:55:45 -05:00
Mike OConnell
dbf6ef22df Using logging filters from edx-django-utils (#25492)
The UserIdFilter and RemoteIpFilter logging filter classes
were moved from edx-platform to edx-django-utils for more
distributed use. This updated removes those classes from
edx-platform, and references their counterparts in
edx-django-utils.

ENT-3494
2020-11-02 21:40:59 -05:00
Robert Raposa
acd84598c9 Merge pull request #25504 from edx/robrap/ARCHBOM-1584-fix-monitoring-references
ARCHBOM-1584: remove internal references to edx_django_utils from tests
2020-11-02 18:12:12 -05:00
Robert Raposa
39a7c6498c remove internal references to edx_django_utils
Tests were referring to internal implementation
details of edx-django-utils. This comment removes
those references to free the library up to be
refactored.

ARCHBOM-1584
2020-11-02 16:46:11 -05:00
Ned Batchelder
57d33f17e8 Merge pull request #25496 from edx/nedbat/https-openedx
Use https for open.edx.org links
2020-11-02 14:55:01 -05:00
Muhammad Ammar
c4468b5aee Merge pull request #25502 from edx/ammar/convert-to-str-before-comparision
convert enterprise customer uuid to str before comparison
2020-11-03 00:48:16 +05:00
muhammad-ammar
2cc0688e1c convert enterprise customer uuid to str before comparison
ENT-3494
2020-11-03 00:20:05 +05:00
Thomas Tracy
5e0ae6bf0c Remove modal flag from code (#25482) 2020-11-02 13:17:07 -05:00
Ned Batchelder
21d7e6f3b2 Use https for open.edx.org 2020-11-02 11:29:03 -05:00
Muhammad Ammar
80ab601fb0 Merge pull request #25501 from edx/ammar/more-logs-for-dsc
more logs for data sharing consent
2020-11-02 21:00:06 +05:00
muhammad-ammar
5f04fd35a0 more logs for data sharing consent
ENT-3494
2020-11-02 20:24:44 +05:00
Jansen Kantor
dbe96cff8c downgrade ORA (#25499) 2020-11-02 09:16:01 -05:00
Dillon Dumesnil
9ebcf32113 Merge pull request #25485 from edx/ddumesnil/weekly-highlights-error-logging-aa-393
AA-393: Update Next Section Logic
2020-11-02 05:36:33 -08:00
Zaman Afzal
94e051d8d8 Upgrade edx-enterprise 3.10.1 version (#25495) 2020-11-02 16:28:01 +05:00
edX requirements bot
8fea5971f8 Updating Python Requirements (#25493) 2020-11-02 12:21:52 +05:00
Ned Batchelder
b408d032e4 Merge pull request #25457 from regisb/regisb/squash-lmsinitialization-warning
Squash lms_initialization deprecated import warning
2020-10-30 17:09:09 -04:00
Dillon Dumesnil
6b16fcd9b3 AA-393: Update Next Section Logic
Inside content_highlights.py, we had code to calculate due dates
for when there isn't graded content, but we could only reach that
code path if the user had an assignment with a due date at the
target date. Now we will check for all learners who could be in
range of having an update and let the code in content_highlights.py
decide if a highlight should be sent
2020-10-30 15:02:03 -04:00
Binod Pant
6dcb0fdb81 enterprise 3.10.0 (#25489) 2020-10-30 13:50:37 -04:00
Jansen Kantor
f41f4f7efd downgrade ora to 2.10.3 (#25487) 2020-10-30 11:12:26 -04:00
Kyle McCormick
854502b560 Re-generate import_shims modules for cms/djangoapps
Command:
import_shims/generate_shims.sh cms/djangoapps import_shims/studio
2020-10-30 10:20:48 -04:00
Kyle McCormick
14708147af Re-generate import_shims modules for lms/djangoapps
Command:
import_shims/generate_shims.sh lms/djangoapps import_shims/lms
2020-10-30 10:20:48 -04:00
Kyle McCormick
675497be02 Move sys_path_hacks modules to import_shims 2020-10-30 10:20:48 -04:00
Kyle McCormick
630d30563a Silence DeprecatedEdxPlatformImportWarning by default 2020-10-30 10:20:48 -04:00
Kyle McCormick
090e10683c Rename sys_path_hacks/ to import_shims/
The old folder name is somewhat confusing, because the
folder contains shims to _compensate for the removal
of sys.path hacks_, but does not contain the sys.path
hacks themselves.

Furthermore, this import_shims/ system could also be
used for other import path changes, such as turning
the locally-installed packages in common/lib/
into regular, importable modules
(e.g. `from common.lib.xmodule import abc` instead of
`from xmodule import abc`). So, a name that is not
specific to the sys.path hacks may be better
in the medium-to-long term.

Along the same lines, we also rename SysPathHackWarning
to DeprecatedEdxPlatformImportWarning.
2020-10-30 10:20:48 -04:00
Tim McCormack
644963255c Move toggle annotation invocation to a Jenkins job (#25484)
There wasn't any reason for this to be in edx-platform in particular.

See https://github.com/edx/jenkins-job-dsl-internal/pull/444 -- we can
run `make requirements; pip install -e .` in a code-annotations
virtualenv and point it at each IDA in turn to generate reports for all of them.

ARCHBOM-1583
2020-10-30 13:35:45 +00:00
Robert Raposa
0cc46ca5b0 Merge pull request #25332 from regisb/regisb/use-settingdict
[BD-21] Use edx-toggle's SettingDictToggle to document setting-based feature toggles
2020-10-30 08:59:38 -04:00
Robert Raposa
759cbe2910 Merge pull request #25286 from regisb/regisb/extract-waffle-utils
[BD-21] Move waffle_utils from edx-platform to edx-toggles
2020-10-30 08:50:04 -04:00
edX requirements bot
db50766181 Updating Python Requirements (#25486) 2020-10-30 14:33:27 +05:00
Régis Behmo
312f0cd749 Fix error in toggle state endpoint in the absence of module_name
When module_name is None, the call to edx-django-utils'
get_code_owner_from_module crashes. So we avoid making that call when
the module_name is None, which sometimes happens (for good reasons or
not, but it's valid behaviour).
2020-10-29 22:59:53 +01:00
Régis Behmo
373ee5f320 Ensure compatibility with edx-toggles despite upcoming breaking changes
edx-toggles==2.0.0 is likely to suppress namespace objects for the
management of toggle objefcts. We explicitely prevent this by adding a
requirement constraint.
2020-10-29 22:59:53 +01:00
Régis Behmo
a27499830c Add deprecation warning comments to waffle_utils code 2020-10-29 22:59:53 +01:00
Régis Behmo
98ffa347d5 Fix waffle_utils unit tests 2020-10-29 22:59:53 +01:00
Régis Behmo
e5500b34a0 Backport override features from edx-toggles to waffle_utils
Note that those features are destined to be deprecated, eventually.
2020-10-29 22:59:52 +01:00
Régis Behmo
db5feec4cf Move waffle_utils/testutils.py to edx-toggles 2020-10-29 22:59:52 +01:00
Régis Behmo
58043727d5 [BD-21] Migrate waffle flag classes to edx-toggles
The same API is preserved, internally, to avoid many changes across the
edx-platform codebase (for now).
2020-10-29 22:59:52 +01:00
Régis Behmo
474da0c5a5 Refactor WaffleFlag and WaffleFlagNamespace internal API
This simplifies the internals of the waffle flag classes in order to
better move them to edx-toggles later.
2020-10-29 22:59:52 +01:00
Régis Behmo
24cf0543f3 [BD-21] Migrate WaffleSwitch to edx-toggles
This makes this class reusable by other IDAs.
2020-10-29 22:59:52 +01:00
Régis Behmo
14cb7b6056 Add a make target to compile requirements (without upgrade)
I grew tired of modifying the Makefile to compile requirements without
upgrading them. Also, installing pip-tools should not be part of the
compile-requirements target, so a separate target was created.
2020-10-29 22:59:52 +01:00
Albert (AJ) St. Aubin
72aa58406b [MICROBA-676] Changes to the notify_credentials task to filter on username 2020-10-29 15:11:09 -04:00
Jansen Kantor
7d40793967 management command to create test users (#25449) 2020-10-29 14:55:52 -04:00
Jansen Kantor
1a1c04e28a upgrade ora to 2.11.3 (#25469)
* upgrade ora to 2.11.3
2020-10-29 14:53:51 -04:00
Feanil Patel
8cd544b8ec Put settings import back because it's used here. (#25481)
But change the order so that celery is loaded first.
2020-10-29 13:48:53 -04:00
Muhammad Ammar
3cee4b81ab Merge pull request #25452 from edx/mammar/add-logging-for-dsc
add log to get insights about why data sharing consent is not required
2020-10-29 22:46:32 +05:00
Aarif
1a31236404 updated config to use mysql 5.7 container (#25362) 2020-10-29 21:51:39 +05:00
muhammad-ammar
1374586719 upgrade edx-enterprise to 3.9.11 2020-10-29 21:38:23 +05:00
muhammad-ammar
b8a315933f add log to get insights about why data sharing consent is not required 2020-10-29 20:57:27 +05:00
Jeremy Bowman
efc04e3399 Remove notifier_api app DEPR-111 (#25464)
Part of the notifier service deprecation (DEPR-106).

Also removed pdfminer from the package uninstall list, since we no longer install the package it conflicts with either.
2020-10-29 11:17:23 -04:00