Commit Graph

3531 Commits

Author SHA1 Message Date
J. Cliff Dyer
be8a898e68 Add logging to recalculate grades base task.
TNL-6294

* Use external celery_utils in edx-platform (TNL-6454)
* Remove old openedx.core celery_utils implementation.
2017-02-10 16:07:51 -05:00
syed-awais-ali
31f178ea59 Merge pull request #14498 from edx/aali/OPS-1407_celery_max_ttl
added ttl setting
2017-02-10 23:38:11 +05:00
syed-awais-ali
65d4b76d9b ttl removed from yaml config and default value addedto aws 2017-02-09 16:47:48 +05:00
syed-awais-ali
95c6edd187 added ttl setting 2017-02-09 00:39:45 +05:00
muzaffaryousaf
d73d2f5889 Increase the yttimeout to un-skip the video tests. 2017-02-08 20:30:54 +05:00
Jesse Shapiro
9d5db5ae24 Adds OpenStack settings to CMS environment
and a comment and explaining why we import aws.* in the openstack settings.
2017-02-02 09:27:22 +10:30
Jesse Zoldak
d1012a771d Merge pull request #14425 from edx/revert-14200-jmbowman/async_course_import
Revert "PLAT-1104 Import courses asynchronously"
2017-02-01 11:32:39 -05:00
Clinton Blackburn
1189867dd2 Removed references to ECOMMERCE_API_SIGNING_KEY
We should not be using custom signing keys for each service at this time. We may want to return to this strategy in the future; but, this is not the direction any of our other services are going in.

ECOM-6541
2017-02-01 01:51:21 -05:00
Clinton Blackburn
6b2ca06544 Simplified Docker Devstack test settings
The only value that needs to be overridden is the Mongo host. The duplicated values can be imported.
2017-01-31 16:59:24 -05:00
Saleem Latif
ab88da952b Update settings for edx-enterprise (v0.19.1) configurations. 2017-01-31 14:19:51 +05:00
Jesse Zoldak
83a451dc0b Revert "PLAT-1104 Import courses asynchronously" 2017-01-30 19:21:43 -05:00
Jeremy Bowman
576f6755f8 Merge pull request #14200 from edx/jmbowman/async_course_import
PLAT-1104 Import courses asynchronously
2017-01-30 16:50:55 -05:00
Jeremy Bowman
831cd4b85b PLAT-1104 Import courses asynchronously 2017-01-30 12:19:33 -05:00
David Ormsbee
41ea1383d4 Merge pull request #14399 from edx/ormsbee/csm_crawler_locking
Disable student state writes for crawlers.
2017-01-27 12:28:11 -05:00
Jesse Zoldak
6f8b39807a Fix pep8 violation 2017-01-27 07:42:43 -05:00
Clinton Blackburn
47ae3791e9 Added test settings for Docker-based devstack
Fixes https://github.com/edx/devstack/issues/47
2017-01-27 00:42:52 -05:00
Clinton Blackburn
576fc30e8e Corrected URLs for the E-Commerce Service when using Docker Devstack
ECOM-6634
2017-01-26 18:04:39 -05:00
David Ormsbee
5ef1e08050 Disable student state writes for crawlers.
When crawlers like edX-downloader make requests on courseware, they are
often concurrently loading many units in the same sequence. This causes
contention for the rows in courseware_studentmodule that store the
student's state for various XBlocks/XModules, most notably for the
sequence, chapter, and course -- all of which record and update user
position information when loaded.

It would be nice if we could actually remove these writes altogether
and come up with a cleaner way of keeping track of the user's position.
In general, GETs should be side-effect free. However, any such change
would break backwards compatibility, and would require close
coordination with research teams to make sure they weren't negatively
affected.

This commit identifies crawlers by user agent (CrawlersConfig model),
and blocks student state writes if a crawler is detected. FieldDataCache
writes simply become no-ops. It doesn't actually alter the rendering
of the courseware in any way -- the main impact is that the blocks
won't record your most recent position, which is meaningless for
crawlers anyway.

This can also be used as a building block for other policy we want to
define around crawlers. We just have to be mindful that this only works
with "nice" crawlers who are honest in their user agents, and that
significantly more sophisticated (and costly) measures would be
necessary to prevent crawlers that try to be even trivially sneaky.

[PERF-403]
2017-01-26 09:36:53 -05:00
Clinton Blackburn
bb7c5b3384 Corrected OAuth URL for Docker-base devstack
ECOM-6634
2017-01-25 13:13:50 -05:00
Clinton Blackburn
e7c0ed77e5 Added settings for Docker-based devstack
ECOM-6634
2017-01-24 00:38:00 -05:00
Renzo Lucioni
3f6d6cbf84 Reintroduce Waffle
Waffle serves as a complement to config models. It's useful in feature rollout situations where you may not want to incur the overhead of creating and committing a migration (required for adding a field to a config model), and also handles gradual, percentage-based rollouts.

ECOM-4422
2017-01-20 16:20:13 -05:00
J. Cliff Dyer
0d2ae5d4af Store failed subsection grade calculations
TNL-6250
2017-01-18 09:43:07 -05:00
Jesse Zoldak
4a5426a6a7 Merge pull request #14289 from edx/zoldak/no-celery-retry-for-bok-choy
Do not retry block structures tasks on bok choy servers
2017-01-10 11:16:20 -05:00
Anthony Mangano
2d85fe4ab2 Merge pull request #14279 from edx/ECOM-5936-send-course-id-and-enrollment-track-to-zendesk-custom-fields
Ecom 5936 enable users to select course when making support requests
2017-01-10 10:55:51 -05:00
Jesse Zoldak
c25e836128 Do not retry block structures tasks on bok choy servers 2017-01-10 09:53:15 -05:00
Ned Batchelder
9ff91756e5 Happy New Year 2017-01-07 20:19:51 -05:00
Anthony Mangano
69ae314dd8 enable users to select course when making support requests
ECOM-5936
2017-01-06 13:34:13 -05:00
Christina Roberts
4a71af8d6e Merge pull request #14160 from edx/christina/help-menu-tests
Add tests for context-sensitive Help button.
2017-01-03 10:39:43 -05:00
Cliff Dyer
aa3d6e8791 Merge pull request #14092 from edx/cdyer/validate-capa-xml
Use new XMLString field type for CAPA data field.
2016-12-19 12:03:19 -05:00
cahrens
c9fb71c4a1 Add tests for context-sensitive Help button. 2016-12-15 16:42:06 -05:00
J. Cliff Dyer
22ce30039b Use new XMLString type for CAPA data field.
TNL-5245
2016-12-15 15:35:44 -05:00
Afzal Wali
e44e18592f Programs list conditionally added to the context of index and courses page. 2016-12-15 18:16:48 +05:00
Jesse Shapiro
fc814aee95 Add data sharing consent features for EnterpriseCustomer 2016-12-12 09:30:38 -05:00
Sven Marnach
6e801631d8 Merge pull request #14104 from open-craft/smarnach/enterprise-enrollment
Changes required for the Enterprise app enrollment feature.
2016-12-09 16:01:27 +01:00
Sven Marnach
2690a77151 Changes required for the Enterprise app enrollment feature. 2016-12-08 17:53:31 +01:00
Eric Fischer
3994615d2d Merge pull request #14090 from edx/efischer/alt_queues
Get alternate queues from ENV_TOKENS
2016-12-05 12:51:59 -05:00
Brandon DeRosier
097b6417e1 Merge pull request #13958 from edx/bdero/celery-broker-tls
Allow configuring TLS for celery broker
2016-12-03 12:18:25 -05:00
Eric Fischer
b610215e08 Get alternate queues from ENV_TOKENS 2016-12-02 10:32:00 -05:00
attiyaishaque
be32d74afe TNL-6017 Receive Updates checkbox saved in discussion forums. 2016-12-01 11:25:44 +05:00
Andy Armstrong
746e310088 Clean up npm-installed packages 2016-11-22 17:51:09 -05:00
Eric Fischer
01cc136217 Allow CELERY_QUEUES to be overriden using ENV_TOKENS 2016-11-17 12:56:07 -05:00
Gregory Martin
b814678933 register dateutil_factory in request.js 2016-11-16 07:18:19 -05:00
Gregory Martin
1fa805a052 js bundling error 2016-11-14 14:33:23 -05:00
Ned Batchelder
781d3c9b30 Merge pull request #13925 from stvstnfrd/up/settings/zendesk
Fallback to default ZENDESK_URL when not in JSON
2016-11-10 11:12:49 -05:00
Brandon DeRosier
8c9aa7d3f3 Allow configuring TLS for celery broker 2016-11-09 12:14:42 -05:00
John Eskew
cd522358f2 Merge pull request #13706 from edx/jeskew/move_embargo_out_of_common
Move embargo from common to openedx/core/djangoapps.
2016-11-08 14:38:24 -05:00
Gregory Martin
f0cd29f02a Revert "Merge pull request #13915 from edx/revert-13794-yro_implement-dateutil"
This reverts commit d59ab18b27, reversing
changes made to 0ebab35e89.
2016-11-07 17:04:13 -05:00
John Eskew
e3cb462d18 Move embargo from common to openedx/core/djangoapps. 2016-11-07 08:47:36 -05:00
attiyaishaque
0ffde1a620 ECOM-5281 Adding retries and celery task for sending activation email. 2016-11-07 11:23:43 +05:00
stv
9c5fcfac17 Fallback to default ZENDESK_URL when not in JSON
This line previously departed from the convention of coalescing down to
the original value specified in `lms/envs/common.py`.

Now, the setting can fall back to its default value from `common.py`,
instead of only respecting the value loaded from JSON (or `None` if not
defined).
2016-11-04 16:04:55 -07:00