Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
59c5bae
Disables the previous/next arrows on pdf books on the first/last page…
Sep 19, 2013
93a9e28
Upgrading to 1.4.8
Sep 16, 2013
d2cd8a6
Added setting to disable find courses links
Sep 20, 2013
3ff203d
Renamed setting ENABLE_STUDENT_SELF_ENROLLMENT to COURSES_ARE_BROWSABLE
Sep 23, 2013
b2af990
If setting COURSES_ARE_BROWSABLE is off return 404 on /courses
Sep 23, 2013
231b130
Removed hardcoded case for edge for /courses
Sep 23, 2013
ecddd93
Adding Pillow jpeg and tiff system libs
Sep 19, 2013
d0f0e59
Fixed js coding style for pdf arrows toggle
Sep 25, 2013
724fc5a
Updated copy in dashboard
Sep 26, 2013
94c74b5
update discussion forum doc
Sep 26, 2013
ebcb134
First caption does not display outline on initial mouseover.
Sep 27, 2013
21a9446
fix the bug that the first caption and the second one will become cur…
chengshiwen Sep 25, 2013
77f3e4f
fix the bug: when click a caption, the previous one will be in bold
chengshiwen Sep 27, 2013
522cb8b
fix the video caption lag issue
chengshiwen Sep 27, 2013
813795d
Add a management command to dump xml courses
cpennington Sep 16, 2013
f500b72
Make sure that we have the right set of fields available during xml p…
cpennington Sep 17, 2013
cb56b7b
Merge pull request #1119 from cheng-shiwen/cheng-shiwen/master
Sep 27, 2013
36fc1a6
Fix for PR 1119.
Sep 27, 2013
5ca778e
Display:none arrows in disabled state
Sep 27, 2013
4a9d192
Merge pull request #1154 from edx/valera/fix_failing_jasmine_test_ret…
Sep 27, 2013
f4dd508
Merge pull request #1055 from cpennington/cleanup-xml-hotfix
cpennington Sep 27, 2013
5940364
Moved jquery event handling to parent since hidden elements do not ge…
Sep 27, 2013
07f94d4
Move Pearson courseware imports to function level.
brianhw Sep 27, 2013
d2516b6
Merge pull request #1142 from edx/zoldak/update-discussion-doc
Sep 27, 2013
d77491e
Pull XModule attributes out into a mixin that can be applied to xblocks
cpennington Sep 6, 2013
f27af19
Merge pull request #1056 from edx/jkarni/feature/update-preview-reqs
Sep 27, 2013
eebc524
Merge pull request #909 from cpennington/xmodule-mixin
cpennington Sep 27, 2013
d75cdda
An assortment of small OE changes, both for ICE and standard
caesar2164 Sep 26, 2013
abfb33c
Merge pull request #1158 from edx/giulio/small-oe-fixes
caesar2164 Sep 27, 2013
8d7b40f
Merge pull request #1160 from edx/brian/fix-extauth-courseware-import
brianhw Sep 27, 2013
64d4ebd
Revert last commit
Sep 27, 2013
316b4ee
Merge pull request #1073 from edx/usman/lms1026-find-courses-link-opt…
symbolist Sep 27, 2013
67ccf1e
Move nose/django arguments for tests out of rake so that raw manage.p…
cpennington Sep 24, 2013
bc56ab7
Merge pull request #1057 from edx/usman/lms-1114-pdf-arrows
symbolist Sep 27, 2013
759a853
Merge pull request #1063 from edx/e0d/django-1.4.8
Sep 27, 2013
9a6ae8f
Clean up open ended problems view and fix error.
Sep 20, 2013
f8c7278
Follow patterns
Sep 26, 2013
3762770
Merge pull request #1117 from cpennington/manage.py-only-tests
cpennington Sep 27, 2013
d792201
Change DescriptionLocator to DefinitionLocator
Sep 26, 2013
19fb201
Streamline and test uploading ... remove requirement that uploads be …
Sep 27, 2013
c11f708
Merge pull request #1080 from edx/fix/vik/oe-problems
VikParuchuri Sep 27, 2013
1c6e005
Merge pull request #1137 from edx/dhm/pr271_fixups
dmitchell Sep 27, 2013
577749f
Merge pull request #1163 from edx/fix/vik/image-upload
VikParuchuri Sep 27, 2013
427f118
Merge pull request #1150 from edx/jmclaus/bugfix_outline_mouseover_fi…
Sep 30, 2013
486d32c
Rearrange and comment .gitignore so I can find things.
nedbat Sep 30, 2013
0f3bb1e
Ignore .noseids files wherever they appear.
nedbat Sep 30, 2013
2e7e354
Fix course enrollment count in instructor dashboard
Sep 30, 2013
7e88257
Merge pull request #1176 from edx/ned/organize-gitignore
nedbat Sep 30, 2013
16caf1c
Merge pull request #1177 from rocha/fix-enrollment-counts
rocha Sep 30, 2013
06cac19
make ENABLE_SHOPPING_CART truly optional
jbau Sep 28, 2013
829d0d5
Merge pull request #1174 from edx/jbau/fix/optional-enable-shopping-cart
jbau Sep 30, 2013
7d578e4
Update CHANGELOG.rst
jbau Sep 30, 2013
aeac8dd
All video controls have a full outline when receiving focus
Sep 26, 2013
e73bc90
Merge pull request #1134 from edx/jmclaus/bugfix_video_controls_focus…
Sep 30, 2013
d7e4410
Adjust parameters to construct_xblock_from_class to match XBlock repo.
nedbat Sep 17, 2013
c36adf8
Minor cosmetic code fixes.
nedbat Sep 20, 2013
3a6450c
Use XModuleDescriptor.parse_xml to interpret XML.
nedbat Sep 13, 2013
a1d464a
Update XBlock requirement to new XML code.
nedbat Sep 27, 2013
718328e
Get rid of all mention of XModuleDescriptor.
nedbat Sep 30, 2013
cdb80bb
Fix the new tests to use the new way to make XBlocks.
nedbat Sep 30, 2013
0ed1ee9
Create edit_course_tabs management command
nparlante Sep 26, 2013
0bb1133
We aren't ready to use XBlock.load_class, there are duplicate entry p…
nedbat Oct 1, 2013
ac23149
Merge pull request #1100 from edx/ned/new-xml
nedbat Oct 1, 2013
b5fc5d8
Fix run single test example
Oct 1, 2013
bb60c40
Merge pull request #1190 from edx/will/fix-test-docs
Oct 1, 2013
81a2ac4
Merge branch 'release'
marcotuts Oct 1, 2013
67722f1
Merge pull request #1147 from edx/nick/tab-edit
nparlante Oct 1, 2013
6e3ece9
Refactor upload acceptance tests and add locked asset tests for regis…
Sep 26, 2013
a352587
Merge pull request #1138 from edx/zoldak/locked-asset-tests
Oct 2, 2013
dfe45d5
First pass at ARIA. Video player buttons announce themselves as butto…
Sep 27, 2013
ce976a8
All buttons have an ARIA role, name , and state
Sep 28, 2013
a9b2f2d
Volume slider announces its name and value to screen readers
Sep 28, 2013
e5895ad
Progress slider announces its nabe and value to screen readers
Sep 30, 2013
cd12492
Disabled one test in video_quality_control
Sep 30, 2013
a3db5da
Code cleanup
Oct 1, 2013
332bfa9
Added more explanatory states to the Volume, Fullscreen, HD, and CC c…
Oct 1, 2013
eeb3830
Fixed failing test.
Oct 1, 2013
d201ce1
Addressed PR comments
Oct 2, 2013
9d41875
Added changes made to video.html to fixtures. Addressed latest PR com…
Oct 2, 2013
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
80 changes: 52 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,73 @@
# .gitignore for edx-platform.
# There's a lot here, please try to keep it organized.

### Files private to developers

requirements/private.txt
lms/envs/private.py
cms/envs/private.py

### Python artifacts
*.pyc

### Editor and IDE artifacts
*~
*.scssc
*.swp
*.orig
/nbproject
.idea/
.redcar/

### OS X artifacts
*.DS_Store
*.mo
.AppleDouble
:2e_*
:2e#
.AppleDouble
database.sqlite
requirements/private.txt
lms/envs/private.py
cms/envs/private.py
courseware/static/js/mathjax/*
flushdb.sh
build

### Internationalization artifacts
*.mo
conf/locale/en/LC_MESSAGES/*.po
!messages.po

### Testing artifacts
.testids/
.noseids
nosetests.xml
.coverage
coverage.xml
cover/
log/
cover_html/
reports/
/src/
\#*\#

### Installation artifacts
*.egg-info
Gemfile.lock
.env/
conf/locale/en/LC_MESSAGES/*.po
!messages.po
.pip_download_cache/
.prereqs_cache
.vagrant/
node_modules

### Static assets pipeline artifacts
*.scssc
lms/static/sass/*.css
lms/static/sass/application.scss
lms/static/sass/course.scss
cms/static/sass/*.css
lms/lib/comment_client/python
nosetests.xml
cover_html/
.idea/
.redcar/

### Logging artifacts
log/
logs
chromedriver.log
/nbproject
ghostdriver.log
node_modules
.pip_download_cache/
.prereqs_cache

### Unknown artifacts
database.sqlite
courseware/static/js/mathjax/*
flushdb.sh
build
/src/
\#*\#
.env/
lms/lib/comment_client/python
autodeploy.properties
.ws_migrations_complete
.vagrant/
logs
.testids/
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ These are notable changes in edx-platform. This is a rolling list of changes,
in roughly chronological order, most recent first. Add your entries at or near
the top. Include a label indicating the component affected.

LMS: Add PaidCourseRegistration mode, where payment is required before course registration.

LMS: Add split testing functionality for internal use.

CMS: Add edit_course_tabs management command, providing a primitive
editing capability for a course's list of tabs.

Studio and LMS: add ability to lock assets (cannot be viewed unless registered for class).

LMS: Improved accessibility of parts of forum navigation sidebar.
Expand Down Expand Up @@ -311,3 +316,6 @@ Common: Updated CodeJail.
Common: Allow setting of authentication session cookie name.

LMS: Option to email students when enroll/un-enroll them.

Blades: Added WAI-ARIA markup to the video player controls. These are now fully
accessible by screen readers.
85 changes: 41 additions & 44 deletions cms/djangoapps/contentstore/features/upload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ Feature: CMS.Upload Files
# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can upload files
Given I have opened a new course in Studio
And I go to the files and uploads page
Given I am at the files and upload page of a Studio course
When I upload the file "test"
Then I should see the file "test" was uploaded
And The url for the file "test" is valid

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can upload multiple files
Given I have opened a new course in studio
And I go to the files and uploads page
When I upload the files "test","test2"
Given I am at the files and upload page of a Studio course
When I upload the files "test,test2"
Then I should see the file "test" was uploaded
And I should see the file "test2" was uploaded
And The url for the file "test2" is valid
Expand All @@ -24,17 +23,15 @@ Feature: CMS.Upload Files
# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can update files
Given I have opened a new course in studio
And I go to the files and uploads page
Given I am at the files and upload page of a Studio course
When I upload the file "test"
And I upload the file "test"
Then I should see only one "test"

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can delete uploaded files
Given I have opened a new course in studio
And I go to the files and uploads page
Given I am at the files and upload page of a Studio course
When I upload the file "test"
And I delete the file "test"
Then I should not see the file "test" was uploaded
Expand All @@ -43,16 +40,14 @@ Feature: CMS.Upload Files
# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can download files
Given I have opened a new course in studio
And I go to the files and uploads page
Given I am at the files and upload page of a Studio course
When I upload the file "test"
Then I can download the correct "test" file

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can download updated files
Given I have opened a new course in studio
And I go to the files and uploads page
Given I am at the files and upload page of a Studio course
When I upload the file "test"
And I modify "test"
And I reload the page
Expand All @@ -62,57 +57,59 @@ Feature: CMS.Upload Files
# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can lock assets through asset index
Given I have opened a new course in studio
And I go to the files and uploads page
When I upload the file "test"
And I lock "test"
Then "test" is locked
Given I am at the files and upload page of a Studio course
When I upload an asset
And I lock the asset
Then the asset is locked
And I see a "saving" notification
And I reload the page
Then "test" is locked
Then the asset is locked

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Users can unlock assets through asset index
Given I have opened a course with a locked asset "test"
And I unlock "test"
Then "test" is unlocked
Given I have created a course with a locked asset
When I unlock the asset
Then the asset is unlocked
And I see a "saving" notification
And I reload the page
Then "test" is unlocked
Then the asset is unlocked

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Locked assets can't be viewed if logged in as an unregistered user
Given I have created a course with a locked asset
And the user "bob" exists
When "bob" logs in
Then the asset is protected

# Uploading isn't working on safari with sauce labs
# TODO: work with Jay
# @skip_safari
# Scenario: Locked assets can't be viewed if logged in as unregistered user
# Given I have opened a course with a locked asset "locked.html"
# Then the asset "locked.html" can be clicked from the asset index
# And the user "bob" exists
# And "bob" logs in
# Then the asset "locked.html" is protected
@skip_safari
Scenario: Locked assets can be viewed if logged in as a registered user
Given I have created a course with a locked asset
And the user "bob" exists
And the user "bob" is enrolled in the course
When "bob" logs in
Then the asset is viewable

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Locked assets can't be viewed if logged out
Given I have opened a course with a locked asset "locked.html"
# Note that logging out doesn't really matter at the moment-
# the asset will be protected because the user sent to middleware is the anonymous user.
# Need to work with Jay.
And I log out
Then the asset "locked.html" is protected
Given I have created a course with a locked asset
When I log out
Then the asset is protected

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Locked assets can be viewed with is_staff account
Given I have opened a course with a locked asset "locked.html"
Given I have created a course with a locked asset
And the user "staff" exists as a course is_staff
And "staff" logs in
Then the asset "locked.html" can be clicked from the asset index
When "staff" logs in
Then the asset is viewable

# Uploading isn't working on safari with sauce labs
@skip_safari
Scenario: Unlocked assets can be viewed by anyone
Given I have opened a course with a unlocked asset "unlocked.html"
Then the asset "unlocked.html" can be clicked from the asset index
And I log out
Then the asset "unlocked.html" is viewable
Given I have created a course with a unlocked asset
When I log out
Then the asset is viewable
Loading