aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc
Commit message (Expand)AuthorAgeFilesLines
* Replace cgitrc with cgitrc.5.txt•••The new file describes all cgitrc options in a more structured manner then the cgitrc example file and it might also work as the source for a cgitrc man page. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-10-051-202/+0
* cgitrc: explain new local-time option•••Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Stefan Naewe2008-08-051-0/+2
* Add a favicon option to cgitrc•••This option is used to specify a shortcut icon on all cgit pages. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2008-07-191-0/+2
* Added root-desc to default configuration.•••Signed-off-by: Harley Laue <losinggeneration@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Harley Laue2008-05-211-0/+4
* Add support for automatic and custom clone urls•••This adds support for two new parameters to cgitrc: clone-prefix and repo.clone-url. If clone-prefix is specified, all repos will get a clone url printed in the sidebar; the url is generated by clone-prefix + repo.url. Additionally, each repo can specify repo.clone-url which will override any such auto-generated url. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-12-031-0/+7
* Add support for "robots" meta-tag•••With this change, cgit will start to generate the "robots" meta-tag, using a default value of "index, nofollow". The default value can be modified with a new cgitrc variable, "robots". Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-11-111-0/+5
* Change the cgit layout•••This modifies and hopefully improves the layout of all cgit pages: * Remove the header from all pages and replace it with a sidebar; most pages have sufficient width but many needs more height. * Add a dropdown-box to switch between branches, using a one-liner javascript to reload the current page in context of the selected branch. * Include refs found below refs/archives in the sidebar, appearing as a set of menuitems below a 'download' heading. * Include the brand new cgit logo Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-10-301-2/+7
* Add descriptions of summary-branches and summary-tags to cgitrc•••Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-10-271-0/+10
* Add support for a renamelimit option in cgitrc•••This option can be used to override the default rename-limit in git. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-09-251-0/+7
* fixed typo in cgitrc•••Signed-off-by: Michael Krelin <hacker@klever.net> Michael Krelin2007-09-141-1/+1
* Improve the sample cgitrc file•••Added and documented missing cgitrc parameters, improved documentation for virtual-root, added examples for repositories with a working directory. [lh:sligthly modified/extended] Signed-off-by: Lars Hjemli <hjemli@gmail.com> Chris Pickel2007-09-091-12/+51
* allow selective enabling of snapshots••• snapshot configuration parameter now can be a space/slash/comma/colon/semicolon/pipe-separated list of snaphot suffixes as listed in ui-snapshot.c Signed-off-by: Michael Krelin <hacker@klever.net> Michael Krelin2007-07-211-2/+3
* Add setting to enable/disable extra links on index page•••The summary/log/tree links displayed for each repository on the index page lost some of their purpose when the header menu was added, so this commit introduces the parameter 'enable-index-links' which must be set to 1 to enable these links. Suggested-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-06-191-0/+4
* Implemented configurable HEAD shortlog on summary page.•••This mirrors similiar functionality in gitweb. After clicking on project on projectlist you will immediatelly see quick summary of last N commits on HEAD. [lh: changed from HEAD to cgit_query_head] Signed-off-by: Lars Hjemli <hjemli@gmail.com> Ondrej Jirman2007-05-311-0/+5
* Add repo.readme parameter•••This parameter can be used to specify a repo-specific includefile, which will then be printed on the summary page for the repo. If the parametervalue is a not an absolute path, it is taken to be relative to repo.path. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-231-0/+1
* Add knobs to enable/disable files/lines changed in log view•••These columns can cause lots of IO on the server, so add settings to explicitly enable them. Also, add per repo settings to optionally disable the columns if sitewide enabled. While at it, do not allow repo.snapshot to enable snapshots if the global setting is disabled. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-181-0/+10
* Restrict length of repo description on repolist page•••If any repo has a very long description, all repos suffer since the repo-links in the right-most column gets pushed out of sight. Fix it by introducing max-repodesc-length parameter in cgitrc, and default to 60 chars. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-161-0/+4
* Add include-parameter to config files•••This parameter can be used to include another config-file, like a standalone repository listing. Suggested in a patch by Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-141-2/+5
* Add max-commit-count parameter to cgitrc•••This enabled customizing number of commits shown per page in log view. It also changes the default from 100 to 50, mainly due to the more cpu intensive log pages (number of files/lines changed) but also since 100 log messages requires excessive scrolling. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-131-0/+4
* Add submodule links in tree listing•••When a submodule occurs in a tree, generate a link to show the module/commit. The link is specified as a sprintf string in /etc/cgitrc, using parameters 'module-link' and 'repo.module-link'. This should probably be extended with repo.module-link.$path. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-05-111-1/+6
* Make snapshot feature configurable•••Snapshots can now be enabled/disabled by default for all repositories in cgitrc with param "snapshots". Additionally, any repo can override the default setting with param "repo.snapshots". By default, no snapshotting is enabled. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-02-081-0/+5
* Update cgitrc template•••Make the descriptions more helpfull. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-02-041-21/+32
* Read repo-info from /etc/cgitrc•••This makes cgit read all repo-info from the configfile, instead of scanning for possible git-dirs below a common root path. This is primarily done to get better security (separate physical path from logical repo-name). In /etc/cgitrc each repo is registered with the following keys: repo.url repo.name repo.path repo.desc repo.owner Note: *Required keys are repo.url and repo.path, all others are optional *Each occurrence of repo.url starts a new repository registration *Default value for repo.name is taken from repo.url *The value of repo.url cannot contain characters with special meaning for urls (i.e. one of /?%&), while repo.name can contain anything. Example: repo.url=cgit-pub repo.name=cgit/public repo.path=/pub/git/cgit repo.desc=My public cgit repo repo.owner=Lars Hjemli repo.url=cgit-priv repo.name=cgit/private repo.path=/home/larsh/src/cgit/.git repo.desc=My private cgit repo repo.owner=Lars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-02-041-4/+9
* Add template for /etc/cgitrc•••This doubles as documentation of the parameteres :) Signed-off-by: Lars Hjemli <hjemli@gmail.com> Lars Hjemli2007-01-281-0/+63