Felix Sun
728ccd4bca
Fixed some docstring formatting things.
...
Expanded test coverage a little.
2013-07-01 18:03:36 -04:00
Felix Sun
801853f691
Fixed a small, but dangerous, string-to-integer casting bug in hint_manager.
...
Expanded tests of hint_manager.
Enabled the hint_manager by default in development environments.
2013-07-01 18:03:36 -04:00
Felix Sun
4071a57f68
Fixed broken tests. Made the hint manager enabled in testing environments - this lets us test the hint manager.
2013-07-01 18:03:36 -04:00
Felix Sun
696cc3a4db
Fixed numerous code-formatting issues and pep8 violations.
...
Began enforcing one-vote-per-person. This can be disabled with debug="True" in the <crowdsource_hinter> tag.
Started tests of the hint manager.
2013-07-01 18:03:36 -04:00
Felix Sun
4a406901b3
Moved the crowdsourced hinter module into mako template form.
...
Fixed some bugs in the tests for crowdsourced hinter.
2013-07-01 18:03:36 -04:00
Felix Sun
aba99084f2
Finished prototype of hint moderation view. Began re-writing tests of the crowdsource hinter module. (Old tests no longer cover all the code, now that moderation has been added.)
2013-07-01 18:03:35 -04:00
Felix Sun
0c0de20a2f
Began work on instructor view to hinting system.
...
Added moderation feature - you can now choose to hold all hints for moderator approval before showing.
2013-07-01 18:03:35 -04:00
Ned Batchelder
bec6330c34
Merge pull request #251 from edx/ned/pylint-fixes
...
Ned/pylint fixes
2013-06-24 10:44:35 -07:00
mlsteele
88060c0590
Merge pull request #144 from edx/fix/msteele/instructor_tests
...
fix gradebook tests
2013-06-21 19:16:09 -07:00
Ned Batchelder
df4b512b6f
Change wildcard imports into specific imports
2013-06-21 17:33:06 -04:00
Ned Batchelder
61b53713d2
Remove unused imports from lms, as detected by pylint.
2013-06-19 16:56:34 -04:00
Brian Wilson
eb1fe899e8
Fix progress reporting.
2013-06-18 11:17:17 -04:00
Brian Wilson
b224f4e8cc
move test_tasks to test_integration.
2013-06-18 11:17:16 -04:00
Brian Wilson
c48dabc383
Move code to instructor_task Django app.
2013-06-18 11:17:15 -04:00
Brian Wilson
d2b3977f57
Add dogstat logging to background tasks.
2013-06-18 11:13:55 -04:00
Brian Wilson
9e11a5659f
Rename task_queue.py to task_submit.py.
2013-06-18 11:13:19 -04:00
Brian Wilson
c676cfd64a
Rename fields in CourseTaskLog, including a task_key column for indexing. Use 'rescore' instead of 'regrade'. Clean up task submission.
2013-06-18 11:13:19 -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
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
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
Miles Steele
7fb9bfd685
fix test string comparison
2013-06-13 10:25:36 -04:00
Miles Steele
0825319cc7
fix gradebook tests
2013-06-12 13:16:08 -04:00
dcadams
0b4e03e8bc
Merge pull request #66 from edx/feature-dcadams-usermanagement
...
Feature user-management autoenroll
2013-06-10 10:10:57 -07:00
Greg Price
625a9581eb
Fix XSS vulnerability in instructor dashboard
2013-06-07 10:23:03 -04:00
dcadams
7d961bae54
undid last commit where some coffee files were inadvertantly added.
2013-06-06 10:26:30 -07:00
dcadams
a8ec1ca9d5
Modified code such that non-logged in student activates correctly.
2013-06-04 17:08:34 -07:00
dcadams
1ea6545556
Worked on reducing pep8 violations.
2013-06-04 14:17:13 -07:00
dcadams
56f81fb104
Merge branch 'master' of github.com:edx/edx-platform into feature-dcadams-usermanagement
2013-06-04 10:29:04 -07:00
dcadams
67356cdcc8
Merge of master to get Jenkins running.
2013-05-15 09:54:53 -07:00
dcadams
5e75e91322
Takes care of Victor's comments on the PR.
...
Note, the students_lc list is used in _do_enroll_students when overload
= True so it needs to be left in.
2013-05-13 13:20:37 -07:00
dcadams
2ef3bcc92d
Commit just to get Jenkins to rerun.
2013-05-08 14:52:18 -07:00
dcadams
dcabac8edf
Merge branch 'master' of github.com:edx/mitx into feature-dcadams-usermanagement
2013-05-08 14:48:29 -07:00
Chris Dodge
5ba22ec89b
fix another broken test
2013-05-06 16:56:37 -04:00
Chris Dodge
a92910db20
update lms to reflect where comment models.py is now in common
2013-05-06 16:23:32 -04:00
Greg Price
0f7378a171
Modify UserFactory to create a profile for the user
...
This allows specification of profile parameters when creating a user. Because
the profile contents are always accessed from the database, the user must be
saved to the database before the profile is created. This means that the
profile cannot be created if the user is merely being built (and not saved)
rather than created.
2013-05-03 10:31:35 -04:00
dcadams
6a1a907339
Fix pep8 violations.
2013-04-30 11:48:23 -07:00
dcadams
aa4b61180c
Some cleanup.
2013-04-29 10:03:11 -07:00
dcadams
c64f0b1a18
Modifications to instructor dashboard - enrollment tab:
...
- Remove single enrollment/unenrollment
- Make unenrollment work with multi-email listbox.
- Provide checkbox for auto-enroll on activate if user not yet signed
up.
- Enroll student when activating if auto-enroll flag set.
2013-04-29 09:38:10 -07:00
Calen Pennington
6c7c49e6bd
Fix pep8 violations
2013-04-17 11:07:58 -04:00
Calen Pennington
904ec5d88b
Shorten long line
2013-04-17 10:05:43 -04:00
Calen Pennington
856b50531c
Remove errant copy of test_download_csv.py
...
It was added to 2 different locations by mistake.
2013-04-17 10:04:40 -04:00
Calen Pennington
6644b78819
Fix gradebook when using grade cutoffs other than A/B/C
2013-04-16 11:38:58 -04:00
Calen Pennington
63b5153cde
Clean up violations from ichuang's PR
2013-04-08 15:08:23 -04:00
chrisndodge
146f09b788
Merge pull request #1821 from MITx/fix/cdodge/student-to-user-name-change
...
xblock changed attribute names from 'student' to 'user'. Need to update ...
2013-04-08 08:20:19 -07:00