# HG changeset patch # User Marcin Kuzminski # Date 2010-08-20 16:43:08 # Node ID 25ab66a269756161eb60d83871db2647f7bfa138 # Parent 04e8b31fb2454ae6decca4e8770578f006ac5258 fix for new bcrypt password. Some templating updates, added "time ago" to file browser changed whoosh dep. diff --git a/pylons_app/model/forms.py b/pylons_app/model/forms.py --- a/pylons_app/model/forms.py +++ b/pylons_app/model/forms.py @@ -24,7 +24,7 @@ from formencode.validators import Unicod Email, Bool, StringBoolean from pylons import session from pylons.i18n.translation import _ -from pylons_app.lib.auth import check_password +from pylons_app.lib.auth import check_password, get_crypt_password from pylons_app.model import meta from pylons_app.model.db import User, Repository from sqlalchemy.exc import OperationalError diff --git a/pylons_app/public/css/style.css b/pylons_app/public/css/style.css --- a/pylons_app/public/css/style.css +++ b/pylons_app/public/css/style.css @@ -2856,6 +2856,12 @@ div.form div.fields div.buttons input color: #515151; } +#register div.form div.activation_msg { + padding-top:4px; + padding-bottom:4px; + +} + /* ----------------------------------------------------------- SUMMARY ----------------------------------------------------------- */ diff --git a/pylons_app/templates/admin/users/users.html b/pylons_app/templates/admin/users/users.html --- a/pylons_app/templates/admin/users/users.html +++ b/pylons_app/templates/admin/users/users.html @@ -40,7 +40,7 @@ %for cnt,user in enumerate(c.users_list): %if user.name !='default': -
gravatar
+
gravatar
${h.link_to(user.username,h.url('edit_user', id=user.user_id))} ${user.name} ${user.lastname} diff --git a/pylons_app/templates/files/files_browser.html b/pylons_app/templates/files/files_browser.html --- a/pylons_app/templates/files/files_browser.html +++ b/pylons_app/templates/files/files_browser.html @@ -56,7 +56,7 @@ %if node.is_file(): - ${node.last_changeset.date} + ${h.age(node.last_changeset._ctx.date())} - ${node.last_changeset.date} %endif diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( "pygments>=1.3.0", "mercurial>=1.6", "pysqlite", - "whoosh>=1.0.0b5", + "whoosh==1.0.0b9", "py-bcrypt", ], setup_requires=["PasteScript>=1.6.3"],