RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042022-07-06T07:19:07ZRhodeCode - issues
Redmine Documentation - Support #5683 (New): Schemas (Structured Data) Snippetshttps://issues.rhodecode.com/issues/56832022-07-06T07:19:07ZToday Deals
<a name="Schemas"></a>
<h1 >Schemas<a href="#Schemas" class="wiki-anchor">¶</a></h1>
<p>Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.<br>
Founded by Google, Microsoft, Yahoo and Yandex, Schema.org vocabularies are developed by an open community process, using the <a href="mailto:public-schemaorg@w3.org">public-schemaorg@w3.org</a> mailing list and through GitHub.</p>
<a name="Demo"></a>
<h1 >Demo<a href="#Demo" class="wiki-anchor">¶</a></h1>
<p>Page demo: <a href="https://www.todaydeals.org/store/udemy" class="external">https://www.todaydeals.org/store/udemy</a> <br>
Created by the team building <a href="https://www.todaydeals.org" class="external">https://www.todaydeals.org</a> </p>
<a name="Technical-guidelines"></a>
<h1 >Technical guidelines<a href="#Technical-guidelines" class="wiki-anchor">¶</a></h1>
<p>You can test compliance with technical guidelines using the Rich Results Test and the URL Inspection tool, which catch most technical errors.<br>
Format<br>
In order to be eligible for rich results, mark up your site's pages using one of three supported formats:<br>
<br>
JSON-LD (recommended)<br>
Microdata<br>
RDFa</p>
RhodeCode CE/EE - Feature #5643 (Resolved): jump to bottom of reviewhttps://issues.rhodecode.com/issues/56432020-12-02T10:36:16ZSebastian Elsner
<p>As a reviewer I often find myself with a large PR with many files changed, resulting in long PR pages. I scroll to the bottom, approve the PR. Something needs fixing, PR is updated, I reopen the page, approve scrolling down the PR page, PR may be updated, ....</p>
<p>A small improvement for this would be that you place a "Jump to bottom" link at the top. I know, I can press the "end" key on the keyboard, but my right hand is with the mouse and the left with the coffee mug ;)</p>
<p>Maybe like this:</p>
<p><img src="https://issues.rhodecode.com/attachments/download/3086/Selection_021.png" alt="" loading="lazy" /></p>
<p>From Phabricator code review I was used to have the "toolbar" for "Close" and "Merge" and "Add Comment" at the top AND at the bottom. That would be a solution too, but I guess way to over engineered for the problem.</p>
RhodeCode CE/EE - Feature #5613 (New): Feature Request: Issue tracker link in new tab/windowhttps://issues.rhodecode.com/issues/56132020-04-08T23:01:09ZRenaud Lepage
<p>Right now the Issue Tracker auto-links open in the same browser tab/window.</p>
<p>It would be nice to have the option (at the instance level) to have the auto-generated links open in a new tab/window.</p>
<p>This is PURELY a UX optimisation. Extremely low priority.</p>
RhodeCode CE/EE - Bug #5612 (New): CPU cores getting maxed out by VCSServer on Repository Size re...https://issues.rhodecode.com/issues/56122020-04-08T18:57:58ZRenaud Lepage
<p>Please note that this happens on a RhodeCode CE instance, running the latest RhodeCode code, but running on a Virtual Private Server machine with fairly "restricted" specs (one virtual CPU, 2gb RAM). Weak by any metrics.</p>
<p>Condition: Using a freshly imported SVN repository that's not indexed or anything</p>
<p>Hitting "Show Repository Size" starts some kind of "runaway process", or possibly a "go through each commit in historical order", from the RhodeCode "Main Service" (community-1) to the VCS Server. This makes the two VCSServer workers max out the one virtual CPU my VPS instance has for some reason - likely because VCSServer does some big processing on each commit to get the size, but I can't be sure.</p>
<p>Setting prio to Low because I'm not a paying client.</p>
RhodeCode CE/EE - Bug #5575 (Resolved): Filtering username containing '-' does not work in Admin ...https://issues.rhodecode.com/issues/55752019-12-12T17:39:46ZBoris Basic
<p>Usernames containing '-' such as 'user-name' can't be filtered with the "usernale:" filter command.</p>
RhodeCode CE/EE - Bug #5558 (Resolved): Commit compare window covers texthttps://issues.rhodecode.com/issues/55582019-07-07T21:53:10ZCatalin Salgau
<p>Commit compare window covers text<br>
Seen on pre-pull-request commit or when hitting "compare origin on a fork repository" (and reaching this url, for example)<br>
<a href="https://code.rhodecode.com/rhodecode-enterprise-ce/compare/rev%40tip...rev%40tip?merge=1" class="external">https://code.rhodecode.com/rhodecode-enterprise-ce/compare/rev%40tip...rev%40tip?merge=1</a></p>
RhodeCode CE/EE - Feature #5536 (Resolved): Ability to disable server-side SSH key generationhttps://issues.rhodecode.com/issues/55362019-02-11T19:42:50ZCatalin Salgau
<p>Generating a private/public SSH key pair may be user-friendly, but shipping this from the server can pose security concerns.<br>
Please add a way to disable key generation and/or provide client client-side key generation(Web Crypto APIs are available in most modern browsers)<br>
Thanks</p>
RhodeCode CE/EE - Bug #5522 (Resolved): vcsserver fails when url contains extra "/"https://issues.rhodecode.com/issues/55222018-12-23T14:18:27ZPaul Brand
<p>We use bitbake to build software for our products. Bitbake fetches the latest sourcecode from various repositories before it start to build software.<br>
Bitbake uses a receipes which tell bitbake what repository to use and how to build the url to access that repository.</p>
<p>Part of a receipe below:</p>
<pre><code>HGNAME = "repogroup/reponame"
SRC_URI = "hg://kvmech.kvernelandgroup.com/rhodecode/;protocol=http;scmdata=keep;module=${HGNAME}"
</code></pre>
<p>This would work with our previous rhodecode version (4.12.4)</p>
<p>Last week I updated to rhodecode 4.15 and the fetching of repositories did not work anymore. Bitbake reported:</p>
<pre><code>ERROR: Fetcher failure: Fetch command failed with exit code 255, output:
abort: HTTP Error 500: Internal Server Error
ERROR: Function failed: Fetcher failure for URL: 'hg://kvmech.kvernelandgroup.com/rhodecode/;protocol=http;scmdata=keep;module=repogroup/reponame'. Unable to fetch URL from any source.
</code></pre>
<p>The following error is from the vcssserver.log:</p>
<pre><code>2018-12-23 12:37:49.733 DEBUG [vcsserver.http_main] method called:localrepository with kwargs:{} context_uid: 7d80d0bf-d5c0-49a9-a104-3ef33f73fa5d
2018-12-23 12:37:49.733 DEBUG [dogpile.lock] NeedRegenerationException
2018-12-23 12:37:49.733 DEBUG [dogpile.lock] no value, waiting for create lock
2018-12-23 12:37:49.733 DEBUG [dogpile.lock] value creation lock <dogpile.cache.region._LockWrapper object at 0x7f3b1f84bc10> acquired
2018-12-23 12:37:49.734 DEBUG [dogpile.lock] Calling creation function for not-yet-present value
2018-12-23 12:37:49.736 DEBUG [dogpile.lock] Released creation lock
2018-12-23 12:37:49.736 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/hg` time: 0.003s
2018-12-23 12:37:49.755 DEBUG [vcsserver.http_main] http-app: handling hg stream
2018-12-23 12:37:49.755 DEBUG [vcsserver.scm_app] Creating Mercurial WSGI application
2018-12-23 12:37:49.757 DEBUG [vcsserver.scm_app] hgrc file is not present at /repos/repogroup/reponame/.hg/hgrc, skipping...
2018-12-23 12:37:49.759 DEBUG [vcsserver.http_main] http-app: starting app handler with <vcsserver.scm_app.HgWeb object at 0x7f3b1cdd70d0> and process request
2018-12-23 12:37:49.790 DEBUG [vcsserver.lib.exc_tracking] Stored generated exception 139891865038592 as: /tmp/rc_exception_store_v1/139891865038592_vcsserver_1545565069.767842
2018-12-23 12:37:49.791 ERROR [vcsserver.http_main] error occurred handling this request for path: //repogroup/reponame,
tb: Traceback (most recent call last):
File "/opt/rhodecode/store/mcjhzq84p171b42cwjlszbz8611ir1b8-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 39, in excview_tween
response = handler(request)
File "/opt/rhodecode/store/mcjhzq84p171b42cwjlszbz8611ir1b8-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 156, in handle_request
view_name
File "/opt/rhodecode/store/mcjhzq84p171b42cwjlszbz8611ir1b8-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 642, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/mcjhzq84p171b42cwjlszbz8611ir1b8-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
result = view(context, request)
File "/opt/rhodecode/store/mcjhzq84p171b42cwjlszbz8611ir1b8-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/wsgi.py", line 37, in decorator
return request.get_response(wrapped)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1327, in send
application, catch_exc_info=False)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1291, in call_application
app_iter = application(self.environ, start_response)
File "/opt/rhodecode/store/hsq37yg96ril6xlifrvb030v290zbm6k-python2.7-rhodecode-vcsserver-4.15.0/lib/python2.7/site-packages/vcsserver/http_main.py", line 509, in _hg_stream
return app(environ, ResponseFilter(start_response))
File "/opt/rhodecode/store/hsq37yg96ril6xlifrvb030v290zbm6k-python2.7-rhodecode-vcsserver-4.15.0/lib/python2.7/site-packages/vcsserver/scm_app.py", line 77, in __call__
req = requestmod.parserequestfromenv(environ)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hgweb/request.py", line 260, in parserequestfromenv
reponame))
ProgrammingError: PATH_INFO does not begin with repo name: //repogroup/reponame (repogroup/reponame)
</code></pre>
<p>It seems like bitbake generates an url with an extra "/" > "//repogroup/reponame"</p>
<p>I removed the trailing "/" from the bitbake receipe and everythong worked fine again:</p>
<pre><code>HGNAME = "repogroup/reponame"
SRC_URI = "hg://kvmech.kvernelandgroup.com/rhodecode;protocol=http;scmdata=keep;module=${HGNAME}"
</code></pre>
<p>It looks like rhodecode became more strict with url formatting. <br>
The problem is resolved with the change to the bitbake receipe but the behaviour of rhodecode definitely changed between 4.12 and 4.15.<br>
And i think a 404 error would be more appropriate instead of a 500 server error.</p>
RhodeCode CE/EE - Feature #5442 (Resolved): Preview of Jupyter notebookshttps://issues.rhodecode.com/issues/54422018-02-25T11:40:15ZBrahim Djoudi
<p>Both Github and Gitlab have preview capability for Jupyter notebooks (<a href="https://nbformat.readthedocs.io/en/latest/" class="external">https://nbformat.readthedocs.io/en/latest/</a>) that mix Python code (or other language), Markdown cells and plain text fields.<br>
Rhodecode CE or EE should offer a similar feature.</p>
<p>Regards.</p>
RhodeCode CE/EE - Feature #5441 (New): Some files not parsed as XML fileshttps://issues.rhodecode.com/issues/54412018-02-25T11:28:55ZBrahim Djoudi
<p>Some files have filenames or extensions that don't indicate explicitely their types.<br>
For instance, Eclipse project files <code>.project</code> and <code>.classpath</code> are XML files.<br>
They should parsed as XML files from the header:</p>
<pre><code class="xml syntaxhl" data-language="xml"><span class="cp"><?xml version="1.0" encoding="UTF-8" standalone="no" ?></span>
</code></pre>
<p>Product used: <code>rhodecode-enterprise-ce-4.11.5</code></p>
<p>Regards.</p>
Documentation - Task #5408 (Resolved): Upate nginx documentation for non standard SSL porthttps://issues.rhodecode.com/issues/54082017-12-02T16:04:42ZMaurice Müller
<p>I'm currently in an evaluation process for rhodecode. During my test setup it give me a headache that the given nginx example was not working fully in my set up (login and logout were getting a timeout although the user was logged in / out).</p>
<p>After a long search I figured out that the non standard SSL port was the issue. This can easily be fixed by replacng the following in the proxy.conf file (<a href="https://docs.rhodecode.com/RhodeCode-Enterprise/admin/nginx-tuning.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/admin/nginx-tuning.html</a>) :</p>
<p>replace:<br>
proxy_set_header Host $host;<br>
with:<br>
proxy_set_header Host $host:$server_port;</p>
<p>I hope this helps some other guys in the future ;)</p>
RhodeCode CE/EE - Task #5207 (Resolved): Release 4.6.1https://issues.rhodecode.com/issues/52072017-02-10T13:09:33ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Prep tasks for 4.6.1 release</p>
RhodeCode CE/EE - Task #4289 (New): [ce, ee] clean up pygments lexer functions + handlinghttps://issues.rhodecode.com/issues/42892016-10-21T14:40:28ZDaniel Ddaniel@rhodecode.com
<p>Currently there are a few lexer functions that seem duplicated/incoherent with each other. This seems to be also tied with the rc extensions which can define custom lexers/file extension mappings in example-ext.py:</p>
<pre><code>
# =============================================================================
# END OF UTILITY FUNCTIONS HERE
# =============================================================================
# Additional mappings that are not present in the pygments lexers
# used for building stats
# format is {'ext':['Names']} eg. {'py':['Python']} note: there can be
# more than one name for extension
# NOTE: that this will override any mappings in LANGUAGES_EXTENSIONS_MAP
# build by pygments
EXTRA_MAPPINGS = {}
# additional lexer definitions for custom files it's overrides pygments lexers,
# and uses defined name of lexer to colorize the files. Format is {'ext':
# 'lexer_name'} List of lexers can be printed running:
# >> python -c "import pprint;from pygments import lexers;
# pprint.pprint([(x[0], x[1]) for x in lexers.get_all_lexers()]);"
EXTRA_LEXERS = {}
</code></pre>
<p>Then there are the functions get_custom_lexer and the FileNode attributes <code>filenode.lexer</code> which don't seem to follow the same logic - the filenode lexer for example seems to prefer a lexer matching the filename instead of a defined custom lexer.</p>
<p>We should use a common base for getting a lexer - one that first returns custom lexer mappings (so that for example .html can be mapped to mako).</p>
<p>Extending on this it could be possible to make the file extension => lexer mapping a per repository setting, exposed via the ui, which would give the best usability in terms of letting each repo specify which lexer to prefer ... again for example <code>.html => mako</code> </p>
RhodeCode CE/EE - Task #4259 (Resolved): Events, create post-create-user eventhttps://issues.rhodecode.com/issues/42592016-10-03T20:51:03ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>I think it'd be usefull to create post-create user event, and add it to webhook/slack/hipchat.</p>
<p>Use case is to create accounts in external systems via webook / notify via chat applications about new users.</p>
RhodeCode CE/EE - Bug #4155 (Resolved): Date of Last Change is not displayed correctlyhttps://issues.rhodecode.com/issues/41552016-08-07T11:17:09ZDmitry Konchalenkov [staff]dmitry@rhodecode.com
<p>Expected: <em>Last Change</em> should be the date of the latest commit. See screenshot.<br>
Actual: </p>
<ul>
<li>either <em>Last Change</em> doesn't use the date of the latest commit</li>
<li>or <em>Last Change</em> uses the time zone incorrectly</li>
</ul>