Commit Graph

798 Commits

Author SHA1 Message Date
kimth
7a9489a9b8 modx_dispatch combines file and non-file submission into single answer dict 2012-08-03 13:53:31 -04:00
kimth
1be3057d3c xqueue interface in LMS not responsible for S3 upload 2012-08-03 11:49:20 -04:00
kimth
f023dc6e26 xqueue_interface generates hashkeys 2012-08-03 10:10:06 -04:00
kimth
fbed664d4f Auth saved as dict rather than tuple 2012-08-03 09:39:18 -04:00
kimth
3d8ee671b3 Adjust comments 2012-08-03 09:34:47 -04:00
kimth
843f8ae9c3 Basic uploads to S3 2012-08-02 21:51:36 -04:00
kimth
3b3482b394 Skeleton for S3 upload by LMS 2012-08-02 20:43:09 -04:00
kimth
35a461d917 Empty file inputs insert empty string as their submission in ajax; LMS reacts accordingly 2012-08-02 20:22:33 -04:00
kimth
ea36eef6e0 modx_dispatch uses copied variable rather than source 2012-08-02 19:38:33 -04:00
kimth
236c3dc576 modx_dispatch handles new/old problem_check ajax 2012-08-02 19:34:33 -04:00
kimth
988136c401 LMS must login before submitting to xqueue 2012-08-02 18:34:14 -04:00
kimth
d2db4134cd CodeResponse does basic error handling from xqueue submission 2012-08-02 17:28:12 -04:00
kimth
6de2fa5e1e LMS interface to xqueue in separate file 2012-08-02 17:10:35 -04:00
kimth
541f5ecdd2 Filesubmission frontend 2012-08-02 14:32:40 -04:00
kimth
2e3c5de1a5 Remove hardcoding of LMS callback URL and default queuename 2012-07-31 14:08:02 -04:00
kimth
0879f3e0a8 Use build_absolute_uri rather than hardcoded sandbox URL 2012-07-31 13:21:45 -04:00
kimth
a773df588a Merge branch 'master' into kimth/lms-coderesponse 2012-07-31 13:02:48 -04:00
kimth
27e142dd2f Extra empty line 2012-07-31 12:58:32 -04:00
Calen Pennington
b659846e1f Add askbot to lms staticfiles_dirs in test 2012-07-31 12:46:47 -04:00
Kyle Fiedler
2bbb19790d Fixed jquery ui image problem and added a base style sheet for lms to override fonts 2012-07-31 11:06:39 -04:00
kimth
3968e117e1 Simplify dict load in xqueue_callback 2012-07-31 10:42:32 -04:00
kimth
22af531b0b Hardcoded URL moved to LMS for now 2012-07-31 10:09:47 -04:00
kimth
e2f4995bc9 LMS provides fully qualified callback URL 2012-07-31 08:57:28 -04:00
David Ormsbee
e5fd92630d Merge pull request #316 from MITx/feature/halogenandtoast/form-field-errors
Added styles for errors
2012-07-30 15:24:12 -07:00
Kyle Fiedler
c611bd9228 added treeview 2012-07-30 17:39:44 -04:00
Kyle Fiedler
257ce0430f Moved vendor sass files to css folder and included them in 2012-07-30 17:39:19 -04:00
Kyle Fiedler
7ab5bbfaef Moved files and removed files 2012-07-30 17:37:53 -04:00
Kyle Fiedler
6cad5459b3 Start to refactor courseware scss 2012-07-30 17:37:11 -04:00
Kyle Fiedler
3bb82c41d2 Remove couse css file 2012-07-30 16:21:03 -04:00
Calen Pennington
1fce1dbe34 Make sure that django-pipelined css and js don't collide between the cms and lms 2012-07-30 14:04:39 -04:00
Calen Pennington
818cb0d1e7 Separate cms and lms auth and env files, and have the LMS that runs with the CMS use the CMS modulestore 2012-07-30 12:59:28 -04:00
Calen Pennington
012036a478 Clean up minor whitespace stuff in settings 2012-07-30 12:59:28 -04:00
Calen Pennington
c9e637d719 Make cms and lms tests run independently (they had been colliding on collectstatic) 2012-07-30 12:58:45 -04:00
Calen Pennington
5e60983e48 Merge pull request #314 from MITx/kf-cms-style
Style for CMS
2012-07-30 09:58:08 -07:00
Kyle Fiedler
a040f4346e Added styles for errors 2012-07-30 11:57:31 -04:00
Kyle Fiedler
84272f3f8c Added Gemfile.lock to ignore 2012-07-30 09:51:50 -04:00
Kyle Fiedler
d94fd1542d Added Gemfile.lock to ignore 2012-07-30 09:50:24 -04:00
Victor Shnayder
59defd33b6 Formatting and little bugfixes
* add course and org to full/course.xml
* fix error path in clean_xml script
* commit rakefile change needed by c5334f150c
2012-07-27 16:09:25 -04:00
Victor Shnayder
cb30850759 Config for integration tests
* move askbot repo into mitx as a submodule
* set settings as in 85865f7221
* remove test_mongo env.
* Refactor tests to use new config structure.
* Add real integration tests--not working due to bugs in course xml. Turned off.
2012-07-27 16:09:25 -04:00
Victor Shnayder
73b3826820 Initial integration tests!
* new env file to run integration tests with mongo backend
  - needs askbot to get db in the right state
  - needs wiki to load pages successfully
  - not using migrations to make it run faster
* import test courses, check that each page loads without erroring.
* fix NonePointerException in index view to make tests pass
* misc formatting cleanups
2012-07-27 16:09:25 -04:00
Victor Shnayder
da29d88d04 Add import-export round-trip check.
* add fix for the file export code--remove tag tail and text,
  not just the children.
2012-07-27 16:08:24 -04:00
Victor Shnayder
168f76ce5a Add jump_to functionality to lms on mongo
* More tests for mongo modulestore, including tweaks to test files
* add location_to_id method to CourseDescriptors
* Implement path_to_location method in mongo.py
  - TODO: does not handle position in sequences yet.
* fix bug in jump_to view.
2012-07-27 16:08:24 -04:00
Victor Shnayder
eb5989aa99 Ready to implement path_to_location
* Clean up test data for simple, toy courses
* clean up test_mongo.py
* write initial test for path_to_location
* hook up view to use path_to_location

Next: actually implement it :)
2012-07-27 16:08:24 -04:00
Victor Shnayder
3cc601b398 Clean up course_info views
* catch exceptions and return a 404 if course not found
* add Location.is_valid(), tests
* stub of jumpto/ view.
2012-07-27 16:08:23 -04:00
Victor Shnayder
beda4f95b2 Initial version of import/check/export script.
* uses xml modulestore, and new error_handler hook
2012-07-27 16:08:23 -04:00
Victor Shnayder
8a6b9a5666 update lms readme 2012-07-27 16:06:54 -04:00
Bridger Maxwell
0a60881ca5 Merge branch 'master' of github.com:MITx/mitx 2012-07-27 08:50:07 -04:00
Bridger Maxwell
351ded6c05 Merge branch 'MITx/hotfix/1.0.2' 2012-07-27 08:49:33 -04:00
Calen Pennington
6abd1ec64a Merge pull request #309 from MITx/feature/tutorials_fix
Add optional hide_from_toc attribute to XML elements
2012-07-27 05:38:29 -07:00
Bridger Maxwell
dc021312dd Added faq about UC Berkeley's 'X University' Consortium. 2012-07-27 08:38:01 -04:00