@@ -12,24 +12,26 @@ Changelog
:branch: beta
news
++++
- Whoosh logging is now controlled by the .ini files logging setup
- added clone-url into edit form on /settings page
- added help text into repo add/edit forms
- created rcextensions module with additional mappings (ref #322) and
post push/pull/create repo hooks callbacks
- implemented #377 Users view for his own permissions on account page
- #399 added inheritance of permissions for users group on repos groups
- #401 repository group is automatically pre-selected when adding repos
inside a repository group
fixes
+++++
- fixed #390 cache invalidation problems on repos inside group
- fixed #385 clone by ID url was loosing proxy prefix in URL
- fixed some unicode problems with waitress
- fixed issue with escaping < and > in changeset commits
- fixed error occurring during recursive group creation in API
create_repo function
- fixed #393 py2.5 fixes for routes url generator
- fixed #397 Private repository groups shows up before login
@@ -35,25 +35,25 @@ from rhodecode.model.db import Repositor
log = logging.getLogger(__name__)
class HomeController(BaseController):
@LoginRequired()
def __before__(self):
super(HomeController, self).__before__()
def index(self):
c.repos_list = self.scm_model.get_repos()
c.groups = self.scm_model.get_repos_groups()
c.group = None
return render('/index.html')
def repo_switcher(self):
if request.is_xhr:
all_repos = Repository.query().order_by(Repository.repo_name).all()
c.repos_list = self.scm_model.get_repos(all_repos,
sort_key='name_sort')
return render('/repo_switcher_list.html')
else:
return HTTPBadRequest()
def branch_tag_switcher(self, repo_name):
@@ -20,25 +20,25 @@ ${h.form(url('repos'))}
<label for="clone_uri">${_('Clone from')}:</label>
</div>
<div class="input">
${h.text('clone_uri',class_="small")}
<span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span>
<div class="field">
<div class="label">
<label for="repo_group">${_('Repository group')}:</label>
${h.select('repo_group','',c.repo_groups,class_="medium")}
${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
<span class="help-block">${_('Optional select a group to put this repository into.')}</span>
<label for="repo_type">${_('Type')}:</label>
${h.select('repo_type','hg',c.backends,class_="small")}
<span class="help-block">${_('Type of repository to create.')}</span>
<%page args="parent" />
<div class="box">
<!-- box / title -->
<div class="title">
<h5>
<input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> ${parent.breadcrumbs()} <span id="repo_count">0</span> ${_('repositories')}
</h5>
%if c.rhodecode_user.username != 'default':
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
<ul class="links">
<li>
%if c.group:
<span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository',parent_group=c.group.group_id))}</span>
%else:
<span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
%endif
</li>
</ul>
<!-- end box / title -->
<div class="table">
% if c.groups:
<div id='groups_list_wrap' class="yui-skin-sam">
<table id="groups_list">
<thead>
<tr>
Status change: