Commit Graph

18841 Commits

Author SHA1 Message Date
Awais Jibran
084b409662 Unnecessary logs. 2020-03-12 15:15:22 +05:00
edX cache uploader bot
a277237f9d Updating Bokchoy testing database cache (#23376) 2020-03-11 14:12:02 -04:00
Calen Pennington
5a33c4b5ee Merge pull request #23357 from edx/mikix/reset-on-mode
Reset schedule when mode changes
2020-03-11 13:05:39 -04:00
Michael Terry
f56a01adbe Reset schedule when mode changes
This way if an audit user upgrades a self paced course to verified,
their schedule will reset to the current time.

AA-60
2020-03-11 11:53:49 -04:00
Waheed Ahmed
f54b9a42e7 Disallow NaN value for speed key.
The VideoBlock `handle_ajax` is allowing NaN values for speed key
and causing videos to not load. Also added a data migration to fix
the data for learners.

PROD-1148
2020-03-11 18:45:49 +05:00
Ahtisham Shahid
1014f1941b Merge pull request #23340 from edx/ahtisham/PROD-1326
update added workaround for CSV report  error
2020-03-11 15:48:20 +05:00
edX cache uploader bot
5fb02b181c Updating Bokchoy testing database cache (#23366) 2020-03-10 15:00:10 -04:00
edX cache uploader bot
af7103c313 Updating Bokchoy testing database cache (#23352) 2020-03-09 15:09:59 -04:00
edX cache uploader bot
8914fafaad Updating Bokchoy testing database cache (#23345) 2020-03-09 10:09:11 -04:00
Troy Sankey
02d8913339 Merge pull request #22753 from edx/juliasq/rename_site_configuration_siteconfiguration_values_3
Rename values in SiteConfiguration/History (3/3)
2020-03-09 09:32:40 -04:00
Ahtisham Shahid
ef40efae9b update added workaround for csv error 2020-03-09 17:35:12 +05:00
Usama Sadiq
424f10419a Merge pull request #23327 from edx/usamasadiq/bom-1388
Removed unused commit_on_success decorator and its tests
2020-03-09 16:21:26 +05:00
Zia Fazal
07a879a495 Merge pull request #23264 from edx/ziafazal/ENT-1705
ENT-1705: Use user's first name as username
2020-03-09 13:39:55 +05:00
zia.fazal@arbisoft.com
6f3fe9307c Use user's first name as username
Changes to use user's first name as username for SAP Success Factors SSO.
ENT-1705

Don't ask for username from oData by default

add code comment
2020-03-09 12:34:00 +05:00
Julia Eskew
4444ffbf1a Add migration to remove values from SiteConfiguration and unskip migration test. 2020-03-06 12:42:57 -05:00
Matt Tuchfarber
47255197e1 Allow plugins to update contexts in specific views
Instead of requiring views like the dashboard to know about plugins so
they can include their data in the context, this allows plugins to
define a mapping between a view and a function where the function
returns a dictionary of new context for the view. Each view would have
to purposefully enable this additional context before it could be used.
This will allow new content to be added to the pages without updating
the core with a combination of a plugin to add new context, and a theme
override of that page to use the new context.
2020-03-06 10:47:52 -05:00
usamasadiq
2cdc2e0d71 Removed unused commit_on_success decorator and its tests 2020-03-06 16:21:28 +05:00
Troy Sankey
5395a5e9f8 Merge pull request #23306 from edx/pwnage101/deng-18-rename_site_configuration_siteconfiguration_values_2.3
Revert "Revert "Rename values in SiteConfiguration (2/3) attempt #2""  (attempt #3)
2020-03-05 09:35:48 -05:00
Ahtisham Shahid
6904e1c7db Merge pull request #23298 from edx/ahtisham/PROD-1326
created logs to capture capa problem errors
2020-03-05 16:58:01 +05:00
Jeremy Bowman
99dda2a7e8 Updating Bokchoy testing database cache (#23307) 2020-03-05 06:20:06 -05:00
Ahtisham Shahid
4efcfca34a created logs to capture capa problem errors
Update logs

updated logger
2020-03-05 12:54:04 +05:00
Feanil Patel
8114fa09f8 Update shard assignments for bokchoy. (#23300) 2020-03-04 15:06:54 -05:00
Troy Sankey
d428f7530d Revert "Revert "Rename values in SiteConfiguration (2/3) attempt #2""
This reverts commit e6f58b6d4c.

This is our third (3rd!) attempt to deploy stage 2 of this column rename.
2020-03-04 14:53:47 -05:00
Jeremy Bowman
47d6d7e526 Updating Bokchoy testing database cache (#23304) 2020-03-04 13:17:38 -05:00
Awais Jibran
44199c3f72 Workaround the error in find_question_label. (#23247)
* Workaround the error in find_question_label.

This is a temporary log, which will give us information and unblock the course team.
PROD-1326

* raise exception after logging it.
2020-03-04 17:55:35 +05:00
Feanil Patel
440ef56f10 Feanil/delete flaky bokchoy tests (#23287)
* Delete flaky test.

* Remove flaky instructor dashboard help test.

* Remove flaky problem type tests.

* Remove flaky studio container tests.

* Remove flaky studio container tests.

* Remove flaky studio problem editor tests.

* Remove flaky enrollment track mode tests.

* Delete flaky video transcript tests.

* Fix pep8 issue.
2020-03-03 16:09:49 -05:00
edX cache uploader bot
1ccbd7d0c2 Updating Bokchoy testing database cache (#23290) 2020-03-03 15:30:31 -05:00
Michael Terry
b96efcf71b Merge pull request #23258 from edx/mikix/experiment-flag
Add ExperimentWaffleFlag
2020-03-03 15:01:16 -05:00
Simon Chen
eb3e36b822 MST-121 We should allow the business case where a learner can be enrolled into a program, then unenrolled, then enroll into another program with the same course 2020-03-03 14:39:57 -05:00
Michael Terry
e724a4bcb7 Add ExperimentWaffleFlag
This is a helpful class when running an experiment, to help
bucket users and keep track of which enrollments to consider
as part of the experiment.

AA-53
2020-03-03 14:39:02 -05:00
Guruprasad Lakshmi Narayanan
fad200f81b Pass the referer from the client to the YouTube API
This fixes the errors when the API key is configured to require a
referer for all the requests.
2020-03-03 22:51:46 +05:30
David Ormsbee
6c7a3ca090 Merge pull request #23263 from edx/ormsbee/fix_blockstructures_collect_devstack
Allow Block Structures Collect to work in Studio
2020-03-03 12:13:32 -05:00
Diana Huang
8e6647234f Update migration to not modify providerapipermissions. (#23271) 2020-03-03 11:31:56 -05:00
edX cache uploader bot
62e1b84460 Updating Bokchoy testing database cache (#23272) 2020-03-03 11:05:44 -05:00
David Ormsbee
9d3f4985ed Allow Block Structures Collect to work in Studio
Block Structures were meant to be gathered using the LMS process,
as it's meant to be an optimized store for the LMS to use. But
there's an argument to be made for at least the Collect side of
the Collect + Transform could be a Studio concern, because it
explicitly needs to avoid user-awareness.

In either event, collect() was broken on devstack before this
commit because Studio's runtime does not permit handler_url
invocation on "thirdparty" XBlocks. Since VideoBlock is not
really third-party (and it's questionable whether there's any
benefit to making the distinction these days), I'm just making
this change to allow Studio to run collect() without error in
the Studio process. This will fix devstack, which does not
properly route these collect() calls to the LMS process (because
celery runs in-proc by default).
2020-03-03 10:52:46 -05:00
Manjinder Singh
4399d13955 removing all of provider (#23269)
* Revert "Ran make migration on third_party_auth (#23253)"

This reverts commit 49be65cc58.

* Removing provider.util import

* Removing further provider things

* Adding hash tests
2020-03-03 10:42:18 -05:00
Manjinder Singh
fa2140cd16 Revert "Ran make migration on third_party_auth (#23253)"
This reverts commit 49be65cc58.
2020-03-03 09:17:26 -05:00
Adam Butterworth
a628016436 Prevent inline discussions from pulling focus on load (#23254)
TNL-7094 Remove auto focusing of InlineDiscussion views on load. Removing this unneeded focus management eliminates scroll issues when discussions are contain in an iframe in a parent page.
2020-03-03 08:57:30 -05:00
Manjinder Singh
49be65cc58 Ran make migration on third_party_auth (#23253)
* Ran make migration on third_party_auth and removing skip comment from test_migrations_are_in_sync
2020-03-02 16:32:40 -05:00
Alex Dusenbery
530cabd003 Remove the auth_source kwarg in connect_to_mongodb, since we're now relying on authsource (no underscore) and the pymongo Database init does not expect and will not tolerate an auth_source kwarg. 2020-03-02 15:20:50 -05:00
Diana Huang
1d5acb9d21 Merge pull request #23221 from edx/diana/remove-dop-libraries
Remove DOP libraries from INSTALLED_APPS.
2020-03-02 13:34:12 -05:00
Luis Moreno
ae0c051e9e Use authsource instead of auth_source for compatibilities with pymongo 2020-03-02 13:31:07 -05:00
Diana Huang
0fa91d72db Remove DOP libraries from edx-platform.
Remove DOP apps from INSTALLED_APPS.
Remove DOP libraries from requirements.
2020-03-02 11:17:47 -05:00
Feanil Patel
088a3685a0 Remove pages for test removed as a part of bokchoy cleanup. 2020-03-02 11:03:00 -05:00
Feanil Patel
a7219e8eaa Use vulture to find unused bokchoy page objects.
These were all un-used on master.
2020-03-02 11:02:59 -05:00
Manjinder Singh
9725303c4a Removing patch from test (#23250)
the patched toggle was removed from edx-drf-extensions recently
2020-03-02 11:02:25 -05:00
Feanil Patel
32e854729b Merge pull request #23200 from edx/feanil/remove_unvaluable_bokchoy_tests
Feanil/remove unvaluable bokchoy tests
2020-03-02 10:10:32 -05:00
Feanil Patel
5ec487452d Merge pull request #23188 from edx/robrap/BOM-1324-add-constraint
BOM-1324: remove oauth2.enforce_jwt_scopes toggle
2020-03-02 09:55:35 -05:00
Manjinder Singh
d08cd9ce04 Removing provider imports from edx-platform (#23229)
* Removing from provider imports from openedx

 * removed all uses of retire_dop_oauth2_models

* Removing provider library from lms, common, and cms

Created/copied function short_token(from django-oauth-provider) and create_hash256 to help with conversion
2020-03-02 08:56:54 -05:00
edX cache uploader bot
cdad9a18fe Updating Bokchoy testing database cache (#23239) 2020-02-28 14:04:28 -05:00