Awais Jibran
1a4eb7d2e8
Pervent reverse tabnabbing in edx platform
2019-08-28 16:08:34 +05:00
Adeel Khan
298d3554fe
Fix templates for XSS code injection via translations
...
This would patch all templates (django/mako)
for a possible XSS code injection via
translation files by html escaping them..
LEARNER-4632
2019-06-25 14:22:42 +05:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
ssemenova
36c867c42a
changed icon html from <i> to <span>
...
TNL-4651
2016-05-31 15:46:23 -04:00
David Baumgold
34addd8fa8
Group imports together in Mako templates
2015-06-03 12:36:47 -04:00
Chris
c5d2dd7536
Upgrading Font Awesome vendor files from 3.2.1 to 4.2.0
...
* updating vendor files
* updating class syntax (to new FA-based classes) for all UI elements
* correcting broken tests
2015-01-06 15:24:12 -05:00
Will Daly
ad11c1b6f4
Update django-countries to 2.1.2, override country name for Taiwan
2014-10-14 13:12:36 -04:00
Sarina Canelake
9a352b9125
Unicode support for course names in reverification flow
2014-04-08 13:11:41 -04:00
Sarina Canelake
034105d2e7
Put mailto and em tags outside i18n strings
...
Signup modal
Contact us form
courseware-error message
2014-04-08 13:09:08 -04:00
Sarina Canelake
2d08b3a394
Fix i18n'd strings to be easier for translators to understand
...
Signup modal
Just translate discussion sr text
Markdown editor help
Help modal and reverify dash
2014-04-08 13:09:07 -04:00
Giulio Gratta
1cd5a80d1e
replace unicode 'X' with font-awesome 'remove'
2014-03-11 12:48:58 -07:00
Giulio Gratta
2ae18c005f
change 'modal' wording to something more general and less jargony
2014-03-11 11:05:42 -07:00
Bertrand Marron
6cb458b46a
Translate gender and education level from user profile
2014-03-04 11:22:32 +01:00
Brian Talbot
a6f147afa5
LMS: revising modal UI to support translators
2014-02-14 22:35:08 +00:00
David Baumgold
751669cbe7
/create_account: use proper HTTP status codes
...
Use status code 400 when there is a validation error in creating an account.
2014-01-30 15:23:57 -05:00
Xavier Antoviaque
386115aecf
Selectively require/hide registration fields & add country/city fields
...
Extend the capabilities of the REGISTRATION_OPTIONAL_FIELDS
configuration variable, to allow to select, for each individual field,
if it should be 'hidden', 'optional' or 'required'.
Rename the configuration variable to REGISTRATION_EXTRA_FIELDS to reflect
the additional capabilities, and updates the defaults.
As extra fields, configurable through the REGISTRATION_EXTRA_FIELDS
variable. Hidden by default.
Tickets: MCKIN-168 MCKIN-184
Note: Studio also has a registration page, which uses the same account
creation page. It should be possible to use it without requiring the
variable from the LMS, as the fields are different.
2014-01-29 09:01:28 -05:00
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