Files
@ bce8e20057e1
Branch filter:
Location: kallithea/docs/usage/troubleshooting.rst - annotation
bce8e20057e1
2.4 KiB
text/prs.fallenstein.rst
repository summary: avoid table bleed on long commit messages
For commit messages with the first line being very long, the 'latest
changes' table on the repository overview page can 'bleed', so that the
commit number overlaps with the commit status.
Commit 15cb8156b10d732cf39b37a88c656894621c0f54 changed the initial truncate
on 50 characters to a chop at the first newline characters, causing this
issue to pop up more frequently.
Instead of using floating divs for the commit status and number of comments,
use dedicated table columns, as compact as possible.
Additionally, move these new columns to the very left of the table, instead
of cramming them in between the revision and commit message.
The comments-container class gets a new attribute 'white-space: nowrap' to
avoid the comment icon to wrap from the number of comments, when the table
does wrap on a small screen.
Note that the icon currently does not display as it should be renamed from
icon-comment-alt/colored to icon-comment. This will be fixed by Sean Farley.
For commit messages with the first line being very long, the 'latest
changes' table on the repository overview page can 'bleed', so that the
commit number overlaps with the commit status.
Commit 15cb8156b10d732cf39b37a88c656894621c0f54 changed the initial truncate
on 50 characters to a chop at the first newline characters, causing this
issue to pop up more frequently.
Instead of using floating divs for the commit status and number of comments,
use dedicated table columns, as compact as possible.
Additionally, move these new columns to the very left of the table, instead
of cramming them in between the revision and commit message.
The comments-container class gets a new attribute 'white-space: nowrap' to
avoid the comment icon to wrap from the number of comments, when the table
does wrap on a small screen.
Note that the icon currently does not display as it should be renamed from
icon-comment-alt/colored to icon-comment. This will be fixed by Sean Farley.
aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 8b8edfc25856 aa90719e8520 a9a1560dad79 8b8edfc25856 8b8edfc25856 aa90719e8520 aa90719e8520 e73a69cb98dc aa90719e8520 aa90719e8520 aa90719e8520 8b8edfc25856 aa90719e8520 aa90719e8520 e73a69cb98dc 8b8edfc25856 8b8edfc25856 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 e73a69cb98dc aa90719e8520 aa90719e8520 8b8edfc25856 e73a69cb98dc aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 e73a69cb98dc aa90719e8520 aa90719e8520 af2059eead28 af2059eead28 af2059eead28 4a99684543f7 4a99684543f7 4a99684543f7 4a99684543f7 4a99684543f7 cfc0fef66ddd 4a99684543f7 4a99684543f7 af2059eead28 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 aa90719e8520 010e9532801a | .. _troubleshooting:
===============
Troubleshooting
===============
:Q: **Missing static files?**
:A: Make sure either to set the `static_files = true` in the .ini file or
double check the root path for your http setup. It should point to
for example:
/home/my-virtual-python/lib/python2.7/site-packages/kallithea/public
|
:Q: **Can't install celery/rabbitmq?**
:A: Don't worry Kallithea works without them too. No extra setup is required.
Try out great celery docs for further help.
|
:Q: **Long lasting push timeouts?**
:A: Make sure you set a longer timeouts in your proxy/fcgi settings, timeouts
are caused by https server and not Kallithea.
|
:Q: **Large pushes timeouts?**
:A: Make sure you set a proper max_body_size for the http server. Very often
Apache, Nginx or other http servers kill the connection due to to large
body.
|
:Q: **Apache doesn't pass basicAuth on pull/push?**
:A: Make sure you added `WSGIPassAuthorization true`.
|
:Q: **Git fails on push/pull?**
:A: Make sure you're using an wsgi http server that can handle chunked encoding
such as `waitress` or `gunicorn`
|
:Q: **How i use hooks in Kallithea?**
:A: It's easy if they are python hooks just use advanced link in hooks section
in Admin panel, that works only for Mercurial. If you want to use githooks,
just install proper one in repository eg. create file in
`/gitrepo/hooks/pre-receive`. You can also use Kallithea-extensions to
connect to callback hooks, for both Git and Mercurial.
|
:Q: **Kallithea is slow for me, how can i make it faster?**
:A: See the :ref:`performance` section
|
:Q: **UnicodeDecodeError on Apache mod_wsgi**
:A: Please read: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#if-you-get-a-unicodeencodeerror
|
:Q: **Requests hanging on Windows**
:A: Please try out with disabled Antivirus software, there are some known problems with Eset Anitivirus. Make sure
you have installed latest windows patches (especially KB2789397)
.. _virtualenv: http://pypi.python.org/pypi/virtualenv
.. _python: http://www.python.org/
.. _mercurial: http://mercurial.selenic.com/
.. _celery: http://celeryproject.org/
.. _rabbitmq: http://www.rabbitmq.com/
.. _python-ldap: http://www.python-ldap.org/
.. _mercurial-server: http://www.lshift.net/mercurial-server.html
.. _PublishingRepositories: http://mercurial.selenic.com/wiki/PublishingRepositories
.. _Issues tracker: https://bitbucket.org/conservancy/kallithea/issues
|