- Sep 21, 2020
-
-
Alex Dusenbery authored
Ensure that get_enterprise_learner_portal_enabled_message() returns None when there is no associated enterprise customer for the given request. Add unit tests for this function.
-
- Sep 18, 2020
-
-
Alex Dusenbery authored
ENT-3367 | Show at most 1 Enterprise Learner Portal dashboard link in the header user-menu. Also, guard against no branding config when getting learner portal data.
-
- Sep 17, 2020
-
-
HammadAhmadWaqas authored
catch signal UNENROLL_DONE signal and call /api/v2/enterprise/coupons/create_refunded_voucher/ API.
-
- Sep 14, 2020
-
-
Régis Behmo authored
Instead of going up the stacktrace to find the module names of waffle flags and switches, we manually pass the module __name__ whenever the flag is created. This is similar to `logging.getLogger(__name__)` standard behaviour. As the waffle classes are used outside of edx-platform, we make the new module_name argument an optional keyword argument. This will change once we pull waffle_utils outside of edx-platform. Note that the module name is normally only required to view the list of existing waffle flags and switches. The module name should not be necessary to verify if a flag is enabled. Thus, maybe it would make sense to create a `add` class methor similar to: class WaffleFlag: @classmethod def add(cls, namespace, flag, module): instance = cls(namespace, flag) cls._class_instances.add((instance, module))
-
- Aug 12, 2020
-
-
Brittney Exline authored
-
- Aug 04, 2020
-
-
Alex Dusenbery authored
ENT-2892 | Bump edx-enterprise to 3.4.36. This version removes some model field references, but does not create a migration, to the test to check that migrations are in sync has been skipped here.
-
- Jul 30, 2020
-
-
Jeff LaJoie authored
-
Adam Stankiewicz authored
* fix keyerror with request.session * improve the conditional
-
- Jul 29, 2020
-
-
Jeff Chaves authored
* display message banner guiding user to their enterprise LP if enabled * adding new sass class name to use same styling as recovery email alert
-
- Jul 24, 2020
-
-
Jeff Chaves authored
* using new welcome template when redirected from enterprise proxy login view * enabling safe redirects to enterprise learner portal from login in devstack * ading admin portal to login redirect whitelist * running make upgrade to version bump edx-enterprise
-
- Jul 17, 2020
-
-
Jeff LaJoie authored
-
- Jul 15, 2020
-
-
Binod Pant authored
* ENT-3007 auth/saml/v0/saml/providerdata and auth/saml/v0/saml/providerconfig endpoints Move code to subfolder for samlproviderconfig extra comma undo accidental remove of import GET works for a single config now Use ModelViewSet to get all CRUD method. Test still fails Add auth/saml/v0/providerdata endpoints fixup reverse and test issue, remove leading caret just triggering run, why is it failing in CI? pycodelint fixes Skip auth tests unless feature is on Tests for post/put for samlproviderdata move urls to their own folders api tests for post samlprovierconfig create 1 providerconfig test case lint fixes lint lint cleanup code local urls /samlproviderconfig works note needed right now Fix import errors lint unused import wip: first attempt at rbac auth and jwt cookie in test round 2 with enterprise uuid as url param for samlproviderconfig improve tests, still dont pass fix test by using system role, wip other test fix create test add get/post tests for providerdata isort fixes string lint fix Cleanup based on feedback round1 move utils to tests package Move util fn to openedx.feature area lint ENT-3007 : Round 2 of work on auth/saml/v0/providerconfig and auth/saml/v0/providerdata endpoints * Fix test issue use string uuid for permission obj * snake case changes provider_config * snake case * provider_data, tests and lint * patch and delete tests for providerdata * snake_case * snake_case * snake_case * make patch test stronger * 404 if invalid uuid for get param * common util for validate uuid4 * unused import * lint fixes for pycodestyle * 400 when uuid is missing * 400 instead of 404 for missing uuid * spell fix * update docstring for api usage * docstring clarify
-
- Jul 10, 2020
-
-
Feanil Patel authored
Revert "ENT-3007 : Add auth/saml/v0/providerconfig|data CRUD endpoints for use in admin portal (#24298)" This reverts commit 96ddcdc2.
-
Binod Pant authored
* Add auth/samlproviderconfig CRUD endpoints for use in admin portal Fixes: ENT-3007 * Move code to subfolder for samlproviderconfig * extra comma * undo accidental remove of import * GET works for a single config now * Use ModelViewSet to get all CRUD method. Test still fails * Add auth/saml/v0/providerdata endpoints * fixup reverse and test issue, remove leading caret * just triggering run, why is it failing in CI? * pycodelint fixes * Skip auth tests unless feature is on * Tests for post/put for samlproviderdata * move urls to their own folders * api tests for post samlprovierconfig * create 1 providerconfig test case * lint fixes * lint * lint * cleanup code local urls /samlproviderconfig works * note needed right now * Fix import errors * lint * unused import * wip: first attempt at rbac auth and jwt cookie in test * round 2 with enterprise uuid as url param for samlproviderconfig * improve tests, still dont pass * fix test by using system role, wip other test * fix create test * add get/post tests for providerdata * isort fixes * string lint fix * Cleanup based on feedback round1 * move utils to tests package * Move util fn to openedx.feature area * lint * lint fix * remove unused import
-
- Jun 29, 2020
-
-
Mike O'Connell authored
When checking if consent is needed, ignore any enterprise learner details that are not for the learner's currently active enterprise. ENT-3049
-
- Jun 24, 2020
-
-
muhammad-ammar authored
ENT-2998
-
- Jun 19, 2020
-
-
Manjinder Singh authored
-
- May 28, 2020
-
-
hasnain.naveed authored
-
- May 01, 2020
-
-
Aarif authored
-
- Apr 20, 2020
-
-
HammadAhmadWaqas authored
-
- Apr 13, 2020
-
-
HammadAhmadWaqas authored
-
- Apr 08, 2020
-
-
Aarif authored
-
- Apr 06, 2020
-
-
zia.fazal@arbisoft.com authored
Improved enterprise target regex to include missing /enterprise/handle_consent_enrollment/{uuid}/course/ endpoint. ENT-2710
-
- Apr 03, 2020
-
-
HammadAhmadWaqas authored
-
- Feb 26, 2020
-
-
HammadAhmadWaqas authored
-
- Feb 14, 2020
-
-
zia.fazal@arbisoft.com authored
Stop showing hitting enterprise API when request is originated as result of 404 error. fixed quality violations Removed line break add unit tests Updated test docstring
-
- Jan 07, 2020
-
-
hasnain.naveed authored
Only add `PATH_INFO` to log removed METH from label too
-
- Jan 02, 2020
-
-
Christian Clauss authored
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
-
- Jan 01, 2020
-
-
Zaman Afzal authored
-
- Dec 30, 2019
-
-
Feanil Patel authored
-
Feanil Patel authored
This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
-
-
Zaman Afzal authored
-
- Dec 02, 2019
-
-
Zia Fazal authored
-
- Nov 27, 2019
-
-
Zia Fazal authored
-
- Nov 22, 2019
-
-
Zaman Afzal authored
This reverts commit 439e4b41.
-
Zaman Afzal authored
* ENT-2454 Modify third party auth pipeline to update user enterprise
-
- Nov 19, 2019
-
-
Zia Fazal authored
EnterpriseMiddleware set value of user's enterprise customer in session. In order to get value of enterprise customer it calls `enterprise/api/v1/enterprise-learner` API. Sometimes this middleware is called many times which result in many call to the under lying API and throttling of API causes 429 http errors. We are not removing that middleware and storing value of user's enterprise customer in session inside underlying method. ENT-1849 Removed pdb statement
-
- Nov 14, 2019
-
-
Manjinder Singh authored
These tests fail intermittently. The related jira ticket to remove flaky test can be found at: https://openedx.atlassian.net/browse/ENT-2479 The tests fail with error log output of: SafeCookieData BWC parse error: 'm3i1v99yuohzsbyjhfp4i9nktjrq4i05' The error seems to be something to do with safe_cookie_string
-
- Nov 11, 2019
-
-
Zia Fazal authored
Added caller in to the exception message to debug ENT-1849 Replaced `get_enterprise_learner_data` method call with `enterprise_customer_for_request` to get enterprise customer data from cache or session instead of hitting API.
-