cahrens
5fbad148c9
Jasmine test runner for files in common using RequireJS.
2015-06-15 13:51:16 -04:00
Brian Talbot
5ff2a3af3f
tidying up loose ends from sass compilation to css dir change
...
* adding in missing web certs Sass/CSS asset settings
* updating .gitignore
2015-06-10 14:23:13 -04:00
David Baumgold
a7c710a0de
Moved Creative Commons CSS into Sass
...
Also reconfigured paver to compile Sass into CSS directories
2015-06-09 10:55:20 -04:00
Matt Drayer
af7277cdd9
New Feature: Certificates Web View
...
- SOL-465: Initial implementation of certificates web view and signatories (names/titles)
- SOL-718 Close button is working properly
- SOL-801 Backbone Signatories Modeling
- SOL-803 Underscore template: Editor (Add)
- SOL-802 Signatories: Underscore template - Details
- SOL-804 Signatories: Underscore template: Editor (Edit)
- Add signatory delete Django view
- SOL-805 Signatory editor (Delete)
- Add Coffeescript router
- SOL-716 Jasmine Tests
- Added missing minified JS library
- client side validation of signatory fields
- SOL-390 signatories names
- Remove obsolete extends Sass files
- input maxlength limiting for signatory information
- SOL-389: Course title override
- SOL-466: Add capability to upload digitized signatures in Studio
- ziafazal: fixed css for upload signature image
- ziafazal: completed deletion of signature images
- UX-1741: Add initial static rendering/styling for Open edX web certs
* creating new global static dir
* adding static version of edX UX pattern library assets
* adding web certificates static assets
* adding static (+abstracted) web certificates rendering
* creating two tiers of rendering (base + distinguished)
* providing sample assets for certificate rendering
* supporting RTL layouts
* adding certifcates assests to edX static asset pipeline
* temporarily hiding the mozilla open badges share action
* wiring print button to print view/page
* fixup! addressing conflict artifact in valid cert template
* fixup! adding missing %hd-subsection sass extend + components comment clean up
* fixup! correcting pattern library .hd-4 font-weight value
- SOL-468 Linked Student View for Web View Credential
- SOL-467: Add capability to upload organization logos for certificates
- SOL-391 / SOL-387: Signatory related info (assets) in certificates web view
- kelketek: Fixes for static asset collection in certificate HTML view.
- SOL-398 Web View: Public Access
- mattdrayer: Post-merge branch stabilization
- catong: Initial changes to Studio template and Help config file
- ziafazal: Branch stabilizations
- SOL-387: Display organization logo on LMS web view
- talbs/mattdrayer: Branch Stabilizations
- talbs: converting backpack action to use a button HTML element
- talbs: revising placeholder assets + their rendering in cert view
- mattdrayer: Username web view wireup
- SOL-386 Certificate Mode Previews
- SOL-905: Make organization logo and signatory signature uneditable
- SOL-922: Improve test coverage
- SOL-765: Add LinkedIn sharing
- [marco] temporary styling adjustment to account for smaller linkedin share image / fake button
- SOL-921: Address hardcoded template items
- SOL-927: Deleting certificate should delete org logo image also
* updated invalid template
* removed hr
* fix invalid certificate error
- clrux: Add i18n to certificate templates and partials
- mattdrayer: Pylint violations
- SOL-920 Certificate Activation/Deactivation
- mattdrayer: Added LMS support
- SOL-932: Fix preview mode support in certificate view
- SOL-934: Fixed bug reported and broken tests
- SOL-935 removed the 'valid' word from web view title
- talbs: RTL support updates/fixes
* revising certificate type icon/name vertical alignment
* removing unused older certificate template
* revising styling for message/banner actions
* abstracting accomplishment type to use course mode + adding in honor/verified-specific placeholders
- mattdrayer: JSHint violations
2015-06-01 19:48:04 -04:00
Sarina Canelake
e72d5d542b
Add fake Arabic testing language
2015-05-29 10:16:30 -04:00
Ben Patterson
1e47f85359
Merge pull request #8172 from edx/benp/revert-pycontracts-enablement
...
Revert "Enable PyContracts during tests"
2015-05-26 09:34:05 -04:00
Ben Patterson
c2a0777f78
Merge pull request #8138 from edx/benp/add-jshint
...
Benp/add jshint
2015-05-22 17:54:55 -04:00
Ben Patterson
aebb35d361
Use jshint in paver, include in builds.
...
JShint will be executed with paver run_jshint, which will use a defined set of
directories (likewise defined are directories to ignore). A limit can be imposed
on the total number of violations. Note that this change does NOT include adding
jshint to diff-quality or `paver run_quality`.
2015-05-22 16:06:13 -04:00
Ben Patterson
176770efad
Revert "Enable PyContracts during tests"
...
This reverts commit 4312c0e763 .
2015-05-22 15:05:11 -04:00
Jesse Zoldak
021e62111e
Add ability to specify starting dir for bok-choy tests
2015-05-21 09:46:45 -04:00
Christine Lytwynec
2f6cff5d69
Merge pull request #8128 from edx/clytwynec/fix_cyclic_import_in_pavelib
...
Fix cyclic import in pavelib
2015-05-20 16:51:10 -04:00
Calen Pennington
a2cbd16680
Merge pull request #7789 from cpennington/wrap-csm
...
Wrap access to CSM (inside FieldDataCache) to use the new interface
2015-05-20 16:11:07 -04:00
Calen Pennington
4312c0e763
Enable PyContracts during tests
2015-05-20 15:07:18 -04:00
Christine Lytwynec
63233aa5d8
Fix cyclic import in pavelib
2015-05-20 14:11:54 -04:00
Christine Lytwynec
8f22b51117
Merge pull request #8056 from edx/clytwynec/TE-868
...
use mock_open for paver quality tests
2015-05-15 15:12:01 -04:00
Christine Lytwynec
71bc1476e8
start paver quality tests with clean paver task environment
2015-05-15 10:08:23 -04:00
Ned Batchelder
78e9445aa1
Add super() calls to setUp/tearDown that are missing them
...
Also, I replaced a number of tearDown methods with addCleanup instead.
And also remove some unneeded patch.stopall() calls.
2015-05-14 18:14:21 -04:00
Christine Lytwynec
657f15638d
use mock_open for paver quality tests
2015-05-14 14:51:08 -04:00
Sarina Canelake
e784a43487
Update translations (autogenerated message)
2015-05-08 13:57:58 -04:00
Christine Lytwynec
4f71158057
Merge pull request #7963 from edx/clytwynec/TE-868
...
skip test that are causing incorrect pep8 reports in jenkins builds
2015-05-08 08:54:24 -04:00
Clinton Blackburn
fc61c292b9
Updated Take Photo page to include verification requirements
...
As part of the unification of verify later/now, the take photo page needs to list the verification requirements.
XCOM-254
2015-05-07 18:14:33 -04:00
Christine Lytwynec
e13d1858a8
skip test that are causing incorrect pep8 reports in jenkins builds
2015-05-07 14:18:26 -04:00
Christine Lytwynec
2817ce1473
Merge pull request #7913 from edx/clytwynec/unique-dirs-for-test-results
...
Clytwynec/unique dirs for test results
2015-05-06 14:24:21 -04:00
Ben Patterson
db285cab02
Paver: Ability to run only servers or only tests
...
This would allow a user to set up and run servers, with an open prompt for killing
them. Likewise a user could open a different terminal session and run tests only.
How-to:
* At a terminal/ssh session, start bok-choy servers with
`paver test_bokchoy --serversonly`
(or, if you've already run collectstatic on your system:
`paver test_bokchoy --serversonly --fasttest`)
* When the above is running, you can now open a separate terminal/ssh session
and run:
`paver test_bokchoy -t my_tests --testsonly`
Keep in mind, the 'testsonly' flag does no setup. There is some minimal teardown; however,
such as clearing mongo and flushing the lms database. (Some tests have non-unique identifiers
and could not be run more than once.)
2015-05-06 11:49:25 -04:00
Christine Lytwynec
590a64bed1
resolve path differences with coverage combine using a coveragerc file specifically for jenkins
...
Conflicts:
scripts/jenkins-report.sh
2015-05-06 11:31:50 -04:00
Christine Lytwynec
41a9e027f0
Revert "Revert "Clytwynec/unique dirs for test results""
...
This reverts commit 52c4aacad5 .
2015-05-04 15:26:11 -04:00
Ned Batchelder
24e0c2c80f
Run pylint on all our code, and only our code. TE-855
...
With the old logic, we weren't running pylint on openedx at all. We
were also running it on lms/lib/comment_client twice, and on the
installed xblock third-party library.
2015-05-04 15:23:55 -04:00
Christine Lytwynec
52c4aacad5
Revert "Clytwynec/unique dirs for test results"
2015-05-04 10:58:25 -04:00
Christine Lytwynec
4f5aeb3f49
Merge pull request #7709 from edx/clytwynec/unique-dirs-for-test-results
...
Clytwynec/unique dirs for test results
2015-05-04 08:55:38 -04:00
Ned Batchelder
72c0991005
Don't delete *.pyc fils in the .git directory
...
If you have a branch named "remove-all-.pyc", the original code would
clobber it inside the .git directory, because branches become files with
the same name. This prevents find from looking in .git, saving your
precious oddly named branches.
2015-04-30 18:17:17 -04:00
Christine Lytwynec
a78743acfb
rename string formatting variable
2015-04-29 14:12:55 -04:00
Christine Lytwynec
9b8062020b
set unique dirs for test reports
2015-04-28 14:59:35 -04:00
Jim Abramson
b5f58ccfcf
Merge pull request #7781 from edx/jsa/bokchoy-firefox-instrux
...
tweak firefox upgrade instructions
2015-04-26 15:31:01 -04:00
Sarina Canelake
da036307a0
Update translations (autogenerated message)
2015-04-24 15:15:16 -04:00
Jim Abramson
5e9d469a9a
tweak firefox upgrade instructions
2015-04-22 13:35:25 -04:00
David Baumgold
daf8320763
Remove extra spaces from paver commands
2015-04-22 12:17:43 -04:00
David Baumgold
8524677992
Update paver tests to ignore trailing whitespace
2015-04-22 10:03:39 -04:00
David Baumgold
6af95ae828
Enable --pdb debugging
...
This allows developers to pass the `--pdb` flag to paver test commands,
and that flag will be proxied to the `nosetests` command. It's useful
for debugging purposes.
2015-04-16 17:04:59 -04:00
Feanil Patel
b0dbe2f2da
Be more specific about where we compile sass from.
...
There are now folders under static that have sass that should not be compiled
as a part of our asset pipeline, they were getting pulled in because the wildcard
for `SASS_UPDATE_DIRS` was too broad. This update makes it more specific for most
folders but leaves it broad for the common folder where the xmodule has its own sass
that needs compiling from a non-standard location.
2015-04-15 17:27:17 -04:00
Jesse Zoldak
e5132e3f74
Remove unused paver option ptests
2015-04-08 11:57:02 -04:00
louyihua
faafda086d
Add i18n_fastgenerate
...
So the time-consuming i18n_extract step can be skipped for situations that only the translated strings are modified while the source strings are still the same.
2015-04-05 18:59:43 +08:00
Ned Batchelder
6401f453ca
Change how conf/locale/eo is cleaned up, so that it always happens
2015-03-24 11:18:45 -04:00
Sarina Canelake
e77211b713
Run pep8 on all files, and fix uncovered errors
2015-03-23 15:50:29 -04:00
Sarina Canelake
bd090a6e58
Fix paver quality tests to reflect removed diff-quality call
2015-03-23 15:37:56 -04:00
Sarina Canelake
a51fbc8123
Refactor pep8 to run instead of diff-quality pep8
2015-03-23 11:01:32 -04:00
Sarina Canelake
1b65afdd04
Give run_pep8 more readable output
...
Jenkins "Quality Report" pep8 output now lists all pep8 violations,
not just the number of violations.
2015-03-23 11:01:32 -04:00
Christine Lytwynec
659e90ea95
pass opts From PythonTestSuite to NoseTestSuite
2015-03-16 11:13:31 -04:00
Ben Patterson
1d00508671
Merge pull request #7147 from edx/benp/static-code-analysis-radon
...
Benp/static code analysis radon
2015-03-05 06:48:25 -05:00
Christine Lytwynec
8919d3f8f7
Store count of pep8 and pylint violations to files in reports dir
2015-03-03 10:47:22 -05:00
Ben Patterson
ff2dd93405
Simplify reporting and execution of pep8.
...
We are not using the limit flag in the actual run_pep8 method; removing
that from scripts. Operationally, pep8 has been enforcing a limit of
zero for awhile; this finishes that realization.
Also, all pep8 reports now appear under the reports/pep8 folder, rather than
per-system.
2015-03-02 13:21:35 -05:00