Commit Graph

452 Commits

Author SHA1 Message Date
Andy Armstrong
435a6f5225 Make course_experience a feature 2017-03-22 13:00:38 -04:00
bmedx
57459d1e0f Remove debug change 2017-03-02 15:58:30 -05:00
bmedx
6ca739d811 Send emails on completed django-user-tasks
- Creates a new app under cms
- Sends emails asynchronously on completion of any top-level job
- Moves old user task related cms tests to cms_user_tasks
2017-03-01 17:07:42 -05:00
Jeremy Bowman
d3b873c7e9 PLAT-1104 Import courses asynchronously 2017-02-22 15:06:34 -05:00
Michael Youngstrom
067348b858 Allow Pa11ycrawler to run against a single url
Utilize scrapy parse

specify custom callback and add port

Getting rid of scrapy parse. A modified crawl will work

remove log

Remove unnecessary input options

Remove extra empty line

version bump v1.5.9

Reduce duplicate code

add in port and simplify further

clean command further

add port to basic command

Bump Pa11yversion to the newest version
2017-02-21 15:53:53 +00:00
Ben Patterson
c0dd2b878f Lettuce-on-Xenial CMS fix. Iterate through a list to avoid quotation string confusion.
Also change some selenium settings (they were not necessary at this time).
2017-02-20 17:22:36 -05:00
Ben Patterson
e7b0c28d57 Fixes for chrome reliability in selenium.
Fix for rendering timing issue. See https://bugs.chromium.org/p/chromedriver/issues/detail?id=1552
2017-02-20 17:22:02 -05:00
Ben Patterson
840efb238c Workaround for intermittent chromedriver hangs upon start. 2017-02-20 17:21:41 -05:00
Renzo Lucioni
e7771148b7 Load all programs from the catalog
This commit contains back end changes necessary to load programs from the catalog in all contexts. The existing program munging utility is applied as late as possible to avoid conflating this work with changes to the front end; those will be made separately.

ECOM-4422
2017-02-06 23:16:29 -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
Renzo Lucioni
31f5c8ddcb Remove the program admin tool from Studio
All programs are now managed using the Django admin on the catalog service. This is the first in a series of commits removing use of the old programs service from edx-platform.

ECOM-4422
2017-01-27 19:33:06 -05:00
Ned Batchelder
91a235a96d Fix two wrong egg names
These are the only two egg names that are wrong in this file.  We have
to uninstall i18n-tools, because the distribution name changed.  The
lti-consumer XBlock hasn't changed named, we just had the wrong name in
the requirements file.
2017-01-25 14:22:58 -05:00
Ari Rizzitano
200e8568ef Merge pull request #14369 from edx/arizzitano/pa11ycrawler-ignore-update
[pa11ycrawler] update location of ignore rules file
2017-01-24 17:19:33 -05:00
Ari Rizzitano
c8cc7cc14b [pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)
[pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)

patch test

temporarily force a pa11ycrawler PR run

remove temp run of pa11ycrawler
2017-01-24 15:23:11 -05:00
Ned Batchelder
26b0567343 Adapt tests to the latest i18n-tools 2017-01-23 13:56:58 -05:00
Jesse Zoldak
5c1f838dcb Give the bok choy server more time to start up 2016-12-22 16:20:22 -05:00
Brian Jacobel
f7d2b8db68 Add deps brought in by UITK as top-level deps (peerDeps, eventually) 2016-12-03 12:15:00 -05:00
Calen Pennington
b24c22804e Merge pull request #14047 from cpennington/safer-opaque-keys
Safer opaque keys
2016-12-02 10:44:36 -05:00
Calen Pennington
42617545ec Remove paver handling for --failed (because nose already handles it) 2016-12-01 13:04:31 -05:00
Ben Patterson
73c3066976 Merge pull request #14056 from edx/benp/fix-flaky-paver-test-pep8
Fix flaky paver test pep8
2016-11-30 12:33:45 -05:00
noraiz-anwar
d632fa8672 removed bug related to theme assets 2016-11-29 14:25:59 +05:00
Ben Patterson
0faa445990 Use proper pattern on entire class. 2016-11-28 17:17:20 -05:00
Ben Patterson
3cd107cc0a Fix flaky condition in pep8 noisy report test. 2016-11-28 11:37:57 -05:00
Andy Armstrong
746e310088 Clean up npm-installed packages 2016-11-22 17:51:09 -05:00
Ben Patterson
71805ed802 Merge pull request #13974 from edx/benp/cb-never-called-workaround
Workaround for TE-1767 aka cb() never called
2016-11-17 13:33:50 -05:00
Ben Patterson
705c8b915e Udpates based on feedback. 2016-11-17 11:31:57 -05:00
Calen Pennington
1e9649e01e Merge pull request #13972 from cpennington/timer-logging
Add timer logging to jenkins test runs
2016-11-16 12:43:37 -05:00
Ben Patterson
67be6807a4 Add tests. Enjoy your coverage and feel confident. 2016-11-16 12:24:50 -05:00
Ben Patterson
f52e3cf830 Workaround for cb() never called errors
Problem:

Intermittent "cb() never called!" errors on npm installs for platform.
This is likely due to a race condition on installing OS-specific bits that are built during time of install. When more than one compilation takes place at one time, this error can occur.

Workaround:

Detect the error and re-run the install. (When retrying, one or all of the bits have been compiled. So running it again just finishes the install.)
2016-11-16 12:24:49 -05:00
Calen Pennington
f5f64c03fc Don't try to create a directory from an empty string 2016-11-15 11:38:33 -05:00
Ben Patterson
562b48cfb2 Merge pull request #13911 from edx/benp/nodeenv
Use nodeenv to manage node version in Jenkins builds
2016-11-10 12:46:29 -05:00
Ben Patterson
c643c124c8 Merge pull request #13855 from edx/benp/correct-verbose-settings-i18ntests
param typo
2016-11-10 10:23:01 -05:00
Ben Patterson
b3a3d729a1 Use nodeenv to manage node version in Jenkins builds
This change:
* gives us the flexibility of managing node from pull-request to pull-request. It'll be a huge lift to folks that want to test out node upgrades like @bjacobel or @andy-armstrong
* Sets us up for a port to Xenial, which will be accomplished in part by using nodeenv for managing the node environment. See a companion PR on the configuration repo for edxapp: edx/configuration#3444

This pull request does not:
* Attempt to solve any stability issues in builds related to node.
* Make node installs any faster
* Create any caching infrastructure to speed up node installs. They will be approximately as fast as they were before. Downloading the node bits build-to-build adds about 3 seconds, which is worth it for the added flexibility.
2016-11-10 10:02:32 -05:00
stu
48b2575ca5 log pip freeze output for debugging jenkins builds 2016-11-01 11:21:46 -04:00
Ben Patterson
eaad12e7d2 Fix param typo on i18n test 2016-10-27 13:11:59 -04:00
Jesse Zoldak
fea64a66ff Only install python coverage prereqs for coverage paver tasks TE-1673 2016-10-26 10:15:08 -04:00
Jesse Zoldak
ac1e4643a0 Add enable-migrations parameter for python unit tests 2016-10-17 15:59:44 -04:00
Greg Martin
4ddda443b8 Implement localized datetimes in browser
moment-timezone require config

jasmine test fix, duplicate req. cleanup
2016-10-14 15:25:38 -04:00
Jesse Zoldak
4465373177 Disable migrations by default in unittests
Rendering model states when running migrate in Django 1.8 consumes
on the order of 4x-6x more memory than <1.8.

References:
* https://code.djangoproject.com/ticket/24745
* https://code.djangoproject.com/ticket/24743

This is causing failures in Jenkins as the workers run out of memory
and either processes cannot fork or the Out Of Memory Killer
kills a process that is running tests.

Disabling migrations until we do either or both of these:
* Upgrade to Django 1.9 and turn them back on. See EV-92 "Discovery: Upgrade edx-platform to Django 1.9"
* Address TE-1310 "Unit tests should be able to run without migrations"
2016-10-12 14:02:19 -04:00
Andy Armstrong
6d0136fea9 Move i18n_tests from common into pavelib 2016-10-06 13:28:46 -04:00
David
32e7836bd9 Add pa11y_ignore_rules_url to paver pa11ycrawler 2016-09-07 14:46:30 -04:00
Calen Pennington
fae18fd5e2 Merge pull request #13271 from cpennington/dont-translate-passthrough
Don't use optparse's bad translation strings in passthrough_opts
2016-08-23 13:23:21 -04:00
Jesse Zoldak
99a7c555ab test_acceptance paver command option fasttest should not recompile sass 2016-08-19 13:21:16 -04:00
Calen Pennington
abe6ef4525 Don't use optparse's bad translation strings in passthrough_opts 2016-08-18 10:59:45 -04:00
David Baumgold
307abcad5b Merge pull request #13225 from singingwolfboy/update-pa11ycrawler
Use updated, simplifed version of pa11ycrawler
2016-08-16 08:51:05 -04:00
David Baumgold
e0cddf9750 Fix Jenkins test failure 2016-08-15 16:53:06 -04:00
David Baumgold
7f60fa5e25 Make data-dir explicit for pa11ycrawler 2016-08-15 15:46:10 -04:00
David Baumgold
18500472c6 Use updated, simplifed version of pa11ycrawler 2016-08-15 14:24:17 -04:00