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>
Documentation - Bug #5598 (New): Typo in force delete commandhttps://issues.rhodecode.com/issues/55982020-03-19T20:10:07ZJoseph Sible
<p>Running the command at the bottom of <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/admin/repo_admin/repo-admin-tasks.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/admin/repo_admin/repo-admin-tasks.html</a> will fail with the message "No matching instances found to run the iShell." The problem is that it contains a typo: it uses "Enterprise-1" with an uppercase E instead of "enterprise-1" with a lowercase e.</p>
RhodeCode CE/EE - Bug #5460 (New): Repo creation stuck when remote clone returns partial http cod...https://issues.rhodecode.com/issues/54602018-04-10T15:45:27ZPeter Colledge
<p>UI stuck on 'Creating repository myrepo Repository "myrepo" is being created, you will be redirected when this process is finished.'</p>
<p>Steps to reproduce:</p>
<ol>
<li>Create a hg repo with open permissions except one file, eg. <code>.hg/store/data/foo.txt</code>, which hgweb service does not have access to. This will cause <code>getbundle</code> to fail.</li>
<li>Publish the repo with hgweb.</li>
<li>Create new repo in RhodeCode and 'Clone from:' the hgweb url.</li>
<li>Save. Observe stuck UI.</li>
<li>Observe hgweb <code>accesslog</code> returning http code 200 for <code>cmd=lookup</code>, <code>cmd=capabilities</code>, <code>cmd=listkeys</code>, etc, but 500 on <code>cmd=getbundle</code></li>
<li>Observe backend http exceptions, attached.</li>
</ol>
<p>Note: Celery feature enabled.</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 - Bug #5439 (New): JIRA Integration description: Wrong sample linkhttps://issues.rhodecode.com/issues/54392018-02-14T14:25:34ZMalte Onnen
<p>The sample link described <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/issue-trackers/issue-trackers.html#jira-integration" class="external">here</a> should rather be <br>
<a href="https://myissueserver.com/browse/${id}" class="external">https://myissueserver.com/browse/${id}</a><br>
than<br>
<a href="https://myissueserver.com/issue/${id}" class="external">https://myissueserver.com/issue/${id}</a></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 Appenlight - Bug #5342 (New): Broken link [Applications Modify application]https://issues.rhodecode.com/issues/53422017-06-21T21:21:50ZBartłomiej Wołyńczyk
<p>Description:<br>
Link in applications setting is leading to main application page instead documentation.</p>
<p>"How to connect your application?<br>
Visit our developer documentation for step-by-step integration instructions."<br>
developer documentation ->> <a href="https://appenlight.rhodecode.com/" class="external">https://appenlight.rhodecode.com/</a><br>
instead ->> <a href="https://getappenlight.com/page/api/main.html" class="external">https://getappenlight.com/page/api/main.html</a> ??</p>
<p>Steps to reproduce:</p>
<ol>
<li>Go to Applications </li>
<li>Chosen Application -> Update</li>
<li>On Right Top there is link leading to developer documentation. </li>
</ol>
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 Appenlight - Feature #4220 (New): Search params allow sorting of result.https://issues.rhodecode.com/issues/42202016-09-06T16:33:29ZTomek Banasiak
<p>Hi,</p>
<p>Ability for sorting asc, desc by search result for example by avg duration, location etc would be cool.</p>
RhodeCode CE/EE - Bug #4154 (New): [ce, ee] user register via github captchahttps://issues.rhodecode.com/issues/41542016-08-05T22:51:47ZDaniel Ddaniel@rhodecode.com
<p>Found on code.rhodecode.com - sign up using github account - captcha is asked but not verified.</p>
RhodeCode CE/EE - Bug #4040 (New): [ce, ee] logout when logged out causes 403 Cross-site request ...https://issues.rhodecode.com/issues/40402016-06-22T21:09:03ZDaniel Ddaniel@rhodecode.com
<p>Reproduce:</p>
<ul>
<li>Login to rhodecode</li>
<li>Logout in another tab</li>
<li>Click logout in original tab</li>
</ul>
RhodeCode Appenlight - Feature #4017 (New): application logos need helphttps://issues.rhodecode.com/issues/40172016-06-14T11:52:12ZLisa Quatmannlisa@rhodecode.com
<p>see attached</p>
<p>surely we can make this prettier</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>