summaryrefslogtreecommitdiff
path: root/shared.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move cgit_parse_query() from parsing.c to html.c as http_parse_querystring()Lars Hjemli2008-04-081-12/+0
* Move cgit_version from shared.c to cgit.cLars Hjemli2008-03-241-2/+0
* Move non-generic functions from shared.c to cgit.cLars Hjemli2008-03-241-151/+1
* Refactor snapshot supportLars Hjemli2008-03-241-0/+27
* Add command dispatcherLars Hjemli2008-03-241-13/+0
* Add struct cgit_page to cgit_contextLars Hjemli2008-03-241-0/+3
* Introduce html.hLars Hjemli2008-03-181-2/+0
* Move cgit_repo into cgit_contextLars Hjemli2008-02-161-31/+30
* Add all config variables into struct cgit_contextLars Hjemli2008-02-161-75/+63
* Introduce struct cgit_contextLars Hjemli2008-02-161-29/+14
* Use GIT-1.5.4.rc4Lars Hjemli2008-01-211-1/+1
* Merge branch 'stable'Lars Hjemli2008-01-131-1/+1
|\
| * Default repo description to "[no description]"Evan Martin2007-12-031-1/+1
* | Add plain patch viewLars Hjemli2007-12-111-1/+1
* | Add support for automatic and custom clone urlsLars Hjemli2007-12-031-0/+5
* | Add support for "robots" meta-tagLars Hjemli2007-11-111-0/+3
* | Merge branch 'stable'Lars Hjemli2007-11-081-2/+4
|\|
| * Support "/" as virtual-rootLars Hjemli2007-11-081-2/+4
* | Add commit->msg_encoding, allocate msg dynamicly.Jonathan Bastien-Filiatrault2007-11-051-0/+2
|/
* Change the cgit layoutLars Hjemli2007-10-301-0/+31
* Add config param 'index-info'Lars Hjemli2007-10-301-0/+3
* Teach log search about --grep, --author and --committerLars Hjemli2007-10-281-0/+3
* Add support for refs viewLars Hjemli2007-10-271-1/+1
* Add support for config param summary-branchesLars Hjemli2007-10-271-0/+3
* Add support for config param summary-tagsLars Hjemli2007-10-271-0/+3
* Add functions and types for ref listsLars Hjemli2007-10-271-0/+41
* Add prefix parameter to cgit_diff_tree()Lars Hjemli2007-10-011-2/+9
* Add support for a renamelimit option in cgitrcLars Hjemli2007-09-251-0/+4
* Use trim_end() to remove trailing slashesLars Hjemli2007-09-201-3/+3
* Remove a few compiler warningsLars Hjemli2007-09-201-1/+2
* Make cgit honor CACHE_ROOT as defined in MakefileChris Pickel2007-09-081-1/+1
* Set xdemitconf_t.findfunc=NULLLars Hjemli2007-09-041-0/+1
* Merge branch 'master' of git://git.klever.net/patchwork/cgitLars Hjemli2007-07-221-2/+9
|\
| * allow selective enabling of snapshotsMichael Krelin2007-07-211-2/+2
| * added a chk_non_negative checkMichael Krelin2007-07-201-0/+7
* | Add ui-tag.cLars Hjemli2007-07-221-1/+1
|/
* Merge branch 'lh/menu'Lars Hjemli2007-06-291-1/+26
|\
| * Add trim_end() and use it to remove trailing slashes from repo pathsLars Hjemli2007-06-261-1/+23
| * Add setting to enable/disable extra links on index pageLars Hjemli2007-06-191-0/+3
* | Add version info from git-describeLars Hjemli2007-06-181-0/+2
|/
* Add cgit_diff_link()Lars Hjemli2007-06-171-1/+1
* ui-tree: unify with ui-view, use path to select tree/blobLars Hjemli2007-06-161-1/+2
* Implemented configurable HEAD shortlog on summary page.Ondrej Jirman2007-05-311-0/+3
* Add repo.readme parameterLars Hjemli2007-05-231-1/+7
* Show time since last change on index pageLars Hjemli2007-05-221-0/+3
* Merge branch 'repogroups'Lars Hjemli2007-05-201-0/+4
|\
| * Teach cgit how to group repositories by categoryLars Hjemli2007-05-181-0/+4
* | Merge branch 'virtual-url'Lars Hjemli2007-05-201-0/+30
|\ \
| * | Enable url=value querystring parameterLars Hjemli2007-05-181-0/+5
| * | Add lookup-function for valid repo commandsLars Hjemli2007-05-181-0/+12
lain` view. The reason for adding this mapping to cgitrc (as opposed to parsing something like /etc/mime.types) is to allow quick lookup of a limited number of filename extensions (/etc/mime-types on my machine currently contains over 700 entries). NB: A nice addition to this patch would be to parse /etc/mime.types when `plain` view is requested for a file with an extension for which there is no mapping registered in cgitrc. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25cgit.h: keep config flags sortedLars Hjemli1-2/+2 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25cgitrc.5.txt: document 'embedded' and 'noheader'Lars Hjemli1-0/+9 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25Add support for 'noheader' optionLars Hjemli3-7/+16 This option can be used to disable the standard cgit page header, which might be useful in combination with the 'embedded' option. Suggested-by: Mark Constable <markc@renta.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25cgitrc.5.txt: document 'head-include'Lars Hjemli1-0/+4 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25ui-blob: return 'application/octet-stream' for binary blobsLars Hjemli1-1/+7 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-07-25ui-plain: Return 'application/octet-stream' for binary files.Remko Tronçon1-1/+4 Signed-off-by: Remko Tronçon <git@el-tramo.be> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-06-11use cgit_httpscheme() for atom feedDiego Ongaro2-3/+6 2009-06-11add cgit_httpscheme() -> http:// or https://Diego Ongaro2-0/+12 2009-06-07Return http statuscode 404 on unknown branchLars Hjemli3-0/+6 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-06-07Add head-include configuration option.Mark Lodato3-1/+6 This patch adds an option to the configuration file, "head-include", which works just like "header" or "footer", except the content is put into the HTML's <head> tag. 2009-03-15CGIT 0.8.2.1v0.8.2.1Lars Hjemli1-1/+1 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-03-15Fix doc-related glitches in Makefile and .gitignoreLars Hjemli2-1/+6 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-03-15ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli1-6/+17 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-03-15fix segfault when displaying empty blobsEric Wong1-5/+8 When size is zero, subtracting one from it turns it into ULONG_MAX which causes an out-of-bounds access on buf. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for HEAD requestsLars Hjemli2-0/+7 This is a quick 'n dirty hack which makes cgit honor HEAD requests. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for ETag in 'plain' viewLars Hjemli4-0/+5 When downloading a blob identified by its path, the client might want to know if the blob has been modified since a previous download of the same path. To this end, an ETag containing the blob SHA1 seems to be ideal. Todo: add support for HEAD requests... Suggested-by: Owen Taylor <otaylor@redhat.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli1-4/+9 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12Makefile: add doc-related targetsLars Hjemli1-2/+17 Signed-off-by: Lars Hjemli <hjemli@gmail.com>