Skip to content

Commit 73c20a7

Browse files
author
Richard Jones
committed
Password confirm field in user editing.
Pre-1.2.1-release stuff too
1 parent c4dc999 commit 73c20a7

File tree

7 files changed

+389
-79
lines changed

7 files changed

+389
-79
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ are given with the most recent entry first.
44
2006-??-?? 1.2.1
55
Fixed:
66
- E-mail subject line prefix delimiter configuration was being ignored.
7+
- Password confirm field in user editing.
78

89

910
2006-10-04 1.2.0

doc/announcement.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
I'm proud to release version 1.2.0 of Roundup.
1+
I'm proud to release version 1.2.1 of Roundup.
22

3-
Feature:
3+
Bugs fixed in 1.2.1:
4+
5+
- E-mail subject line prefix delimiter configuration was being ignored.
6+
- Password confirm field in user editing.
7+
8+
New Features in 1.2.x:
49

510
- supports Python 2.5, including the sqlite3 module
611
- full timezone support (sf patch 1465296)

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: setup.py,v 1.90 2006-10-04 01:14:37 richard Exp $
19+
# $Id: setup.py,v 1.91 2006-10-07 03:03:28 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -351,7 +351,12 @@ def main():
351351
If you're upgrading from an older version of Roundup you *must* follow
352352
the "Software Upgrade" guidelines given in the maintenance documentation.
353353
354-
New Features in this release:
354+
Bugs fixed in 1.2.1:
355+
356+
- E-mail subject line prefix delimiter configuration was being ignored.
357+
- Password confirm field in user editing.
358+
359+
New Features in 1.2.x:
355360
356361
- supports Python 2.5, including the sqlite3 module
357362
- full timezone support (sf patch 1465296)

templates/classic/html/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,4 +327,6 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
327327
<!-- password: type; no initial value -->
328328
<input metal:define-macro="user_pw_input" type="password"
329329
tal:attributes="id name; name name; readonly not:edit_ok" value="">
330+
<input metal:define-macro="user_confirm_input" type="password"
331+
tal:attributes="id name; name string:@confirm@$name; readonly not:edit_ok" value="">
330332

templates/classic/html/user.item.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
src_input templates/page/macros/user_src_input;
4949
normal_input templates/page/macros/user_normal_input;
5050
pw_input templates/page/macros/user_pw_input;
51+
confirm_input templates/page/macros/user_confirm_input;
5152
edit_ok context/is_edit_ok;
5253
">
5354
<tr tal:define="name string:realname; label string:Name; value context/realname; edit_ok edit_ok">
@@ -59,13 +60,13 @@
5960
<td><input metal:use-macro="src_input"></td>
6061
</tr>
6162
<tal:if condition="edit_ok">
62-
<tr tal:define="name string:password; label string:Login Password; value string:context/password">
63+
<tr tal:define="name string:password; label string:Login Password">
6364
<th metal:use-macro="th_label">Login Password</th>
6465
<td><input metal:use-macro="pw_input" type="password"></td>
6566
</tr>
66-
<tr tal:define="name string:confirm; label string:Confirm Password; value string:context/password">
67+
<tr tal:define="name string:password; label string:Confirm Password">
6768
<th metal:use-macro="th_label">Confirm Password</th>
68-
<td><input metal:use-macro="pw_input" type="password"></td>
69+
<td><input metal:use-macro="confirm_input" type="password"></td>
6970
</tr>
7071
</tal:if>
7172
<tal:if condition="python:request.user.hasPermission('Web Roles')">

0 commit comments

Comments
 (0)