webgit
12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:37:40 +0000 (16:37 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:26:14 +0000 (16:26 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:20:22 +0000 (16:20 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:17:37 +0000 (16:17 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:15:40 +0000 (16:15 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:14:14 +0000 (16:14 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:13:17 +0000 (16:13 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 16:11:10 +0000 (16:11 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 15:33:13 +0000 (15:33 +0000)]
putting all the commit details into a commit div

12 years agoputting all the commit details into a commit div
Cillian de Roiste [Sat, 26 Jan 2008 15:32:44 +0000 (15:32 +0000)]
putting all the commit details into a commit div

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:52:30 +0000 (14:52 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:44:00 +0000 (14:44 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:43:01 +0000 (14:43 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:28:26 +0000 (14:28 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:21:10 +0000 (14:21 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:20:07 +0000 (14:20 +0000)]
change log view from table to divs

12 years agochange log view from table to divs
Cillian de Roiste [Sat, 26 Jan 2008 14:16:30 +0000 (14:16 +0000)]
change log view from table to divs

12 years agoMerge branch 'master' of git://git.pipapo.org/webgit
Cillian de Roiste [Sat, 26 Jan 2008 12:11:00 +0000 (12:11 +0000)]
Merge branch 'master' of git://git.pipapo.org/webgit

12 years agochange to header
Cillian de Roiste [Sat, 26 Jan 2008 12:10:46 +0000 (12:10 +0000)]
change to header

12 years agomenu for log display
Christian Thaeter [Thu, 24 Jan 2008 23:14:06 +0000 (00:14 +0100)]
menu for log display

12 years agoadd verbosity level instead just a flag for displaying logs
Christian Thaeter [Thu, 24 Jan 2008 23:04:47 +0000 (00:04 +0100)]
add verbosity level instead just a flag for displaying logs

0 == just date:topic
1 == plus author and short links
2 == plus message body

12 years agoAdd trivial menu entries to all menus
Christian Thaeter [Thu, 24 Jan 2008 22:52:06 +0000 (23:52 +0100)]
Add trivial menu entries to all menus

planned things are commented out as TODO

12 years agomixed work for more menu stuff
Christian Thaeter [Thu, 24 Jan 2008 22:50:06 +0000 (23:50 +0100)]
mixed work for more menu stuff

webgit_repo_logo() displays a per-repository logo
or falls back to the webgit logo

webgit_main_link() links to the repository list

webgit_log_link() doesnt need a head (NULL)

12 years agolet summary headers link to to the respective subpages
Christian Thaeter [Thu, 24 Jan 2008 22:16:23 +0000 (23:16 +0100)]
let summary headers link to to the respective subpages

12 years agoSummary menu
Christian Thaeter [Thu, 24 Jan 2008 18:56:16 +0000 (19:56 +0100)]
Summary menu

 * logo and link
 * readme.html
 * link to repository configuration
 * back to main page

12 years agoWIP: main-menu sufficient for now
Christian Thaeter [Thu, 24 Jan 2008 18:53:38 +0000 (19:53 +0100)]
WIP: main-menu sufficient for now

12 years agosome new files in skins
Christian Thaeter [Thu, 24 Jan 2008 18:52:04 +0000 (19:52 +0100)]
some new files in skins

webgit_logo.png just for testing, we need a real logo
about.html needs some love
site.inc will be shown in the main menu

12 years agoprovide a logo and a logo_link repo parameter
Christian Thaeter [Thu, 24 Jan 2008 18:50:03 +0000 (19:50 +0100)]
provide a logo and a logo_link repo parameter

this will be used to display a per-project logo
which links to a project page

12 years agoexport skin path functions and fix bug in buffer handling
Christian Thaeter [Thu, 24 Jan 2008 17:10:07 +0000 (18:10 +0100)]
export skin path functions and fix bug in buffer handling

12 years agoSketch menu contents
Christian Thaeter [Thu, 24 Jan 2008 16:06:15 +0000 (17:06 +0100)]
Sketch menu contents

12 years agoadd odd/even class for table coloring
Christian Thaeter [Thu, 24 Jan 2008 14:42:52 +0000 (15:42 +0100)]
add odd/even class for table coloring

12 years agoChange License to GNU Affero General Public License
Christian Thaeter [Thu, 24 Jan 2008 10:30:03 +0000 (11:30 +0100)]
Change License to GNU Affero General Public License

The GNU AGPL3 fits the objective of this project much more than the GPL2
Note that few file which come from other projects (rxpd_client, llist)
have their old (GPL2) license retained

12 years agoMerge branch 'goibhniu' of git://git.pipapo.org/mob/webgit
Christian Thaeter [Thu, 24 Jan 2008 10:15:24 +0000 (11:15 +0100)]
Merge branch 'goibhniu' of git://git.pipapo.org/mob/webgit

* 'goibhniu' of git://git.pipapo.org/mob/webgit:
  was missing content for the summary
  was missing content id for log.c
  adjusting the font on the content area
  tidy up the css a bit
  tidy up the css a bit
  tidy up the css a bit
  tidy up the css a bit
  sub-menu should have been an id .. adding content id too for the main content area
  forget the 100% width for now .. maybe there's a sensible way
  doing excessive css to use both a 100% width table and a sidebar .... I guess it's ok as an example
  adding summary container id to move the summary table to the right
  moved the sidebar to the left
  added sub-menu class for the sidebar
  tweaked main-menu and footer
  Right aligned header
  horizontal li menu example
  didn't work
  adding simple sample menu and heading style and footer blurb
  adding simple sample menu and heading style and footer blurb
  moving skins folder

Conflicts:

src/actions.c

12 years agowas missing content for the summary
Cillian de Roiste [Thu, 24 Jan 2008 04:55:53 +0000 (04:55 +0000)]
was missing content for the summary

12 years agowas missing content id for log.c
Cillian de Roiste [Thu, 24 Jan 2008 04:39:05 +0000 (04:39 +0000)]
was missing content id for log.c

12 years agoadjusting the font on the content area
Cillian de Roiste [Thu, 24 Jan 2008 04:31:36 +0000 (04:31 +0000)]
adjusting the font on the content area

12 years agotidy up the css a bit
Cillian de Roiste [Thu, 24 Jan 2008 04:22:06 +0000 (04:22 +0000)]
tidy up the css a bit

12 years agotidy up the css a bit
Cillian de Roiste [Thu, 24 Jan 2008 04:19:09 +0000 (04:19 +0000)]
tidy up the css a bit

12 years agotidy up the css a bit
Cillian de Roiste [Thu, 24 Jan 2008 04:15:46 +0000 (04:15 +0000)]
tidy up the css a bit

12 years agotidy up the css a bit
Cillian de Roiste [Thu, 24 Jan 2008 04:14:21 +0000 (04:14 +0000)]
tidy up the css a bit

12 years agosub-menu should have been an id .. adding content id too for the main content area
Cillian de Roiste [Thu, 24 Jan 2008 04:07:56 +0000 (04:07 +0000)]
sub-menu should have been an id .. adding content id too for the main content area

12 years agoforget the 100% width for now .. maybe there's a sensible way
Cillian de Roiste [Thu, 24 Jan 2008 03:55:13 +0000 (03:55 +0000)]
forget the 100% width for now .. maybe there's a sensible way

12 years agodoing excessive css to use both a 100% width table and a sidebar .... I guess it...
Cillian de Roiste [Thu, 24 Jan 2008 03:36:17 +0000 (03:36 +0000)]
doing excessive css to use both a 100% width table and a sidebar .... I guess it's ok as an example

12 years agoadding summary container id to move the summary table to the right
Cillian de Roiste [Thu, 24 Jan 2008 02:40:34 +0000 (02:40 +0000)]
adding summary container id to move the summary table to the right

12 years agomoved the sidebar to the left
Cillian de Roiste [Thu, 24 Jan 2008 02:05:47 +0000 (02:05 +0000)]
moved the sidebar to the left

12 years agoadded sub-menu class for the sidebar
Cillian de Roiste [Thu, 24 Jan 2008 01:48:30 +0000 (01:48 +0000)]
added sub-menu class for the sidebar

12 years agotweaked main-menu and footer
Cillian de Roiste [Thu, 24 Jan 2008 01:20:26 +0000 (01:20 +0000)]
tweaked main-menu and footer

12 years agoRight aligned header
Cillian de Roiste [Thu, 24 Jan 2008 01:00:17 +0000 (01:00 +0000)]
Right aligned header

12 years agohorizontal li menu example
Cillian de Roiste [Thu, 24 Jan 2008 00:57:36 +0000 (00:57 +0000)]
horizontal li menu example

12 years agoadd 'maxage' config/parameter to hide inactive repositories from main list
Christian Thaeter [Wed, 23 Jan 2008 22:29:22 +0000 (23:29 +0100)]
add 'maxage' config/parameter to hide inactive repositories from main list

maxage can be given in webgit.conf, withing the repositories .git/config
or as cgi query parameter.

When a repository is idle for more than maxage days it will be hidden from
the main repository list.

For example to hide a repository always set maxage = 0 in its config or set
it to a huge value to unhide it.

When given as query parameter it will override all other configs.

12 years agodidn't work
Cillian de Roiste [Wed, 23 Jan 2008 20:37:42 +0000 (20:37 +0000)]
didn't work

12 years agoadding simple sample menu and heading style and footer blurb
Cillian de Roiste [Wed, 23 Jan 2008 20:26:11 +0000 (20:26 +0000)]
adding simple sample menu and heading style and footer blurb

12 years agoadding simple sample menu and heading style and footer blurb
Cillian de Roiste [Wed, 23 Jan 2008 20:03:42 +0000 (20:03 +0000)]
adding simple sample menu and heading style and footer blurb

12 years agoset user and group group
Christian Thaeter [Wed, 23 Jan 2008 19:26:44 +0000 (20:26 +0100)]
set user and group group

This allows webgit be installed suid and/or sgid.
repositories can use file permissions when webgit shall
be allowed to change data.

For example this is the first time in history, ACL's come in mind:
 setfacl -m g:webgit:rw .git/config

12 years agomoving skins folder
Cillian de Roiste [Wed, 23 Jan 2008 19:14:03 +0000 (19:14 +0000)]
moving skins folder

12 years agocheck config file access
Christian Thaeter [Wed, 23 Jan 2008 16:09:41 +0000 (17:09 +0100)]
check config file access

don't provide a save button and make the textarea readonly
when we have no write access to it

12 years agofirst simple rxpd access check
Christian Thaeter [Wed, 23 Jan 2008 13:22:07 +0000 (14:22 +0100)]
first simple rxpd access check

this checks the tuple
 HOST=%s:USER-AGENT=%s:ACTION=%s:REPO=%s:HEAD=%s
against the list 'webgit/access' on the configured rxpd

An example rxpd webgit/access list looks like following:
# format: HOST=%s:USER-AGENT=%s:ACTION=%s:REPO=%s:HEAD=%s
:allow:^HOST=10\.20\.[^:]*:
:allow:^HOST=127\.0\.0\.1:
:deny::ACTION=config:
:allow:

12 years agoadd skin handling
Christian Thaeter [Tue, 22 Jan 2008 20:47:59 +0000 (21:47 +0100)]
add skin handling

remove stylesheet config option

add functions:
 webgit_buffer_provide() - 32 cycling buffers
 webgit_webskinpath() - construct path string
 webgit_skinpath() - constuct path string

add defines to be configured later:
 WEBGIT_SKINDIR_DEFAULT
 WEBGIT_WEBSKINDIR_DEFAULT
 WEBGIT_DEFAULT_SKIN

options for webgit and repo config:
 skindir - set the dir where the skins are installed
 webskindir - set the dir from webroot to access the skins
 skin - set default skin name

cgi query parameter:
 skin - choose custom skin

12 years agoadd check preventing path traversals
Christian Thaeter [Tue, 22 Jan 2008 20:36:25 +0000 (21:36 +0100)]
add check preventing path traversals

just a crude check forbiding any '..' in a string for now

12 years agoadd emacs variables to all source files
Christian Thaeter [Tue, 22 Jan 2008 18:01:09 +0000 (19:01 +0100)]
add emacs variables to all source files

we use 'gnu' style with spaces, no tabs

12 years agoPost merge fixes
Christian Thaeter [Tue, 22 Jan 2008 17:15:40 +0000 (18:15 +0100)]
Post merge fixes

revert .gitignore, please use a build dir!
removed unnecessary whitespaces
reindenting and replacing tabs by spaces
remove webgit_header() from webgit.c

12 years agoadjusting id/css for object-commit
Cillian de Roiste [Mon, 21 Jan 2008 22:49:49 +0000 (22:49 +0000)]
adjusting id/css for object-commit

12 years agoadding id for object-commit
Cillian de Roiste [Mon, 21 Jan 2008 22:43:30 +0000 (22:43 +0000)]
adding id for object-commit

12 years agoadding id for object-commit
Cillian de Roiste [Mon, 21 Jan 2008 22:28:53 +0000 (22:28 +0000)]
adding id for object-commit

12 years agoadjusting table css (typo)
Cillian de Roiste [Mon, 21 Jan 2008 21:57:09 +0000 (21:57 +0000)]
adjusting table css (typo)

12 years agoadjusting table css
Cillian de Roiste [Mon, 21 Jan 2008 21:56:28 +0000 (21:56 +0000)]
adjusting table css

12 years agoadjusting header.inc and footer.inc css
Cillian de Roiste [Mon, 21 Jan 2008 21:46:00 +0000 (21:46 +0000)]
adjusting header.inc and footer.inc css

12 years agoadding header.inc and footer.inc (for skinning)
Cillian de Roiste [Mon, 21 Jan 2008 21:39:31 +0000 (21:39 +0000)]
adding header.inc and footer.inc (for skinning)

12 years agoadding header.inc and footer.inc (for skinning)
Cillian de Roiste [Mon, 21 Jan 2008 21:36:17 +0000 (21:36 +0000)]
adding header.inc and footer.inc (for skinning)

12 years agoadding header.inc and footer.inc (for skinning)
Cillian de Roiste [Mon, 21 Jan 2008 21:34:35 +0000 (21:34 +0000)]
adding header.inc and footer.inc (for skinning)

12 years agoadding header.inc and footer.inc (for skinning)
Cillian de Roiste [Mon, 21 Jan 2008 21:30:19 +0000 (21:30 +0000)]
adding header.inc and footer.inc (for skinning)

12 years agoadding header.inc and footer.inc (for skinning) to webgit.c
Cillian de Roiste [Mon, 21 Jan 2008 21:08:02 +0000 (21:08 +0000)]
adding header.inc and footer.inc (for skinning) to webgit.c

12 years agoadding header.inc and footer.inc (for skinning) to webgit.c
Cillian de Roiste [Mon, 21 Jan 2008 21:07:42 +0000 (21:07 +0000)]
adding header.inc and footer.inc (for skinning) to webgit.c

12 years agoadding header.inc and footer.inc (for skinning) to webgit.c
Cillian de Roiste [Mon, 21 Jan 2008 21:06:40 +0000 (21:06 +0000)]
adding header.inc and footer.inc (for skinning) to webgit.c

12 years agomoving the header inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 20:06:15 +0000 (20:06 +0000)]
moving the header inside the main container

12 years agomoving the header inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 19:55:16 +0000 (19:55 +0000)]
moving the header inside the main container

12 years agomoving the header inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 19:50:56 +0000 (19:50 +0000)]
moving the header inside the main container

12 years agomoving the header inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 19:41:42 +0000 (19:41 +0000)]
moving the header inside the main container

12 years agomoving smaller things inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 19:02:36 +0000 (19:02 +0000)]
moving smaller things inside the main container

12 years agomoving smaller things inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 19:01:32 +0000 (19:01 +0000)]
moving smaller things inside the main container

12 years agomoving smaller things inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 18:48:32 +0000 (18:48 +0000)]
moving smaller things inside the main container

12 years agomoving smaller things inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 18:46:35 +0000 (18:46 +0000)]
moving smaller things inside the main container

12 years agomoving things inside the main container
Cillian de Roiste [Mon, 21 Jan 2008 18:40:47 +0000 (18:40 +0000)]
moving things inside the main container

12 years agovarious css tweaks
Cillian de Roiste [Mon, 21 Jan 2008 18:13:10 +0000 (18:13 +0000)]
various css tweaks

12 years agoremoving heights for layout elements, stretching container to fill the page, putting...
Cillian de Roiste [Mon, 21 Jan 2008 17:44:14 +0000 (17:44 +0000)]
removing heights for layout elements, stretching container to fill the page, putting the timer on the bottom

12 years agoadding favicon from upstream git
Cillian de Roiste [Mon, 21 Jan 2008 17:34:26 +0000 (17:34 +0000)]
adding favicon from upstream git

12 years agobasic css in place for summary table, and major page elements
Cillian de Roiste [Mon, 21 Jan 2008 17:29:50 +0000 (17:29 +0000)]
basic css in place for summary table, and major page elements

12 years agoexperimenting with git summary table, to see if it gets the right id .. also some...
Cillian de Roiste [Mon, 21 Jan 2008 17:07:48 +0000 (17:07 +0000)]
experimenting with git summary table, to see if it gets the right id .. also some minor css additions

12 years agofixing after merge with pipapo
Cillian de Roiste [Mon, 21 Jan 2008 13:02:15 +0000 (13:02 +0000)]
fixing after merge with pipapo

12 years agoMerge commit 'muq/master'; commit 'origin/master'
Cillian de Roiste [Sun, 20 Jan 2008 23:20:01 +0000 (23:20 +0000)]
Merge commit 'muq/master'; commit 'origin/master'

12 years agoMerge branch 'master' of git://git.pipapo.org/webgit
Cillian de Roiste [Sun, 20 Jan 2008 22:40:09 +0000 (22:40 +0000)]
Merge branch 'master' of git://git.pipapo.org/webgit

12 years agotesting git from machine 2
Cillian [Sun, 20 Jan 2008 22:32:30 +0000 (22:32 +0000)]
testing git from machine 2

12 years agogit workflow test
Cillian de Roiste [Sun, 20 Jan 2008 22:30:17 +0000 (22:30 +0000)]
git workflow test

12 years agoplaying around with libcwa and webgit .. added a tiny bit of css
Cillian [Sun, 20 Jan 2008 21:46:47 +0000 (21:46 +0000)]
playing around with libcwa and webgit .. added a tiny bit of css

12 years agogit config file viewing and editing
Christian Thaeter [Sun, 20 Jan 2008 20:25:01 +0000 (21:25 +0100)]
git config file viewing and editing

12 years agoadd a 'blob' query parameter which is used for content when editing
Christian Thaeter [Sun, 20 Jan 2008 20:24:12 +0000 (21:24 +0100)]
add a 'blob' query parameter which is used for content when editing

12 years agoexport the error and warning functions for general use
Christian Thaeter [Sun, 20 Jan 2008 20:23:02 +0000 (21:23 +0100)]
export the error and warning functions for general use

12 years agoadd stylesheet and rxpd option / config
Christian Thaeter [Sun, 20 Jan 2008 15:56:18 +0000 (16:56 +0100)]
add stylesheet and rxpd option / config

stylesheet can be used in the webgit.conf to set a default stylesheet
and in withing [web] to set repository specific stylesheets

rxpd needs to be set to host:port to enable rxpd policy support

12 years agofactored the single object types out into their own sources
Christian Thaeter [Fri, 18 Jan 2008 13:38:38 +0000 (14:38 +0100)]
factored the single object types out into their own sources

12 years agotag displaying and handling
Christian Thaeter [Thu, 17 Jan 2008 21:29:19 +0000 (22:29 +0100)]
tag displaying and handling