summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
| * | cgit.c: refactor repo_config() from config_cb()Lars Hjemli2009-08-241-41/+48
| * | ui-repolist.c: sort by section name, repo name as defaultLars Hjemli2009-08-241-0/+15
| * | Add config option 'repo.section'Lars Hjemli2009-08-242-0/+5
| * | Introduce 'section' as canonical spelling for 'repo.group'Lars Hjemli2009-08-246-17/+22
| * | Add support for --scan-path command line optionLars Hjemli2009-08-241-1/+2
| * | Rename 'repo.scan' to 'scan-path'Lars Hjemli2009-08-242-10/+10
| * | cgitrc.5.txt: document repo.scan and cache-scanrc-ttlLars Hjemli2009-08-241-0/+9
| * | cgit.c: add support for caching autodetected repositoriesLars Hjemli2009-08-242-1/+75
| * | cgit.c: make print_repolist() and print_repo() reusable for cachingLars Hjemli2009-08-241-12/+12
| * | cache.h: export hash_str()Lars Hjemli2009-08-241-0/+2
| * | cgit.c: add support for cgitrc option 'repo.scan'Lars Hjemli2009-08-241-0/+2
| * | scan-tree: detect non-bare repository and stop scanning earlyLars Hjemli2009-08-241-0/+4
* | | Merge branch 'fp/linenumbers'Lars Hjemli2009-09-135-17/+32
|\ \ \
| * | | cgit.css: make the blob display in tree view a bit prettierLars Hjemli2009-08-211-3/+3
| * | | Rename "linenumbers" to "enable-tree-linenumbers", change default to "1"Lars Hjemli2009-08-214-8/+9
| * | | Add 'linenumbers' config optionFlorian Pritz2009-08-214-11/+23
| * | | ui-tree.c: show line numbers when highlightingFlorian Pritz2009-08-211-9/+11
* | | | Use GIT-1.6.4.3Lars Hjemli2009-09-134-3/+3
* | | | Merge branch 'stable'Lars Hjemli2009-09-061-1/+2
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | ui-plain.c: only return the blob with the specified pathLars Hjemli2009-09-061-1/+2
* | | cgitrc.5.txt: fix description and markup for 'snapshots' optionLars Hjemli2009-08-241-8/+3
| |/ |/|
* | scan-tree: split the pw_gecos field at the ',' to get the real nameStefan Naewe2009-08-201-0/+3
* | cgit.c: fix caching keyed on PATH_INFO with no QUERY_STRINGLars Hjemli2009-08-201-1/+1
* | Add and use a common readfile() functionLars Hjemli2009-08-184-23/+34
* | Merge branch 'stable'Lars Hjemli2009-08-182-0/+2
|\|
| * truncate buffer before reading empty filesSimon Arlott2009-08-182-0/+2
* | Merge branch 'stable'Lars Hjemli2009-08-181-8/+11
|\|
| * ui-shared: don't print header <img/> if there isn't a logo definedMatthew Metnetsky2009-08-181-8/+11
* | Merge branch 'stable'Lars Hjemli2009-08-172-1/+7
|\|
| * cgit.c: do not segfault on unexpected query-string formatLars Hjemli2009-08-171-0/+3
| * ui-tag.c: do not segfault when id is missing from query-stringLars Hjemli2009-08-171-1/+4
* | ui-log.c: handle lightweight tags when printing commit decorationsLars Hjemli2009-08-161-0/+4
* | ui-refs.c: improve handling of lightweight tagsStefan Bühler2009-08-161-1/+18
* | Use GIT-1.6.3.4Lars Hjemli2009-08-162-1/+1
* | Merge branch 'lh/embedded'Lars Hjemli2009-08-113-39/+63
|\ \
| * | ui-shared: add support for header/footer options when embedded=1Lars Hjemli2009-08-111-5/+12
| * | ui-shared: add support for NO_HTTP=1/--nohttpLars Hjemli2009-08-103-1/+6
| * | Cleanup handling of environment variablesLars Hjemli2009-08-103-33/+45
* | | cgitrc.5.txt: describe where/how cgit will locate cgitrcLars Hjemli2009-08-101-0/+7
* | | cgit.c: make '/cgit.png' the default value for 'logo' optionLars Hjemli2009-08-102-2/+2
* | | cgit.css: align commit message with subject in expanded log listingLars Hjemli2009-08-101-1/+1
|/ /
* | Add some example filter scriptsLars Hjemli2009-08-092-0/+51
* | Merge branch 'lh/about'Lars Hjemli2009-08-098-10/+48
|\ \
| * | Add 'about-filter' and 'repo.about-filter' optionsLars Hjemli2009-08-096-2/+28
| * | ui-summary: enable arbitrary paths below repo.readmeLars Hjemli2009-08-093-8/+20
* | | Merge branch 'lh/plugins'Lars Hjemli2009-08-097-32/+125
|\| |
| * | cgit.c: allow repo.*-filter options to unset the current defaultLars Hjemli2009-08-091-1/+1
| * | Add support for repo.commit-filter and repo.source-filterLars Hjemli2009-08-096-21/+35
| * | ui-commit: add support for 'commit-filter' optionLars Hjemli2009-07-314-0/+17
| * | ui-tree: add support for source-filter optionLars Hjemli2009-07-314-4/+25
0'>2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli9-28/+353 This enables internal caching of page output. Page requests are split into four groups: 1) repo listing (front page) 2) repo summary 3) repo pages w/symbolic references in query string 4) repo pages w/constant sha1's in query string Each group has a TTL specified in minutes. When a page is requested, a cached filename is stat(2)'ed and st_mtime is compared to time(2). If TTL has expired (or the file didn't exist), the cached file is regenerated. When generating a cached file, locking is used to avoid parallell processing of the request. If multiple processes tries to aquire the same lock, the ones who fail to get the lock serves the (expired) cached file. If the cached file don't exist, the process instead calls sched_yield(2) before restarting the request processing. Signed-off-by: Lars Hjemli <hjemli@gmail.com>