Commit Graph

55049 Commits

Author SHA1 Message Date
alangsto
7ea9714a33 Updated URLs to course-authoring MFE (#24468)
* updated urls to course-authoring MFE

* updates for requested changes

* updated for pylint errors
2020-07-13 16:10:48 -04:00
Sid Verma
c609451d2e [BD-14] Limit number of blocks allowed in content libraries (#24276)
* Enforce limit on number of blocks allowed in library (blockstore)

* Enforce limit on number of blocks allowed in library (modulestore)

* Changes from review feedback
2020-07-13 15:49:47 -04:00
David Ormsbee
6759ccc8cd Merge pull request #24396 from open-craft/patrick/BB-2672-tnl-7260-course-outline-api-hide-after-due
[BD-29] TNL-7260 LearningSequences Course Outline makes sequences with hide_after_due inaccessible after due date
2020-07-13 12:46:41 -04:00
Matt Drayer
17ba9b077a Update edx-enterprise to 3.3.21 (#24446) 2020-07-13 12:16:43 -04:00
Dillon Dumesnil
b479d511b7 Merge pull request #24424 from edx/ddumesnil/aa-226
AA-226: Adding Authentication classes to endpoints for mobile use
2020-07-13 08:19:52 -07:00
Dillon Dumesnil
b6967e96cf Merge pull request #24443 from edx/ddumesnil/hide-dates-tab-unenrolled-aa-219
AA-219: Dates Tab behavior improvements
2020-07-13 07:31:29 -07:00
taliaedX
74730ef7c9 Merge pull request #24439 from edx/trhodes/07092020requirements_bump
update to new edx-enterprise version
2020-07-13 10:22:34 -04:00
Feanil Patel
a5b42cfc96 Merge pull request #24469 from edx/revert-24452-lmm/bump_codejail
Revert "[BD-6] Upgrade packages [codejail]"
2020-07-13 09:26:32 -04:00
Feanil Patel
0a582ff1c5 Revert "[BD-6] Upgrade packages [codejail]" 2020-07-13 09:25:21 -04:00
Aura Milena Alba
ee3f612382 Remove pattern library of course_search.py (#24173)
[BD-10] [DEPR-72] Remove pattern library of course_search.py
2020-07-13 09:11:03 -04:00
Patrick Cockwell
58789e0f99 TNL-7260 Learning Sequences Course Outline makes sequences with hide_after_due inaccessible after due date 2020-07-13 13:55:50 +07:00
edX Transifex Bot
c53755487d fix(i18n): update translations 2020-07-12 17:36:47 -04:00
Robert Raposa
306af0cd15 add isort constraint (#24457)
isort 5.0.0 dropped support for Python 3.5.
2020-07-10 17:08:28 -04:00
Talia
34f8954145 update to new edx-enterprise version 2020-07-10 14:59:33 -04:00
David Ormsbee
3b6965599c Merge pull request #23910 from open-craft/samuel/fix-get-video-subs
SE-2589 fix AttributeError: 'LibraryLocatorV2' object has no attribute 'make_asset_key'
2020-07-10 14:59:30 -04:00
Feanil Patel
ec2369d88f Merge pull request #24453 from edx/revert-24298-bpant/ENT-3007-api-endpoints-for-samlprovider
Revert "ENT-3007 : Add auth/saml/v0/providerconfig|data CRUD endpoints for use in admin portal"
2020-07-10 14:36:30 -04:00
David Ormsbee
4fc481909e Merge pull request #24218 from open-craft/symbolist/word-cloud-block
[BD-4] Convert WordCloud XModule into WordCloud XBlock. [SE-2722]
2020-07-10 13:39:27 -04:00
Feanil Patel
5470ce5805 Revert "ENT-3007 : Add auth/saml/v0/providerconfig|data CRUD endpoints for use in admin portal (#24298)"
This reverts commit 96ddcdc288.
2020-07-10 13:38:30 -04:00
Feanil Patel
ea31525df4 Merge pull request #24452 from eduNEXT/lmm/bump_codejail
[BD-6] Upgrade packages [codejail]
2020-07-10 13:15:24 -04:00
Matthew Carter
b0925fcc31 Merge pull request #24318 from edx/mattcarter/EDUCATOR-5088
ensure anonymous_id is persisted for each team member in a team
2020-07-10 12:53:30 -04:00
Binod Pant
96ddcdc288 ENT-3007 : Add auth/saml/v0/providerconfig|data CRUD endpoints for use in admin portal (#24298)
* 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
2020-07-10 11:23:13 -04:00
Ubuntu
755d721349 Bump codejail version 2020-07-10 15:15:22 +00:00
Feanil Patel
a9c03478ba Merge pull request #24450 from edx/revert-24445-jenkins/upgrade-python-requirements-0e2b612
Revert "Python Requirements Update"
2020-07-10 10:38:59 -04:00
Dillon Dumesnil
be346499da AA-219: Dates Tab behavior improvements
This switches the Dates Tab to be an enrolled tab allowing only
enrolled learners to view. Additionally, it will now redirect
logged out learners to the login page if they hit the Dates Tab directly.
2020-07-10 07:08:07 -07:00
Feanil Patel
2e0e2ef80c Revert "Python Requirements Update" 2020-07-10 09:59:38 -04:00
Tim McCormack
87edb542b1 Delete flaky test according to process (#24441)
https://openedx.atlassian.net/browse/CR-2425 for re-evaluating it
2020-07-10 13:39:13 +00:00
Feanil Patel
9bb9d655ec Merge pull request #24438 from edx/feanil/fix_url_link_map_logic_archbom-1336
Correct logic on building marketing links.
2020-07-10 09:26:49 -04:00
adeelehsan
a26b9317db Merge pull request #24418 from edx/aehsan/prod-674/get_useremail_from_request_session
Get user email from request
2020-07-10 18:06:03 +05:00
Michael Terry
7a0ae455f7 Merge pull request #24442 from edx/mikix/update-when
Bump edx-when to 1.2.9
2020-07-10 08:53:18 -04:00
Aarif
bf4ea104c0 Python Requirements Update (#24445) 2020-07-10 17:06:32 +05:00
adeelehsan
b26f26e993 Get user email from request
PROD-674
2020-07-10 16:50:05 +05:00
edX requirements bot
98e606d23b Updating Python Requirements 2020-07-10 07:29:40 -04:00
Michael Terry
6ff23be320 Bump edx-when to 1.2.9
This prevents seeing due dates for enrollments originally created
too close to the course end to allow for finishing the course in time.

AA-195
2020-07-09 16:20:15 -04:00
Feanil Patel
4ac2c5e92b Correct logic on building marketing links.
The logic used to has a special case for edge in the hostname which
didn't really make sense. So instead we just check to see if the given
url starts with http and if it does we return it directly.  If it doesn't,
then we try to convert it to a valid url and return that.  If that fails
we return .

Add a new custom metric `unresolved_marketing_link` to track when we
run into this scenario.
2020-07-09 15:09:38 -04:00
Mat Carter
5a90bf7f40 EDUCATOR-5088 - updated test to ensure record is stored. 2020-07-09 14:24:19 -04:00
Mat Carter
b386f0a25e ensure anonymous_id is persisted for each team member in a team 2020-07-09 14:24:19 -04:00
Alex Dusenbery
0e2b612c1f Update edx-enterprise to 3.3.18 2020-07-09 11:17:25 -04:00
Dillon Dumesnil
b3b812186e Merge pull request #24434 from edx/ddumesnil/complete-field-date-block
Adding in missing field to the DateSummarySerializer
2020-07-09 07:28:26 -07:00
Felipe Montoya
72483a0f66 Merge pull request #24379 from eduNEXT/lmm/ratelimit
[BD-6] Use PyPi release of django-ratelimit
2020-07-09 09:23:03 -05:00
alangsto
90d6b18711 Add link to exam settings page from studio (#24405)
* testing

* updates to drop down

* unit tests. env changes were copied based on other MFEs in LMS

* added exam settings link to other course settings pages

* fixed pylint errors

* updates for requested changes

* updates for requested changes, as well as changes for xss linter
2020-07-09 10:13:18 -04:00
Feanil Patel
39dcd80211 Merge pull request #24428 from edx/feanil/404-on-not-found
If this reverse failed, it was throwing a 500.
2020-07-09 09:57:21 -04:00
Dillon Dumesnil
1abfb98cab Adding in missing field to the DateSummarySerializer 2020-07-09 06:53:11 -07:00
Robert Raposa
77e490f057 ARCHBOM-1305: remove deprecated flag_undefined_default (#24426)
This is the final step in removing the deprecated
flag_undefined_default as explained by the following ADR:
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst

Notes:

* All uses of flag_undefined_default=False were always
  supposed to have been no-ops.
* All uses of flag_undefined_default=True that are removed
  in this PR have been replaced by migrations in past PRs.
* The temporary metric temp_flag_default_used id no longer
  reporting any data.

ARCHBOM-1305
2020-07-09 09:31:31 -04:00
JJ
36e07f6be8 [REV-1205] Add ecommerce event tracking to course dashboard upgrade button (#24338)
Create a Javascript function to log upsell events to & attach the eventing to the course dashboard upsell button. The revenue squad is looking for more insight into which buttons users are clicking to get to the checkout page.
2020-07-09 09:28:03 -04:00
Awais Jibran
b30635af83 Merge pull request #24398 from edx/aj/remove-deprecated-idv-emails
Deprecate old idv emails
2020-07-09 16:10:13 +05:00
AsadAzam
0fa00c6e23 Merge pull request #24400 from edx/asad/prod-1634
Fixed email sent on valid sso verification
2020-07-09 16:04:48 +05:00
edX Transifex Bot
542b33e1e0 geoip2: update maxmind geolite country database 2020-07-09 14:27:06 +05:00
Asad
206977d571 Fixed email sent on valid sso verification 2020-07-09 13:37:35 +05:00
Awais Jibran
adaa701a76 Deprecate old idv code 2020-07-09 11:53:16 +05:00
Usman Khalid
4cc0f30db7 Convert WordCloudDescriptor and WordCloudModule into WordCloudBlock. 2020-07-09 09:46:54 +05:00