aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor get_mimetype_from_file() to get_mimetype_for_filename()Christian Hesse2015-08-173-51/+44
| | | | | | | * handle mimetype within a single function * return allocated memory on success Signed-off-by: Christian Hesse <mail@eworm.de>
* move get_mimetype_from_file() to sharedChristian Hesse2015-08-173-40/+42
Signed-off-by: Christian Hesse <mail@eworm.de>
* ui-patch: make sure to send http headersChristian Hesse2015-08-141-0/+4
Requesting a text/plain patch with bad commit id made cgit send text without proper http headers. This results in "500 Internal Server Error" with "Premature end of script headers" in server logs. So print http headers before error message and return. Signed-off-by: Christian Hesse <mail@eworm.de> Reviewed-by: John Keeping <john@keeping.me.uk>
* git: update to v2.5.0Christian Hesse2015-08-128-14/+14
Update to git version v2.5.0. * Upstream commit 5455ee0573a22bb793a7083d593ae1ace909cd4c (Merge branch 'bc/object-id') changed API: for_each_ref() callback functions were taught to name the objects not with "unsigned char sha1[20]" but with "struct object_id". * Upstream commit dcf692625ac569fefbe52269061230f4fde10e47 (path.c: make get_pathname() call sites return const char *) Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update to v2.4.1Christian Hesse2015-05-142-1/+1
| | | | | | Update to git version v2.4.1, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de>
* ui-shared: allow remote refs in branch switcherChristian Hesse2015-03-181-0/+2
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update to v2.3.3Christian Hesse2015-03-142-1/+1
Update to git version v2.3.3, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update to v2.3.2Christian Hesse2015-03-072-1/+1
Update to git version v2.3.2, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update to v2.3.1Christian Hesse2015-03-032-1/+1
Update to git version v2.3.1, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de>
* shrink cgit.png file sizeChristian Hesse2015-02-151-0/+0
Ran optipng against cgit.png, which shrank file size by more than eight percent. The image (including protocol overhead) should fit into a single network packet now. Optipng optimizes filters and compression. The actual pixel results are not altered. Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update for v2.3.0Christian Hesse2015-02-086-23/+19
* sort_string_list(): rename to string_list_sort() (upstream commit 3383e199) * update read_tree_recursive callback to pass strbuf as base (upstream commit 6a0b0b6d) Signed-off-by: Christian Hesse <mail@eworm.de>
* git: update to v2.2.2Christian Hesse2015-01-132-1/+1
Update to git version v2.2.2, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de>
* git: use xz compressed archive for downloadChristian Hesse2014-12-231-2/+2
* git: update to v2.2.1Christian Hesse2014-12-235-7/+8
| | | | | | Update to git version v2.2.1, including API changes. Signed-off-by: Christian Hesse <mail@eworm.de>
* filter: fix libravatar email-filter https issueChristian Hesse2014-12-131-1/+2
Serving cgit via https and getting avatar via http gives error messages about untrusted content. This decides whether or not to use https link by looking at the environment variable HTTPS, which is set in CGI.
* remove debug fprinf() calls that sneaked in with commit 79c985Christian Hesse2014-06-291-4/+0
|
* git: update to 2.0.1Christian Hesse2014-06-282-1/+1
Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required.
* git: update for git 2.0Christian Hesse2014-06-2812-36/+40
| | | | | | | prefixcmp() and suffixcmp() have been remove, functionality is now provided by starts_with() and ends_with(). Retrurn values have been changed, so instead of just renaming we have to fix logic. Everything else looks just fine.
* remove trailing whitespaces from source filesChristian Hesse2014-04-176-24/+24
|
* git: update to 1.9.2Christian Hesse2014-04-122-1/+1
Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required.
* git: update to 1.9.1Christian Hesse2014-03-202-1/+1
| | | | | Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required.
* filter: add libravatar email-filter lua scriptChristian Hesse2014-03-131-0/+26
* print download link for reference string length == 1Christian Hesse2014-02-211-1/+1
I have a number of repositories that start tagging with just '1' and count up. Actually references with sting length of one are skipped, this patch changes that.
* email-gravatar: fix html syntax issuesChristian Hesse2014-01-152-2/+2
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
* email-gravatar: fix html syntax issuesChristian Hesse2014-01-142-2/+2
| | | | | | * make ampersand a html entity * add required alt attribute * add required img end tag
* email-gravatar.py: fix UTF-8Christian Hesse2014-01-141-0/+4
|
* email-gravatar.lua: fix for lua 5.2Christian Hesse2014-01-141-1/+1
* git: update to 1.8.5Christian Hesse2014-01-082-1/+1
Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
* add a note about generating agefile in hookChristian Hesse2013-08-121-1/+2
* use favicon by defaultChristian Hesse2013-08-122-3/+4
|
* Add faviconChristian Hesse2013-05-312-0/+2
This adds a favicon to cgit. It is not enabled by default, though. The file contains two icons, 16x16 and 32x32 pixels, optimized for size.