# HG changeset patch # User Marcin Kuzminski # Date 2019-05-29 16:24:51 # Node ID 9aa2b59532737134c6d58d2a5942b1e5e849953a # Parent 4bcb793ebbc9db78db9564a89f1610c9eeea2ab1 files: updated based on new design diff --git a/rhodecode/apps/repository/views/repo_files.py b/rhodecode/apps/repository/views/repo_files.py --- a/rhodecode/apps/repository/views/repo_files.py +++ b/rhodecode/apps/repository/views/repo_files.py @@ -873,18 +873,17 @@ class RepoFilesView(RepoAppView): self.db_repo_name, self.db_repo.repo_id, commit.raw_id, f_path) return {'nodes': metadata} - def _create_references( - self, branches_or_tags, symbolic_reference, f_path): + def _create_references(self, branches_or_tags, symbolic_reference, f_path, ref_type): items = [] for name, commit_id in branches_or_tags.items(): - sym_ref = symbolic_reference(commit_id, name, f_path) - items.append((sym_ref, name)) + sym_ref = symbolic_reference(commit_id, name, f_path, ref_type) + items.append((sym_ref, name, ref_type)) return items - def _symbolic_reference(self, commit_id, name, f_path): + def _symbolic_reference(self, commit_id, name, f_path, ref_type): return commit_id - def _symbolic_reference_svn(self, commit_id, name, f_path): + def _symbolic_reference_svn(self, commit_id, name, f_path, ref_type): new_f_path = vcspath.join(name, f_path) return u'%s@%s' % (new_f_path, commit_id) @@ -914,7 +913,7 @@ class RepoFilesView(RepoAppView): for commit in commits: branch = ' (%s)' % commit.branch if commit.branch else '' n_desc = 'r%s:%s%s' % (commit.idx, commit.short_id, branch) - commits_group[0].append((commit.raw_id, n_desc,)) + commits_group[0].append((commit.raw_id, n_desc, 'sha')) history.append(commits_group) symbolic_reference = self._symbolic_reference @@ -930,11 +929,11 @@ class RepoFilesView(RepoAppView): symbolic_reference = self._symbolic_reference_svn branches = self._create_references( - self.rhodecode_vcs_repo.branches, symbolic_reference, f_path) + self.rhodecode_vcs_repo.branches, symbolic_reference, f_path, 'branch') branches_group = (branches, _("Branches")) tags = self._create_references( - self.rhodecode_vcs_repo.tags, symbolic_reference, f_path) + self.rhodecode_vcs_repo.tags, symbolic_reference, f_path, 'tag') tags_group = (tags, _("Tags")) history.append(branches_group) @@ -962,7 +961,7 @@ class RepoFilesView(RepoAppView): for obj in file_history: res.append({ 'text': obj[1], - 'children': [{'id': o[0], 'text': o[1]} for o in obj[0]] + 'children': [{'id': o[0], 'text': o[1], 'type': o[2]} for o in obj[0]] }) data = { diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -199,6 +199,7 @@ class _GetError(object): if form_errors and field_name in form_errors: return literal(tmpl % form_errors.get(field_name)) + get_error = _GetError() @@ -215,33 +216,30 @@ class _ToolTip(object): tooltip_title = tooltip_title.replace('<', '<').replace('>', '>') return tooltip_title + tooltip = _ToolTip() -def files_breadcrumbs(repo_name, commit_id, file_path, at_ref=None): +def files_breadcrumbs(repo_name, commit_id, file_path, at_ref=None, limit_items=False): if isinstance(file_path, str): file_path = safe_unicode(file_path) + route_qry = {'at': at_ref} if at_ref else None - # TODO: johbo: Is this always a url like path, or is this operating - # system dependent? - path_segments = file_path.split('/') + # first segment is a `..` link to repo files + root_name = literal(u'') + url_segments = [ + link_to( + root_name, + route_path( + 'repo_files', + repo_name=repo_name, + commit_id=commit_id, + f_path='', + _query=route_qry), + )] - repo_name_html = escape(repo_name) - if len(path_segments) == 1 and path_segments[0] == '': - url_segments = [repo_name_html] - else: - url_segments = [ - link_to( - repo_name_html, - route_path( - 'repo_files', - repo_name=repo_name, - commit_id=commit_id, - f_path='', - _query=route_qry), - )] - + path_segments = file_path.split('/') last_cnt = len(path_segments) - 1 for cnt, segment in enumerate(path_segments): if not segment: @@ -262,7 +260,16 @@ def files_breadcrumbs(repo_name, commit_ else: url_segments.append(segment_html) - return literal('/'.join(url_segments)) + limited_url_segments = url_segments[:1] + ['...'] + url_segments[-5:] + if limit_items and len(limited_url_segments) < len(url_segments): + url_segments = limited_url_segments + + full_path = file_path + icon = ''.format(full_path) + if file_path == '': + return root_name + else: + return literal(' / '.join(url_segments) + icon) def code_highlight(code, lexer, formatter, use_hl_filter=False): diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -2192,12 +2192,13 @@ h3.files_location{ } } - .select-index-number { - margin: 0 0 0 20px; - color: @grey3; - } } + .select-index-number { + margin: 0 0 0 20px; + color: @grey3; + } + .search_activate { display: table-cell; vertical-align: middle; diff --git a/rhodecode/public/css/rcicons.less b/rhodecode/public/css/rcicons.less --- a/rhodecode/public/css/rcicons.less +++ b/rhodecode/public/css/rcicons.less @@ -1,12 +1,12 @@ @font-face { font-family: 'rcicons'; - src: url('../fonts/RCIcons/rcicons.eot?73199028'); - src: url('../fonts/RCIcons/rcicons.eot?73199028#iefix') format('embedded-opentype'), - url('../fonts/RCIcons/rcicons.woff2?73199028') format('woff2'), - url('../fonts/RCIcons/rcicons.woff?73199028') format('woff'), - url('../fonts/RCIconst/rcicons.ttf?73199028') format('truetype'), - url('../fonts/RCIcons/rcicons.svg?73199028#rcicons') format('svg'); + src: url('../fonts/RCIcons/rcicons.eot?9641970'); + src: url('../fonts/RCIcons/rcicons.eot?9641970#iefix') format('embedded-opentype'), + url('../fonts/RCIcons/rcicons.woff2?9641970') format('woff2'), + url('../fonts/RCIcons/rcicons.woff?9641970') format('woff'), + url('../fonts/RCIcons/rcicons.ttf?9641970') format('truetype'), + url('../fonts/RCIcons/rcicons.svg?9641970#rcicons') format('svg'); font-weight: normal; font-style: normal; @@ -186,6 +186,7 @@ .icon-minus:before { content: '\e820'; } /* '' */ .icon-info-circled:before { content: '\e821'; } /* '' */ .icon-upload:before { content: '\e822'; } /* '' */ +.icon-home:before { content: '\e823'; } /* '' */ .icon-git:before { content: '\e82a'; } /* '' */ .icon-hg:before { content: '\e82d'; } /* '' */ .icon-svn:before { content: '\e82e'; } /* '' */ diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -425,7 +425,6 @@ } .stats-info { - margin-top: 5px; color: @grey4; } @@ -434,7 +433,6 @@ text-align: right; color: @grey4; padding: 10px; - margin-top: 15px; } .file-container { diff --git a/rhodecode/public/fonts/RCIcons/config.json b/rhodecode/public/fonts/RCIcons/config.json --- a/rhodecode/public/fonts/RCIcons/config.json +++ b/rhodecode/public/fonts/RCIcons/config.json @@ -552,6 +552,12 @@ "src": "fontelico" }, { + "uid": "513ac180ff85bd275f2b736720cbbf5e", + "css": "home", + "code": 59427, + "src": "entypo" + }, + { "uid": "c43db6645e7515889fc2193294f50767", "css": "plus", "code": 59411, diff --git a/rhodecode/public/fonts/RCIcons/rcicons.eot b/rhodecode/public/fonts/RCIcons/rcicons.eot index f4bac9e63d0eb286d2010c9218636a67f3990b39..2c776640a9dabaac9d52da373366f4802313ac42 GIT binary patch literal 17836 zc%0pQYj_*ib>Mx>dj|6WW(E&}AP9f}U*ZEG06i(ml1Q1BWLZ+=NU{~vA|+9xNR^`e zj1?z#vbO6=u9Hn#XPeeuC+@cK=fvt4x4UkWI*!{o+15?7soglK>!cglZ4;~O&F5%E zaL=6?P>`ZT>G$ogC2(f$`<{F5dEE#2`ArB(02mR({s`i!7l4#UFne#=jxPJd!8`iq z^O4K*5Yo{cI)J7CX3-2f;ic?AljsmSiKfvw-LG#W&GXyA&qgAP@6 zFQRB*bm#l7N&kAsU68mOQg>ayv%fgpzjF}c4?}$Sfn(#xfA)9JC1E75Bg79Jn!fYk zj*&n7R~RMaSCfY)$0wZQ-5-atZva#dLxOmUehb3S1LO`Lo4?}+c=3nO9sqi8diKEh ze?0NPA3=Q$;-`*{-*Fu8B7Y0{F^H#U#*aJU=kgV17Az5-+&Mr7m2mR(4n9-p5<3B)z!H;3``)S+=`KZrpd z=e;EWp^-}e3w{Lg(A`~xQS4#=jo(0nm^Aax<$v1`Zkj;rYUtd19zFKLSU!7^nb?T` z-SB%JRTrrh#I5E$NUtrPXJzOfAAt53^Y<(+cwk*2%<9~~c;Tx3zs34!wAb|B)4(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Icons/rcicons.svg +++ b/rhodecode/public/fonts/RCIcons/rcicons.svg @@ -76,6 +76,8 @@ + + diff --git a/rhodecode/public/fonts/RCIcons/rcicons.ttf b/rhodecode/public/fonts/RCIcons/rcicons.ttf index 4b5d46ef39424db778faa0519503f9c94ddb5ff3..8d27f5bf37f690fcf011f7111d942dfceea88958 GIT binary patch literal 17672 zc%0pQYj_*ib>Mx>dj|6WW(E&}AP9f}U*ZEG06i(ml1Q1BWLZ+=NU{~vA|+9xNR^`e zj1?z#vbO6=u9Hn#XPeeuC+@cK=fvt4x4UkWI*!{o+15?7soglK>!cglZ4;~O&F5%E zaL=6?P>`ZT>G$ogC2(i%`<{F5dEIj_h%iD(MfW0#21a+j@0#?lcie>#UJkjtuHV^T z9PZya2ZjvwH~A3}c+(0kLf2gd*7i3k1&+G~(Lb!_~O<9HYOTPTk~ zIz2OfZ1SczzV$dlYkwcc{PW|pC+3B}d9w?lYo;OnX#}v-9g9a0;`$fQFP`W6S-$BYd1{(0%=}~VG_OSoP zZ=gX;7!W)~SNz+4aMJ`@S3~FC^YF13=JMH~Pxxaq{&$Dp^RT)|tsreRmqC7Q@jR)j#-g_Fb1#zn>|FSsz@of4Kdi~WP8-1MM zVaUZ^K4q&4`5X>II)l*(G)Cb0g>WHP^YyABOP`!{@e3K6jwI&Ok|-jiXa;~$VE{ULvf(N7L-J-D23W!HtjG*7UfU}%A*46L|v#G^}xKBp+3|P z^gD=(sDy@48C6gfEk`TRO0){CMr&Yb;i@zE|Nqb9fATLuY7JX=KQQ{K1%b(jS`Zk$ z)q=oit`-DFi?tvyj;{p)Ru$EPz~n)f!wIBe6p;{1t)=(`7Ky|1V1fV}u3j$Cg zss#aP64inL)QM_A06ImrAOOXpS`dJCQ7s5S#i$kppl4JI0#G)p1p#Or)q()jj%q;w zx(6=x18@MUE%O8L0;=`-0k{Iy`uza>focPO08T-*K|dhYN6`7)0Q`pDdD{=bdFY*=`T=+ly;JuCa3eZr`vLe8opbyE9E#43 z_yKqo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?l8lD=vO8Wop zjqUp1{7Tofcl=4 z;n}$p>2>LYvorIP)6=tk2WF4W9hf>WJ9A>kRGgnbm_9f+dn`Q?^qD?BH+y9Az>60#weTbQ&P)1Gp}&GYWNP zyn5r_$P-I2pFp?4I7P^v2gn$7a~?ElG;$f7X}|+3I|4ZeAivMU#ysS%1h(w|h4Vsa z>3=II=*oY?%!`XT*z5^d#1fXVf>o^H5Qu66o7lo(90AkBf$d2Y$8a1ca0^c2R_|mq zjoWbsXK@a9;5;tiPTYmNaS!gr%e)ho0X&F{u&Dzc1?^JB%kc`l61ID*@fvnyhlGjA z>B;#?GJ8~n6+bpPGcVmbJA3rl_}o$9*17SS1BdDS_#tk3_P|l$dxarA* z^SnpB+{EndGs3~y>50iX)qgFUJw7?3&d-gXIJ|7~*zx&0`9pKFCyxtrlgDOno8%78 z&K>2B&CX2FdH)+H%6 olE^xpnz>DDbj}iH^8l=td~j-dav6hFJTW~5Bb?y9l>yTGzyHlR!vFvP diff --git a/rhodecode/public/fonts/RCIcons/rcicons.woff b/rhodecode/public/fonts/RCIcons/rcicons.woff index be082d717ac7352bf61e23bd6c615dd3f90d3dd7..648b7f0d4a8aa406c66681c8cce5cb36949f9b76 GIT binary patch literal 10596 zc${T=RZtx~)a}9D-QDG&#kIH=EACL-Demqr1rF}+g@d~khvM#1+?~t!UwOHEW=*oz zmSlGFkcYS{OGyDB0H4NS20;36l!X7^{Qoy;H4Sk900RDVD)0$)@@N__Wi=qjrzY{q zzkcGoFi?%%)Xv!PQ;Yb-JOBX0_O#eSY+>v90|09d7s?xKcu=u zG}#$@e6CCTUmn?i`4H-mbN0q|=AWAA=UzVJAba(;X7e2#TwDPFx}Hz1;8V+jo!MdV z0GS$@85wPvuo=~v8aX@NAQ*3r$uf_cCYTr*2LKWTIkMR4IE4}ep@yLT)CX9hlK%*f zfCSJAz{mjpC)Z$){-YWTzkY(B5O z#J3{R6j6M?j2XWD!k~r&Ak-iqe%4t3JF1GMfxr;XN{{EugUxiQ*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?_HVz!2beqA07e# diff --git a/rhodecode/public/fonts/RCIcons/rcicons.woff2 b/rhodecode/public/fonts/RCIcons/rcicons.woff2 index 97dda07055e26e3b6586e48633d17d788de0d9b6..56a94eb8cb28de4a5c0c95eb1aa3e403d34286bd GIT binary patch literal 8980 zc$@(gBkSCEPew8T0RR9103#Ft3jhEB07VD@03yTy0RR9100000000000000000000 z0000SR0dW6iZBZ99Mw$=egFYB0we>0cmyB?g+T{}8yj>tCF7VCuyFt^#=l-f1!vgo z|1T44V`Yc_i(qPW9B~T?J+Bhs35xm4-{a!cZxQs@837IMJ&++$w;?DL#Ttk(R;;x4 z(jzqXN$wB)+rIxV6XgcmNEiK>;)X z;XKx)10`G9(AFTso6j4DXB>H|-e|RQRs!;Doba!JQsMBK00IDH2!>cdHQKZ+pw~>9 zGaXz32MQpt#Bolfrm}nrkYt^gID|<#!kvcLK4dlE0ni5YLguWDtB_|PM^HRA;4yIe zWGG82f%p-4`2jOIsvsXT!!C9v1U#^>a3I2sLN#|iB$kngd;dTKmhQ=uyZvTHgiMCWGS146# zvXHQdsF=8fq?ELbtem`pqLQ+Ts+zinrk1u2MA5Zi(UN5=R;^jLVbhjvJ9ZIS63A{s zEq~yEWqyi`2;@YdKm>|JphN`9M4&+FU_=DQL|{S$rbJ*y1m;9wK?IgWU_}JhL|{V%wnSh@1olMWhzJ~Owty2&1e|Ir zz?o(jIM-YNE;JW`OU)(VN^=>w)?5K@G&g`-EluD~O9k9(X#)>hI>4ir9`K}v0MA+| z@S=qQuUa_prbPhnS|sqH#Q;9FDBw$r1$=99frF0n$Hc$<524>MS_5hSgv{x9xYz}D zshC{}+uRmr*D}H`Z%dQe6Z5H?F_QT^H#o6tKD&;IwM7M^iG&kyM4`8{9g<~HuCU?CeWB{F0EZpV z8~XI3CgN#$33%w+g?F*UYHcCK+mGY^{4}Yg_=>M92tuI*Ly<^WmeoulSfJ?umkOja z5pJJefr)4+mZL^-q0YDzke?8VK!6;W1nds^iXHx}^kYc!V4hS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${_('Show File')} + + + ${_('Diff File')} + + %endfor + + + + ${_('Show Full History')} + + + diff --git a/rhodecode/templates/files/file_authors_box.mako b/rhodecode/templates/files/file_authors_box.mako --- a/rhodecode/templates/files/file_authors_box.mako +++ b/rhodecode/templates/files/file_authors_box.mako @@ -10,6 +10,7 @@ ${h.link_to_user(user)} % if c.file_author: - ${h.age_component(c.file_last_commit.date)} + - ${_('Load All Authors')} % elif c.file_last_commit.author_email==email: (${_('last author')}) % endif @@ -27,13 +28,7 @@ % endif - - - % if c.file_author: - ${_('Show Authors')} - % endif - - + % endfor % endif diff --git a/rhodecode/templates/files/files.mako b/rhodecode/templates/files/files.mako --- a/rhodecode/templates/files/files.mako +++ b/rhodecode/templates/files/files.mako @@ -118,14 +118,322 @@ timeagoActivate(); }); metadataRequest.fail(function (data, textStatus, errorThrown) { - console.log(data); if (data.status != 0) { alert("Error while fetching metadata.\nError code {0} ({1}).Please consider reloading the page".format(data.status,data.statusText)); } }); }; - var callbacks = function() { + var initFileJS = function () { + var state = getState('callbacks'); + + // select code link event + $("#hlcode").mouseup(getSelectionLink); + + // file history select2 used for history of file, and switch to + var initialCommitData = { + at_ref: atRef, + id: null, + text: '${c.commit.raw_id}', + type: 'sha', + raw_id: '${c.commit.raw_id}', + idx: ${c.commit.idx}, + files_url: null, + }; + + // check if we have ref info. + var selectedRef = fileTreeRefs[atRef]; + if (selectedRef !== undefined) { + $.extend(initialCommitData, selectedRef) + } + + var loadUrl = pyroutes.url('repo_file_history', {'repo_name': templateContext.repo_name, 'commit_id': state.rev,'f_path': state.f_path}); + var cacheKey = '__SINGLE_FILE_REFS__'; + var cachedDataSource = {}; + + var loadRefsData = function (query) { + $.ajax({ + url: loadUrl, + data: {}, + dataType: 'json', + type: 'GET', + success: function (data) { + cachedDataSource[cacheKey] = data; + query.callback({results: data.results}); + } + }); + }; + + var feedRefsData = function (query, cachedData) { + var data = {results: []}; + //filter results + $.each(cachedData.results, function () { + var section = this.text; + var children = []; + $.each(this.children, function () { + if (query.term.length === 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0) { + children.push(this) + } + }); + data.results.push({ + 'text': section, + 'children': children + }) + }); + + query.callback(data); + }; + + var select2FileHistorySwitcher = function (targetElement, loadUrl, initialData) { + var formatResult = function (result, container, query) { + return formatSelect2SelectionRefs(result); + }; + + var formatSelection = function (data, container) { + var commit_ref = data; + + var tmpl = ''; + if (commit_ref.type === 'sha') { + tmpl = (commit_ref.raw_id || "").substr(0,8); + } else if (commit_ref.type === 'branch') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } else if (commit_ref.type === 'tag') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } else if (commit_ref.type === 'book') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } + var idx = commit_ref.idx || 0; + tmpl = tmpl.concat('r{0}'.format(idx)); + return tmpl + }; + + $(targetElement).select2({ + dropdownAutoWidth: true, + width: "resolve", + containerCssClass: "drop-menu", + dropdownCssClass: "drop-menu-dropdown", + query: function(query) { + var cachedData = cachedDataSource[cacheKey]; + if (cachedData) { + feedRefsData(query, cachedData) + } else { + loadRefsData(query) + } + }, + initSelection: function(element, callback) { + callback(initialData); + }, + formatResult: formatResult, + formatSelection: formatSelection + }); + + }; + + select2FileHistorySwitcher('#file_refs_filter', loadUrl, initialCommitData); + + $('#file_refs_filter').on('change', function(e) { + var data = $('#file_refs_filter').select2('data'); + var commit_id = data.id; + + if ("${c.annotate}" === "True") { + var url = pyroutes.url('repo_files:annotated', + {'repo_name': templateContext.repo_name, + 'commit_id': commit_id, 'f_path': state.f_path}); + } else { + var url = pyroutes.url('repo_files', + {'repo_name': templateContext.repo_name, + 'commit_id': commit_id, 'f_path': state.f_path}); + } + window.location = url; + + }); + + // show more authors + $('#show_authors').on('click', function(e) { + e.preventDefault(); + var url = pyroutes.url('repo_file_authors', + {'repo_name': templateContext.repo_name, + 'commit_id': state.rev, 'f_path': state.f_path}); + + $.pjax({ + url: url, + data: 'annotate=${("1" if c.annotate else "0")}', + container: '#file_authors', + push: false, + timeout: 5000 + }).complete(function(){ + $('#show_authors').hide(); + $('#file_authors_title').html(_gettext('All Authors')) + }) + }); + + // load file short history + $('#file_history_overview').on('click', function(e) { + e.preventDefault(); + path = state.f_path; + if (path.indexOf("#") >= 0) { + path = path.slice(0, path.indexOf("#")); + } + var url = pyroutes.url('repo_changelog_file', + {'repo_name': templateContext.repo_name, + 'commit_id': state.rev, 'f_path': path, 'limit': 6}); + $('#file_history_container').show(); + $('#file_history_container').html('
{0}
'.format(_gettext('Loading ...'))); + + $.pjax({ + url: url, + container: '#file_history_container', + push: false, + timeout: 5000 + }); + }); + + + }; + + var initTreeJS = function () { + var state = getState('callbacks'); + getFilesMetadata(); + + // fuzzy file filter + fileBrowserListeners(state.node_list_url, state.url_base); + + // switch to widget + var initialCommitData = { + at_ref: atRef, + id: null, + text: '${c.commit.raw_id}', + type: 'sha', + raw_id: '${c.commit.raw_id}', + idx: ${c.commit.idx}, + files_url: null, + }; + + // check if we have ref info. + var selectedRef = fileTreeRefs[atRef]; + if (selectedRef !== undefined) { + $.extend(initialCommitData, selectedRef) + } + + var loadUrl = pyroutes.url('repo_refs_data', {'repo_name': templateContext.repo_name}); + var cacheKey = '__ALL_FILE_REFS__'; + var cachedDataSource = {}; + + var loadRefsData = function (query) { + $.ajax({ + url: loadUrl, + data: {}, + dataType: 'json', + type: 'GET', + success: function (data) { + cachedDataSource[cacheKey] = data; + query.callback({results: data.results}); + } + }); + }; + + var feedRefsData = function (query, cachedData) { + var data = {results: []}; + //filter results + $.each(cachedData.results, function () { + var section = this.text; + var children = []; + $.each(this.children, function () { + if (query.term.length === 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0) { + children.push(this) + } + }); + data.results.push({ + 'text': section, + 'children': children + }) + }); + + //push the typed in commit idx + if (!isNaN(query.term)) { + var files_url = pyroutes.url('repo_files', + {'repo_name': templateContext.repo_name, + 'commit_id': query.term, 'f_path': state.f_path}); + + data.results.push({ + 'text': _gettext('go to numeric commit'), + 'children': [{ + at_ref: null, + id: null, + text: 'r{0}'.format(query.term), + type: 'sha', + raw_id: query.term, + idx: query.term, + files_url: files_url, + }] + }); + } + query.callback(data); + }; + + var select2RefFileSwitcher = function (targetElement, loadUrl, initialData) { + var formatResult = function (result, container, query) { + return formatSelect2SelectionRefs(result); + }; + + var formatSelection = function (data, container) { + var commit_ref = data; + + var tmpl = ''; + if (commit_ref.type === 'sha') { + tmpl = (commit_ref.raw_id || "").substr(0,8); + } else if (commit_ref.type === 'branch') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } else if (commit_ref.type === 'tag') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } else if (commit_ref.type === 'book') { + tmpl = tmpl.concat(' '); + tmpl = tmpl.concat(escapeHtml(commit_ref.text)); + } + + var idx = commit_ref.idx || 0; + tmpl = tmpl.concat('r{0}'.format(idx)); + return tmpl + }; + + $(targetElement).select2({ + dropdownAutoWidth: true, + width: "resolve", + containerCssClass: "drop-menu", + dropdownCssClass: "drop-menu-dropdown", + query: function(query) { + + var cachedData = cachedDataSource[cacheKey]; + if (cachedData) { + feedRefsData(query, cachedData) + } else { + loadRefsData(query) + } + }, + initSelection: function(element, callback) { + callback(initialData); + }, + formatResult: formatResult, + formatSelection: formatSelection + }); + + }; + + select2RefFileSwitcher('#refs_filter', loadUrl, initialCommitData); + + $('#refs_filter').on('change', function(e) { + var data = $('#refs_filter').select2('data'); + window.location = data.files_url + }); + + }; + + $(document).ready(function() { timeagoActivate(); if ($('#trimmed_message_box').height() < 50) { @@ -137,250 +445,12 @@ $(this).hide(); }); - var state = getState('callbacks'); - - // VIEW FOR FILE SOURCE if (fileSourcePage) { - // variants for with source code, not tree view - - // select code link event - $("#hlcode").mouseup(getSelectionLink); - - // file history select2 used for history, and switch to - var initialCommitData = { - id: null, - text: '${_("Pick Commit")}', - type: 'sha', - raw_id: null, - files_url: null - }; - - select2FileHistorySwitcher('#diff1', initialCommitData, state); - - // show at, diff to actions handlers - $('#diff1').on('change', function(e) { - $('#diff_to_commit').removeClass('disabled').removeAttr("disabled"); - $('#diff_to_commit').val(_gettext('Diff to Commit ') + e.val.truncateAfter(8, '...')); - - $('#show_at_commit').removeClass('disabled').removeAttr("disabled"); - $('#show_at_commit').val(_gettext('Show at Commit ') + e.val.truncateAfter(8, '...')); - }); - - $('#diff_to_commit').on('click', function(e) { - var diff1 = $('#diff1').val(); - var diff2 = $('#diff2').val(); - - var url_data = { - repo_name: templateContext.repo_name, - source_ref: diff1, - source_ref_type: 'rev', - target_ref: diff2, - target_ref_type: 'rev', - merge: 1, - f_path: state.f_path - }; - window.location = pyroutes.url('repo_compare', url_data); - }); - - $('#show_at_commit').on('click', function(e) { - var diff1 = $('#diff1').val(); - - var annotate = $('#annotate').val(); - if (annotate === "True") { - var url = pyroutes.url('repo_files:annotated', - {'repo_name': templateContext.repo_name, - 'commit_id': diff1, 'f_path': state.f_path}); - } else { - var url = pyroutes.url('repo_files', - {'repo_name': templateContext.repo_name, - 'commit_id': diff1, 'f_path': state.f_path}); - } - window.location = url; - - }); - - // show more authors - $('#show_authors').on('click', function(e) { - e.preventDefault(); - var url = pyroutes.url('repo_file_authors', - {'repo_name': templateContext.repo_name, - 'commit_id': state.rev, 'f_path': state.f_path}); - - $.pjax({ - url: url, - data: 'annotate=${("1" if c.annotate else "0")}', - container: '#file_authors', - push: false, - timeout: 5000 - }).complete(function(){ - $('#show_authors').hide(); - $('#file_authors_title').html(_gettext('All Authors')) - }) - }); - - // load file short history - $('#file_history_overview').on('click', function(e) { - e.preventDefault(); - path = state.f_path; - if (path.indexOf("#") >= 0) { - path = path.slice(0, path.indexOf("#")); - } - var url = pyroutes.url('repo_changelog_file', - {'repo_name': templateContext.repo_name, - 'commit_id': state.rev, 'f_path': path, 'limit': 6}); - $('#file_history_container').show(); - $('#file_history_container').html('
{0}
'.format(_gettext('Loading ...'))); - - $.pjax({ - url: url, - container: '#file_history_container', - push: false, - timeout: 5000 - }) - }); - + initFileJS() + } else { + initTreeJS() } - // VIEW FOR FILE TREE BROWSER - else { - getFilesMetadata(); - - // fuzzy file filter - fileBrowserListeners(state.node_list_url, state.url_base); - - // switch to widget - var initialCommitData = { - at_ref: atRef, - id: null, - text: '${c.commit.raw_id}', - type: 'sha', - raw_id: '${c.commit.raw_id}', - idx: ${c.commit.idx}, - files_url: null, - }; - // check if we have ref info. - var selectedRef = fileTreeRefs[atRef]; - if (selectedRef !== undefined) { - $.extend(initialCommitData, selectedRef) - } - - var loadUrl = pyroutes.url('repo_refs_data', {'repo_name': templateContext.repo_name}); - var cacheKey = '__ALL_FILE_REFS__'; - var cachedDataSource = {}; - - var loadRefsData = function (query) { - $.ajax({ - url: loadUrl, - data: {}, - dataType: 'json', - type: 'GET', - success: function (data) { - cachedDataSource[cacheKey] = data; - query.callback({results: data.results}); - } - }); - }; - - var feedRefsData = function (query, cachedData) { - var data = {results: []}; - //filter results - $.each(cachedData.results, function () { - var section = this.text; - var children = []; - $.each(this.children, function () { - if (query.term.length === 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0) { - children.push(this) - } - }); - data.results.push({ - 'text': section, - 'children': children - }) - }); - - //push the typed in commit idx - if (!isNaN(query.term)) { - var files_url = pyroutes.url('repo_files', - {'repo_name': templateContext.repo_name, - 'commit_id': query.term, 'f_path': state.f_path}); - - data.results.push({ - 'text': _gettext('go to numeric commit'), - 'children': [{ - at_ref: null, - id: null, - text: 'r{0}'.format(query.term), - type: 'sha', - raw_id: query.term, - idx: query.term, - files_url: files_url, - }] - }); - } - query.callback(data); - }; - - var select2RefFileSwitcher = function (targetElement, loadUrl, initialData) { - var formatResult = function (result, container, query) { - return formatSelect2SelectionRefs(result); - }; - - var formatSelection = function (data, container) { - var commit_ref = data; - - var tmpl = ''; - if (commit_ref.type === 'sha') { - tmpl = commit_ref.raw_id.substr(0,8); - } else if (commit_ref.type === 'branch') { - tmpl = tmpl.concat(' '); - tmpl = tmpl.concat(escapeHtml(commit_ref.text)); - } else if (commit_ref.type === 'tag') { - tmpl = tmpl.concat(' '); - tmpl = tmpl.concat(escapeHtml(commit_ref.text)); - } else if (commit_ref.type === 'book') { - tmpl = tmpl.concat(' '); - tmpl = tmpl.concat(escapeHtml(commit_ref.text)); - } - - tmpl = tmpl.concat('r{0}'.format(commit_ref.idx)); - return tmpl - }; - - $(targetElement).select2({ - dropdownAutoWidth: true, - width: "resolve", - containerCssClass: "drop-menu", - dropdownCssClass: "drop-menu-dropdown", - query: function(query) { - - var cachedData = cachedDataSource[cacheKey]; - if (cachedData) { - feedRefsData(query, cachedData) - } else { - loadRefsData(query) - } - }, - initSelection: function(element, callback) { - callback(initialData); - }, - formatResult: formatResult, - formatSelection: formatSelection - }); - - }; - - select2RefFileSwitcher('#refs_filter', loadUrl, initialCommitData); - - $('#refs_filter').on('change', function(e) { - var data = $('#refs_filter').select2('data'); - window.location = data.files_url - }); - - } - }; - - $(document).ready(function() { - callbacks(); var search_GET = "${request.GET.get('search','')}"; if (search_GET === "1") { NodeFilter.initFilter(); diff --git a/rhodecode/templates/files/files_browser.mako b/rhodecode/templates/files/files_browser.mako --- a/rhodecode/templates/files/files_browser.mako +++ b/rhodecode/templates/files/files_browser.mako @@ -17,18 +17,28 @@ % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): -
- - ${_('Add File')} + % endif % if c.enable_downloads: <% at_path = '{}'.format(request.GET.get('at') or c.commit.raw_id[:6]) %> % endif @@ -45,6 +55,7 @@
+ ## file tree is computed from caches, and filled in
${c.file_tree |n} diff --git a/rhodecode/templates/files/files_browser_tree.mako b/rhodecode/templates/files/files_browser_tree.mako --- a/rhodecode/templates/files/files_browser_tree.mako +++ b/rhodecode/templates/files/files_browser_tree.mako @@ -17,19 +17,13 @@ - %if c.file.parent: - - - - .. - + + + + ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'), limit_items=True)} + - - - - - - %endif + %for cnt,node in enumerate(c.file): diff --git a/rhodecode/templates/files/files_pjax.mako b/rhodecode/templates/files/files_pjax.mako --- a/rhodecode/templates/files/files_pjax.mako +++ b/rhodecode/templates/files/files_pjax.mako @@ -13,14 +13,7 @@
- +
% if c.file.is_submodule(): diff --git a/rhodecode/templates/files/files_source.mako b/rhodecode/templates/files/files_source.mako --- a/rhodecode/templates/files/files_source.mako +++ b/rhodecode/templates/files/files_source.mako @@ -1,16 +1,61 @@ <%namespace name="sourceblock" file="/codeblocks/source.mako"/> -
-
+
+
+
+
+ ## loads the history for a file + ${h.hidden('file_refs_filter')} +
+ +
+ + ## Download + % if c.lf_node: + + ${_('Download largefile')} + + % else: + + ${_('Download file')} + + % endif + + %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): + ## on branch head, can edit files + %if c.on_branch_head and c.branch_or_raw_id and not c.file.is_binary: + ## binary files are delete only + % if c.file.is_binary: + ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing binary files not allowed'))} + ${h.link_to(_('Delete'), h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path, _anchor='edit'),class_="btn btn-danger")} + % else: + + ${_('Edit on branch: ')}${c.branch_name} + + + + ${_('Delete')} + + % endif + ## not on head, forbid all + % else: + ${h.link_to(_('Edit'), '#Edit', class_="btn btn-default disabled tooltip", title=_('Editing files allowed only when on branch head commit'))} + ${h.link_to(_('Delete'), '#Delete', class_="btn btn-default btn-danger disabled tooltip", title=_('Deleting files allowed only when on branch head commit'))} + % endif + %endif + +
+
+
+ +
+
+ +
+
+ ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'))} +
- - - - ${c.file.unicode_path_safe} - - - -
% if c.lf_node: | ${_('LargeFile')} ${h.format_byte_size_binary(c.lf_node.size)} @@ -22,50 +67,22 @@ | ${c.file.mimetype} | ${h.get_lexer_for_filenode(c.file).__class__.__name__}
+
-
- - ${_('History')} - - | - %if c.annotate: - ${h.link_to(_('Source'), h.route_path('repo_files', repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} - %else: - ${h.link_to(_('Annotation'), h.route_path('repo_files:annotated',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} - %endif - | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} - | - % if c.lf_node: - - ${_('Download largefile')} - - % else: - - ${_('Download')} - - % endif +
+ + ${_('History')} + + | + %if c.annotate: + ${h.link_to(_('Source'), h.route_path('repo_files', repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} + %else: + ${h.link_to(_('Annotation'), h.route_path('repo_files:annotated',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} + %endif + | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} - %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): - | - %if c.on_branch_head and c.branch_or_raw_id and not c.file.is_binary: - - ${_('Edit on Branch:{}').format(c.branch_name)} - - | ${_('Delete')} - - %elif c.on_branch_head and c.branch_or_raw_id and c.file.is_binary: - ${h.link_to(_('Edit'), '#', class_="btn btn-link disabled tooltip", title=_('Editing binary files not allowed'))} - | ${h.link_to(_('Delete'), h.route_path('repo_files_remove_file',repo_name=c.repo_name,commit_id=c.branch_or_raw_id,f_path=c.f_path, _anchor='edit'),class_="btn-danger btn-link")} - %else: - ${h.link_to(_('Edit'), '#', class_="btn btn-link disabled tooltip", title=_('Editing files allowed only when on branch head commit'))} - | ${h.link_to(_('Delete'), '#', class_="btn btn-danger btn-link disabled tooltip", title=_('Deleting files allowed only when on branch head commit'))} - %endif - %endif
-
-
+
%if c.file.is_binary: <% rendered_binary = h.render_binary(c.repo_name, c.file)%> diff --git a/rhodecode/templates/files/files_source_header.mako b/rhodecode/templates/files/files_source_header.mako --- a/rhodecode/templates/files/files_source_header.mako +++ b/rhodecode/templates/files/files_source_header.mako @@ -36,29 +36,6 @@
- - -
-
-

${_('Show/Diff file')}

-
- ${h.hidden('diff1')} - ${h.hidden('diff2',c.commit.raw_id)} - ${h.hidden('annotate', c.annotate)} -
-
-
- - -
-
-

${_('Action')}

-
- ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")} - ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")} -
-
-