Brian Wilson
76773c5bdf
Change updating of CourseTaskLog to mostly occur in worker thread.
2013-06-18 11:13:18 -04:00
Brian Wilson
3b657d6d36
Disable randomized-problem test until bug-fix is merged in.
2013-06-18 11:13:18 -04:00
Brian Wilson
9c1881e5d6
Add unit test to regrade problem using randomization.
2013-06-18 11:13:18 -04:00
Brian Wilson
d37ebea6c0
Add tracking calls to reset (and delete). Add tests for delete. Remove sleep statement used for manual testing.
2013-06-18 11:13:18 -04:00
Brian Wilson
003c9ba5d9
Define MITX_FEATURES['ENABLE_COURSE_BACKGROUND_TASKS'] to allow background tasks to be removed from instructor dash.
2013-06-18 11:13:17 -04:00
Brian Wilson
616d18e1e3
Post-rebasing fixes to re-enable masquerading.
2013-06-18 11:13:17 -04:00
Brian Wilson
1984cfecc1
Add duration to task status. Add tests for reset-attempts.
2013-06-18 11:13:17 -04:00
Brian Wilson
297206f260
Add background task history to instructor dash (as table).
...
Add task-history-per-student button, and fix display of task messages.
2013-06-18 11:13:01 -04:00
Brian Wilson
6cd23875ea
Remove delete button from instructor dash. (Also remove last-modified
...
column from task-in-progress table).
2013-06-18 11:11:34 -04:00
Brian Wilson
8872fbccd2
Add factory for CourseTaskLog.
...
Add unit tests for regrading at courseware level (task and task_queue).
2013-06-18 11:09:32 -04:00
Brian Wilson
8660c9a7af
Check descriptor to identify problems that don't support regrading.
2013-06-18 11:09:32 -04:00
Brian Wilson
ee5ffedfee
Clean up task progress javascript. Add before/after scores to tracking of regrading requests.
2013-06-18 11:09:18 -04:00
Brian Wilson
0d38789a1d
Add additional background tasks: reset attempts, delete state. Update
...
CourseTaskLog fully after task submission, so it works in Eager mode
(for testing).
2013-06-18 11:05:33 -04:00
Brian Wilson
95c1c4b8a8
Refactor tracking and xqueue initialization to no longer require a request. Get tracking logs to work. Add transaction annotations.
...
Make sure to read only once from result objects when getting result status,
so that values are consistent.
2013-06-18 11:04:05 -04:00
Brian Wilson
7711c00e2c
Pull task_queue.py methods out from tasks.py, to represent API calls
...
from client. Tasks.py remains the task implementations running on the
celery worker.
In particular, move status message generation out of task thread to client side.
2013-06-18 11:04:05 -04:00
Brian Wilson
d503e3313f
Add task progress table to instructor dash.
...
Add call to MakoMiddleware() to initialize templates in celery worker server.
Pass task_ids by POST properties (as a list) to collect task progress status.
2013-06-18 11:04:05 -04:00
Brian Wilson
91ac6e68e8
Define initial celery task on instructor dash.
...
Add CourseTaskLog, and make calls to regrading.
Add regrading implementation, and hack the marshalling of request.
2013-06-18 11:04:05 -04:00
Peter Fogg
a4032522a3
Fix merge conflict in CHANGELOG.rst.
2013-06-18 10:31:57 -04:00
Jonah Stanley
94238238e7
Merge pull request #58 from edx/jonahstanley/add-navigation-tests
...
Jonahstanley/add navigation tests
2013-06-18 07:29:17 -07:00
Vasyl Nakvasiuk
80f38b8f3c
python tests for videoalpha
2013-06-18 16:30:14 +03:00
Peter Fogg
8ae22cf3ed
Fix merge conflict in CHANGELOG.rst.
2013-06-18 09:01:37 -04:00
Jason Bau
33027e7e59
Merge pull request #175 from edx/fix/jbau/handle-None-discussion-start_time
...
Fix for broken forums due to forum entry with no start_date
2013-06-17 16:55:56 -07:00
Jason Bau
28ae2b6346
change form of making datetime.max aware (in UTC)
2013-06-17 16:11:35 -07:00
Peter Fogg
5cb456ba85
Fix merge conflict.
2013-06-17 16:49:22 -04:00
Renzo Lucioni
c05a06a885
Merge pull request #182 from edx/renzo/segment-io-auth-backport
...
Switch to using environment variables to get key for Segment.io
2013-06-17 13:40:24 -07:00
Renzo Lucioni
97f4291b2a
Add comment clarifying which Segment.io key is in use
2013-06-17 15:35:04 -04:00
Ned Batchelder
77a9073655
These CHANGELOGS were never used, and are now obsolete.
2013-06-17 14:11:42 -04:00
Renzo Lucioni
c30d2d2f52
Incorporate Segment.io into Logger.log with whitelist
2013-06-17 13:48:50 -04:00
Peter Fogg
8159e86141
Many changes to finish up PR. To wit:
...
-- Changed docstrings to use double quote.
-- More consistent naming for youtube IDs (normal_speed_id -> youtube_id_1_0).
-- Formatting changes for readability.
-- Updated test XML to expect JSON-encoded strings; prevents tests from spuriously failing.
2013-06-17 13:46:20 -04:00
Calen Pennington
82606a062c
Make XModuleDescriptor use __init__ from XBlock
...
Fixes JIRA LMS-203
2013-06-17 13:38:57 -04:00
Calen Pennington
438ac3b1a4
Move video xmodule tests to xmodule directory
2013-06-17 13:38:29 -04:00
Jean Manuel Nater
07486a4dbc
Refactoring the code in tests.py to remove unnecessary dependencies on the XML Modulestore.
2013-06-17 11:54:16 -04:00
John Jarvis
ffeabae069
moving settings into the auth tokens section
2013-06-17 09:07:02 -04:00
John Jarvis
770b9f1f87
fixing segment io settings bug
...
* Moving to the auth tokens section
* Removing the feature flag logic since all features are loaded earlier
```
for feature, value in ENV_TOKENS.get('MITX_FEATURES', {}).items():
MITX_FEATURES[feature] = value
```
2013-06-17 09:01:20 -04:00
Jason Bau
da2fda1045
Fix for broken forums due to forum entry with no start_date
...
modification of @jrbl's version to handle a dict with value None
2013-06-15 01:30:42 -07:00
Peter Fogg
d8f307a50b
Merge branch 'master' into peter-fogg/remove-video-xml
2013-06-14 15:33:51 -04:00
marco
163610d557
updated pinning icons and removed images
2013-06-14 15:10:17 -04:00
marco
d5105b7a4b
updated flag icons to be font-awesome based
2013-06-14 15:04:39 -04:00
marco
b9d97e468c
removed new post icon and added font-awesome replacement
2013-06-14 14:42:16 -04:00
Feanil Patel
e5c20e051c
Update to look for segment io key in auth data.
2013-06-14 14:28:38 -04:00
Peter Fogg
6035d0a23a
Addresses latest comments on pull request #132 . In particular:
...
- Make 1.0x speed default Youtube ID Lyla's introduction video.
- Add acceptance tests for toggling captions on/off.
- Move captions settings acceptance tests into video-editor.feature.
- Rename acceptance test methods to reflect their function.
- Remove undefined variable from video Jasmine tests.
- Test VideoDescriptor.from_xml when no attributes are set.
- Convert Stringy* to non-Stringy equivalents.
- Test parsing of Youtube ID strings and times in more cases.
- Remove some commented-out code.
2013-06-14 14:08:28 -04:00
marco
b6c4cc4a63
new post button using font-awesome
2013-06-14 11:44:48 -04:00
Nate Hardison
224d0074fd
Merge pull request #96 from edx/nate/fix-missing-faq-route
...
Replace /faq route in LMS urls
2013-06-14 08:09:42 -07:00
Peter Fogg
206f582503
Fix merge conflict in common/test/data/full/sequential/Administrivia_and_Circuit_Elements.xml.
2013-06-14 10:44:05 -04:00
Valera Rozuvan
72d7c9ca97
Moved the definition of autoplay attribute to videoalpha_module.py file. Changed double negative if statement for autoplay check to simple if.
2013-06-14 11:12:32 +03:00
Alexander Kryklia
9f4dcbcd1b
disables pylint warning for lettuce tests syntax
2013-06-14 11:12:32 +03:00
Valera Rozuvan
4c544d6f49
Added lettuce tests for autoplay in videoalpha.
2013-06-14 11:12:32 +03:00
Valera Rozuvan
66e106a9e2
Copied autoplay attribute from video xmoudle to videoalpha. Now students will have the video autoplaying, and in Studio it will be pause by default.
2013-06-14 11:12:32 +03:00
Christina Roberts
9e0997d3c8
Merge pull request #111 from edx/feature/christina/unify-fields
...
Move "stringy" functionality into xblock fields
2013-06-13 13:49:14 -07:00
JonahStanley
daf5ef146e
Fixed weird issue of needed to sometimes first find then click instead of css_click
2013-06-13 16:33:39 -04:00