gotweb/gotweb.c


Log

Author Commit Date CI Message
Stefan Sperling 7bf16821 2020-02-07T08:32:02 properly skip non-repo dirss in gotweb repo path by masking related errors
Stefan Sperling 00c42163 2020-02-07T08:18:38 ensure that we set a mime-type and display index if a blob is empty
Tracey Emery 056e30c8 2020-02-06T23:34:49 also add the kcgi element ... whoops
Tracey Emery dad0fde4 2020-02-06T23:31:12 add a href link to tag_commit on gw_summary
Tracey Emery 38b240fb 2020-02-06T23:26:44 remove tags from gotweb_ui.h for both gw_summary and gw_tag something is failing occasionally in gw_output_repo_tags which needs investigated
Tracey Emery 626b25b6 2020-02-06T21:04:08 remove gw_tree from gotweb_ui.h
Tracey Emery 9a9d12ca 2020-02-06T18:02:12 improve the output of gw_blame
Tracey Emery 889ff356 2020-02-06T16:42:24 remove unneeded return
Tracey Emery e0857cfe 2020-02-06T15:55:15 improve the output of gw_blob
Stefan Sperling 7afec891 2020-02-06T09:07:26 kcgi_strerror() takes an enum kcgi_err parameter, not a boolean expression
Stefan Sperling 2447adad 2020-02-06T09:04:58 gw_kcgi_error() takes an enum kcgi_err parameter, not a boolean expression
Tracey Emery b4fba448 2020-02-05T17:07:01 move elements from gw_commits and gw_diff to their respective template files
Tracey Emery a5594e37 2020-02-05T16:54:46 fix my own build_folder logic error
Tracey Emery f7cc9480 2020-02-05T16:43:40 remove gw_diff from gotweb_ui.h
Tracey Emery 7eb9c9ed 2020-02-04T17:53:49 return on error, don't set return_html
Tracey Emery 27192be7 2020-02-04T17:52:01 fix author and committer email in functions slated for deletion
Tracey Emery 87ca24ac 2020-02-04T17:11:05 add back accidentally removed commiter title
Tracey Emery 21a55cc7 2020-02-04T16:54:23 remove gw_commits from gotweb_ui.h and clean up kerr conversions
Stefan Sperling ef72fe2c 2020-02-04T07:21:23 add missing conversion from kcgi error code to got_error in gw_briefs()
Tracey Emery 185ba3ba 2020-02-04T00:51:59 remove gw_get_got_link function
Tracey Emery 0e8c500a 2020-02-04T00:47:30 fix broken build_folder logic
Tracey Emery 51d4a92d 2020-02-03T22:20:33 improve error checking for gw_get_repo_heads
Tracey Emery 783ec107 2020-02-03T22:11:46 migrate gw_summary from gotweb_ui.h to kcgihtml
Tracey Emery 52f8346c 2020-02-03T21:26:41 add diff link to short log messages
Tracey Emery bd275801 2020-02-03T21:20:28 improve gw_template error handling, remove gw_briefs from gotweb_ui and move to kcgihtml
Stefan Sperling eb89db64 2020-02-03T16:35:07 avoid leaking memory in gw_get_site_link()
Stefan Sperling 6eccd105 2020-02-03T16:27:24 better error checking for gw_get_repo_tags()
Stefan Sperling 83eb9a68 2020-02-03T16:16:10 improved error checking for gw_get_diff()
Stefan Sperling 84bf4df2 2020-02-03T16:01:12 improve error checking and memory management in gw_get_repo_tree()
Tracey Emery f146a4ea 2020-02-03T15:14:53 fix lost gw_gen_commit_msg_header in gw_blame
Stefan Sperling d4729381 2020-02-03T13:22:26 improve error checking in in gw_get_diff() and use getline(3) to read lines
Stefan Sperling 070fee27 2020-02-03T12:58:20 support strings of arbitrary length in gw_html_escape(); add XXX comment
Stefan Sperling 33dc7bd2 2020-02-03T10:59:43 HTML-escape errors displayed by gw_display_error()
Stefan Sperling 5894d523 2020-02-03T10:33:59 let gw_get_file_read_blob() worry about blob content; caller handles the rest
Stefan Sperling 4fd4726a 2020-02-03T10:25:00 use separate functions for blaming vs. reading a blob
Stefan Sperling a81f3554 2020-02-03T10:02:26 make gw_get_file_blame_blob() return a got_error
Stefan Sperling 55ccf528 2020-02-03T09:48:17 improve error handling, and plug some memleaks, related to repo age strings
Stefan Sperling 9a1cc63f 2020-02-03T09:18:40 read repository owner name with gitconfig parser instead of a hand-rolled one
Stefan Sperling 59d3c40e 2020-02-03T08:34:24 improve error handling for gw_get_clone_url()
Stefan Sperling 1ab830c1 2020-02-03T08:28:36 fix fread(3) error check added in previous commit
Stefan Sperling 32cd4d18 2020-02-03T08:21:44 proper error handling for gw_get_repo_description()
Tracey Emery b8b04565 2020-02-02T17:27:39 add missed error catching in gotweb
Stefan Sperling 872742ce 2020-02-01T17:18:54 in gotweb, use the same binary file detection heuristic as grep(1); ok tracey
Tracey Emery de6bdba4 2020-01-31T17:30:05 prevent null folder in blame hash link
Tracey Emery 10d47faf 2020-01-31T17:22:43 add link to blame hash for blob of that commit
Tracey Emery 43bd15e5 2020-01-29T23:27:49 whoops, add back leading slash
Tracey Emery 017d6da3 2020-01-29T23:03:03 attempt to detect non-plain-text blob and download as file instead, otherwise display plain text in browser
Tracey Emery b27da801 2020-01-29T17:48:56 remove html from blob output
Tracey Emery e46f587c 2020-01-29T16:48:01 add gw_blob to increase the usefulness of gw_tree
Tracey Emery c3bcdfd5 2020-01-29T15:10:47 alternate color of tree lines to prepare for blob/blame conversion
Stefan Sperling 4bec7539 2020-01-29T14:07:45 missing error check in gw_display_index()
Stefan Sperling 6d8d8a26 2020-01-29T14:06:33 introduce gw_display_error so gw_display_index doesn't have double-duty
Stefan Sperling 7a9bfbff 2020-01-29T13:59:25 call khtml_close() in gw_display_index() even when an error occurred
Stefan Sperling 20f34652 2020-01-29T13:43:37 free all the things allocated by gw_summary() in one place
Stefan Sperling f4df82f9 2020-01-29T13:35:58 simplify error return from pledge failure in gw_summary
Stefan Sperling d126c1b7 2020-01-29T13:35:05 allow callers of gw_get_repo_age to tell which error occured, if any
Stefan Sperling 0b20762b 2020-01-29T13:26:23 don't use stdbool.h
Stefan Sperling 4b60fece 2020-01-29T13:25:54 call strdup("") instead of asprintf(&var, "")
Stefan Sperling 88d59c36 2020-01-29T13:21:33 remove superfluous braces around asprintf calls
Stefan Sperling d56b34ca 2020-01-29T13:13:48 just return 0 instead of EXIT_SUCCESS
Stefan Sperling 5147ab56 2020-01-29T13:11:45 prevent a NULL deref in gw_get_commits()
Stefan Sperling 5ddf0079 2020-01-29T13:10:39 ensure that the result of gw_init_header() is always freed
Stefan Sperling 470cd826 2020-01-29T13:08:40 plug memory leaks on error in gw_tag()
Stefan Sperling 42281175 2020-01-29T13:06:46 plug memory leaks on error in gw_tree()
Stefan Sperling 0e00e8f4 2020-01-29T13:05:11 plug memory leaks on error in gw_briefs()
Stefan Sperling 18da9978 2020-01-29T13:02:59 plug memory leaks on error in gw_commits()
Tracey Emery 1177268c 2020-01-28T23:21:58 don't display author email on summary or commit briefs, introduced with gw_tag updates
Tracey Emery 4ff7391f 2020-01-28T23:15:49 add tag link for each tag on summary page for repos display tag commit info from link close leak in gw_tree
Stefan Sperling b5f07800 2020-01-28T19:42:10 remove got_www_path which is not actually used
Stefan Sperling c119608e 2020-01-28T13:36:29 get rid of a goto in gotweb that jumped upwards rather than down
Stefan Sperling 2dcb56a8 2020-01-28T13:31:18 remove unnecessary NULL checks; if header is NULL we don't get here
Stefan Sperling a0f36e03 2020-01-28T13:29:06 ensure that gotweb's reference list heads are always initialized
Stefan Sperling 390d412c 2020-01-28T13:28:41 plug memory leaks in error cases of gw_diff()
Stefan Sperling ae36ed87 2020-01-28T13:28:09 ensure that header->refs is always initialized
Stefan Sperling 6d9fc692 2020-01-28T13:11:14 plug memory leaks in error cases of gw_blame()
Stefan Sperling c25c2314 2020-01-28T13:02:44 make gotweb check for kcgi errors where feasible
Stefan Sperling bce5dac1 2020-01-28T09:51:38 display 'No repositories found in $got_repos_path" if gotweb finds no repos
Tracey Emery bfd30182 2020-01-24T23:40:15 increase colorize buffer and don't crash on NULL strncmp/strlen
Tracey Emery 05ce9a79 2020-01-24T22:29:35 show diff if we're diffing to a root commit
Tracey Emery 65559f29 2020-01-24T20:43:51 html escape diff output
Tracey Emery 2ac037ec 2020-01-24T17:22:13 whoops, fix reversed diffs
Tracey Emery 90f16cb8 2020-01-24T17:04:42 clean up gw_get_diff function
Tracey Emery f2f46662 2020-01-23T23:12:13 complete gotweb refactor
Tracey Emery 6bee13de 2020-01-16T11:16:31 move pledge to gw functions to more tightly control promises
Tracey Emery c08369d7 2020-01-15T23:08:12 remove log counting, add to TODO
Tracey Emery add40c4f 2020-01-15T22:10:31 remove examples file
Tracey Emery f2915494 2020-01-15T22:10:31 move match_logmsg to gw_match_logmsg
Tracey Emery 3468a5fa 2020-01-15T22:10:31 move to got_repo_cmp_tags
Tracey Emery 147269d5 2020-01-15T22:10:31 move to got_repo_resolve_commit_arg
Tracey Emery d0ea9c5b 2020-01-15T22:10:31 clean up. add gw_ to missed func
Tracey Emery 2bab8f23 2020-01-15T22:10:31 mv func to lib
Tracey Emery 54415d85 2020-01-15T22:10:31 kn@ and stsp@ suggested changes
Tracey Emery 0311ce2d 2020-01-15T22:10:31 html escape characters in blame lines
Tracey Emery 119bf4ed 2020-01-15T22:10:31 blame css
Tracey Emery 2e676fc5 2020-01-15T22:10:31 blame
Tracey Emery ec46ccd7 2020-01-15T22:10:30 save blame work
Tracey Emery bcbc97d8 2020-01-15T22:10:30 start tree
Tracey Emery 65b95fb2 2020-01-15T22:10:30 add log count function
Tracey Emery 9460dac0 2020-01-15T22:10:30 add tag html
Tracey Emery 077f6c5a 2020-01-15T22:10:30 add tag action