##// END OF EJS Templates
rhodecode release 1.1.3 changes part2
marcink -
r1058:4fa80e04 rhodecode-0.0.1.1.3 default
parent child Browse files
Show More
@@ -3,13 +3,13 b''
3 3 Changelog
4 4 =========
5 5
6 1.1.3 (**2011-02-15**)
6 1.1.3 (**2011-02-16**)
7 7 ======================
8 8
9 9 news
10 10 ----
11 11
12 - implemented #102 allowing '.' in username
12 - implemented #102 allowing the '.' character in username
13 13 - added option to access repository just by entering http://server/<repo_name>
14 14 - celery task ignores result for better performance
15 15
@@ -27,11 +27,9 b' fixes'
27 27 - removed issue with space inside renamed repository after deletion
28 28 - db transaction fixes when filesystem repository creation failed
29 29 - fixed #106 relation issues on databases different than sqlite
30
31 30 - fixed static files paths links to use of url() method
32 31
33 32
34
35 33 1.1.2 (**2011-01-12**)
36 34 ======================
37 35
@@ -399,10 +399,10 b' def bool2icon(value):'
399 399 """
400 400
401 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 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 407 return value
408 408
@@ -452,7 +452,7 b' def action_parser(user_log):'
452 452 repo_name = action_params
453 453 return str(link_to(action_params, url('summary_home',
454 454 repo_name=repo_name,)))
455
455
456 456 map = {'user_deleted_repo':(_('[deleted] repository'), None),
457 457 'user_created_repo':(_('[created] repository'), None),
458 458 'user_forked_repo':(_('[forked] repository'), get_fork_name),
@@ -475,7 +475,7 b' def action_parser(user_log):'
475 475 if action_str[1] is not None:
476 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 480 def action_parser_icon(user_log):
481 481 action = user_log.action
@@ -39,18 +39,18 b''
39 39 <td>
40 40 ## TYPE OF REPO
41 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 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 45 %else:
46 46
47 47 %endif
48 48
49 49 ## PRIVATE/PUBLIC REPO
50 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 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 54 %endif
55 55 ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}
56 56
@@ -58,7 +58,7 b''
58 58 <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
59 59 <img class="icon" alt="${_('public')}"
60 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 62 %endif
63 63 </td>
64 64 <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
@@ -123,16 +123,16 b''
123 123 <tr>
124 124 <td>
125 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 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 129 %else:
130 130
131 131 %endif
132 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 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 136 %endif
137 137
138 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 140 <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
141 141 <img class="icon" alt="${_('public')}"
142 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 144 %endif
145 145 </td>
146 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 148 <td>
149 149 ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')}
150 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 127 %for repo in c.cached_repo_list:
128 128
129 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 131 %else:
132 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 133 %endif
@@ -77,7 +77,7 b''
77 77 </div>
78 78 %if len(cs.parents)>1:
79 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 81 </div>
82 82 %endif
83 83 %if cs.parents:
@@ -55,7 +55,7 b''
55 55 </div>
56 56 %if len(c.changeset.parents)>1:
57 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 59 </div>
60 60 %endif
61 61
@@ -61,18 +61,18 b''
61 61 <div style="white-space: nowrap">
62 62 ## TYPE OF REPO
63 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 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 67 %else:
68 68
69 69 %endif
70 70
71 71 ##PRIVATE/PUBLIC
72 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 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 76 %endif
77 77
78 78 ##NAME
@@ -82,7 +82,7 b''
82 82 <a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
83 83 <img class="icon" alt="${_('fork')}"
84 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 86 %endif
87 87 </div>
88 88 </td>
@@ -57,16 +57,16 b''
57 57 %for entry in c.following:
58 58 <div class="currently_following">
59 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 61 ${entry.follows_user.full_contact}
62 62 %endif
63 63
64 64 %if entry.follows_repo_id:
65 65
66 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 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 70 %endif
71 71
72 72 ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',
@@ -32,16 +32,16 b''
32 32 </div>
33 33 <div class="input-short">
34 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 36 %endif
37 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 39 %endif
40 40
41 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 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 45 %endif
46 46 <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${c.repo_info.name}</span>
47 47 %if c.rhodecode_user.username != 'default':
General Comments 0
You need to be logged in to leave comments. Login now