aboutsummaryrefslogtreecommitdiff
path: root/ui-log.c
AgeCommit message (Collapse)Author
2007-06-17ui-log: honor id=sha1 on querystringGravatar Lars Hjemli
This teaches ui-log to prefer id=sha1 and fallback to h=rev if no id- parameter is specified. With this change, summary, log, commit and tree views now passes current branch using h parameter and current revision using id parameter. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-06-17Add cgit_commit_link() + support for id=sha1 to commit viewGravatar Lars Hjemli
This adds a function to generate links to the commit page and extends said page to use id from querystring as primary revision specified (fallback to h). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-31Add option to disable pager to cgit_print_log().Gravatar Ondrej Jirman
This is needed for upcomming shortlog on summary page patch. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-31Use &amp; instead of & in URLs.Gravatar Ondrej Jirman
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-22Use cgit_print_age() on summary and log pagesGravatar Lars Hjemli
Update the pages to show relative dates instead of yyyy-mm-dd hh:mm:ss Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-18Add knobs to enable/disable files/lines changed in log viewGravatar Lars Hjemli
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>
2007-05-16Change commit-view to expect h parameter, not idGravatar Lars Hjemli
The change makes the commit-page benefit from repo.defbranch. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-14Add log filtering by path and link to it from tree viewGravatar Lars Hjemli
This enables path-filtering in log-view, and adds a link per entry in tree-view to show the log for each file/directory. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-13Show number of changed lines in log viewGravatar Lars Hjemli
Use the new file-diff interface to calculate number of changed lines per commit. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-13Show number of changed files in log viewGravatar Lars Hjemli
This uses the new tree-diff functions to calculate number of files changed per commit. Also fix some whitespace issues. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-02-21Layout updateGravatar Lars Hjemli
2007-01-28Add parameter to adjust max message length in log listingsGravatar Lars Hjemli
The parameter "max-message-length" can be specified in cgitrc, default value is 60. This affects the log message shown in repo summary and shortlog. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-01-28Cleanup table listingsGravatar Lars Hjemli
Make the output for <table class='list'> a bit nicer Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
2006-12-28Add basic log filteringGravatar Lars Hjemli
This enables case-insensitive grep on logentris using the new search box Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-22Only show first 80 characters of commit subject in log and summaryGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16Reformat code to avoid excessive line lengthsGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16Add cgit_free_commitinfo() and use where neededGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16Add ui-commit.c + misc ui cleanupsGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-15Add a common commit parserGravatar Lars Hjemli
Make a better commit parser, replacing the ugly one in ui-log.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-14Add simple pager to log pageGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-13Add display of tree content w/ui-tree.cGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-11Move log-functions into ui-log.cGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>