Commit Graph

2984 Commits

Author SHA1 Message Date
Sarina Canelake
eb0e09d63f Clean up some instructor dash code 2013-11-04 11:38:43 -05:00
Diana Huang
0018568799 Merge pull request #1555 from edx/diana/certs-reverification-path
Verified Certificate Reverification Path
2013-11-04 08:31:56 -08:00
Greg Price
2123d5e7ae Merge pull request #1570 from edx/gprice/forum-staff-label
Remove label from forum posts by global staff
2013-11-01 13:10:54 -07:00
Will Daly
9ab35759be Added wait for problem to re-render when checking or resetting it
Added wait for JS on upload page
Fixed an issue where css_click wasn't waiting for JS to load
2013-11-01 14:31:37 -04:00
Greg Price
c4cdb457de Remove label from forum posts by global staff
The motivation for this change is performance. The forums UI code gets
the list of users for each role and renders the staff label based on
those lists. The list for the staff role is expensive to compute because
there is no index on the is_staff attribute, and we cannot create one
because the User model is built into django.

Users with is_staff=True are still assigned the Moderator role upon
enrolling in a course, so this change will have no practical effect
except that a user who is granted staff privileges after enrolling in a
course will have to be made a Moderator in order for their posts to be
labeled.

Additionally, the UI did not use the list of users with the Student
role, so that list has been removed as well.
2013-11-01 14:16:55 -04:00
Sarina Canelake
fff36275db Implement background email tasks on student dash
LMS-1244
2013-11-01 09:20:34 -04:00
Diana Huang
17610edf77 Code cleanup due to review comments
* make `user_status` more intelligent
* remove some logic from the templates
* rename `parse_error_msg` to `parsed_error_msg`
* fix up and add more tests

LMS-1387
2013-10-31 15:01:39 -04:00
Diana Huang
5389d6b7cf Remove DAYS_GOOD_FOR from being a class variable.
LMS-1387
2013-10-31 15:01:39 -04:00
Victor Shnayder
d939a61e93 Update error messages and copy for re-verification flow 2013-10-31 15:01:39 -04:00
Julia Hansbrough
70b7ac41c0 Merge pull request #1493 from edx/flowerhack/fix/wiki-textarea-trap
Fixing accessibility bug where users could not tab through on wiki
2013-10-31 10:02:29 -07:00
Brian Wilson
782a07e0ea Add datadog stats for duplicate subtask and subtask update errors. 2013-10-30 17:09:40 -04:00
Sarina Canelake
b86e912905 Make event handlers fire properly
Respond to review comments

LMS-1242
2013-10-30 13:43:39 -04:00
Sarina Canelake
57a57e8af7 Move PIT code into util.coffee
Add testing coverage
LMS-1242

Add "Edit This Course In Studio" link for studio courses
LMS-1291
2013-10-30 13:43:39 -04:00
Sarina Canelake
123e18109d Reorganize Course Info dash section
LMS-1242
2013-10-30 13:43:39 -04:00
Sarina Canelake
9330ef65a8 Enable Pending Tasks section on new dash
Add Pending Tasks section to the following tabs:
* Course Info
* Student Email
* Data Download
* Email

LMS-1242
2013-10-30 13:43:39 -04:00
Greg Price
87e0ddf398 Fix a typo that caused an error to be raised 2013-10-30 11:18:27 -04:00
Sarina Canelake
9cea6ab599 Copy changes to Inst Dash email 2013-10-30 10:03:29 -04:00
Don Mitchell
80c83f0b88 Merge pull request #1508 from edx/dhm/expect_json
Change expect_json to put parsed json in new attr
2013-10-29 14:02:32 -07:00
Don Mitchell
45453fae61 Change expect_json to put parsed json in new attr 2013-10-29 16:13:58 -04:00
Diana Huang
78bbaa02b8 Add in human-readable text for error messages.
LMS-1133
2013-10-29 15:21:14 -04:00
Diana Huang
d3a4747b06 Add new user_status functionality to PhotoVerification. 2013-10-29 15:13:45 -04:00
Diana Huang
f314965113 Add tests for some of the new views. 2013-10-29 14:57:23 -04:00
Diana Huang
dd46eb47ab Add barebones reverification flow. 2013-10-29 14:57:23 -04:00
Calen Pennington
10ee2dea82 Clean up imports 2013-10-29 10:36:22 -04:00
Diana Huang
92c94b5317 Merge pull request #1483 from edx/diana/certs-upgrade-path
Verified Certificate Upsell
2013-10-28 14:28:50 -07:00
Diana Huang
8ee1807840 Fix acceptance tests
LMS-1127
2013-10-28 15:59:19 -04:00
brianhw
1be7dbe3d1 Merge pull request #1495 from edx/brian/remove-celery-group
Remove the use of celery.group from bulk email subtasks.
2013-10-28 10:31:31 -07:00
Greg Price
d2e0f27a0a Merge pull request #1510 from edx/gprice/lms-forum-perf
Improve forums performance
2013-10-28 10:28:37 -07:00
Greg Price
e6ecb6ecfe Improve performance of forum views
Avoid recomputing course module information for every thread, which
should dramatically improve the performance of high-percentile latency
queries.

JIRA: FOR-250
2013-10-28 13:04:52 -04:00
Brian Wilson
5b48ed840b Refactor subtask creation logic to be less email-specific. 2013-10-28 12:58:11 -04:00
Greg Price
a7d769dfea Remove an unnecessary global
The _DISCUSSIONINFO global was originally used as a cache, but has since
lost that capability and is therefore just harmful. This is a precursor
to more refactoring that will improve the performance of the forums and
may itself provide some performance improvement because it separates the
computation done by two functions that each previously computed the
entirety of _DISCUSSIONINFO.
2013-10-28 12:57:51 -04:00
Brian Wilson
0f8f82c845 Define and use SubtaskStatus class. 2013-10-28 12:57:41 -04:00
Brian Wilson
ed4b954a53 Remove the use of celery.group from bulk email subtasks. 2013-10-28 12:47:11 -04:00
Carlos Andrés Rocha
eebfe57c68 Merge pull request #1505 from rocha/allow-course-export-to-write-to-stdout
Allow the export_course command to dump results to stdout
2013-10-28 09:21:34 -07:00
Greg Price
545701d520 Add forum utility code unit test coverage
This is in preparation for significant refactoring of the code in
question.
2013-10-28 11:58:43 -04:00
Greg Price
54ad411078 Remove unused code 2013-10-28 11:58:43 -04:00
Carlos Andrés Rocha
b797e34deb Allow the export_course command to dump results to stdout 2013-10-28 11:47:44 -04:00
Greg Price
7abaecd8b7 Improve forum error handling
CommentClientError now has sane subclasses that are meaningfully
distinct, and each subclass is handled appropriately. Errors raised by
the requests library are no longer handled by turning them into
CommentClientErrors, since there is no meaningful handling we can do,
and this way we will get more visibility into why errors are occurring.
Also, HTTP status codes from the comments service indicating client
error are correctly passed through to the client.
2013-10-28 11:23:06 -04:00
Diana Huang
90ad574314 Fix up acceptance tests for upsell.
LMS-1127
2013-10-25 15:29:44 -04:00
David Baumgold
dc589f723c Merge remote-tracking branch 'origin/release' 2013-10-25 15:29:03 -04:00
Diana Huang
9c65d97f0a Add new acceptance test for complete upgrade flow 2013-10-25 15:25:30 -04:00
Diana Huang
4efe4ecd11 Add acceptance tests. 2013-10-25 15:21:42 -04:00
Diana Huang
e13dd094af Add an upgrade parameter to the verification views. 2013-10-25 15:21:42 -04:00
Calen Pennington
c3d25e1e61 Prevent unbounded nesting of lms field_datas
Previously, whenever a XModule was created from a XDescriptor, we
created another level of nesting of FieldData objects. This change
prevents that nesting.

[TKTS-393]
2013-10-25 12:21:05 -04:00
Carlos Andrés Rocha
7d76f36018 Make course xml export work for all modulestores
Also let xml import work on modulestores that don't use write signaling
2013-10-25 11:58:17 -04:00
Julia Hansbrough
4261569215 Fixing accessibility bug where users could not tab through on wiki
LMS-1307
2013-10-25 13:10:14 +00:00
Joe Blaylock
9e76c6120b Merge pull request #1286 from edx/jrbl/certs-single-user
Certificates: Add regeneration command
2013-10-24 11:59:32 -07:00
Alexander Kryklia
ee02a2dd97 Merge pull request #1421 from edx/anton/metadata-time-field
Anton/metadata time field
2013-10-24 05:50:13 -07:00
Sarina Canelake
185cf42e8f Merge pull request #1462 from edx/sarina/adjust-email-template
Change footer color in bulk email template
2013-10-23 14:59:12 -07:00
Jay Zoldak
45f87b30c0 Improve problems acceptance tests. Disable brittle video test. 2013-10-23 13:53:11 -04:00