summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2016-01-14Bump versionv0.12Jason A. Donenfeld1-1/+1
2016-01-14ui-plain: add enable-html-serving flagJason A. Donenfeld5-0/+29
2016-01-14ui-blob: set CSP just in caseJason A. Donenfeld1-0/+3
2016-01-14ui-blob: always use generic mimetypesJason A. Donenfeld1-6/+4
2016-01-14ui-blob: Do not accept mimetype from userJason A. Donenfeld3-4/+0
2016-01-14ui-shared: prevent malicious filename from injecting headersJason A. Donenfeld3-3/+32
2016-01-14ui-shared: Avoid new line injection into redirect headerJason A. Donenfeld1-1/+3
2016-01-14Fix missing prototype declarationsPeter Colberg6-15/+15
2016-01-13ui-repolist: return HTTP 404 if no repositories foundPeter Colberg1-3/+17
2016-01-13ui-repolist: extract repo visibility criteria to separate functionPeter Colberg1-3/+10
2016-01-13Fix segmentation fault in hc()Lukas Fleischer1-0/+3
2016-01-13git: update to v2.7.0Christian Hesse13-26/+26
2016-01-13ui-repolist: initialize char *buf to NULLChristian Hesse1-1/+1
2015-11-24filter: avoid integer overflow in authenticate_postJason A. Donenfeld1-1/+1
2015-11-12about-formatting.sh: comment text out of dateJason A. Donenfeld1-1/+1
2015-10-12filters: port syntax-highlighting.py to python 3.xChristian Hesse1-10/+9
2015-10-12md2html: the default of stdin works fineJason A. Donenfeld1-2/+1
2015-10-12filters: misc cleanupsJason A. Donenfeld2-2/+1
2015-10-12md2html: use pure pythonJason A. Donenfeld1-6/+9
2015-10-10cache: fix resource leak: close file handle before returnChristian Hesse1-3/+9
2015-10-10ui-atom: fix resource leak: free allocation from cgit_pageurlChristian Hesse1-1/+4
2015-10-10ui-atom: fix resource leak: free before returnChristian Hesse1-1/+2
2015-10-10ui-atom: fix resource leak: free allocation from cgit_repourlChristian Hesse1-1/+3
2015-10-10ui-blob: fix resource leak: free before returnChristian Hesse1-0/+1
2015-10-10ui-blob: fix resource leak: free before returnChristian Hesse1-0/+1
2015-10-09ui-plain: fix resource leak: free before assigning NULLChristian Hesse1-1/+3
2015-10-09ui-plain: fix resource leak: free before returnChristian Hesse1-0/+1
2015-10-09ui-repolist: fix resource leak: free allocation from cgit_currenturlChristian Hesse1-1/+3
2015-10-09ui-repolist: fix resource leak: free before returnChristian Hesse1-1/+3
2015-10-09filters: Simplify convertersJason A. Donenfeld4-1734/+284
2015-10-09ui-shared: fix resource leak: free allocation from cgit_hosturlChristian Hesse1-2/+3
2015-10-09ui-shared: return value of cgit_hosturl is not constChristian Hesse2-4/+4
2015-10-09cmd: fix resource leak: free allocation from cgit_currenturl and fmtallocChristian Hesse1-3/+7
2015-10-09ui-shared: fix resource leak: free allocation from cgit_currenturlChristian Hesse1-3/+8
2015-10-09ui-shared: return value of cgit_currenturl is not constChristian Hesse2-3/+3
2015-10-09ui-shared: fix resource leak: free allocation from cgit_fileurlChristian Hesse1-5/+11
2015-10-09ui-ssdiff: fix resource leak: free allocation from cgit_fileurlChristian Hesse1-2/+6
2015-10-09ui-tree: fix resource leak: free before returnChristian Hesse1-0/+1
2015-10-09Avoid use of non-reentrant functionsJason A. Donenfeld1-3/+3
2015-10-09Makefile: fix MAKEFLAGS tests with multiple flagsJohn Keeping1-1/+1
2015-10-09ui-refs: remove useless null checkJohn Keeping1-1/+1
2015-10-09ui-blob: remove useless null checkJohn Keeping1-1/+1
2015-10-09scan-tree: remove useless strdup()John Keeping1-1/+1
2015-10-09cgit.c: remove useless null checkJohn Keeping1-1/+1
2015-10-06git: update to v2.6.1Christian Hesse2-1/+1
2015-08-17mime: rewrite detection functionJason A. Donenfeld1-36/+26
2015-08-17ui-summary: send images plain for about pageChristian Hesse1-2/+13
2015-08-17refactor get_mimetype_from_file() to get_mimetype_for_filename()Christian Hesse3-51/+44
2015-08-17move get_mimetype_from_file() to sharedChristian Hesse3-40/+42
2015-08-14cmd: fix command definitionJohn Keeping1-1/+1
2015-08-14cmd: no need for pre function hook nowJason A. Donenfeld3-20/+9
2015-08-14ui-shared: cache errors for "dynamic TTL"John Keeping1-0/+1
2015-08-14cmd: remove "want_layout" fieldJohn Keeping3-34/+24
2015-08-14tree: move layout into page functionJohn Keeping2-6/+19
2015-08-14tag: move layout into page functionJohn Keeping2-4/+11
2015-08-14summary: move layout into page functionJohn Keeping2-1/+3
2015-08-14stats: move layout into page functionJohn Keeping2-3/+7
2015-08-14refs: move layout to page functionJohn Keeping2-2/+3
2015-08-14log: move layout into page functionJohn Keeping2-2/+5
2015-08-14diff: move layout to page functionJohn Keeping2-6/+15
2015-08-14commit: move layout into page functionJohn Keeping2-3/+7
2015-08-14about: move layout into page functionsJohn Keeping3-4/+11
2015-08-14ui-shared: add cgit_print_layout_{start,end}()John Keeping2-0/+15
2015-08-14html: remove html_status()John Keeping2-8/+0
2015-08-14snapshot: don't reimplement cgit_print_error_page()John Keeping1-17/+4
2015-08-14snapshot: use cgit_print_error_page() for HTTP status codesJohn Keeping1-2/+4
2015-08-14patch: use cgit_print_error_page() for HTTP status codesJohn Keeping1-8/+8
2015-08-14blob: use cgit_print_error_page() to add HTTP headersJohn Keeping1-4/+8
2015-08-14snapshot: use cgit_print_error_page() instead of html_status()John Keeping1-1/+1
2015-08-14plain: use cgit_print_error_page() instead of html_status()John Keeping1-5/+5
2015-08-14clone: use cgit_print_error_page() instead of html_status()John Keeping1-5/+5
2015-08-14cgit: use cgit_print_error_page() where appropriateJohn Keeping1-20/+7
2015-08-14ui-shared: add cgit_print_error_page() functionJohn Keeping2-0/+16
2015-08-14ui-patch: make sure to send http headersChristian Hesse1-0/+4
2015-08-13Makefile: make "git/config.mak.uname" inclusion optionalJohn Keeping1-1/+1
2015-08-13ui-shared: show full date in tooltip if longer ago than max_relativeJohn Keeping1-0/+4
2015-08-13ui-shared: use common function in print_rel_date()John Keeping1-10/+1
2015-08-13ui-shared: extract date formatting to a functionJohn Keeping1-4/+9
2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping1-36/+42
2015-08-13ui-tree: use "sane" isgraph()John Keeping2-1/+3
2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping2-2/+2
2015-08-13cache.c: fix header orderJohn Keeping1-3/+3
2015-08-13configfile.c: don't include system headers directlyJohn Keeping1-2/+1
2015-08-13Remove redundant includesJohn Keeping6-16/+0
2015-08-13Makefile: include Git's config.mak.unameJohn Keeping1-0/+1
2015-08-13tests: allow shell to be overriddenJohn Keeping1-1/+5
2015-08-13redirect: cleanlinessJason A. Donenfeld1-2/+1
2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld1-1/+4
2015-08-12ui-log: fix double countingJohn Keeping1-2/+2
2015-08-12log: allow users to follow a fileJohn Keeping10-18/+194
2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping2-2/+5
2015-08-12t0110: Chain together using &&Jason A. Donenfeld1-8/+8
2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld5-2/+26
2015-08-12filters: apply HTML escapingLazaros Koromilas1-1/+1
2015-08-12git: update to v2.5.0Christian Hesse8-14/+14
2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt1-4/+4
2015-08-12contrib/hooks: add sample post-receive hook using agefileJohn Keeping1-0/+19
2015-05-14git: update to v2.4.1Christian Hesse2-1/+1
2015-03-18ui-shared: allow remote refs in branch switcherChristian Hesse1-0/+2
2015-03-14git: update to v2.3.3Christian Hesse2-1/+1
2015-03-13Bump versionv0.11.2Jason A. Donenfeld1-1/+1
2015-03-13Remove no-op link from submodule entriesLukas Fleischer2-18/+25
2015-03-13filters: Add sample gentoo scriptJason A. Donenfeld1-0/+320
2015-03-09cgit: remember to set up env vars before empty clone pathJason A. Donenfeld1-0/+1
2015-03-09ui-shared: currenturl should take into account leading slashJason A. Donenfeld1-1/+5
2015-03-09html: avoid using a plain integer as a NULL pointerJohn Keeping1-22/+32
2015-03-09cache: don't use an integer as a NULL pointerJohn Keeping1-1/+1
2015-03-09ui-shared: don't use an integer as a NULL pointerJohn Keeping1-1/+1
2015-03-09ui-shared: avoid initializing static variable to zeroJohn Keeping1-1/+1
2015-03-09ui-stats: make cgit_period definitions 'static const'John Keeping2-8/+8
2015-03-09ui-shared: make cgit_doctype 'static'John Keeping1-1/+1
2015-03-09ui-repolist: make sortcolumn definitions 'static const'John Keeping1-2/+2
2015-03-09ui-log: make some variables 'static'John Keeping1-1/+1
2015-03-09shared: make some variables 'static'John Keeping1-2/+2
2015-03-09scan-tree: make some variables 'static'John Keeping1-2/+2
2015-03-09Avoid signed bitfieldsJohn Keeping2-3/+3
2015-03-09Avoid non-ANSI function declarationsJohn Keeping9-25/+25
2015-03-09Makefile: add a target to run CGit through sparseJohn Keeping2-1/+11
2015-03-07git: update to v2.3.2Christian Hesse2-1/+1
2015-03-05Bump versionv0.11.1Jason A. Donenfeld1-1/+1
2015-03-05Drop return value from parse_user()Lukas Fleischer1-11/+7
2015-03-05Remove leading newline characters from tag messagesLukas Fleischer1-0/+3
2015-03-05simple-authentication.lua: tie secure cookies to field namesJason A. Donenfeld1-13/+21
2015-03-05cgit: show clone URLs for empty repoJason A. Donenfeld2-1/+17
2015-03-03cache: use F_SETLK to avoid stale lock filesJohn Keeping1-1/+14
2015-03-03Make root handling sane again.Jason A. Donenfeld3-14/+14
2015-03-03ui-shared: Add current url helper function.Jason A. Donenfeld3-4/+12
2015-03-03ui-shared: keep filter repolist page in paginationJason A. Donenfeld1-3/+3
2015-03-03ui-repolist: use ctx.qry.url instead of rooturl, in case we're filteringJason A. Donenfeld2-3/+3
2015-03-03ui-repolist: use correct owner query linkJason A. Donenfeld1-1/+1
2015-03-03Simplify commit and tag parsingLukas Fleischer1-72/+42
2015-03-03git: update to v2.3.1Christian Hesse2-1/+1
2015-02-15Bump verisonv0.11.0Jason A. Donenfeld1-1/+1
2015-02-15shrink cgit.png file sizeChristian Hesse1-0/+0
2015-02-09ui-clone.c: Fix off-by-one error in pack pathJason A. Donenfeld1-5/+11
2015-02-09ui-clone.c: Fix path checkLukas Fleischer1-2/+2
2015-02-08git: update for v2.3.0Christian Hesse6-23/+19
2015-02-05ui-shared.c: Refactor add_clone_urls()Lukas Fleischer1-22/+10
2015-01-29Add repo.hide and repo.ignoreLukas Fleischer5-0/+23
2015-01-28Add Etags for snapshotsJanus1-0/+1
2015-01-19tag: reference with "h" instead of "id"John Keeping4-9/+8
2015-01-15Return proper HTTP response when accessing info/Lukas Fleischer1-1/+3
2015-01-13git: update to v2.2.2Christian Hesse2-1/+1
2014-12-30ui-diff: don't link to single file diff statJohn Keeping1-0/+10
2014-12-28ui-patch: match git-format-patch(1) outputJohn Keeping2-3/+4
2014-12-28t0108: modernize styleJohn Keeping1-10/+10
2014-12-24Revert "git: use xz compressed archive for download"Jason A. Donenfeld1-2/+2
2014-12-24Use split_ident_line() in parse_user()Lukas Fleischer1-28/+17
2014-12-23footer: link back to cgit home pageJason A. Donenfeld2-1/+8
2014-12-23ui-shared: show absolute time in tooltip for relative datesJohn Keeping1-12/+23
2014-12-23git: use xz compressed archive for downloadChristian Hesse1-2/+2
2014-12-23match other common markdown file extensionsChris Burroughs1-1/+1
2014-12-23repolist: add owner-filterChris Burroughs7-8/+64
2014-12-23ui-shared: add rel-vcs microformat links to HTML headerJohn Keeping1-0/+11
2014-12-23ui-summary: add "rel='vcs-git'" to clone URL linksJohn Keeping1-2/+4
2014-12-23Extract clone URL printing to ui-shared.cJohn Keeping3-46/+51
2014-12-23Remove trailing slash after remove-suffixLukas Fleischer1-3/+6
2014-12-23git: update to v2.2.1Christian Hesse5-7/+8
2014-12-13filter: fix libravatar email-filter https issueChristian Hesse1-1/+2
2014-12-13ui-diff: add "stat only" diff typeJohn Keeping2-1/+5
2014-12-13Change "ss" diff flag to an enumJohn Keeping4-14/+24
2014-12-13ui-shared: remove toggle_ssdiff arg to cgit_diff_link()John Keeping4-8/+8
2014-12-13ui-shared: remove toggle_ssdiff arg to cgit_commit_link()John Keeping5-13/+11
2014-08-07git: update to v2.0.4John Keeping2-1/+1
2014-08-07Always check if README exists in choose_readme()Lukas Fleischer1-6/+0
2014-08-01cgitrc.5: we mean a cgi response, not requestJason A. Donenfeld1-1/+1
2014-07-28ui-stats.c: set parent pointer to NULL after freeing itJohn Keeping1-0/+1
2014-07-28git: update to v2.0.3John Keeping6-9/+7
2014-07-28parsing.c: make commit buffer constJohn Keeping1-4/+4
2014-06-30Bump version.v0.10.2Jason A. Donenfeld1-1/+1
2014-06-29remove debug fprinf() calls that sneaked in with commit 79c985Christian Hesse1-4/+0
2014-06-28git: update to 2.0.1Christian Hesse2-1/+1
2014-06-28ui-patch: Flush stdout after outputting dataJohn Keeping1-0/+2
2014-06-28ui-log: ignore unhandled argumentsJohn Keeping1-3/+3
2014-06-28git: update for git 2.0Christian Hesse12-36/+40
2014-04-17remove trailing whitespaces from source filesChristian Hesse6-24/+24
2014-04-12git: update to 1.9.2Christian Hesse2-1/+1
2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice1-9/+14
2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld1-1/+1
2014-03-20git: update to 1.9.1Christian Hesse2-1/+1
2014-03-13filter: add libravatar email-filter lua scriptChristian Hesse1-0/+26
2014-02-28Bump version.v0.10.1Jason A. Donenfeld1-1/+1
2014-02-26ui-refs: simplify cmp_age logicJason A. Donenfeld1-11/+3
2014-02-21Remove unused parameter from cgit_print_snapshot()Lukas Fleischer3-3/+3
2014-02-21print download link for reference string length == 1Christian Hesse1-1/+1
2014-02-21Clean up cache documentation.Jason A. Donenfeld1-22/+25
2014-02-21Skip cache slot when time-to-live is zeroLukas Fleischer2-9/+15
2014-02-21git: Update to 1.9.0Lukas Fleischer2-1/+1
2014-02-20Makefile: suppress pkg-config errorJason A. Donenfeld1-1/+1
2014-02-20Add a cache-snapshot-ttl configuration variableLukas Fleischer3-0/+12
2014-02-20diffstat: do not rely on uninitialized dataJason A. Donenfeld1-0/+1
2014-02-05gen-version.sh: check if git is available before trying to call itFabien C1-1/+1
2014-01-23simple-authentication: styleJason A. Donenfeld1-1/+1
2014-01-22makefile: use LUA_PKGCONFIG to set Lua implementationNatanael Copa2-31/+16
2014-01-20tests: only do lua tests if lua is compiled-inJason A. Donenfeld2-2/+17
2014-01-20cgit: add --version argument for printing infoJason A. Donenfeld1-0/+17
2014-01-19cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior3-1/+34
2014-01-19README: document pkg-config for luajitJason A. Donenfeld1-1/+1
2014-01-17makefile: bump versionv0.10Jason A. Donenfeld1-1/+1
2014-01-17mailmap: source before lighttpdJason A. Donenfeld1-1/+1