webgit
13 years agowebgit_tree_action() dereferences an treeish to the tree object
Christian Thaeter [Tue, 8 Jan 2008 00:16:54 +0000 (01:16 +0100)]
webgit_tree_action() dereferences an treeish to the tree object

This is used for seamless module integration, a commit sha1 (module)
suffice to jump right to the tree of a submodule

13 years agosupport for last_committer and last_author when scanning repos
Christian Thaeter [Mon, 7 Jan 2008 21:12:49 +0000 (22:12 +0100)]
support for last_committer and last_author when scanning repos

13 years agoadd an email_link() function
Christian Thaeter [Mon, 7 Jan 2008 21:11:14 +0000 (22:11 +0100)]
add an email_link() function

13 years agouse path as name if no name was given
Christian Thaeter [Mon, 7 Jan 2008 21:09:12 +0000 (22:09 +0100)]
use path as name if no name was given

The former method of using basenames only yielded name clashes

13 years agoremoved git popen'ing
Christian Thaeter [Sun, 6 Jan 2008 02:37:33 +0000 (03:37 +0100)]
removed git popen'ing

13 years agouse (enhanced) libgit to iterate over the repository list
Christian Thaeter [Sun, 6 Jan 2008 01:41:14 +0000 (02:41 +0100)]
use (enhanced) libgit to iterate over the repository list

13 years agoMakefile fix for better rebuilding of libgit and new git version
Christian Thaeter [Sun, 6 Jan 2008 01:20:41 +0000 (02:20 +0100)]
Makefile fix for better rebuilding of libgit and new git version

13 years agoBig rename! ctgit is dead, long live webgit
Christian Thaeter [Thu, 3 Jan 2008 21:24:01 +0000 (22:24 +0100)]
Big rename! ctgit is dead, long live webgit

13 years agocrude input validation against a blacklist
Christian Thaeter [Thu, 3 Jan 2008 21:14:03 +0000 (22:14 +0100)]
crude input validation against a blacklist

This weeds out bad shell characters (for the few cases where we popen git)
path traversal is not yet addressed and is not a problem since we never
pass direct file names around so far

13 years agofirst crude blob display
Christian Thaeter [Thu, 3 Jan 2008 20:49:36 +0000 (21:49 +0100)]
first crude blob display

13 years agosubmodule repo links in tree view
Christian Thaeter [Thu, 3 Jan 2008 16:58:55 +0000 (17:58 +0100)]
submodule repo links in tree view

13 years agofirst tree display
Christian Thaeter [Thu, 3 Jan 2008 05:23:52 +0000 (06:23 +0100)]
first tree display

13 years agorefactor ctgit_object_link to be more flexible
Christian Thaeter [Wed, 2 Jan 2008 21:26:30 +0000 (22:26 +0100)]
refactor ctgit_object_link to be more flexible

13 years agofirst object ui for commits
Christian Thaeter [Wed, 2 Jan 2008 18:06:13 +0000 (19:06 +0100)]
first object ui for commits

13 years agocleanup and cosmetics
Christian Thaeter [Wed, 2 Jan 2008 18:04:54 +0000 (19:04 +0100)]
cleanup and cosmetics

add comments about to be done input validation and remove the libgit
prototypes in favor of including git headers
(TODO: add checks to configure)

13 years agoFix: set 'main' action after the query dispatch
Christian Thaeter [Mon, 31 Dec 2007 00:05:12 +0000 (01:05 +0100)]
Fix: set 'main' action after the query dispatch

13 years agosome cosmetics and commenting
Christian Thaeter [Sun, 30 Dec 2007 20:58:41 +0000 (21:58 +0100)]
some cosmetics and commenting

13 years agocompleting the links for the repo listing page
Christian Thaeter [Sun, 30 Dec 2007 20:57:55 +0000 (21:57 +0100)]
completing the links for the repo listing page

13 years agoadd ctgit_git_open/ctgit_git_close functionality
Christian Thaeter [Sun, 30 Dec 2007 20:55:39 +0000 (21:55 +0100)]
add ctgit_git_open/ctgit_git_close functionality

These functions can be used to fork non reentrant git commands

13 years agoquery handler cleanup ignore/me/test/branch
Christian Thaeter [Sat, 29 Dec 2007 12:22:31 +0000 (13:22 +0100)]
query handler cleanup

13 years agoinclude timestats in error_log for now
Christian Thaeter [Sat, 29 Dec 2007 11:39:44 +0000 (12:39 +0100)]
include timestats in error_log for now

13 years agouse [web] as configfile section
Christian Thaeter [Sat, 29 Dec 2007 11:39:21 +0000 (12:39 +0100)]
use [web] as configfile section

planning to rename ctgit to webgit in future

13 years agoimplicit 'action=object' when 'object=' is given and no action set
Christian Thaeter [Sat, 29 Dec 2007 11:38:27 +0000 (12:38 +0100)]
implicit 'action=object' when 'object=' is given and no action set

13 years agoproper repoinfo ctor/dtor, parsing gitconfig, moved age storage to
Christian Thaeter [Fri, 28 Dec 2007 23:40:38 +0000 (00:40 +0100)]
proper repoinfo ctor/dtor, parsing gitconfig, moved age storage to
repoinfo etc.

13 years agowe need to link with libssl for libgit
Christian Thaeter [Fri, 28 Dec 2007 23:35:11 +0000 (00:35 +0100)]
we need to link with libssl for libgit

This needs to be much better checked and configured in configure.ac later

13 years agogit's error handling can be hooked, unfortunally only by longjmp this way
Christian Thaeter [Fri, 28 Dec 2007 23:33:46 +0000 (00:33 +0100)]
git's error handling can be hooked, unfortunally only by longjmp this way

13 years agoadded a global 'error_log' for debugging
Christian Thaeter [Wed, 26 Dec 2007 20:31:55 +0000 (21:31 +0100)]
added a global 'error_log' for debugging

13 years agoSimple mainpage generation, skeletons for further work
Christian Thaeter [Mon, 24 Dec 2007 00:08:17 +0000 (01:08 +0100)]
Simple mainpage generation, skeletons for further work

13 years agoremove cwa subproject, install libcwa instead
Christian Thaeter [Mon, 24 Dec 2007 00:02:25 +0000 (01:02 +0100)]
remove cwa subproject, install libcwa instead

13 years agoconfig file loading
Christian Thaeter [Mon, 17 Dec 2007 21:46:23 +0000 (22:46 +0100)]
config file loading

13 years agoadd startup time to the query struct
Christian Thaeter [Mon, 17 Dec 2007 12:20:11 +0000 (13:20 +0100)]
add startup time to the query struct

13 years agobuild and link with libgit.a, crude hack for now
Christian Thaeter [Mon, 17 Dec 2007 12:15:31 +0000 (13:15 +0100)]
build and link with libgit.a, crude hack for now

13 years agoWIP: mainpage list of repositories
Christian Thaeter [Sun, 16 Dec 2007 21:31:22 +0000 (22:31 +0100)]
WIP: mainpage list of repositories

13 years agoadding repos
Christian Thaeter [Sun, 16 Dec 2007 21:30:26 +0000 (22:30 +0100)]
adding repos

13 years agoformatting cosmetics
Christian Thaeter [Sun, 16 Dec 2007 21:29:41 +0000 (22:29 +0100)]
formatting cosmetics

13 years agoctgit_query destructor
Christian Thaeter [Sun, 16 Dec 2007 21:27:46 +0000 (22:27 +0100)]
ctgit_query destructor

13 years agoput cgi request inside ctgit_query
Christian Thaeter [Sun, 16 Dec 2007 21:24:44 +0000 (22:24 +0100)]
put cgi request inside ctgit_query

13 years agoadd brief help strings to query/config/action declarations
Christian Thaeter [Sun, 16 Dec 2007 17:35:35 +0000 (18:35 +0100)]
add brief help strings to query/config/action declarations

13 years agoHere we go, first code
Christian Thaeter [Sun, 16 Dec 2007 17:05:39 +0000 (18:05 +0100)]
Here we go, first code

13 years agosubmodules setup
Christian Thaeter [Sun, 16 Dec 2007 13:31:35 +0000 (14:31 +0100)]
submodules setup