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
4abd9cd3d4
get closer to working again
2013-01-02 18:56:25 -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
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
Victor Shnayder
052807d7f6
Change the unique student id calculation to match the id we send to xqueue
...
- can't change the xqueue one because there's data that uses it
- we checked, and no one has sent out survey links that use the old sha1() format
doing this because we'll need the LMS to be able to send the anon student id to backend services e.g. for peer grading, and passing two different anon student ids to xmodule (one for xqueue, one for other uses) is just asking for confusion.
2012-11-30 11:30:02 -05:00
Victor Shnayder
d1eec9bcf4
add a salt. using user.id since that's handy.
2012-11-19 11:34:31 -05:00
Victor Shnayder
71b585bb61
move unique_id_for_user into student/models.py
2012-11-17 16:33:00 -05:00
David Ormsbee
156dc1fb6c
Merge branch 'master' into feature/victor/actual-askbot-removal
...
Conflicts:
lms/envs/aws.py
2012-11-15 14:24:55 -05:00
David Ormsbee
ad93f70e65
Re-add TestCenterUser along with a basic command to make an entry for a given user already in the system.
2012-11-07 09:24:38 -05:00
Victor Shnayder
793354a0dc
remove (almost) all references to askbot.
2012-10-30 18:23:07 -04:00
David Ormsbee
e4ffb2a514
Add TestCenterUser model and export for Pearson
2012-10-24 11:15:14 -04:00
Victor Shnayder
8b7390c966
Turn of discussion service in test env
...
- add a check for the feature flag before trying to save user info to the service
2012-09-06 17:11:21 -04:00
ichuang
258274f2a7
add string to model class unicode
2012-09-04 10:25:28 -04:00
ichuang
9e8ec09b4d
pep8 fixes
2012-09-02 20:15:57 -04:00
ichuang
2efe481237
move instructor dashboard into its own lms djangoapp; add new
...
functionality - grade dump and download as csv, manage staff list,
force reload of course from xml
2012-09-02 19:05:34 -04:00
Arjun Singh
ed6317f37c
getting rid of terrible hack in favor of re enabling the dispatcher to sync w/ the comment service
2012-08-23 10:03:36 -07:00
Arjun Singh
7f3a4889b8
make discussions work for new users
2012-08-23 06:48:37 -07:00
David Ormsbee
783a3905a4
disable user replication and associated tests
2012-08-21 11:39:36 -04:00
Rocky Duan
028bd23c1c
Merge branch 'master' of github.com:MITx/mitx into profile
...
Conflicts:
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/views.py
lms/templates/course_navigation.html
2012-08-18 16:57:00 -07:00
David Ormsbee
61108c27cb
When replicating CourseEnrollment, make sure Users were created in all DBs before replicating other models
2012-08-16 19:12:57 -04:00
Rocky Duan
50e95de9ef
a place to start for the user profiel & fixed some bugs
2012-08-14 15:04:36 -07:00
Rocky Duan
eb47093b1c
Merge branch 'master' of github.com:MITx/mitx into merge
...
Conflicts:
common/djangoapps/student/models.py
lms/djangoapps/courseware/views.py
lms/templates/course_navigation.html
2012-08-14 12:54:43 -07:00
David Ormsbee
a25f289ca7
re-enable User save signal handler
2012-08-13 13:16:33 -04:00
David Ormsbee
301695a5c4
Remove outdated comment
2012-08-13 13:11:27 -04:00
David Ormsbee
b5beb13964
Fix side-effect related problems with User replication.
...
1. Multiple save()s on the same model are now handled properly. We
had to unmark model objects after the appropriate signals had
fired.
2. There was a side-effect where we were saving the portal User
object to the course_db with the using kw param, but models
remember where they were last saved to, so a later save on that
model object would go to the wrong database.
2012-08-13 13:06:35 -04:00
David Ormsbee
3cabb2dea6
Remove the no-longer-used is_valid_course_id code
2012-08-13 01:00:55 -04:00
David Ormsbee
d24ee25615
Remove debug checking for UserProfile
2012-08-13 00:57:33 -04:00
David Ormsbee
cbfdf59760
Fix test error regarding UserProfiles (a UserProfile must exist before a CourseEnrollment)
2012-08-10 16:41:46 -04:00
David Ormsbee
b3676cd760
Add replication tests
2012-08-10 14:43:43 -04:00
David Ormsbee
8d9297ea04
Some refactoring of how user info is copied over when enrollments are created.
2012-08-10 02:02:44 -04:00
David Ormsbee
731e04e013
Add an explanation of replication
2012-08-10 02:02:44 -04:00
David Ormsbee
b597b17db1
Add support for replicating course enrollment/unenrollment to course databases
2012-08-10 02:02:44 -04:00
Rocky Duan
69e28e3966
callback to sync user info
2012-08-04 17:59:44 -04:00
Calen Pennington
1d1a9173a4
Cleaning up pep8 violations
2012-07-23 14:44:40 -04:00
David Ormsbee
074fc24343
Fix up the signup modal for registration for the new fields.
2012-07-22 18:53:12 -04:00
David Ormsbee
942183d765
Merge branch 'release/1.0' into dormsbee/change_reg_fields
2012-07-22 17:50:46 -04:00
David Ormsbee
7f3a443409
Change over to new reg fields (styling still broken)
2012-07-22 15:35:24 -04:00
Bridger Maxwell
dcafbca106
Added an index to course enrollment created field.
2012-07-21 12:44:25 -04:00
Bridger Maxwell
f337baedb0
Renamed enrollment date to created.
2012-07-20 16:48:04 -04:00
Bridger Maxwell
cdc2ff04f8
Added a datetime stamp to course enrollments.
2012-07-20 13:14:59 -04:00
Matthew Mongeau
67221b0725
Added countries and other demographics to be stored in db.
2012-07-18 13:02:07 -04:00
Matthew Mongeau
7e25f39f62
Change stored gender value for students.models.UserProfile
...
* Changed from 'male', 'female', and 'other' to 'm', 'f', and 'o'
2012-07-18 13:00:40 -04:00
Bridger Maxwell
1a8d999663
Added a migration with indexes on course enrollment and a unique constraint. This involves a migration that first drops the table, because there may be non-unique data there already.
2012-07-17 13:54:54 -04:00
Victor Shnayder
39a1502e1a
Move student app from lms to common
2012-07-13 11:51:32 -04:00