Show More
@@ -3,13 +3,13 b'' | |||||
3 | Changelog |
|
3 | Changelog | |
4 | ========= |
|
4 | ========= | |
5 |
|
5 | |||
6 |
1.1.3 (**2011-02-1 |
|
6 | 1.1.3 (**2011-02-16**) | |
7 | ====================== |
|
7 | ====================== | |
8 |
|
8 | |||
9 | news |
|
9 | news | |
10 | ---- |
|
10 | ---- | |
11 |
|
11 | |||
12 | - implemented #102 allowing '.' in username |
|
12 | - implemented #102 allowing the '.' character in username | |
13 | - added option to access repository just by entering http://server/<repo_name> |
|
13 | - added option to access repository just by entering http://server/<repo_name> | |
14 | - celery task ignores result for better performance |
|
14 | - celery task ignores result for better performance | |
15 |
|
15 | |||
@@ -27,11 +27,9 b' fixes' | |||||
27 | - removed issue with space inside renamed repository after deletion |
|
27 | - removed issue with space inside renamed repository after deletion | |
28 | - db transaction fixes when filesystem repository creation failed |
|
28 | - db transaction fixes when filesystem repository creation failed | |
29 | - fixed #106 relation issues on databases different than sqlite |
|
29 | - fixed #106 relation issues on databases different than sqlite | |
30 |
|
||||
31 | - fixed static files paths links to use of url() method |
|
30 | - fixed static files paths links to use of url() method | |
32 |
|
31 | |||
33 |
|
32 | |||
34 |
|
||||
35 | 1.1.2 (**2011-01-12**) |
|
33 | 1.1.2 (**2011-01-12**) | |
36 | ====================== |
|
34 | ====================== | |
37 |
|
35 |
@@ -399,10 +399,10 b' def bool2icon(value):' | |||||
399 | """ |
|
399 | """ | |
400 |
|
400 | |||
401 | if value is True: |
|
401 | if value is True: | |
402 | return HTML.tag('img', src="/images/icons/accept.png", alt=_('True')) |
|
402 | return HTML.tag('img', src=url("/images/icons/accept.png"), alt=_('True')) | |
403 |
|
403 | |||
404 | if value is False: |
|
404 | if value is False: | |
405 | return HTML.tag('img', src="/images/icons/cancel.png", alt=_('False')) |
|
405 | return HTML.tag('img', src=url("/images/icons/cancel.png"), alt=_('False')) | |
406 |
|
406 | |||
407 | return value |
|
407 | return value | |
408 |
|
408 | |||
@@ -452,7 +452,7 b' def action_parser(user_log):' | |||||
452 | repo_name = action_params |
|
452 | repo_name = action_params | |
453 | return str(link_to(action_params, url('summary_home', |
|
453 | return str(link_to(action_params, url('summary_home', | |
454 | repo_name=repo_name,))) |
|
454 | repo_name=repo_name,))) | |
455 |
|
455 | |||
456 | map = {'user_deleted_repo':(_('[deleted] repository'), None), |
|
456 | map = {'user_deleted_repo':(_('[deleted] repository'), None), | |
457 | 'user_created_repo':(_('[created] repository'), None), |
|
457 | 'user_created_repo':(_('[created] repository'), None), | |
458 | 'user_forked_repo':(_('[forked] repository'), get_fork_name), |
|
458 | 'user_forked_repo':(_('[forked] repository'), get_fork_name), | |
@@ -475,7 +475,7 b' def action_parser(user_log):' | |||||
475 | if action_str[1] is not None: |
|
475 | if action_str[1] is not None: | |
476 | action_params_func = action_str[1] |
|
476 | action_params_func = action_str[1] | |
477 |
|
477 | |||
478 | return literal(action +" "+ action_params_func()) |
|
478 | return literal(action + " " + action_params_func()) | |
479 |
|
479 | |||
480 | def action_parser_icon(user_log): |
|
480 | def action_parser_icon(user_log): | |
481 | action = user_log.action |
|
481 | action = user_log.action |
@@ -39,18 +39,18 b'' | |||||
39 | <td> |
|
39 | <td> | |
40 | ## TYPE OF REPO |
|
40 | ## TYPE OF REPO | |
41 | %if repo['repo'].dbrepo.repo_type =='hg': |
|
41 | %if repo['repo'].dbrepo.repo_type =='hg': | |
42 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> |
|
42 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> | |
43 | %elif repo['repo'].dbrepo.repo_type =='git': |
|
43 | %elif repo['repo'].dbrepo.repo_type =='git': | |
44 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> |
|
44 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> | |
45 | %else: |
|
45 | %else: | |
46 |
|
46 | |||
47 | %endif |
|
47 | %endif | |
48 |
|
48 | |||
49 | ## PRIVATE/PUBLIC REPO |
|
49 | ## PRIVATE/PUBLIC REPO | |
50 | %if repo['repo'].dbrepo.private: |
|
50 | %if repo['repo'].dbrepo.private: | |
51 | <img alt="${_('private')}" src="/images/icons/lock.png"/> |
|
51 | <img alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/> | |
52 | %else: |
|
52 | %else: | |
53 | <img alt="${_('public')}" src="/images/icons/lock_open.png"/> |
|
53 | <img alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/> | |
54 | %endif |
|
54 | %endif | |
55 | ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} |
|
55 | ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} | |
56 |
|
56 | |||
@@ -58,7 +58,7 b'' | |||||
58 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> |
|
58 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> | |
59 | <img class="icon" alt="${_('public')}" |
|
59 | <img class="icon" alt="${_('public')}" | |
60 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" |
|
60 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" | |
61 | src="/images/icons/arrow_divide.png"/></a> |
|
61 | src="${h.url("/images/icons/arrow_divide.png")}"/></a> | |
62 | %endif |
|
62 | %endif | |
63 | </td> |
|
63 | </td> | |
64 | <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td> |
|
64 | <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td> |
@@ -123,16 +123,16 b'' | |||||
123 | <tr> |
|
123 | <tr> | |
124 | <td> |
|
124 | <td> | |
125 | %if repo['repo'].dbrepo.repo_type =='hg': |
|
125 | %if repo['repo'].dbrepo.repo_type =='hg': | |
126 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> |
|
126 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> | |
127 | %elif repo['repo'].dbrepo.repo_type =='git': |
|
127 | %elif repo['repo'].dbrepo.repo_type =='git': | |
128 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> |
|
128 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> | |
129 | %else: |
|
129 | %else: | |
130 |
|
130 | |||
131 | %endif |
|
131 | %endif | |
132 | %if repo['repo'].dbrepo.private: |
|
132 | %if repo['repo'].dbrepo.private: | |
133 | <img class="icon" alt="${_('private')}" src="/images/icons/lock.png"/> |
|
133 | <img class="icon" alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/> | |
134 | %else: |
|
134 | %else: | |
135 | <img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/> |
|
135 | <img class="icon" alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/> | |
136 | %endif |
|
136 | %endif | |
137 |
|
137 | |||
138 | ${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")} |
|
138 | ${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")} | |
@@ -140,11 +140,11 b'' | |||||
140 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> |
|
140 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> | |
141 | <img class="icon" alt="${_('public')}" |
|
141 | <img class="icon" alt="${_('public')}" | |
142 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" |
|
142 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" | |
143 | src="/images/icons/arrow_divide.png"/></a> |
|
143 | src="${h.url("/images/icons/arrow_divide.png")}"/></a> | |
144 | %endif |
|
144 | %endif | |
145 | </td> |
|
145 | </td> | |
146 | <td><span class="tooltip" tooltip_title="${repo['repo'].last_change}">${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))}</span></td> |
|
146 | <td><span class="tooltip" tooltip_title="${repo['repo'].last_change}">${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))}</span></td> | |
147 | <td><a href="${h.url('repo_settings_home',repo_name=repo['repo'].name)}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="/images/icons/application_form_edit.png"/></a></td> |
|
147 | <td><a href="${h.url('repo_settings_home',repo_name=repo['repo'].name)}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url("/images/icons/application_form_edit.png")}"/></a></td> | |
148 | <td> |
|
148 | <td> | |
149 | ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')} |
|
149 | ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')} | |
150 | ${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} |
|
150 | ${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} |
@@ -127,7 +127,7 b'' | |||||
127 | %for repo in c.cached_repo_list: |
|
127 | %for repo in c.cached_repo_list: | |
128 |
|
128 | |||
129 | %if repo['repo'].dbrepo.private: |
|
129 | %if repo['repo'].dbrepo.private: | |
130 | <li><img src="/images/icons/lock.png" alt="${_('Private repository')}" class="repo_switcher_type"/>${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['repo'].dbrepo.repo_type)}</li> |
|
130 | <li><img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/>${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['repo'].dbrepo.repo_type)}</li> | |
131 | %else: |
|
131 | %else: | |
132 | <li><img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" />${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['repo'].dbrepo.repo_type)}</li> |
|
132 | <li><img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" />${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['repo'].dbrepo.repo_type)}</li> | |
133 | %endif |
|
133 | %endif |
@@ -77,7 +77,7 b'' | |||||
77 | </div> |
|
77 | </div> | |
78 | %if len(cs.parents)>1: |
|
78 | %if len(cs.parents)>1: | |
79 | <div class="merge"> |
|
79 | <div class="merge"> | |
80 | ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> |
|
80 | ${_('merge')}<img alt="merge" src="${h.url("/images/icons/arrow_join.png")}"/> | |
81 | </div> |
|
81 | </div> | |
82 | %endif |
|
82 | %endif | |
83 | %if cs.parents: |
|
83 | %if cs.parents: |
@@ -55,7 +55,7 b'' | |||||
55 | </div> |
|
55 | </div> | |
56 | %if len(c.changeset.parents)>1: |
|
56 | %if len(c.changeset.parents)>1: | |
57 | <div class="merge"> |
|
57 | <div class="merge"> | |
58 | ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> |
|
58 | ${_('merge')}<img alt="merge" src="${h.url("/images/icons/arrow_join.png")}"/> | |
59 | </div> |
|
59 | </div> | |
60 | %endif |
|
60 | %endif | |
61 |
|
61 |
@@ -61,18 +61,18 b'' | |||||
61 | <div style="white-space: nowrap"> |
|
61 | <div style="white-space: nowrap"> | |
62 | ## TYPE OF REPO |
|
62 | ## TYPE OF REPO | |
63 | %if repo['repo'].dbrepo.repo_type =='hg': |
|
63 | %if repo['repo'].dbrepo.repo_type =='hg': | |
64 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> |
|
64 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> | |
65 | %elif repo['repo'].dbrepo.repo_type =='git': |
|
65 | %elif repo['repo'].dbrepo.repo_type =='git': | |
66 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> |
|
66 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> | |
67 | %else: |
|
67 | %else: | |
68 |
|
68 | |||
69 | %endif |
|
69 | %endif | |
70 |
|
70 | |||
71 | ##PRIVATE/PUBLIC |
|
71 | ##PRIVATE/PUBLIC | |
72 | %if repo['repo'].dbrepo.private: |
|
72 | %if repo['repo'].dbrepo.private: | |
73 | <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/> |
|
73 | <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/> | |
74 | %else: |
|
74 | %else: | |
75 | <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/> |
|
75 | <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/> | |
76 | %endif |
|
76 | %endif | |
77 |
|
77 | |||
78 | ##NAME |
|
78 | ##NAME | |
@@ -82,7 +82,7 b'' | |||||
82 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> |
|
82 | <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}"> | |
83 | <img class="icon" alt="${_('fork')}" |
|
83 | <img class="icon" alt="${_('fork')}" | |
84 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" |
|
84 | title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" | |
85 | src="/images/icons/arrow_divide.png"/></a> |
|
85 | src="${h.url("/images/icons/arrow_divide.png")}"/></a> | |
86 | %endif |
|
86 | %endif | |
87 | </div> |
|
87 | </div> | |
88 | </td> |
|
88 | </td> |
@@ -57,16 +57,16 b'' | |||||
57 | %for entry in c.following: |
|
57 | %for entry in c.following: | |
58 | <div class="currently_following"> |
|
58 | <div class="currently_following"> | |
59 | %if entry.follows_user_id: |
|
59 | %if entry.follows_user_id: | |
60 | <img title="${_('following user')}" alt="${_('user')}" src="/images/icons/user.png"/> |
|
60 | <img title="${_('following user')}" alt="${_('user')}" src="${h.url("/images/icons/user.png")}"/> | |
61 | ${entry.follows_user.full_contact} |
|
61 | ${entry.follows_user.full_contact} | |
62 | %endif |
|
62 | %endif | |
63 |
|
63 | |||
64 | %if entry.follows_repo_id: |
|
64 | %if entry.follows_repo_id: | |
65 |
|
65 | |||
66 | %if entry.follows_repository.private: |
|
66 | %if entry.follows_repository.private: | |
67 | <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/> |
|
67 | <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/> | |
68 | %else: |
|
68 | %else: | |
69 | <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/> |
|
69 | <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/> | |
70 | %endif |
|
70 | %endif | |
71 |
|
71 | |||
72 | ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home', |
|
72 | ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home', |
@@ -32,16 +32,16 b'' | |||||
32 | </div> |
|
32 | </div> | |
33 | <div class="input-short"> |
|
33 | <div class="input-short"> | |
34 | %if c.repo_info.dbrepo.repo_type =='hg': |
|
34 | %if c.repo_info.dbrepo.repo_type =='hg': | |
35 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> |
|
35 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> | |
36 | %endif |
|
36 | %endif | |
37 | %if c.repo_info.dbrepo.repo_type =='git': |
|
37 | %if c.repo_info.dbrepo.repo_type =='git': | |
38 | <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> |
|
38 | <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> | |
39 | %endif |
|
39 | %endif | |
40 |
|
40 | |||
41 | %if c.repo_info.dbrepo.private: |
|
41 | %if c.repo_info.dbrepo.private: | |
42 | <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/> |
|
42 | <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/> | |
43 | %else: |
|
43 | %else: | |
44 | <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/> |
|
44 | <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/> | |
45 | %endif |
|
45 | %endif | |
46 | <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${c.repo_info.name}</span> |
|
46 | <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${c.repo_info.name}</span> | |
47 | %if c.rhodecode_user.username != 'default': |
|
47 | %if c.rhodecode_user.username != 'default': |
General Comments 0
You need to be logged in to leave comments.
Login now