| Commit message (Expand) | Author |
| 2013-08-12 | Makefile: Change default prefix to "/usr/local" | Lukas Fleischer |
| 2013-08-12 | Use strbuf for reading configuration files | Lukas Fleischer |
| 2013-08-12 | add a note about generating agefile in hook | Christian Hesse |
| 2013-08-12 | cache: id means static, even if head is specified too | Jason A. Donenfeld |
| 2013-08-12 | cache: document negative ttls and add about ttl | Jason A. Donenfeld |
| 2013-08-12 | robots.txt: disallow access to snapshots | Jason A. Donenfeld |
| 2013-08-12 | use favicon by default | Christian Hesse |
| 2013-05-31 | Add favicon | Christian Hesse |
| 2013-05-28 | ui-summary: do not free ref | Jason A. Donenfeld |
| 2013-05-28 | filters: toggle perl utf8 situation | Jason A. Donenfeld |
| 2013-05-27 | CGIT-0.9.2 | Jason A. Donenfeld |
| 2013-05-27 | README: add trailing slash to homepage | Jason A. Donenfeld |
| 2013-05-27 | cgitrc.5: improve example config | Jason A. Donenfeld |
| 2013-05-27 | filters: import more modern scripts | Jason A. Donenfeld |
| 2013-05-26 | readme: use string_list instead of space deliminations | Jason A. Donenfeld |
| 2013-05-25 | ui-summary: Disallow directory traversal | Jason A. Donenfeld |
| 2013-05-25 | cgitrc.5: information on directory traversal and multiple readme files | Jason A. Donenfeld |
| 2013-05-25 | readme: Accept multiple candidates and test them. | Jason A. Donenfeld |
| 2013-05-25 | ui-summary: Pass filename to about-filter | Jason A. Donenfeld |
| 2013-05-25 | ui-summary: Use default branch for readme if : prefix | Jason A. Donenfeld |
| 2013-05-25 | cgit.c: Do not reset HOME after unsetting it. | Jason A. Donenfeld |
| 2013-05-25 | cgit.c: sync repo config printing with struct cgit_repo | Jason A. Donenfeld |
| 2013-05-25 | git: update to 1.8.3 | John Keeping |
| 2013-05-22 | cache.c: cache ls_cache output properly | John Keeping |
| 2013-05-22 | tests: introduce strip_header() helper function | John Keeping |
| 2013-05-22 | shared.c: use die_errno() where appropriate | John Keeping |
| 2013-05-22 | html.c: die when write fails | John Keeping |
| 2013-05-22 | ui-log: add <span/> around commit decorations | John Keeping |
| 2013-05-22 | Makefile: fix parallel "make test" | John Keeping |
| 2013-05-18 | cache.c: fix cache_ls | John Keeping |
| 2013-05-13 | t0109: "function" is a bash-ism | John Keeping |
| 2013-05-13 | New mailing list. | Jason A. Donenfeld |
| 2013-04-30 | ui-snapshot: do not access $HOME | Jason A. Donenfeld |
| 2013-04-27 | t0001: validate Git -rcN version numbers correctly | John Keeping |
| 2013-04-27 | git: update to 1.8.2.2 | John Keeping |
| 2013-04-17 | scan-tree: fix regression in section-from-path=-1 | John Keeping |
| 2013-04-15 | t0001: ignore ".dirty" suffix on Git version | John Keeping |
| 2013-04-15 | tests: set TEST_OUTPUT_DIRECTORY to the CGit test directory | John Keeping |
| 2013-04-15 | t0109: test more URLs | John Keeping |
| 2013-04-10 | cgitrc.5.txt: Specify when scan-path must be defined before. | Jason A. Donenfeld |
| 2013-04-10 | ui-snapshot.c: Prepend "V" when guessing ref names | Lukas Fleischer |
| 2013-04-10 | t0107: Skip ZIP tests if unzip(1) isn't available | Lukas Fleischer |
| 2013-04-10 | tests/: Do not use `sed -i` | Lukas Fleischer |
| 2013-04-10 | Add branch-sort and repo.branch-sort options. | Jason A. Donenfeld |
| 2013-04-10 | t0109: chain operations with && | John Keeping |
| 2013-04-10 | cgit.c: Do not restore unset environment variables | Lukas Fleischer |
| 2013-04-09 | t0107: Use `tar -z` for gzip'ed archives | Lukas Fleischerr in line with the
"submodule version" case which does not check if the working tree in
git/ is modified.
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
By default, Git's test suite puts the trash directories and test-results
directory into its own directory, not that containing the tests being
run. This is less convenient for inspecting test failures, so set the
output directory to CGit's tests/ directory instead.
Note that there is currently a bug in Git whereby it will create the
trash directories in our tests/ directory regardless of the value of
TEST_OUTPUT_DIRECTORY, and then fail to remove them once the tests are
done. This change does currently affect the location of the
test-results/ directory though.
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
In order to ensure that we don't access $HOME at some point after
initial startup when rendering a specific view, run the strace test on a
range of different pages.
This ensures that we don't end up reading a configuration later for some
specific view.
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
Several options must be specified prior to scan-path. This is consistant
source of user confusion. Document these facts.
Suggested-by: Lukas Fleischer <cgit@cryptocrack.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
In cgit_print_snapshot_links() we strip leading "v" and "V", while we
currently only prepend a lower case "v" when parsing a snapshot file
name. This results in broken snapshot links for tags that start with an
upper case "V". Avoid this by prepending a "V" as a fallback.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
|
|
Note that we cannot use skip_all here since some tests have already been
executed when ZIP tests are reached. Use test prerequisites to skip
everything using unzip(1) if the binary is not available instead.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
|
|
"-i" isn't part of the POSIX standard and doesn't work on several
platforms such as OpenBSD. Use a temporary file instead.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
|
|
When set to "name", branches are sorted by name, which is the current
default. When set to "age", branches are sorted by the age of the
repository.
This feature was requested by Konstantin Ryabitsev for use on
kernel.org.
Proposed-by: Konstantin Ryabitsev <mricon@kernel.org>
|
|
Without '&&' between operations, we will not detect if strace or cgit
exit with an error status, which would cause a false positive test
status in this case.
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
getenv() returns a NULL pointer if the specified variable name cannot be
found in the environment. However, some setenv() implementations crash
if a NULL pointer is passed as second argument. Only restore variables
that are not NULL.
See commit d96d2c98ebc4c2d3765f5b35c4142e0e828a421b for a related patch.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
|