Show More
@@ -256,7 +256,7 class LoginForm(formencode.Schema): | |||||
256 |
|
256 | |||
257 | password = UnicodeString( |
|
257 | password = UnicodeString( | |
258 | strip=True, |
|
258 | strip=True, | |
259 |
min= |
|
259 | min=6, | |
260 | not_empty=True, |
|
260 | not_empty=True, | |
261 | messages={ |
|
261 | messages={ | |
262 | 'empty':_('Please enter a password'), |
|
262 | 'empty':_('Please enter a password'), | |
@@ -273,10 +273,10 def UserForm(edit=False, old_data={}): | |||||
273 | filter_extra_fields = True |
|
273 | filter_extra_fields = True | |
274 | username = All(UnicodeString(strip=True, min=1, not_empty=True), ValidUsername(edit, old_data)) |
|
274 | username = All(UnicodeString(strip=True, min=1, not_empty=True), ValidUsername(edit, old_data)) | |
275 | if edit: |
|
275 | if edit: | |
276 |
new_password = All(UnicodeString(strip=True, min= |
|
276 | new_password = All(UnicodeString(strip=True, min=6, not_empty=False), ValidPassword) | |
277 | admin = StringBoolean(if_missing=False) |
|
277 | admin = StringBoolean(if_missing=False) | |
278 | else: |
|
278 | else: | |
279 |
password = All(UnicodeString(strip=True, min= |
|
279 | password = All(UnicodeString(strip=True, min=6, not_empty=True), ValidPassword) | |
280 | active = StringBoolean(if_missing=False) |
|
280 | active = StringBoolean(if_missing=False) | |
281 | name = UnicodeString(strip=True, min=1, not_empty=True) |
|
281 | name = UnicodeString(strip=True, min=1, not_empty=True) | |
282 | lastname = UnicodeString(strip=True, min=1, not_empty=True) |
|
282 | lastname = UnicodeString(strip=True, min=1, not_empty=True) |
@@ -1161,7 +1161,7 div.options a:hover | |||||
1161 | #content div.box div.message |
|
1161 | #content div.box div.message | |
1162 | { |
|
1162 | { | |
1163 | margin: 0 0 0px 0; |
|
1163 | margin: 0 0 0px 0; | |
1164 | padding: 0 0 10px 0; |
|
1164 | padding: 10px 0 10px 0; | |
1165 | clear: both; |
|
1165 | clear: both; | |
1166 | overflow: hidden; |
|
1166 | overflow: hidden; | |
1167 | } |
|
1167 | } | |
@@ -3058,7 +3058,9 h3.files_location{ | |||||
3058 | } |
|
3058 | } | |
3059 |
|
3059 | |||
3060 | #changeset_content .container { |
|
3060 | #changeset_content .container { | |
3061 | height: 120px; |
|
3061 | min-height: 120px; | |
|
3062 | font-size: 1.2em; | |||
|
3063 | ||||
3062 | } |
|
3064 | } | |
3063 |
|
3065 | |||
3064 | #changeset_content .container .left { |
|
3066 | #changeset_content .container .left { | |
@@ -3190,7 +3192,6 h3.files_location{ | |||||
3190 | border: 1px solid #DDDDDD; |
|
3192 | border: 1px solid #DDDDDD; | |
3191 | display: block; |
|
3193 | display: block; | |
3192 | float: right; |
|
3194 | float: right; | |
3193 | font-size: 0.75em; |
|
|||
3194 | text-align: center; |
|
3195 | text-align: center; | |
3195 | min-width: 15px; |
|
3196 | min-width: 15px; | |
3196 | } |
|
3197 | } |
@@ -3,7 +3,7 | |||||
3 | <%inherit file="/base/base.html"/> |
|
3 | <%inherit file="/base/base.html"/> | |
4 |
|
4 | |||
5 | <%def name="title()"> |
|
5 | <%def name="title()"> | |
6 |
${_('Changelog |
|
6 | ${_('Changelog')} - ${c.repo_name} | |
7 | </%def> |
|
7 | </%def> | |
8 |
|
8 | |||
9 | <%def name="breadcrumbs_links()"> |
|
9 | <%def name="breadcrumbs_links()"> |
@@ -1,7 +1,7 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Changeset')} |
|
4 | ${_('Changeset')} - r${c.changeset.revision}:${c.changeset.short_id} - ${c.repo_name} | |
5 | </%def> |
|
5 | </%def> | |
6 |
|
6 | |||
7 | <%def name="breadcrumbs_links()"> |
|
7 | <%def name="breadcrumbs_links()"> | |
@@ -34,19 +34,31 | |||||
34 | </div> |
|
34 | </div> | |
35 | </div> |
|
35 | </div> | |
36 | </div> |
|
36 | </div> | |
37 |
|
||||
38 | <div id="changeset_content"> |
|
37 | <div id="changeset_content"> | |
39 | <div class="container"> |
|
38 | <div class="container"> | |
40 |
|
|
39 | <div class="left"> | |
41 | <div class="date">${_('Date')}: ${c.changeset.date}</div> |
|
40 | <div class="date">${_('commit')} ${c.changeset.revision}: ${c.changeset.short_id}@${c.changeset.date}</div> | |
42 | <div class="author">${_('Author')}: ${c.changeset.author}</div> |
|
41 | <div class="author"> | |
43 | <div class="message">${h.wrap_paragraphs(c.changeset.message)}</div> |
|
42 | <div class="gravatar"> | |
|
43 | <img alt="gravatar" src="${h.gravatar_url(h.email(c.changeset.author),20)}"/> | |||
|
44 | </div> | |||
|
45 | <span>${h.person(c.changeset.author)}</span><br/> | |||
|
46 | <span><a href="mailto:${h.email_or_none(c.changeset.author)}">${h.email_or_none(c.changeset.author)}</a></span><br/> | |||
|
47 | </div> | |||
|
48 | <div class="message"> | |||
|
49 | ${h.link_to(h.wrap_paragraphs(c.changeset.message), | |||
|
50 | h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.short_id))} | |||
|
51 | </div> | |||
44 | </div> |
|
52 | </div> | |
45 |
|
|
53 | <div class="right"> | |
|
54 | <div class="changes"> | |||
|
55 | <span class="removed" title="${_('removed')}">${len(c.changeset.removed)}</span> | |||
|
56 | <span class="changed" title="${_('changed')}">${len(c.changeset.changed)}</span> | |||
|
57 | <span class="added" title="${_('added')}">${len(c.changeset.added)}</span> | |||
|
58 | </div> | |||
46 |
|
|
59 | %if len(c.changeset.parents)>1: | |
47 |
|
|
60 | <div class="merge"> | |
48 | ${_('merge')} |
|
61 | ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> | |
49 | <img alt="merge" src="/images/icons/arrow_join.png"> |
|
|||
50 | </div> |
|
62 | </div> | |
51 | %endif |
|
63 | %endif | |
52 |
|
|
64 | %for p_cs in reversed(c.changeset.parents): | |
@@ -72,6 +84,8 | |||||
72 | </div> |
|
84 | </div> | |
73 | </div> |
|
85 | </div> | |
74 |
|
|
86 | ||
|
87 | </div> | |||
|
88 | ||||
75 | %for change,filenode,diff,cs1,cs2 in c.changes: |
|
89 | %for change,filenode,diff,cs1,cs2 in c.changes: | |
76 | %if change !='removed': |
|
90 | %if change !='removed': | |
77 | <div style="clear:both;height:10px"></div> |
|
91 | <div style="clear:both;height:10px"></div> |
@@ -20,11 +20,11 setup( | |||||
20 | "SQLAlchemy>=0.6", |
|
20 | "SQLAlchemy>=0.6", | |
21 | "babel", |
|
21 | "babel", | |
22 | "Mako>=0.3.2", |
|
22 | "Mako>=0.3.2", | |
23 |
"vcs>=0.1. |
|
23 | "vcs>=0.1.7", | |
24 | "pygments>=1.3.0", |
|
24 | "pygments>=1.3.0", | |
25 | "mercurial>=1.6", |
|
25 | "mercurial>=1.6", | |
26 | "pysqlite", |
|
26 | "pysqlite", | |
27 |
"whoosh==1.0.0b1 |
|
27 | "whoosh==1.0.0b19", | |
28 | "py-bcrypt", |
|
28 | "py-bcrypt", | |
29 | "celery", |
|
29 | "celery", | |
30 | ], |
|
30 | ], |
General Comments 0
You need to be logged in to leave comments.
Login now