Commit Graph

18841 Commits

Author SHA1 Message Date
Calen Pennington
b1494da02c Merge pull request #330 from MITx/ExternalAuth
External auth
2012-08-03 13:18:55 -07:00
Rocky Duan
79497287d7 moved some stuff & ajax link to page 2012-08-03 15:55:21 -04:00
kimth
9d52c43286 Add 'value' to filesubmission template 2012-08-03 15:49:30 -04:00
kimth
c25eded4fc Move xqueue_interface to lib/capa 2012-08-03 15:32:02 -04:00
Victor Shnayder
94e24c1626 Leftover name->url_name fixes 2012-08-03 14:45:43 -04:00
kimth
604596843c Time to think about file interface with xqueue 2012-08-03 14:39:30 -04:00
kimth
473bb817e8 File objects passed to responsetype only if responsetype explicitly allows filesubmissions 2012-08-03 14:34:48 -04:00
kimth
bfd441255a Every path except for 'get_score' gets filename instead of file object 2012-08-03 14:16:20 -04:00
kimth
cbb377d383 Answer dict values remain unicode, rather than str 2012-08-03 14:10:22 -04:00
kimth
afcd6fb1d7 Safe logging of File-included answers 2012-08-03 14:02:49 -04:00
kimth
eeaa1e0440 Capa util function to turn File objects in dict to filename (string) 2012-08-03 13:54:33 -04:00
Victor Shnayder
b46172da9b Rename module.name and descriptor.name to url_name
* update templates and code references
* also a display_name property that defaults to cleaned url_name
2012-08-03 11:36:54 -04:00
Rocky Duan
7ab137328f Merge branch 'master' of github.com:MITx/mitx into discussion2 2012-08-03 10:16:35 -04:00
kimth
f023dc6e26 xqueue_interface generates hashkeys 2012-08-03 10:10:06 -04:00
kimth
3d8ee671b3 Adjust comments 2012-08-03 09:34:47 -04:00
kimth
e4609f3abe Remove unnecessary hardcode url in CodeResponse 2012-08-03 09:30:03 -04:00
kimth
688f8914e3 Update filesubmission template to show state 2012-08-02 20:32:03 -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
236c3dc576 modx_dispatch handles new/old problem_check ajax 2012-08-02 19:34:33 -04:00
kimth
51fc69da52 Spelling in comment 2012-08-02 19:26:37 -04:00
kimth
5c3c3df1b7 Unbreak check_fd callback 2012-08-02 19:24:25 -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
c7084e5240 Comments for 'check_fd' 2012-08-02 15:35:25 -04:00
kimth
541f5ecdd2 Filesubmission frontend 2012-08-02 14:32:40 -04:00
Victor Shnayder
2f911fd3b2 add error-handling TODOs to capa_problem 2012-08-02 14:28:44 -04:00
Victor Shnayder
987b9c11a9 Use url_name for chapters and sections in lms views
* got rid of the hackish conversions between ' ' and '_'
* use url_name and display_name where appropriate
* update templates to match.
2012-08-02 14:28:44 -04:00
Victor Shnayder
26ae88faac Factor out get_item_error() into a new ModuleStoreBase class
* may be temporary if we move errors into the items themselves.
2012-08-02 13:41:54 -04:00
ichuang
a7103ff893 switch to PascalCase, remove unnecessary assignment 2012-08-02 13:39:12 -04:00
ichuang
3eff9ffecd match external_domain as well when retrieving ExternalAuthMap objects 2012-08-02 13:28:52 -04:00
Victor Shnayder
64346d727b todos and comments 2012-08-02 11:33:53 -04:00
Victor Shnayder
fd796478d8 add a handy supertrace script 2012-08-02 11:33:04 -04:00
Victor Shnayder
31b8270cfb remove too-clever lazy dictionary 2012-08-02 10:14:35 -04:00
Victor Shnayder
41eca8a0a5 Move files into xmodule module per comment on #326
* move html_checker.py
* move stringify.py
* move tests into module
* remove duplicate progress.py
* fix module imports
2012-08-02 10:13:58 -04:00
Brittany Cheng
8febbf249f Merge branch 'master' of github.com:MITx/mitx into discussion2 2012-08-02 10:06:43 -04:00
ichuang
613c53a710 slight cleanup, no need to import all of django_openid_auth 2012-08-02 10:05:26 -04:00
ichuang
f2a9110bda change model to have external_id and external_domain be unique_together 2012-08-02 09:56:33 -04:00
Victor Shnayder
fc0f938eae Responding to comments on pull #326
* cleaned up error module:
  - only one template
  - save error message in xml and reload
* better display of problem definition and metadata to staff
* save error messages as string, not exception objects.
2012-08-02 09:56:01 -04:00
ichuang
b2e9d980ff don't overwrite oid_backend 2012-08-02 09:42:26 -04:00
ichuang
23c3c5a652 print -> log.debug, rename function from camel case 2012-08-02 09:37:24 -04:00
ichuang
727e51411f small change so that ssl authenticated user can logout to see main screen 2012-08-02 08:59:02 -04:00
ichuang
4a0d0a08db minor change so that SSL code doesn't interfere with non-nginx instances 2012-08-01 23:37:35 -04:00
ichuang
938871571b Merge branch 'master' of github.com:MITx/mitx into ExternalAuth 2012-08-01 23:01:29 -04:00
ichuang
a759850e3e add SSL / MIT certificates auth; clean up external_auth.views 2012-08-01 22:42:06 -04:00
Victor Shnayder
e2ce54612c remove debugging assert from test 2012-08-01 19:25:47 -04:00
Victor Shnayder
652e2aa24c fix for inheriting metadata bug
* problem was on import to json--got all the metadata,
  but didn't preserve the _inherited_metadata
* added own_metadata property, use it instead
2012-08-01 19:25:47 -04:00
Victor Shnayder
82899323e8 Add metadata inherit test
* also make a placeholder roundtrip export test
2012-08-01 19:25:47 -04:00
Brittany Cheng
ae89aac6ce Merge branch 'master' of github.com:MITx/mitx into discussion2 2012-08-01 18:07:52 -04:00
ichuang
7b725a075c external_auth djangoapps files 2012-08-01 17:57:21 -04:00