John Jarvis
0f39e04697
Adding certificate restriction lookup
...
If certificate status is 'restricted' the grade
and survey link will be shown, the download link will not
2013-01-29 10:27:53 -05:00
Carlos Andrés Rocha
ef69b738c9
Sort courses announcement date
...
If there is no announcement date (in the policy metadata) then use a
heuristic to sort them.
If there is an announcement date, the use it in the heuristic to
determine if the course is new or not.
2013-01-17 21:46:58 -05:00
Brian Wilson
fea6feb04f
Strip whitespace off of registration demographics before validation
2013-01-16 17:39:33 -05:00
Brian Wilson
e68e612ee1
Return 404 in begin_exam_registration when course or exam are not valid
2013-01-16 16:40:28 -05:00
Brian Wilson
cc31c79517
fixes for first round of code review
2013-01-15 18:15:54 -05:00
Brian Wilson
32b2d1b97f
Perform merge from master, including renumbering of migrations in common/djangoapps/student/migrations
2013-01-15 15:42:09 -05:00
Brian Wilson
9e157b91f0
change urls from xxx_test_registration to xxx_exam_registration.
2013-01-15 00:59:34 -05:00
Brian Wilson
96da4ac55e
Add some log statements. Add missing fields to _make_tc_user, and make _make_tc_registration independent of course configuration (for testing)
2013-01-14 16:27:28 -05:00
Brian Wilson
3d0384692c
add pearson_make_tc_registration command
2013-01-11 17:50:02 -05:00
Carlos Andrés Rocha
8f21d7a738
Add property to course module to check if a course is new
...
The property can be set in the policy metadata. If it is not specified
then it is set to true if the course has not started yet.
Also adds a property to check how many days are left until the course starts.
2013-01-10 15:57:29 -05:00
Brian Wilson
e57656e24f
Add TestCenterExam class to course module, and plumb through.
2013-01-06 17:57:13 -05:00
Brian Wilson
ea8a56da0a
add id generation and validation
2013-01-04 18:45:46 -05:00
Brian Wilson
e32dfcf0a0
get display of validation errors to work.
2013-01-04 01:39:40 -05:00
Brian Wilson
c5cc15a92a
return json, and add validation errors. Start displaying field with error.
2013-01-03 18:51:26 -05:00
Brian Wilson
c76f37050a
introduce form to template
2013-01-03 03:22:37 -05:00
Brian Wilson
4abd9cd3d4
get closer to working again
2013-01-02 18:56:25 -05:00
Carlos Andrés Rocha
1ac41787a7
Fix broken display of courses in university profile
2012-12-21 16:38:17 -05:00
David Ormsbee
241b4eb0fe
Merge pull request #1196 from MITx/feature/rocha/change-courses-layout
...
New Layout for course listings with new course graphical overlay
2012-12-21 12:18:05 -08:00
Brian Wilson
2788ad8629
switch back to returning json to test_center_register template, and enable jquery handling in template.
2012-12-21 01:39:18 -05:00
Carlos Andrés Rocha
22de7cbb4e
Add logic to display courses by start date and show the new overlay
2012-12-20 20:05:11 -05:00
Carlos Andrés Rocha
3a4b626e62
Remove unused code from accounts login page
2012-12-20 14:19:06 -05:00
Brian Wilson
d5bd2313c1
fix migrations, removing one field and making another nullable. Update registration page to allow for editing only demographics.
2012-12-20 04:16:00 -05:00
Carlos Andrés Rocha
5d85fab283
Fix django auth login redirection
...
The django authentication decorator login_required, redirects to
settings.LOGIN_URL. If it is missing, it redirects to /accounts/login.
We did not have the setting enable, not a proper page where to
redirect. This cause users not logged in to see a 404 error when
accessing courseware directly, by using a link or a bookmark.
[#41499213 ]
2012-12-19 18:48:30 -05:00
Brian Wilson
ee99080687
add additional fields to testcenter user and update test center registration.
2012-12-19 16:53:13 -05:00
Brian Wilson
f472ac60f5
minor tweaks to test center registration
2012-12-19 00:21:49 -05:00
Brian Wilson
f912ffe8a2
add persistence of testcenter_user registration
2012-12-18 18:31:41 -05:00
Brian Wilson
bc40a7f127
make test-reg dialog non-modal, and pass course_id in URL. Add to course info.
2012-12-18 16:16:55 -05:00
Brian Wilson
c7d379beb6
add first pass at wiring test registration dialog
2012-12-18 03:20:02 -05:00
Victor Shnayder
f8dc85b6f8
oops. used wrong variable name.
2012-11-20 10:28:47 -05:00
Victor Shnayder
5a03b53a2f
cert bugfix: handle students who don't have a grade
2012-11-20 09:20:03 -05:00
Carlos Andrés Rocha
8df425e5e8
Add backend for displaying news on the student dashboard
...
[#39472239 ]
2012-11-19 13:06:36 -05:00
Victor Shnayder
d723bb7103
simpify process_survey_link
2012-11-19 11:39:43 -05:00
Victor Shnayder
71b585bb61
move unique_id_for_user into student/models.py
2012-11-17 16:33:00 -05:00
Victor Shnayder
003dc7ef51
Get rid of check for non-existent CERTIFICATES_ENABLED flag...
2012-11-17 16:19:52 -05:00
Victor Shnayder
3a44f043d2
Add tests, make them pass.
2012-11-17 15:58:49 -05:00
Victor Shnayder
5bc0b4864a
moving cert link and survey logic into views, adding tests. In-progress.
2012-11-17 15:24:38 -05:00
David Ormsbee
1ab7019607
Merge pull request #1044 from MITx/feature/brian/press-updates
...
Feature/brian/press updates
2012-11-14 10:01:16 -08:00
Brian Wilson
515d2f4b1e
add press mentions for October, update missing logos, and add sorting.
2012-11-14 11:55:08 -05:00
Carlos Andrés Rocha
5f5f56bbbd
Fix syntax on dashboard template
2012-11-09 21:40:55 -05:00
Carlos Andrés Rocha
8c2cbede9e
Quickfix to render the dashboard when there is no certificate db tables
2012-11-09 20:58:02 -05:00
John Jarvis
157c98a79d
only check cert_status when certificates feature flag is enabled
2012-11-09 20:31:05 -05:00
Victor Shnayder
cf33d85ef9
Wire up cert status
2012-11-09 18:18:36 -05:00
David Ormsbee
e90d321142
Comments, whitespace from review.
2012-11-07 19:28:22 -05:00
David Ormsbee
4b02b2af2a
Rearrange how we handle the auth tokens for our fake Pearson preliminary testing
2012-11-07 17:20:49 -05:00
David Ormsbee
528fcd7f4e
Create a config option for enabling a Pearson login in a totally hacky manner.
2012-11-07 14:08:55 -05:00
David Ormsbee
92f2fbf0f8
Ugly, ugly hack needed so that Pearson can test something today, to be replaced by a real implementation later this week or early next.
2012-11-07 13:55:08 -05:00
Vik Paruchuri
a75acffe01
made requested changes to statsd names, score bucket
2012-10-24 15:11:41 -04:00
Vik Paruchuri
4360d10aec
altered spacing
2012-10-23 19:12:08 -04:00
Vik Paruchuri
952b3468cf
pep8 in views, remove instance state check
2012-10-23 19:07:06 -04:00
Vik Paruchuri
64b117a7c2
changed metric names, added into render page
2012-10-23 18:14:16 -04:00