Commit Graph

60 Commits

Author SHA1 Message Date
Xavier Antoviaque
08dffa12cc registration-optional: Allow to hide some optional registration fields
Allow to control which of the optional fields from the registration page
are being displayed to the user. Added the configuration variable
`REGISTRATION_OPTIONAL_FIELDS` to control which ones. The default value
shows all the fields as currently; to not display some of the fields,
set the configuration variable with only the fields you want to display:

```
REGISTRATION_OPTIONAL_FIELDS = [
    'level_of_education',
    'gender',
    'year_of_birth',
    'mailing_address',
    'goals'
]
```
2013-11-05 11:50:29 +01:00
Brian Talbot
96cd85d824 LMS: converts close modal controls to use HTML <button> element 2013-10-16 16:14:29 -04:00
Xavier Antoviaque
23eab5c5bd accessibility: Replace close modal button <div> by <a> link (LMS-582)
The close button for the modal dialog was marked up as a paragraph,
containing a graphical text character, inside two div elements, with an
associated click event. This made the button unusable for keyboard
users.

Replaced <divs> with a link element (<a role="button"), adapted the CSS
accordingly, and updated the existing <a> modal close buttons.
2013-09-09 16:43:44 -03:00
Adam Palay
69ffb6a87b replace edx with variable substitution
fixes template errors

keep tos untranslated

formatting fixes
2013-07-31 19:39:15 -04:00
Calen Pennington
0d3c44996a LMS i18n from Tsinghua 2013-07-31 19:39:15 -04:00
Jason Bau
824fb9a311 The bulk of Shibboleth authentication for Stanford
Highlights:
* The url '/shib-login/' interfaces with apache/mod_shib via
  request.META to handle shibboleth login and registrations
* Courses can designate 'enrollment_domains' to limit enrollment
  to users with a linked ExternalAuthMap verified by a particular
  identity provider
* Tests
* Logging

 Changes to be committed:

	new file:   common/djangoapps/external_auth/migrations/0001_initial.py
	new file:   common/djangoapps/external_auth/migrations/__init__.py
	new file:   common/djangoapps/external_auth/tests/test_shib.py
	modified:   common/djangoapps/external_auth/views.py
	modified:   common/djangoapps/student/views.py
	modified:   common/lib/xmodule/xmodule/course_module.py
	modified:   lms/djangoapps/courseware/access.py
	modified:   lms/djangoapps/courseware/tests/test_access.py
	modified:   lms/envs/common.py
	modified:   lms/envs/dev.py
	modified:   lms/envs/test.py
	modified:   lms/templates/courseware/course_about.html
	modified:   lms/templates/dashboard.html
	modified:   lms/templates/extauth_failure.html
	modified:   lms/templates/navigation.html
	modified:   lms/templates/register.html
	modified:   lms/templates/signup_modal.html
	modified:   lms/urls.py
	renamed:    lms/wsgi_apache.py -> lms/wsgi_apache_lms.py
2013-06-19 00:48:18 -07:00
Giulio Gratta
91e2a39ec7 moving preventDefault() statements to the local script tag 2013-05-07 12:50:59 -07:00
Giulio Gratta
f7719a60c7 changed offending javascript:void() hrefs on anchors to preventDefault() 2013-05-07 11:20:47 -07:00
Giulio Gratta
a266330b2d made signup form labels and close modal button accessible friendly and tweaked login form to match signup form 2013-05-07 10:25:08 -07:00
Carlos Andrés Rocha
7697a43cf4 Fix typo in signup forms
LMS Lighthouse [#263]
2013-03-15 09:38:06 -07:00
Victor Shnayder
219c51f898 Fix placeholder email in signup form 2013-02-05 22:24:20 -05:00
Ashley Penney
c4377484d5 You need to fill out your full name but it's not marked with a * as
required.
2012-11-27 11:39:33 -05:00
Kyle Fiedler
b6e03c60b6 Added back the ie fixes from before 2012-09-12 16:01:39 -04:00
Kyle Fiedler
bce61cd6e5 Revert "Merge pull request #642 from MITx/bug/kfiedler/ie"
This reverts commit 2b5e8a4944, reversing
changes made to db0549be78.
2012-09-07 14:18:34 -04:00
Kyle Fiedler
4d4e5824cd Change form style for login and signup modals so it is consistant in every browser and we have no usability problems 2012-09-07 13:29:49 -04:00
ichuang
46bc7bc499 remove unnecessary hidden fields 2012-08-02 13:44:37 -04:00
ichuang
10ebcefd54 add openid authentication 2012-08-01 14:59:55 -04:00
Matthew Mongeau
8e2ced916f Add field-error class to field with issues. 2012-07-26 14:06:29 -04:00
Bridger Maxwell
973e474a9c Fix for appending course enroll to login/register form, now that the form is being cloned. 2012-07-23 18:46:02 -04:00
Kyle Fiedler
54516a9560 Fix grid and make sure that everything is fluid 2012-07-23 13:56:44 -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
fa51046949 Merge pull request #253 from MITx/smooth_registration
Smooth registration
2012-07-22 13:49:59 -07:00
David Ormsbee
7f3a443409 Change over to new reg fields (styling still broken) 2012-07-22 15:35:24 -04:00
David Ormsbee
b67db2bbdb Minor UI tweaks to signup form 2012-07-22 01:59:57 -04:00
Bridger Maxwell
2f4aba8042 If a user is anonymous when they click the enroll button, they will automatically be enrolled in the course if they immediately log in our create an account. 2012-07-21 17:52:28 -04:00
Bridger Maxwell
60b547273d Registering now temporarily logs you in. A message is displayed on the dashboard, reminding you to activate your account. Logging in shows a reminder about activating. 2012-07-21 15:31:48 -04:00
Kyle Fiedler
46887cbc7f Added stars for required fields in sign up form 2012-07-20 16:47:24 -04:00
Kyle Fiedler
c7e43d98dc Rearranged more images, made some smaller, made some slight changes to the design on the homepage and made all edX proper case 2012-07-20 11:18:39 -04:00
David Ormsbee
a7491516dd Merge pull request #234 from MITx/mm-month-names
Add month names
2012-07-19 14:35:47 -07:00
Matthew Mongeau
be450e6864 Add month names 2012-07-19 17:33:07 -04:00
Matthew Mongeau
5a81f819d9 Remove honor code summary from sign up form. 2012-07-19 16:38:06 -04:00
Matthew Mongeau
16f4ed27bf Change default gender option to be blank. 2012-07-19 16:38:05 -04:00
David Ormsbee
8bba4abc43 Change citizenship to country in signup 2012-07-18 19:44:03 -04:00
Matthew Mongeau
a4afa689e6 Hook up tos and honor links. 2012-07-18 16:36:37 -04:00
Galen Frechette
98ee9fb447 adds styles to new inputs on signup form 2012-07-18 13:04:27 -04:00
Matthew Mongeau
dd0cd57ead Add date_of_birth 2012-07-18 13:02:56 -04:00
Matthew Mongeau
456054a261 Cleanup. 2012-07-18 13:02:31 -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
Galen Frechette
72f772d6ff adds styles to reset password page 2012-07-18 10:56:59 -04:00
Matthew Mongeau
9bf4b11ae9 Style notice. 2012-07-18 10:11:06 -04:00
Matthew Mongeau
c5d3efdf60 Show sign up form if not signed in. 2012-07-18 10:10:37 -04:00
Matthew Mongeau
c0fffa451b Fix sign up styles. 2012-07-17 18:09:48 -04:00
Matthew Mongeau
9c672f7bd0 Hook up forms for forgot password functionality. 2012-07-17 16:27:30 -04:00
Bridger Maxwell
bde93aea99 Merge remote-tracking branch 'origin/master' into template_caching
Conflicts:
	lms/templates/footer.html
	lms/templates/signup_modal.html
2012-07-16 16:19:26 -04:00
Bridger Maxwell
70e2f7c0d5 Merged with master. Moved a bunch of static template files to their own urls (without /t/template). 2012-07-16 15:32:22 -04:00
Galen Frechette
2d3bab4188 styles activation message 2012-07-16 13:34:12 -04:00
Galen Frechette
5033ec656c changes home page header design to accomodate new tagline, adds copy to about page and 1 blog post 2012-07-16 13:11:47 -04:00
Galen Frechette
1c027c43d2 hooks up links from login modal to signup modal and signup modal to login modal 2012-07-16 10:27:55 -04:00