Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop v2 - Review for release on edx.org #34

Merged
merged 292 commits into from
Jan 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
423b34c
Used dash-separated-names for events
dragonfi Aug 11, 2014
110c3e8
Publish feedback events
dragonfi Aug 11, 2014
143e032
Publish close and open event instead of replace
dragonfi Aug 11, 2014
bf838f8
Merge pull request #6 from dragonfi/tracking-logs
antoviaque Aug 12, 2014
5ff71f5
Merge pull request #7 from mtyaka/readme-doc
antoviaque Aug 15, 2014
7df7a6c
Link to images in edx-solutions repository.
mtyaka Aug 18, 2014
1ad3baf
Merge pull request #8 from mtyaka/image-links
antoviaque Aug 18, 2014
5487f93
Remove extra '.' from README
antoviaque Aug 19, 2014
aa9296c
remove-points-possible: Remove display of grade points in title
antoviaque Aug 19, 2014
d3d4158
Fix unittest where handlers expect 'POST' requests
dragonfi Aug 20, 2014
8b7708b
Merge pull request #9 from edx-solutions/remove-points-possible
antoviaque Aug 20, 2014
239bfcd
Merge pull request #10 from dragonfi/correct-unittests
antoviaque Aug 20, 2014
f0215ee
Refactor: extract check for finished state
dragonfi Aug 20, 2014
27dcf96
Add completed flag to only publish the grade once
dragonfi Aug 20, 2014
4d4e393
Add server side reset handler
dragonfi Aug 20, 2014
034e3b0
Add reset button html and css
dragonfi Aug 20, 2014
397266e
Implement browser side behaviour for reset button
dragonfi Aug 20, 2014
05b675b
Make popup close on click to anywhere else.
dragonfi Aug 20, 2014
f8599ba
Feedback popup: match look from other XBlocks
dragonfi Aug 20, 2014
005bd8a
Merge pull request #12 from dragonfi/normalize-feedback-popup-css
antoviaque Aug 21, 2014
4085f3e
Merge pull request #11 from dragonfi/reset-button
antoviaque Aug 25, 2014
ccdd61a
Merge pull request #13 from dragonfi/close-feedback-popup
antoviaque Aug 25, 2014
a7b960d
Reintroduce user_id into events
dragonfi Aug 25, 2014
23564e2
Merge pull request #14 from dragonfi/reintroduce-user-id
antoviaque Aug 25, 2014
0d8925d
Hide reset button when exercise is not completed
dragonfi Aug 26, 2014
83971e2
Publish grades until student completes exercise
dragonfi Aug 26, 2014
95664d4
Merge pull request #17 from dragonfi/hide-reset-button
antoviaque Aug 26, 2014
44ca822
Use scope_ids.user_id instead of runtime.user_id
dragonfi Aug 25, 2014
07cc0cb
Add component_id to events
dragonfi Aug 26, 2014
0ff439f
Merge pull request #15 from dragonfi/reintroduce-user-id
antoviaque Aug 27, 2014
ccf95cf
hide-zone-labels: Fix tests & pylint warnings for superfluous imports
antoviaque Sep 22, 2014
4dfb5d4
hide-zone-labels: Add option to hide the zone labels text (default off)
antoviaque Sep 22, 2014
dae8a8e
hide-zone-labels: Remove opacity of popups to always allow to read them
antoviaque Sep 22, 2014
9392cb5
hide-zone-labels: Fix broken test on determining id
antoviaque Sep 22, 2014
49b7439
hide-zone-labels: Always display the popups on top of dropped items
antoviaque Sep 22, 2014
67361cf
Merge pull request #18 from edx-solutions/hide-zone-labels
antoviaque Sep 22, 2014
03b0ae1
Fixed popup font size
e-kolpakov Sep 23, 2014
1936441
Added ability to set html to popup message
e-kolpakov Sep 23, 2014
2e53fa5
Fixed broken test
e-kolpakov Sep 23, 2014
5d0ac94
Added tests for html-containing items and zones
e-kolpakov Sep 23, 2014
94f7841
Merge pull request #19 from open-craft/eugeny/html-labels
antoviaque Sep 23, 2014
05e13b9
Refactored tests:
e-kolpakov Sep 24, 2014
5a04b71
Merge pull request #20 from open-craft/eugeny/html-labels
antoviaque Sep 24, 2014
6bad7a4
Add touch device support
bradenmacdonald Sep 25, 2014
1e99a60
Merge pull request #21 from open-craft/touch-support
antoviaque Sep 25, 2014
64e5e48
Copy-pasted IntegrationTestBase from Mentoring XBlock and beat it up …
e-kolpakov Sep 29, 2014
3378384
Dummy integration test to verify workbench integration tests can be s…
e-kolpakov Sep 29, 2014
ced0162
Updated readme to include correct command to run tests
e-kolpakov Sep 29, 2014
7635328
Added nose-parameterized dependency for parameterized tests
e-kolpakov Sep 29, 2014
522a3c8
Integration test for display_name and question text
e-kolpakov Sep 29, 2014
5092ba6
Improved test parameters so html contents are now clearly visible
e-kolpakov Sep 29, 2014
3e1567d
Further improved test scenario discovery
e-kolpakov Sep 29, 2014
9d1118a
Removed data-based scenarios and simplified test scenario preparation
e-kolpakov Sep 29, 2014
683925c
Added rendering integration tests
e-kolpakov Sep 29, 2014
5cd4c40
Added interaction test (PoC, more to come)
e-kolpakov Sep 29, 2014
5b8a846
Interaction tests: items feedback, final feedback and reset
e-kolpakov Sep 30, 2014
06c53a4
Removed unused utils moudle
e-kolpakov Sep 30, 2014
72c2d98
Integration tests for custom data (rendering + interaction)
e-kolpakov Sep 30, 2014
211cf90
Removing unused imports
e-kolpakov Sep 30, 2014
035fd32
Merge pull request #22 from open-craft/eugeny/html-labels
antoviaque Oct 2, 2014
95a914d
Impplemented review notes
e-kolpakov Oct 7, 2014
dbbd3af
Merge pull request #23 from open-craft/eugeny/custom-data-integration…
antoviaque Oct 7, 2014
8fcab25
Fixed default image blink on load
e-kolpakov Oct 24, 2014
e6743a5
Merge pull request #24 from open-craft/eugeny/fix-default-image-blink
antoviaque Oct 27, 2014
148dea1
Fixed the following errors:
e-kolpakov Nov 12, 2014
4482aa6
Merge pull request #25 from open-craft/eugeny/fix-edit-issues
antoviaque Nov 13, 2014
1c39266
Add ability to ask for numerical value on drop.
mtyaka Nov 23, 2014
d2ac471
Merge pull request #26 from open-craft/stgallen
antoviaque Dec 4, 2014
c7fd664
Use virtual-dom for rendering the drag and drop interface.
mtyaka Mar 5, 2015
d1e4d12
Simplify test infrastructure & update tests.
mtyaka Mar 5, 2015
dbf8534
Merge pull request #27 from edx-solutions/mtyaka/virtual-dom
antoviaque Mar 6, 2015
59a7455
Wrap bg image src in url(...).
mtyaka Mar 20, 2015
70cd532
Merge pull request #28 from edx-solutions/hotfix-custom-bg-image
antoviaque Mar 20, 2015
45a0c7c
Don't set backgroundImage if none defined.
mtyaka Mar 20, 2015
8e3f7f6
Add tests for background image.
mtyaka Mar 20, 2015
0b8af86
Merge pull request #29 from edx-solutions/hotfix-custom-bg-image
antoviaque Mar 23, 2015
8869d0c
Fix zone deletion.
smarnach Mar 31, 2015
ed24dbe
Merge pull request #30 from open-craft/smarnach/zone-deletion
smarnach Apr 1, 2015
8292c41
Use numbers instead of letters to identify sample zones
antoviaque Jun 10, 2015
164627b
Fix Travis build - xblock-sdk assumes a specific CWD & use Firefox 36
antoviaque Jun 10, 2015
5736ed8
Merge pull request #31 from open-craft/zone-numbering
antoviaque Jun 12, 2015
21ee62c
Add option to control whether or not header title is shown to students.
itsjeyd Sep 15, 2015
07328f1
Add integration test.
itsjeyd Sep 16, 2015
8dbe34c
Merge pull request #32 from open-craft/hide-header-title
antoviaque Sep 18, 2015
7a42ee5
Allow authors to set color of draggable items.
itsjeyd Dec 2, 2015
a5858aa
Fix tests that were failing prior to changes in previous commit.
itsjeyd Dec 2, 2015
2a36ada
Address review comments.
itsjeyd Dec 3, 2015
51c91c9
Fix Travis build.
itsjeyd Dec 3, 2015
ce1314c
Better placeholders for input fields.
itsjeyd Dec 3, 2015
776be60
Merge pull request #33 from open-craft/custom-item-colors
itsjeyd Dec 3, 2015
d922575
Add License (AGPLv3)
bradenmacdonald Dec 3, 2015
595b5fd
Merge pull request #35 from edx-solutions/add-license
bradenmacdonald Dec 3, 2015
1626ec0
Mark user-visible strings for translation.
itsjeyd Dec 3, 2015
7dd4efb
Address review comments.
itsjeyd Dec 4, 2015
0c8911a
Merge pull request #36 from open-craft/i18n
itsjeyd Dec 4, 2015
3616175
Make the "Question" title optional
bradenmacdonald Dec 8, 2015
564fd15
Travis/test cleanup
bradenmacdonald Dec 8, 2015
7b05446
Merge pull request #37 from open-craft/show-question-header
bradenmacdonald Dec 9, 2015
513f9e5
Move draggable items above drop image area.
itsjeyd Dec 8, 2015
2bf18b6
Address review comments.
itsjeyd Dec 9, 2015
09eeaf9
Keep height of .items container constant (instead of updating positions
itsjeyd Dec 9, 2015
1ace6d3
Update virtual DOM instead of DOM.
itsjeyd Dec 9, 2015
a185292
Make the image resize to fit the container, make item placement relative
bradenmacdonald Dec 10, 2015
ed9513f
Work around Firefox bug 975632
bradenmacdonald Dec 11, 2015
513573a
Studio editing of resizable images
bradenmacdonald Dec 11, 2015
91335bc
Scale drop zones proportionally with the background image
bradenmacdonald Dec 13, 2015
e870860
Simplify mutation of state in JS code, make reset instant
bradenmacdonald Dec 13, 2015
74a0e79
Hide width/height fields in Studio but keep existing data.
bradenmacdonald Dec 14, 2015
8046511
Make zones proportional in Studio
bradenmacdonald Dec 14, 2015
40c350e
Address review comments
bradenmacdonald Dec 14, 2015
190195f
Fix margins on draggables
bradenmacdonald Dec 14, 2015
e771164
Fix zone sizing in Studio - was inconsistent when resizing window
bradenmacdonald Dec 14, 2015
c08357d
Backwards compatibility with old user item state format
bradenmacdonald Dec 15, 2015
362da63
Fix unit tests
bradenmacdonald Dec 15, 2015
d7f98f5
Fix integration tests
bradenmacdonald Dec 15, 2015
2c75c72
Fix IE10 compatibility
bradenmacdonald Dec 15, 2015
f8966a1
Address review comments
bradenmacdonald Dec 16, 2015
1930af6
Move tests and add pylint check
bradenmacdonald Dec 16, 2015
2b7627e
Fix "ok" button issue.
itsjeyd Dec 16, 2015
541295c
Fix Studio editor when width/height data is absent
bradenmacdonald Dec 16, 2015
140c261
Merge pull request #4 from open-craft/resizable-image
bradenmacdonald Dec 16, 2015
6c1d71c
Merge pull request #38 from open-craft/drag-above-drop
bradenmacdonald Dec 16, 2015
a5c0c18
Fixed options jumping to first block available on the page
e-kolpakov Dec 16, 2015
d94dea7
Improved _get_unique_id method - uses block's usage_id
e-kolpakov Dec 16, 2015
b67d97b
Runnable run_tests.py added execute permission to owner
e-kolpakov Dec 16, 2015
1b8ce00
Tests for multiple blocks on page
e-kolpakov Dec 16, 2015
31a2e14
Popup background and border
e-kolpakov Dec 17, 2015
109cffb
Drag container padding in percent
e-kolpakov Dec 17, 2015
3419e2e
Review notes: docstring and more intuitive feedback config
e-kolpakov Dec 17, 2015
819de86
Merge pull request #39 from open-craft/multiple_blocks_on_page
e-kolpakov Dec 18, 2015
d5fe00c
Merge pull request #40 from open-craft/styling_changes_from_ux
e-kolpakov Dec 18, 2015
4dc7aa1
Added spinner to initial load notification
e-kolpakov Dec 18, 2015
a62272d
Spinners for droppable elements
e-kolpakov Dec 18, 2015
cc7bc7e
Spinners for inputs
e-kolpakov Dec 21, 2015
834fb7f
Initial load spinner margin
e-kolpakov Dec 22, 2015
7fb5cfc
Virtual DOM instead of explicit hide/show
e-kolpakov Dec 22, 2015
0e72330
Overlay-style spinner for items with images
e-kolpakov Dec 22, 2015
c90e857
Merge pull request #42 from open-craft/ajax_loader_spinner
e-kolpakov Dec 22, 2015
e8b1092
Make DnDv2 accessible.
itsjeyd Dec 18, 2015
48b9846
Address review comments.
itsjeyd Dec 21, 2015
672aa8c
Address review comments.
itsjeyd Dec 22, 2015
fb6b6e7
Improve default settings for DnDv2 blocks and explain "Optional
itsjeyd Dec 23, 2015
8469ed6
Address review comments.
itsjeyd Jan 6, 2016
5f21dbc
Merge pull request #5 from open-craft/better-defaults
itsjeyd Jan 6, 2016
7f341c3
Merge pull request #41 from open-craft/a11y
itsjeyd Jan 6, 2016
2f9185f
Add a checkbox to the zone tab to control visibility of zone borders.…
Jan 7, 2016
9c780c2
Fix failing tests: add new field display_zone_borders.
Jan 8, 2016
e8b3210
Corrections after review feedback.
Jan 8, 2016
83d0331
send_input: Wait before obtaining input
e-kolpakov Jan 8, 2016
411d032
Tidy comments.
Jan 9, 2016
9a0f865
Merge pull request #46 from open-craft/flaky_send_input_fix
e-kolpakov Jan 11, 2016
53c4eb4
Remove unnecessary CSS cruft, now that there's a separate class for d…
Jan 11, 2016
e4bfb22
Add zone border information to README.md.
Jan 11, 2016
06ce47d
Keyboard accessibility for interacting with items and drop zones.
itsjeyd Jan 6, 2016
6ab9591
Add dialog that provides information about keyboard shortcuts that are
itsjeyd Jan 6, 2016
994cb55
Keyboard accessibility for resetting exercise.
itsjeyd Jan 6, 2016
57d26a4
Don't set "tabindex" on items if they have already been placed.
itsjeyd Jan 6, 2016
b426335
DRY out logic for conditionally executing handlers based on key that was
itsjeyd Jan 7, 2016
238bbe2
Fix existing tests.
itsjeyd Jan 7, 2016
99929ea
Add tests for keyboard a11y.
itsjeyd Jan 7, 2016
cc6695c
Address review comments.
itsjeyd Jan 8, 2016
dc0a76b
Fix positioning issue for keyboard help.
itsjeyd Jan 8, 2016
9f33c1d
Add tests for borders, enabled and disabled.
Jan 12, 2016
d387bf4
Fix pep8 and pylint problems.
Jan 12, 2016
30c1f20
Restore trailing comma, after review by T.K.
Jan 12, 2016
a8f5e03
Fix pylint warnings: unused variables.
Jan 12, 2016
a7b3d51
Improvements after review feedback from T.K.:
Jan 12, 2016
8be8937
Merge pull request #44 from open-craft/keyboard-a11y
itsjeyd Jan 12, 2016
32f0064
Improvements after further review feedback from T.K.:
Jan 12, 2016
b970890
Merge pull request #45 from open-craft/oc-1161-2
itsjeyd Jan 13, 2016
469662c
Fix installation process.
itsjeyd Jan 13, 2016
e541389
Remove local implementations of "load_resource" and "render_template";
itsjeyd Jan 13, 2016
a2cbbdc
Set up basic infrastructure for theming.
itsjeyd Jan 13, 2016
7f038d2
Implement Apros theme.
itsjeyd Jan 13, 2016
a80ee8f
Add theming info to README.
itsjeyd Jan 13, 2016
fc063d9
Address review comments.
itsjeyd Jan 14, 2016
adaaaf7
Fix Travis build.
itsjeyd Jan 14, 2016
bbc413b
Make sure size of content never exceeds size of item.
itsjeyd Jan 14, 2016
7f86621
Increase amount of vertical whitespace below "Feedback" section.
itsjeyd Jan 14, 2016
ad9887f
Make integration tests more robust by waiting for placed and reverted
itsjeyd Jan 14, 2016
1a119b6
Merge pull request #48 from open-craft/add-theming
itsjeyd Jan 15, 2016
47d67d9
Fix: Make sure pressing "?" only brings up a single "Keyboard Help"
itsjeyd Jan 15, 2016
b1dc9bf
Editor: New "Width (%)" field
bradenmacdonald Jan 15, 2016
d9bc6eb
Use configured widths when displaying the block
bradenmacdonald Jan 15, 2016
8ef66ec
Hide "Advanced Settings" by default
bradenmacdonald Jan 15, 2016
ce05435
Fix: imageURL was renamed but studio code wasn't updated
bradenmacdonald Jan 15, 2016
c785820
Don't preserve old size when saving changes; made it impossible to re…
bradenmacdonald Jan 15, 2016
c5f7922
Work around tricky webkit-firefox CSS box model incompatibility
bradenmacdonald Jan 16, 2016
159bf51
CSS tweaks to make fixed draggable sizing more accurate
bradenmacdonald Jan 18, 2016
f0b0ec0
Partial implementation of new integration tests
bradenmacdonald Jan 18, 2016
87eb855
Make helper methods in test_interaction.py more robust
bradenmacdonald Jan 18, 2016
3cde64c
Remove ability to invoke "Keyboard Help" by pressing "?".
itsjeyd Jan 18, 2016
76dad17
Extend integration tests to check if "Keyboard Help" can be dismissed by
itsjeyd Jan 18, 2016
2cccadd
Fix PEP8 violation.
itsjeyd Jan 18, 2016
4ea84c4
Remove information about global "?" shortcut from "Keyboard Help".
itsjeyd Jan 18, 2016
ae0832c
Merge pull request #50 from open-craft/fix-keyboard-help
itsjeyd Jan 18, 2016
7a1ddad
Update README.md to contain current analytics events.
Kelketek Jan 13, 2016
3b31be0
Fix JS handling of feedback popups.
Kelketek Jan 13, 2016
7c14fb8
Fix analytics events and add tests.
Kelketek Jan 14, 2016
0684dd4
Address Analytics notes.
Kelketek Jan 14, 2016
574e1e6
Quality fixup.
Kelketek Jan 14, 2016
82a02bc
Fix feedback clearing issues and extraneously fired events.
Kelketek Jan 15, 2016
dcf7b6a
Refactor event tests.
Kelketek Jan 15, 2016
30e402c
Update README to reflect analytics changes.
Kelketek Jan 15, 2016
eae8256
Remove redundant fields from events.
Kelketek Jan 15, 2016
661545e
Better specificity with analytics docs.
Kelketek Jan 18, 2016
aa64fac
Support newer Travis infrastructure.
Kelketek Jan 18, 2016
461ea84
Fix: Make sure zone labels are centered vertically in the LMS.
itsjeyd Jan 18, 2016
1f4c54f
Remove IE9 shims.
itsjeyd Jan 18, 2016
b1f39a5
Reordering of constants for better readability in JS.
Kelketek Jan 18, 2016
5f9d73a
Merge pull request #47 from open-craft/kelketek/analytics-refinement
Kelketek Jan 18, 2016
eee2ccd
Remove obsolete file containing JS "placeholder" shim.
itsjeyd Jan 18, 2016
62d2afb
Increase specificity of CSS rule instead of using !important to shield
itsjeyd Jan 18, 2016
ca47133
Make sure "Apros" theme also overrides LMS styles for zone labels.
itsjeyd Jan 18, 2016
d31dce4
Merge pull request #51 from open-craft/alignment-fix-and-cleanup
itsjeyd Jan 18, 2016
9e32e44
Basic size/layout integration tests for desktop
bradenmacdonald Jan 18, 2016
6b97741
Update this branch with latest changes from master
bradenmacdonald Jan 18, 2016
f5f9f38
Fix corner case: image smaller than author-specified draggable width
bradenmacdonald Jan 18, 2016
c955a38
Update screenshots.
itsjeyd Jan 18, 2016
2686211
Extend "Usage" section of README to cover all options for customizing
itsjeyd Jan 18, 2016
dfdecfb
Expand test coverage to mobile
bradenmacdonald Jan 18, 2016
b4b1f7d
Update screenshot links in README.
itsjeyd Jan 18, 2016
b1c9416
Add test for backwards compatibility
bradenmacdonald Jan 18, 2016
dcd9e25
Fix test failure due to Firefox issue
bradenmacdonald Jan 18, 2016
6d42da9
Merge pull request #52 from open-craft/update-screenshots
itsjeyd Jan 18, 2016
ed5b8dd
Fix one more corner case
bradenmacdonald Jan 18, 2016
af69f85
Indicate that the block is mobile app friendly
bradenmacdonald Jan 18, 2016
6b2155b
Fix item duplication bug that can occur (due to virtual dom change tr…
bradenmacdonald Jan 19, 2016
32f48ee
Merge pull request #49 from open-craft/width-changes
bradenmacdonald Jan 19, 2016
58144f1
Mark display_name and help for item properties for translation.
itsjeyd Jan 19, 2016
05d4ed1
Revert unicode character workaround from
itsjeyd Jan 21, 2016
d1746f4
Address comments from string review.
itsjeyd Jan 22, 2016
d20f5e6
Center-align content of draggable items.
itsjeyd Jan 25, 2016
610ce88
Use different color for popups if last action was incorrect.
itsjeyd Jan 25, 2016
937f11e
Make sure screen reader recognizes draggable items as elements that can
itsjeyd Jan 25, 2016
3644354
Don't transform zone labels to uppercase by default.
itsjeyd Jan 25, 2016
3b99ed1
Fix labels for input fields in Studio.
itsjeyd Jan 25, 2016
5b2037b
Make sure screen reader users can access help texts for "Show title" and
itsjeyd Jan 25, 2016
2c0b51e
Fix inconsistent naming (problem title vs. problem header).
itsjeyd Jan 25, 2016
a27f413
Make sure droppable zones have unique IDs.
Kelketek Jan 26, 2016
6253328
Make alternative fields required for accessibility.
Kelketek Jan 26, 2016
6503463
Make button-action links into proper buttons.
Kelketek Jan 27, 2016
b7d1134
Fix bug with unique IDs.
Kelketek Jan 28, 2016
3066fdb
Better accessibility for feedback popups and higher contrast for drop…
Kelketek Jan 28, 2016
82dad4a
Fix unique IDs for placed item descriptions. Fix drop zone role.
Kelketek Jan 28, 2016
d51f968
Set release version.
Kelketek Jan 28, 2016
6e01e26
Make travis grab the right build export.
Kelketek Jan 28, 2016
cafdbe7
Reverse feedback accessibility mod that didn't work.
Kelketek Jan 29, 2016
13aa779
Alternative fix for popup accessibility.
Kelketek Jan 29, 2016
fae37c6
Fix integration popup test.
Kelketek Jan 29, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
.noseids
nosetests.xml
coverage.xml

# Translations
*.mo
*.pot

# Integration test output:
/*.log
/tests.*.png
var/*

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IDEs
.idea
.idea/*
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: python
sudo: false
python:
- "2.7"
before_install:
- "export DISPLAY=:99"
- "sh -e /etc/init.d/xvfb start"
install:
- "sh install_test_deps.sh"
- "pip uninstall -y xblock-drag-and-drop-v2"
- "python setup.py sdist"
- "pip install dist/xblock-drag-and-drop-v2-2.0.0.tar.gz"
script:
- pep8 drag_and_drop_v2 tests --max-line-length=120
- pylint drag_and_drop_v2 tests
- python run_tests.py
notifications:
email: false
addons:
firefox: "43.0"
671 changes: 671 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

Loading