edX cache uploader bot
317d7b5d41
Updating Bokchoy testing database cache ( #23995 )
2020-05-14 10:22:45 -04:00
Awais Jibran
4bdb8c56b5
Merge pull request #23986 from edx/aj/improve-logging-for-capa
...
Adding logs in capa_base
2020-05-14 17:15:47 +05:00
edX Transifex Bot
049d62daf8
geoip2: update maxmind geolite country database
2020-05-13 16:59:32 -04:00
Awais Jibran
0dc5bacfb4
Adding logs in capa_base
2020-05-13 22:09:51 +05:00
Jeremy Bowman
f17e12ba0e
Remove shoppingcart from course about page - DEPR-43 ( #23973 )
...
Remove all references to the shoppingcart app from the course about page. Also removed one test of shoppingcart functionality from the student app.
2020-05-12 15:03:47 -04:00
Olivia Ruiz-Knott
f72a6556a9
MICROBA-311 Add US State field to UserProfile
...
Add list of states and field to UserProfile model; add migration; add
state field to relevant serializers and to
ACCOUNT_VISIBILITY_CONFIGURATION. Removes state data if country is
changed to something other than United States.
2020-05-12 13:55:11 -04:00
Jeff LaJoie
972c7f3bc1
Merge pull request #23954 from edx/jlajoie/AA-163
...
AA-163: Fixes duplicate dates tab issue
2020-05-12 09:08:54 -04:00
Jeff LaJoie
ee0f4567a8
AA-163: Fixes duplicate dates tab issue
2020-05-12 08:38:14 -04:00
Ned Batchelder
3d179a0666
Merge pull request #22539 from open-craft/pooja/fix-autoadvance-not-working-for-hls-videos
...
Enable auto start for HLS if autoadvance is set
2020-05-11 11:52:52 -04:00
Ned Batchelder
b3b58690e6
Merge pull request #21507 from open-craft/guruprasad/youtube-api-missing-referer-fix
...
[BB-1637] Pass the referer from the client to the YouTube API
2020-05-11 11:46:57 -04:00
Tim McCormack
9cff06d762
Address 1+N django_site queries on login page by comparing keys directly ( #23947 )
...
Rather than fetching the Site for every provider in a loop, just look at
the ID of the site.
Added regression test, showing N `django_site` requests before and 0 after.
2020-05-11 15:37:22 +00:00
edX cache uploader bot
57d8a552c7
Updating Bokchoy testing database cache ( #23950 )
2020-05-11 09:00:57 -04:00
mariajgrimaldi
4bf975fdd8
changed count to count_documents ( #23945 )
...
This PR contributes to the elimination of deprecation warnings, specifically the one mentioned above and reported in the Warnings Report: https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/ .
Changed collection.find(filter).count() to collection.count_documents(filter) in the following file:
common/lib/xmodule/xmodule/modulestore/tests/test_split_modulestore.py
And collection.find(filter).limit(1).count() to collection.count_documents(filter, limit=1) in the following file:
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
The method count_documents is part of the collection, not the cursor (find returns a cursor), according to StackOverflow (https://stackoverflow.com/questions/56303331/warning-message-in-pymongo-count-is-deprecated ). Because of that after changing count, I removed the calling to the find method and use the filter parameter in count_documents. Also, I removed limit because count_documents accepts limit parameter.
This warning occurs due to deprecation: https://pymongo.readthedocs.io/en/3.9.0/api/pymongo/collection.html#pymongo.collection.Collection.count_documents
2020-05-11 08:28:45 -04:00
Adam Butterworth
307cb30208
Swap deprecated box-sizing mixin with the box-sizing property ( #23928 )
...
* Swap deprecated box-sizing mixin with the box-sizing property
* Linting now that box-sizing is no longer a mixin
2020-05-08 11:27:51 -04:00
Zia Fazal
d04f2735a1
Merge pull request #23934 from edx/ziafazal/ENT-2730
...
ENT-2730: Apply same username restrictions during SSO pipeline
2020-05-08 09:29:19 +05:00
zia.fazal@arbisoft.com
647da21191
Apply same username restrictions during SSO pipeline
...
Apply same username restrictions during SSO pipeline as we have user registeration flow to avoid SSO flow breakage at the time of user creation.
ENT-2730
Code quality fixes
2020-05-07 19:50:56 +05:00
Dave St.Germain
fedcf045eb
Enable access role in django admin
2020-05-07 10:45:24 -04:00
Ned Batchelder
1fc881b90e
Merge pull request #23911 from shadinaif/shadinaif/fix-untranslated-text
...
Missing translation function call
2020-05-07 09:59:29 -04:00
Robert Raposa
b98d200fdc
Revert "Dark launch: Fix site shadowing and 1+N queries in third party auth config fetching ( #23824 )" ( #23935 )
...
This reverts commit 79420640d5 .
2020-05-07 09:38:54 -04:00
Michael Roytman
681c3ebed0
Merge pull request #23873 from edx/mroytman/MST-181-program-enrollment-sync-support-tool
...
MST-181: Add the ability to unlink and relink Program Enrollments via Support Tool to Address SSO Issues
2020-05-07 09:25:54 -04:00
Shadi Naif
7142d55b1a
Missing translation function call
2020-05-07 14:32:50 +03:00
Waheed Ahmed
c603111895
added another test case.
2020-05-07 15:14:31 +05:00
Waheed Ahmed
05d18effde
Implement both IP and email based rate limiting.
2020-05-07 15:14:31 +05:00
edX Transifex Bot
eeecda6703
geoip2: update maxmind geolite country database
2020-05-06 16:54:21 -04:00
Adam Butterworth
42cc0d0145
Fix all stylelint errors ( #23920 )
...
* Fix all stylelint errors
For any errors that fixing would require changing the output of the css disable stylelint for that line instead of modifying.
* Update quality.py
Make stylelint quality check pass when there are no errors
* Delete empty selectors
2020-05-06 16:07:14 -04:00
Michael Roytman
38c255dbd2
Enhance the Link Program Enrollments Support Tool to handle the case of linking a learner to a ProgramEnrollment that is already linked to a different edX account.
...
In this case,
* unenroll the currently linked learner from the courses associated with related ProgramCourseEnrollments
* for each course the is enrolled in as part of a ProgramCourseEnrollment, if the coures has an audit track, then move the enrollment into the audit track. Otherwise, keep the learner's enrollment in the existing track.
* link the new user to the ProgramEnrollment
* enroll the new user in the Master's track in the courses associated with related ProgramCourseEnrollments
2020-05-06 10:15:42 -04:00
Tim McCormack
79420640d5
Dark launch: Fix site shadowing and 1+N queries in third party auth config fetching ( #23824 )
...
This performs a dark launch compare of the existing implementation
(still in use) for fetching TPA provider configs and a new
implementation, recording metrics on exceptions and mismatches.
The new implementation should have two benefits, once we're switched
over:
- Fix 1+N queries on login page view where the site for each config
was fetched in a loop (ARCHBOM-1139)
- Don't allow configs with the same key on different sites to
interfere with each other (regression test added)
The new impl does not use TieredCache, but only the request cache,
which we may want to adjust later.
2020-05-06 13:54:32 +00:00
Simon Chen
262574b815
Move all the upgrade display logic into courseware.utils
2020-05-05 17:54:22 -04:00
Feanil Patel
a0f81a17ee
Revert "Revert "We don't run into this case anymore so remove it.""
2020-05-05 11:49:18 -04:00
Feanil Patel
ba2c712e4e
Revert "We don't run into this case anymore so remove it."
2020-05-04 14:28:54 -04:00
Simon Chen
f8cc58618a
Create a new plugin manager called DynamicPartitionGenerators to remove the dependency of openedx.features.content_type_gating by xmodule.partition_services
2020-05-04 11:16:26 -04:00
edX cache uploader bot
20726002ac
Updating Bokchoy testing database cache ( #23884 )
2020-05-04 09:33:59 -04:00
adeel khan
0262d0e3ee
Merge pull request #23836 from edx/adeel/prod_1477_enable_recovery_email_for_all_learners
...
Removes enterprise filter for account recovery banner
2020-05-04 17:23:15 +05:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Waheed Ahmed
07465b2b35
Ratelimit password reset by email instead of IP.
...
Also changed `password_reset` endpoint rate limit configuration to
1/minute from 30/5 minutes.
PROD-1427
2020-04-30 14:50:47 +05:00
edX Transifex Bot
6fac7449fb
geoip2: update maxmind geolite country database
2020-04-29 16:54:03 -04:00
Dave St.Germain
fbc18460ca
Add support for external user ids to the xblock user service.
2020-04-29 08:55:40 -04:00
Adeel Khan
9778e69c76
Removes enterprise filter for account recovery banner
...
Previously code was only showing banner for enterprise
learners. This patch would remove this restriction
and is available to all edX learners provided that
'enable_secondary_email_feature' is switched on.
PROD-1477
2020-04-29 17:44:25 +05:00
Dave St.Germain
003d7faac2
Merge pull request #23728 from edx/dcs/dashboard
...
Refactor instructor dashboard access
2020-04-27 10:25:20 -04:00
Michael Terry
c5078aa063
Merge pull request #23803 from edx/mikix/lti-icons
...
Show graded icons in more places
2020-04-27 10:19:38 -04:00
Adeel Khan
5fa34b4df1
Fix discussion template for translations.
...
A parsing error was causing underscore template
not to get processed during message
extractions and to be available on transifex.
PROD-1504
2020-04-27 12:02:46 +05:00
Michael Terry
0f81765ac7
Show graded icons in more places
...
In the course outline, if a subsection has any graded content,
show a graded icon (the pencil icon).
Also, show the graded icon for LTI xmodule units (xblocks is a
different repo, but will get same treatment).
AA-75
2020-04-24 14:16:32 -04:00
edX cache uploader bot
0c1d49ce96
Updating Bokchoy testing database cache ( #23809 )
2020-04-24 13:24:06 -04:00
edX cache uploader bot
565411d726
Updating Bokchoy testing database cache ( #23800 )
2020-04-24 09:52:19 -04:00
Feanil Patel
b80a19cdcc
Merge pull request #23804 from edx/feanil/remove_coercion
...
We don't run into this case anymore so remove it.
2020-04-24 09:11:59 -04:00
Saad Yousaf
1929c3be63
Merge pull request #23796 from edx/saad/PROD-999-fix-js-flaky-test
...
[PROD-999] - Fixing root cause of flaky JS test for discussions.
2020-04-24 14:23:26 +05:00
Feanil Patel
ff6c0dfa6b
We don't run into this case anymore so remove it.
...
This was added in here as a shim to catch places that were still using
the old version of these models that had an attribute called course_id
instead of the `course` foreign key. After monitoring production for
two weeks, we can be pretty confident that we've caught most places that
do this. Removing this code since it should no longer be needed.
2020-04-23 16:27:12 -04:00
Diana Huang
f316387cab
Clean up migrations and handle manual merging.
2020-04-23 10:16:16 -04:00
Diana Huang
227df4e267
Auto-generated squashed migration.
2020-04-23 10:16:16 -04:00
Robert Raposa
70d09e6bf2
Add migration file for removal of logout view configuration ( #23761 )
...
Co-authored-by: Claudiu Ion <ioncld97@gmail.com >
2020-04-23 07:45:26 -04:00