Michael Terry
b2ba363f1e
Merge pull request #25503 from edx/mikix/parent-access
...
AA-408: Treat group_access as inheritable in gating transformer
2020-11-06 11:40:58 -05:00
Robert Raposa
fe9395bd7a
Merge pull request #25538 from regisb/regisb/improve-waffle-tests
...
[BD-21] Improve waffle_utils tests to not rely on internal API
2020-11-06 08:58:18 -05:00
Adeel Ehsan
0d9236524d
Merge pull request #25398 from edx/aehsan/van-6/added_params_in_register_api
...
Added next and cours_id params in register endpoint
2020-11-06 18:15:09 +05:00
adeelehsan
8be2283aef
Added next and cours_id params in register endpoint
...
VAN-6
2020-11-06 17:41:11 +05:00
Régis Behmo
19ff82a3da
Improve waffle_utils tests to not rely on internal API
...
This is required for a smooth upgrade of edx-toggles.
2020-11-06 12:11:52 +01:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Michael Terry
f2d4e0ccec
AA-408: Treat group_access as inheritable in gating transformer
...
ContentTypeGateTransformer was not considering parent values of
'group_access' when providing its own default value for it.
Also fix a few minor bugs around the place.
2020-11-05 15:27:46 -05:00
Robert Raposa
061d5d8fc5
Merge pull request #25529 from regisb/regisb/better-waffle-deprecation-monitoring
...
[BD-21] Improve monitoring of waffle deprecation with custom attributes
2020-11-05 15:09:54 -05:00
Muhammad Soban Javed
bfa8f71f33
Update routing config #25419
2020-11-06 01:00:29 +05:00
Zainab Amir
97e9fee92e
Add third party auth context api ( #25497 )
2020-11-05 19:26:29 +05:00
Régis Behmo
b32fc50947
Improve monitoring of waffle deprecation with custom attributes
...
We observe a lot of deprecation warnings using the
"deprecated_waffle_utils" custom attribute. To make it easier to track
these items, we add the waffle flag/namespace name to the custom
attribute.
2020-11-05 08:36:03 +01:00
Nizar Mahmoud
3a46e7c5f5
Squashes waffle_utils.WaffleFlag deprecation warning
2020-11-05 02:00:33 +03:00
Régis Behmo
da0623107c
Expose SettingToggle and SettingDictToggle objects in the API
...
Note that settings for which a corresponding SettingToggle or
SettingDictToggle exists are no longer exposed in the "django_settings"
list of the API.
2020-11-04 15:53:48 +01:00
Sarina Canelake
18059c20e7
Merge pull request #25505 from edx/sarina/gender-neutral-language
...
Change gendered language to gender-neutral 'they/them/their'
2020-11-03 16:16:59 -05:00
Régis Behmo
c9c1136459
Re-introduce waffle classes (with deprecation warnings)
...
This is for backward compatibility.
2020-11-03 19:25:37 +01:00
Régis Behmo
b70042435a
Deprecate waffle_utils.testutils.override* functions
...
These functions should from now on be imported from
edx_toggles.toggles.testutils.
2020-11-03 19:25:37 +01:00
Régis Behmo
4586002956
Import waffle classes from edx_toggles instead of waffle_utils
...
Those classes were ported to edx_toggles. The imports remain in
waffle_utils.__init__ for backward compatibility.
2020-11-03 19:25:37 +01:00
Régis Behmo
3b127f8c92
Deprecate WaffleSwitch.override* methods
...
This allows us to get rid of the custom WaffleSwitch and
WaffleSwitchNamespace classes from waffle_utils in favour of
edx_toggles.toggles classes.
2020-11-03 19:25:37 +01:00
Régis Behmo
2307dff4c9
Deprecate WaffleFlag.override method
...
This allows us to get rid of waffle_utils' custom WaffleFlag method.
2020-11-03 19:25:37 +01: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
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
sarina
f414fad0cc
Change gendered language to gender-neutral 'they/them/their'
2020-11-02 18:23:13 -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
Soban Javed
3206d9cb9a
Update celery routing
...
- Used routing function istead of class
- Move task queues to Djano settings
- Removed routing_key parameter
2020-11-02 15:03:53 +05: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
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
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
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
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
Adeel Khan
d61936fdb6
Adds Logistration MFE url for forgot password email.
...
This patch would enable routing learner to logistration MFE
via forgot password url than on platform when
ENABLE_LOGISTRATION_MICROFRONTEND feature flag is set.
VAN-98
2020-10-29 16:25:20 +05:00
Régis Behmo
87b5463d42
Use SettingDictToggle to document ENTRANCE_EXAMS
2020-10-29 11:11:02 +01:00
Albert (AJ) St. Aubin
69a63380c2
Adding in a call to send Program award events to Credentials in
...
management command
2020-10-28 19:41:32 -04:00
Dillon Dumesnil
ff478fd12d
Merge pull request #25470 from edx/ddumesnil/weekly-highlights-error-logging-aa-393
...
AA-393: Add additional logging to CourseNextSectionUpdate
2020-10-28 14:49:52 -07:00
Dillon Dumesnil
96e83de1e5
AA-393: Add additional logging to CourseNextSectionUpdate
...
We have some helpful exception messages, but then we swallow them
and only log a generic message. Now we will log both!
2020-10-28 17:12:33 -04:00
Michael Terry
94e075c440
Merge pull request #25439 from edx/mikix/verified-mode-mfe
...
AA-197: Provide cert upgrade info to learning MFE
2020-10-27 10:34:38 -04:00
Michael Terry
a4bd5a7ec9
AA-197: Provide cert upgrade info to learning MFE
...
Specifically, pass the MFE the audit access expiration date and
let it know when the upgrade deadline has passed, by not passing
any verified mode information along.
2020-10-27 09:05:12 -04:00
David Ormsbee
ab622d2bf8
Reduce noise in CourseOverview->Modulestore fallback ( #25434 )
...
This was originally intended as a placeholder to remind us to
optimize the data model for sequence metadata API calls (say
by adding those fields to the CourseOverview model itself).
Logging a quarter million messages a day is overkill for this
purpose, and we will be doing another pass at the performance of
this code in the coming weeks/months.
2020-10-26 10:27:14 -04:00
Adeel Khan
2bc746a0a0
Adds forgot password functionality for secondary email.
...
VAN-18
2020-10-24 22:00:12 +05:00
Albert (AJ) St. Aubin
8cef028429
Update the award_program_cert task to fix celery registration
...
[MICROBA-676]
2020-10-23 17:08:34 -04:00
Fox Piacenti
c181ed57b1
Add ability to filter library blocks by type. Prevent changing types with unpublished changes. ( #25368 )
...
Adds the ability to filter v2 library blocks by block type. Also prevents switching the library type when there are unpublished changes/deletes, as this may cause consistency errors.
2020-10-23 10:50:28 -04:00
Zainab Amir
49ea5f5188
Update logistration MFE feature flag ( #25356 )
...
update logistration MFE feature flag to not be used in conjunction
with Accounts MFE toggle.
VAN-11
2020-10-23 12:11:56 +05:00
Saleem Latif
43d0a67fa1
Request for field to specify locale in Django enterprise accounts
2020-10-20 17:56:22 +05:00
Dillon Dumesnil
b6dbbb6f83
Merge pull request #25346 from edx/ddumesnil/add-cert-to-linkedin-aa-385
...
AA-385: Add in LinkedIn Add to Profile to courseware meta API
2020-10-19 07:31:26 -07:00