Commit graph

66 commits

Author SHA1 Message Date
Henrik Levkowetz 0fac54cb3e Merged in [14086] from rjsparks@nostrum.com:
Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323.
 - Legacy-Id: 14090
Note: SVN reference [14086] has been migrated to Git commit dc20598999
2017-08-31 15:21:17 +00:00
Robert Sparks dc20598999 Show whether a person is nomcom eligible on their edit_profile page. Related to #2257 and #2323. Commit ready for merge.
- Legacy-Id: 14086
2017-08-28 19:28:44 +00:00
Tero Kivinen 16fb57b14d Fixed sign in page so it will always scroll to top when page is loaded, so the sign in fields are visible. Commit ready for merge.
- Legacy-Id: 13911
2017-07-15 15:40:51 +00:00
Henrik Levkowetz 5b2087f910 Eliminated several variations on word wrapping, keeping only what used to be wrap_text(), but renamed as ietf.utils.text.wordwrap(). This performs better than django.utils.text.wrap() when there are indented text parts. Replaced django's default wordwrap filter with one calling ietf.utils.text.wordwrap in templates. Changed to triggered wrapping in some cases, with the maybewordwrap filter, which triggers on lines longer than 100 characters. This fixes the issue with undesired wrapping of reviews.
- Legacy-Id: 13505
2017-06-02 23:13:22 +00:00
Henrik Levkowetz 59d310d57c Merged in [13129] from lars@netapp.com:
Replace table with div.
 - Legacy-Id: 13161
Note: SVN reference [13129] has been migrated to Git commit 1a585a0f5b37976e1a3d6bed982a88984ac2cfa5
2017-03-28 18:56:12 +00:00
Henrik Levkowetz a94c33fd6e Added an alert on the login form, to be shown if a user's password has been cleared. Adjusted url reverse strings to match the changed view function.
- Legacy-Id: 12918
2017-02-25 15:50:47 +00:00
Henrik Levkowetz 858d855eff Changed the new account creation to require a proper name at the same time as the account password is set, before actually creating the account. Also tweaked the password strength and confirmation code.
- Legacy-Id: 12892
2017-02-20 16:50:39 +00:00
Henrik Levkowetz 8930d29a8e Merged in Django-1.10 upgrade work from ^/personal/henrik/6.43.1-django-1.10
- Legacy-Id: 12881
2017-02-19 18:18:00 +00:00
Henrik Levkowetz efc77762be Added the ability for logged-in users to change their login (username) to any of the active email addresses of the account. Fixes ticket #2052.
- Legacy-Id: 12843
2017-02-15 16:59:23 +00:00
Henrik Levkowetz 0f4207c997 Added support for indicating the primary email address of one's datatracker account. Fixes issue #2106.
- Legacy-Id: 12841
2017-02-15 01:32:08 +00:00
Henrik Levkowetz 40c73cd483 Tweaked the password strength indicator, and added indication of offline cracking time for throughput 10e4 attempts per second.
- Legacy-Id: 12827
2017-02-12 17:12:03 +00:00
Henrik Levkowetz 7dea44e626 Added a change password page, and linked to it from the account profile page and user menu. Added zxcvbn-based browser-side password strength estimation on the various password setting, re-setting, and changing forms. Added a change password test. Changed ietfauth/urls.py to not use the deprecated string form for views in urlpatterns.
- Legacy-Id: 12798
2017-02-09 17:03:44 +00:00
Henrik Levkowetz 93efc4470a Re-styled some auth-related forms to use a narrower form body on large screens, for aesthethic reasons.
- Legacy-Id: 12797
2017-02-09 16:58:11 +00:00
Henrik Levkowetz db1cc15f1f Undid last commit
- Legacy-Id: 12792
2017-02-08 18:03:29 +00:00
Henrik Levkowetz 15628c698f Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
- Legacy-Id: 12791
2017-02-08 18:02:03 +00:00
Henrik Levkowetz fef0060251 Added password reset links in 2 places; on the login form and in the User menu -- it's not been really easy to find that page.
- Legacy-Id: 12638
2017-01-10 14:14:07 +00:00
Henrik Levkowetz fed2a04445 Increased the requirements for account creation, and added a form where the secretariat can add whitelisting to make account creation possible for addresses that don't fulfil the default requirements.
- Legacy-Id: 11374
2016-06-14 21:39:12 +00:00
Ole Laursen b83e0d2c78 Unify the URL name handling in ietfauth, i.e. just refer directly to
the view behind the URL instead of naming it.
 - Legacy-Id: 11172
2016-05-06 12:58:10 +00:00
Ole Laursen 4d4cf93f22 Make password reset use username throughout and reword the reset page
so it's clear that one has to enter the account name and not just any
email address associated with the account.
 - Legacy-Id: 11171
2016-05-06 12:32:11 +00:00
Ole Laursen 5bcf36e149 Fix a couple of bugs in the account registration cleanup
- Legacy-Id: 11167
2016-05-05 14:55:31 +00:00
Ole Laursen a99aa32c59 Refactor account code to use the built-in Django signing framework
(reusing code previously written for the community lists) instead of
the a custom MD5 scheme, add tests of all views, rewrite custom form
handling code to use plain forms and ensure that the data is properly
validated and errors visible in the UI. Move help texts on the Person
form up to the model.
 - Legacy-Id: 11136
2016-04-27 16:26:04 +00:00
Robert Sparks cdeef99dc1 Removed a bunch of redundant displays of the django messages framework messages from forms. Commit ready for merge.
- Legacy-Id: 10810
2016-02-09 20:15:49 +00:00
Henrik Levkowetz da893dad1c Merged in support of xml-source only drafts submissions from personal/henrik/submitxml/.
- Legacy-Id: 9859
2015-07-22 21:53:23 +00:00
Henrik Levkowetz d5f36911cf Added support of xml-source only drafts submissions.
- Legacy-Id: 9858
2015-07-22 21:35:44 +00:00
Henrik Levkowetz a004a8ffdf Merged in [9800] from lars@netapp.com:
Another HTML validation fix.
 - Legacy-Id: 9818
Note: SVN reference [9800] has been migrated to Git commit bc73eb76a12f4266e12b38104d0039fef5108e4c
2015-07-19 14:23:53 +00:00
Henrik Levkowetz c1a9ec325f Merged in [9774] from lars@netapp.com:
More HTML fixes.
 - Legacy-Id: 9790
Note: SVN reference [9774] has been migrated to Git commit d9f291d7e75bb33260e986b6eddf7d15b28da305
2015-07-18 13:02:53 +00:00
Henrik Levkowetz 942352c50b Merged in [9766] from lars@netapp.com:
More HTML fixes.
 - Legacy-Id: 9787
Note: SVN reference [9766] has been migrated to Git commit 77f555bdbdfa653e4b5a0589ead9eda6632f10d7
2015-07-18 12:42:38 +00:00
Henrik Levkowetz 5d8306cfc8 Merged in [9733] from lars@netapp.com:
First round of HTML fixes identified by test-crawl --vnu.
 - Legacy-Id: 9764
Note: SVN reference [9733] has been migrated to Git commit 205df716f8bf4b7dae9e2637f3aa1ba048a158f9
2015-07-18 08:55:30 +00:00
Henrik Levkowetz 9f2e7ef72d Improved the wording for the ascii_short field.
- Legacy-Id: 9695
2015-06-25 09:57:31 +00:00
Henrik Levkowetz ec0321e0da Added copyright lines and template origin to the html templates. Fixed a number of instances of html that didn't validate.
- Legacy-Id: 9551
2015-04-24 20:40:01 +00:00
Henrik Levkowetz d4bd6c3775 Renamed the base template file from 'ietf.html' to 'base.html'.
- Legacy-Id: 9427
2015-04-08 19:16:48 +00:00
Henrik Levkowetz db165fcef9 Added a missing </div>.
- Legacy-Id: 9419
2015-04-06 07:50:22 +00:00
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz 57b3f7a825 Merged in [8239] from rjsparks@nostrum.com:\n Adds javascript to return to a page a few seconds after successfully logging out. Fixes ticket #1461.
- Legacy-Id: 8363
Note: SVN reference [8239] has been migrated to Git commit b927da7a15f0a9f671323467c55e2968ccbe3e90
2014-09-28 18:37:51 +00:00
Henrik Levkowetz f708266e50 Merged in [8211] from rjsparks@nostrum.com:\n Provide a way to get back to the page the user logged out from. Fixes ticket #1461.
- Legacy-Id: 8318
Note: SVN reference [8211] has been migrated to Git commit b86c0dcc6f8b507d42ad10c2d45aa13583b1fae8
2014-09-16 20:04:17 +00:00
Henrik Levkowetz c2a935190e Provide fully qualified module paths to the url lookup template tag for the account profile view, to make sure they succeed.
- Legacy-Id: 7592
2014-04-12 17:53:39 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz f20a5d0cfb Changed URLs with explicit scheme from http to https.
- Legacy-Id: 7555
2014-03-31 00:25:08 +00:00
Henrik Levkowetz 5549088331 With the complications caused by the TransactionMiddleware gone, we can use Django's default login() and logout() views.
- Legacy-Id: 7539
2014-03-23 23:17:15 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00
Henrik Levkowetz 93e161b2c6 Merged in [7380] from bartosz.balazinski@interdigital.com:
Changed the URL for some acoount settings from /cookies to /account/settings.

Fixes ticket #806,
 - Legacy-Id: 7385
Note: SVN reference [7380] has been migrated to Git commit af302582b0a9f36941ef15b39bf52c2a51fbafe1
2014-03-01 18:57:30 +00:00
Ole Laursen c4313a4f42 Add rel="nofollow" to a couple of the account links to prevent the
test crawler from going to /account/login/ and getting an error back,
with this change the crawler currently runs without reporting any
errors
 - Legacy-Id: 7114
2014-01-13 12:21:46 +00:00
Ole Laursen 42ade6273c Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen 36dd439027 Rewrite ifequal/endifequal template tags to if tags with ==/!=
- Legacy-Id: 6961
2013-12-17 10:42:34 +00:00
Ole Laursen 7a86afe1ab Port templates to new {% url %} syntax with quotes around the first parameter
- Legacy-Id: 6877
2013-12-11 16:33:40 +00:00
Ole Laursen ad1f11e9a3 Remove unused profile templates
- Legacy-Id: 6829
2013-12-07 12:16:05 +00:00
Henrik Levkowetz 8f67ca6826 Changed the password reset URL which is sent out in the password reset email
message to use https: instead of http:.  This is generally a good idea, and
also silences Google Chrome's phishing warning.  Fixes issue #1204.

This commit should have contained only changes to a template file; by
mistake, changes to two django files were also committed here.  That
change has been undone in [6725].
 - Legacy-Id: 6724
Note: SVN reference [6725] has been migrated to Git commit ca1a04f660aa0473bf8f3aadc7809d462ac4cac0
2013-11-21 16:35:22 +00:00
Henrik Levkowetz 88bd027776 Added handling for missing association between login and Person record.
- Legacy-Id: 5932
2013-07-31 14:54:03 +00:00
Henrik Levkowetz 7a98fff79c Merged [5476] from rjsparks@nostrum.com:
* Added a document type for changing the publication status of other documents, and the UI for manipulating them.
* Added charters, conflict reviews, and status changes to the AD's \'My Documents\' page
* Improved the presentation of all document types on the Agenda, Future Telechats, Scribe and Moderator package pages
* Made the reverse name for document relationships explicit rather than deriving them from forward names
* Added a way to get to the underlying Document (when it exists) from an RfcWrapper
* Unified several common forms used by different document types
 - Legacy-Id: 5629
Note: SVN reference [5476] has been migrated to Git commit 10b4f7a4dc
2013-04-07 19:11:18 +00:00