Lars Hjemli
237ef7b06d
Use cgit_print_age() on summary and log pages
...
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-22 23:15:36 +02:00
Lars Hjemli
e189344a7d
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>
2007-05-18 13:55:52 +02:00
Lars Hjemli
a2ddc10479
Change commit-view to expect h parameter, not id
...
The change makes the commit-page benefit from repo.defbranch.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-16 00:26:23 +02:00
Lars Hjemli
9fb53af215
Add log filtering by path and link to it from tree view
...
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-14 11:13:18 +02:00
Lars Hjemli
80e577c3ef
Show number of changed lines in log view
...
Use the new file-diff interface to calculate number of changed lines
per commit.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-13 17:03:27 +02:00
Lars Hjemli
48dc00342e
Show number of changed files in log view
...
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-05-13 11:42:40 +02:00
Lars Hjemli
66cacd053b
Layout update
2007-02-21 00:24:36 +01:00
Lars Hjemli
7dd50c98d7
Add parameter to adjust max message length in log listings
...
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-28 12:17:03 +01:00
Lars Hjemli
777faf7e50
Cleanup table listings
...
Make the output for <table class='list'> a bit nicer
Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
2007-01-28 00:52:41 +01:00
Lars Hjemli
732d68d240
Add basic log filtering
...
This enables case-insensitive grep on logentris using the new search box
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-28 02:45:28 +01:00
Lars Hjemli
9d8d9b6123
Only show first 80 characters of commit subject in log and summary
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-22 00:58:18 +01:00
Lars Hjemli
9c5229ea39
Reformat code to avoid excessive line lengths
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16 21:02:02 +01:00
Lars Hjemli
aaa24bdd30
Add cgit_free_commitinfo() and use where needed
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16 14:58:20 +01:00
Lars Hjemli
9a8f88658d
Add ui-commit.c + misc ui cleanups
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-16 00:19:56 +01:00
Lars Hjemli
2101e26fd6
Add a common commit parser
...
Make a better commit parser, replacing the ugly one in ui-log.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-15 18:17:36 +01:00
Lars Hjemli
420712ac25
Add simple pager to log page
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-14 00:40:34 +01:00
Lars Hjemli
06fe0c2f47
Add display of tree content w/ui-tree.c
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-13 00:13:27 +01:00
Lars Hjemli
d14c5f6d3a
Move log-functions into ui-log.c
...
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-11 17:04:19 +01:00