Commit Graph

4229 Commits

Author SHA1 Message Date
JonahStanley
46d0e5ed05 Fixed display-name bug and added in a function to trigger events on firefox as well as check if it is firefox 2013-08-08 13:24:26 -04:00
JonahStanley
94d0ad5563 Fixed issue preventing navigation to various course setting pages 2013-08-08 13:24:25 -04:00
JonahStanley
214ccaab5f Fixed notification and code mirror for firefox 2013-08-08 13:24:25 -04:00
Jonah Stanley
a867676ebb Merge pull request #612 from edx/jonahstanley/fix-upload-test
Fixed upload test.  Also added information to testing.md
2013-08-08 09:40:52 -07:00
Jay Zoldak
006b90af9f Modify cms acceptance tests to use auto_auth workflow. 2013-08-08 12:08:25 -04:00
JonahStanley
e8b2789409 Fixed upload test. Also added information to testing.md 2013-08-08 11:32:30 -04:00
Peter Fogg
587d86bfb2 Add acceptance test for XML-only video content.
Since we've had issues with the default video being incorrectly shown,
this creates an XML-only video and ensures that the correct
(non-default) Youtube ID is sent to the client.
2013-08-08 10:48:07 -04:00
David Baumgold
32f76988c6 Update docstring 2013-08-08 09:53:19 -04:00
David Baumgold
7aec95c310 Removed get_module_previews function
According to @cpennington, no modules return anything for `get_sample_state`,
so this function is extraneous.
2013-08-08 09:52:41 -04:00
David Baumgold
a87a1bfcda Docstrings 2013-08-08 09:46:15 -04:00
David Baumgold
baa9bd5bdc Make sure to return the content, not the fragment 2013-08-08 09:46:15 -04:00
David Baumgold
3fa990ea60 Made some tests more general, less fragile 2013-08-08 09:46:15 -04:00
David Baumgold
8a95d7e6f0 XBlock integration: replaced get_html with runtime.render()
Currently calls the same machinery, but re-routes the logic in preparation of
deeper integration with XBlock
2013-08-08 09:46:15 -04:00
David Baumgold
9634e222be Refactored get_module_previews function 2013-08-08 09:46:15 -04:00
David Baumgold
4896444d10 Clean up item views, use JsonResponse class 2013-08-08 09:46:15 -04:00
chrisndodge
ece4ec3f57 Merge pull request #533 from edx/fix/cdodge/use-static-shorthand-for-asset-urls
To increase portability of courses, have the Asset Index page display the classic /static/... URL shorthand.
2013-08-08 06:32:35 -07:00
Peter Fogg
df024b0bb1 Fix VideoAlpha acceptance test. 2013-08-07 13:25:53 -04:00
Jonah Stanley
ead87d1fde Merge pull request #602 from edx/jonahstanley/fix-acceptance-template
Changed css_selector
2013-08-07 10:12:06 -07:00
JonahStanley
ed620e635b Reset the file within the test itself 2013-08-07 13:07:38 -04:00
JonahStanley
a38f71cdbc Fixed the upload test 2013-08-07 13:06:25 -04:00
Christina Roberts
2191a11151 Merge pull request #598 from edx/christina/email-studio-request
Send e-mail to STUDIO_REQUEST_EMAIL when user requests course creator privileges
2013-08-07 09:51:14 -07:00
David Baumgold
6e784d606f Merge pull request #596 from edx/db/ff-subsection-datetime-bug
Fix Firefox subsection datetime bug
2013-08-07 09:25:17 -07:00
JonahStanley
5919456f24 Fixed some course-team bugs and other css stuff 2013-08-07 12:03:25 -04:00
JonahStanley
5941f5b795 Fixed the other places that the css occurs 2013-08-07 11:30:50 -04:00
David Baumgold
97aaab9cc6 Created a new lettuce test to catch bug, updated other lettuce tests 2013-08-07 11:03:19 -04:00
JonahStanley
9e93d5588c Changed css_selector 2013-08-07 10:14:50 -04:00
cahrens
e6f15bf611 Send notification to admin when a user enters 'pending' state.
Also fixes a bug where message was not sent to user when entering 'denied'
state unless the user was previously in 'granted'.

Send notification to admin when a user enters 'pending' state.

Pylint cleanup.
2013-08-06 16:26:33 -04:00
cahrens
55f2cbc92f Split up event notification, make sorting on username work. 2013-08-06 15:58:55 -04:00
Christina Roberts
4c95078eb0 Merge pull request #578 from edx/christina/autoenroll
Auto-enroll course staff to fix "View Live".
2013-08-06 12:33:56 -07:00
Peter Fogg
ae517fee01 Merge pull request #455 from edx/peter-fogg/remove-videoalpha-xml
Peter fogg/remove videoalpha xml
2013-08-06 11:06:46 -07:00
chrisndodge
b24fdd9e22 Merge pull request #576 from edx/feature/cdodge/display-location-information-in-course-listings
Feature/cdodge/display location information in course listings
2013-08-06 10:27:38 -07:00
Peter Fogg
9c84440501 PR comment cleanup. 2013-08-06 13:23:33 -04:00
Peter Fogg
08c5f955aa Unstyled prototype for new list editor design. 2013-08-06 13:23:33 -04:00
Peter Fogg
f317244ac4 Convert Video Alpha to metadata-only. 2013-08-06 13:23:33 -04:00
chrisndodge
4d5727a2da Merge pull request #570 from edx/fix/cdodge/add-metadata-caching-to-delete-course
Performance enhancements for django-admin commands to delete and clone course
2013-08-06 07:52:17 -07:00
Chris Dodge
22d33db542 fix broken test due to HTML change 2013-08-06 09:55:09 -04:00
cahrens
3732d418c9 Add helper methods to hide internals of how users are enrolled in courses.
Remove _

Minor cleanup.
2013-08-06 09:36:39 -04:00
Chris Dodge
861f1ef7bb add a test for the static url generation 2013-08-05 16:15:03 -04:00
Chris Dodge
b8bc1d0171 remove redudent asset_url return value when uploading files 2013-08-05 16:15:03 -04:00
Chris Dodge
3dbe4c189f add unit tests around asserting that /static/ links are not re-written on import 2013-08-05 16:15:03 -04:00
Chris Dodge
6200b2903f have the Files and Upload pages surface a 'portable_url' which uses the /static/ shorthand which is more portable across course runs 2013-08-05 16:15:03 -04:00
Adam Palay
f85cfc11fa redirects lms landing page to student.views.index if there is no marketing site
resets the cms edge redirect to '/'
2013-08-05 16:05:12 -04:00
cahrens
a227b14fdd Auto-enroll course staff to fix "View Live".
STUD-554

Code review feedback.
2013-08-05 15:00:37 -04:00
David Baumgold
94976df8d7 Check that content-type starts with application/json
When Chrome sends the AJAX request to add a user to the course team, it sets the
Content-type to "application/json". However, when Firefox sends the same request,
it sets the Content-type to "application/json; charset=UTF-8". This commit only
checks that the Content-type begins with "application/json", not is identical
to it; that way, Firefox can play, too.
2013-08-05 14:16:28 -04:00
Chris Dodge
09a3bc01be show the organization, course number, course run in the course listing page in CMS 2013-08-05 12:51:42 -04:00
Julian Arni
b38750e15d Refactor wrap_xmodule call 2013-08-05 11:09:43 -04:00
Chris Dodge
9da0aa2e85 rename clone.py to a more descriptive clone_course.py 2013-08-02 22:30:31 -04:00
Chris Dodge
9f07507396 add same optimizations to the clone course command 2013-08-02 22:28:53 -04:00
Chris Dodge
f57b02c199 add a metadata cache and re-compute ignore when deleting a course to speed up the whole thing as well as squelching warnings in the console output 2013-08-02 22:19:59 -04:00
Adam Palay
0f18ea4bf7 redirects edge landing page to /dashboard 2013-08-02 17:18:49 -04:00