RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042016-06-07T11:53:52ZRhodeCode - issues
Redmine RhodeCode Appenlight - Bug #3986 (New): table headers should be left alignedhttps://issues.rhodecode.com/issues/39862016-06-07T11:53:52ZLisa Quatmannlisa@rhodecode.com
<p>The table content is left aligned, but the table headers are centred. Let's make them all left-aligned.</p>
RhodeCode CE/EE - Bug #3963 (New): [ce] Getting a newly added repo via remap/rescan via api gives...https://issues.rhodecode.com/issues/39632016-05-27T05:02:18ZDaniel Ddaniel@rhodecode.com
<p>Steps to reproduce:</p>
<ul>
<li>Add a repository to the repo directory</li>
<li>Do a Remap/Rescan</li>
<li>Try get repo_data via api</li>
<li>The last changeset is reported as 00000000000000000</li>
</ul>
<p>Workaround</p>
<ul>
<li>Open the repo change log in Rhodecode loads the data</li>
</ul>
<p>Possible fix:</p>
<ul>
<li>Clear cache and do an update on repo when it is remapped</li>
</ul>
RhodeCode CE/EE - Bug #3956 (New): [ce] - svn commit with all 'None' properties (author, message,...https://issues.rhodecode.com/issues/39562016-05-23T17:22:52ZDaniel Ddaniel@rhodecode.com
<p>It's commit 287 in the libpri repo <code>svn checkout http://svn.asterisk.org/svn/libpri/branches/1.4 libpri</code></p>
<p>Should investigate why/how this happens.</p>
RhodeCode CE/EE - Bug #3939 (New): [ux] changelog filter blank after going back in browserhttps://issues.rhodecode.com/issues/39392016-05-18T14:50:09ZLisa Quatmannlisa@rhodecode.com
<p>When you select a filter in the changelog, view the filtered selection w/graph, and then click the back button in your browser, the filter selection will be blank.<br>
See attached.</p>
<p>I'd guess that this is pjax-related and the select2 needs to be re-initialised. </p>
RhodeCode CE/EE - Bug #3922 (New): svn backend returns different diff to git/hg backendshttps://issues.rhodecode.com/issues/39222016-05-11T14:29:02ZDaniel Ddaniel@rhodecode.com
<p>In vcsserver calling <code>a_vcs_backend.diff(rev1='same', rev2='same', path1='samefile', path2='samefile').raw_data</code></p>
<p>returns for SVN:</p>
<pre><code>Index: samefile
===================================================================
diff --git a/samefile b/samefile
--- a/samefile\t(revision 2)
+++ b/samefile\t(revision 2)
</code></pre>
<p>and empty string for both git / hg</p>
<p>Not sure what the correct thing to do is here, empty string makes sense but maybe not when a path has been given in?</p>
RhodeCode CE/EE - Bug #3615 (New): (OperationalError) too many SQL variables on admin journal pagehttps://issues.rhodecode.com/issues/36152016-05-06T11:44:17ZDaniel Ddaniel@rhodecode.com
<p>Steps to reproduce:</p>
<ul>
<li>use sqlite database</li>
<li>add over 1000 repos</li>
<li>open /_admin/journal</li>
</ul>
<p>OperationalError: (OperationalError) too many SQL variables u'SELECT count(*) AS count_1 \nFROM (SELECT user_logs.user_log_id AS user_logs_user_log_id, user_logs.user_id AS user_logs_user_id, user_logs.username AS user_logs_username, user_logs.repository_id AS user_logs_repository_id, user_logs.repository_name AS user_logs_repository_name, user_logs.user_ip AS user_logs_user_ip, user_logs.action AS user_logs_action, user_logs.action_date AS user_logs_action_date \nFROM user_logs \nWHERE user_logs.repository_id IN (?, ?, ?, ?, ?, ?, ?......) ORDER BY user_logs.action_date DESC) AS anon_1' (1,2,....1001 ids)</p>
<pre><code>File "/Users/dan/Projects/rc/rhodecode-enterprise-ce-dan/rhodecode/controllers/journal.py", line 262, in public_journal
c.journal_pager = Page(journal, page=p, items_per_page=20)
File "/nix/store/08jg8cv3mdsjdqa367b9gmilcmif46s3-python2.7-WebHelpers-1.3/lib/python2.7/site-packages/webhelpers/paginate.py", line 413, in __init__
self.item_count = len(self.collection)
</code></pre>
<p>The problem is in <code>rhodecode.controllers.journal.JournalController:_get_journal_data()</code></p>
<p>The query it generates has an IN which can fill up to the max limit for sqlite</p>
<p>Possible solutions:</p>
<ul>
<li>use a for loop</li>
<li>rewrite query to use joins instead</li>
</ul>
<p>Current workarounds:</p>
<ul>
<li>use mysql/postgresql</li>
</ul>
RhodeCode CE/EE - Bug #3555 (Resolved): Then disabled repo location change the panel should expli...https://issues.rhodecode.com/issues/35552016-04-22T14:04:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>inside .ini file do <code>allow_repo_location_change = false</code></p>
<p>Then go to admin > settings > vcs</p>
<p>This would show you an empty <code>Main Storage Location</code> panel.</p>
<p>We should explicitly state that the repository location change is disabled.</p>
RhodeCode CE/EE - Bug #3549 (Resolved): [4.0.0 regression], file source links use last commit id ...https://issues.rhodecode.com/issues/35492016-04-21T13:20:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Case:</p>
<p>You're browsing a file tree at tag v2.2.8 - commit id XXX</p>
<p>When entering particular file (lets say setup.py), the links and headers are based on the last commit (YYY) of file instead of the XXX.</p>
<p>This causes few problems:</p>
<ul>
<li>the commit info suddenly changes when moving from tree view, to file view, since all info is taken from YYY</li>
<li>references suddenly change, so you're puzzled why the tag reference is suddenly missing, again since references are calculated from YYY</li>
<li>links like raw, annotate etc uses the last commit id (YYY), and clicking on them actually can show you totally different things since YYY can be a different branch last edit.</li>
</ul>
<p>We should always use XXX since this is the file tree you're browsing AT, and all things should be poiting to this commit.</p>
<p>I would also add additional link to what's the last commit of file, after XXX that will show YYY, so one can tell if actual XXX commit is one that changed file setup.py</p>
RhodeCode CE/EE - Bug #3483 (New): oauth: disable 3rd party registration if RhodeCode registratio...https://issues.rhodecode.com/issues/34832016-04-13T12:12:50ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>When oauth types are enabled and rhodecode registration is disabled there's no way to complete the registration process. We should not show the social oauth connectors in case registration page is disabled.</p>
RhodeCode CE/EE - Bug #3441 (New): [ux] clicking on line in file view scrolls to that linehttps://issues.rhodecode.com/issues/34412016-04-05T13:35:56ZLisa Quatmannlisa@rhodecode.com
<p>If you are looking at a changeset and click on a line to select it, the line is highlighted and the location is changed to link to the line.<br>
If you are looking at a file and click a line in the same way, it does the above and scrolls to that line so that it's at the top.</p>
<p>Both of them should work the same way.<br>
If the changeset view is able to prevent scrolling, then the file view should be able to do the same.<br>
[ see <a href="https://internal-code.rhodecode.com/rhodecode-momentum/files/2aeb654e2ef689756c0b04650b94875a920f7a88/rhodecode/public/js/src/rhodecode.js#L153" class="external">https://internal-code.rhodecode.com/rhodecode-momentum/files/2aeb654e2ef689756c0b04650b94875a920f7a88/rhodecode/public/js/src/rhodecode.js#L153</a> ]</p>
RhodeCode CE/EE - Bug #3382 (New): download superrepo with subreposhttps://issues.rhodecode.com/issues/33822016-03-25T01:30:34ZMaksim Leventhalmaksim.levental@gmail.com
<p>Supposedly there's a hidden feature </p>
<p><a href="https://rhodecode.tenderapp.com/help/discussions/questions/32935-zip-download-with-subrepos" class="external">https://rhodecode.tenderapp.com/help/discussions/questions/32935-zip-download-with-subrepos</a></p>
<p>by which you can download subrepos along with superrepos in one fell swoop... but it's been disabled (according to Marcin).<br>
Marcin says it's a difficult problem (atomicity) and recommended I open this issue. For the record here are relevant excerpts from the bash script we use on my server to simulate this:</p>
<pre><code>#!/bin/bash
set -e
NIGHTLY=0
ROLLBACK=0
if [ x$1 == 'x-n' ]; then
NIGHTLY=1
fi
REPOS=`cut -d " " -f 2 < .hgsubstate | sort`
REPOS=". $REPOS"
if [ $NIGHTLY == 1 ]; then
echo "Nightly build - moving all to default tip"
hg pull
hg up -C default
for repo in $REPOS; do
hg pull -R $repo
hg up -C -R $repo default
done
if hg commit -m "Nightly temp commit"; then
echo "Did temporary commit. Will rollback when done."
ROLLBACK=1
fi
fi
if [ $ROLLBACK == 1 ]; then
echo "Rolling back temp commit..."
hg rollback
hg up -C
fi
</code></pre> RhodeCode CE/EE - Bug #3357 (Resolved): switch to sometimes fails to load files metadatahttps://issues.rhodecode.com/issues/33572016-03-21T23:38:59ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Go to files view, clear cache. Run switch to to a tag, or different branch observe that loading files-metadata is stuck at "loading..."</p>
RhodeCode CE/EE - Bug #3351 (New): Duplicate IP whitelist entry shows error flashhttps://issues.rhodecode.com/issues/33512016-03-21T15:54:20ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>when trying to add a new IP whitelist that is a duplicate entry, we're showing an error flash without an explanation. We should detect duplicate entries and skip those, and for sure not show error messages.</p>
RhodeCode CE/EE - Bug #3334 (New): Attempt to edit .coveragerc through the online file editorhttps://issues.rhodecode.com/issues/33342016-03-17T13:49:13ZOliver Strobeloliver@rhodecode.com
<p>Notified me of an error in the UI and pulled this from the log:</p>
<p>2016-03-17 13:44:01.495 ERROR [rhodecode.controllers.files] Error occurred during commit<br>
Traceback (most recent call last):<br>
File "/nix/store/p67rn7vhwhrlqk7bdd5i1yrgxl2miba8-python2.7-RhodeCodeEnterprise-3.8.2/lib/python2.7/site-packages/rhodecode/controllers/files.py", line 474, in edit<br>
File "rhodecode/model/scm.py", line 669, in rhodecode.model.scm.ScmModel.update_nodes (rhodecode/model/scm.c:15935)<br>
File "rhodecode/model/scm.py", line 500, in rhodecode.model.scm.ScmModel._sanitize_path (rhodecode/model/scm.c:12863)<br>
NonRelativePathError: .coveragerc is not an relative path</p>
RhodeCode CE/EE - Bug #3250 (New): Posting a comment message is very slow !https://issues.rhodecode.com/issues/32502016-03-08T11:25:06ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>I noticed that posting a message can take few seconds to do. We should check why and fix it :)</p>