14 years agoMerge branch 'master' of git.shadowcat.co.uk:Gitalist into shadowcat
broquaint [Thu, 29 Oct 2009 14:57:41 +0000]
Merge branch 'master' of git.shadowcat.co.uk:Gitalist into shadowcat

14 years agoFixed bug where the index action would die because no project was specified.
broquaint [Thu, 29 Oct 2009 14:52:58 +0000]
Fixed bug where the index action would die because no project was specified.
Corrected the links in the index so that they are least ineffective instead of 404.
Attempting to switch to emacs hence the .gitignore update.

14 years agoMerge branch 'nice-blob'
broquaint [Thu, 29 Oct 2009 14:01:07 +0000]
Merge branch 'nice-blob'

Conflicts:
lib/Gitalist/Model/Git.pm
t/model_Git.t

14 years agoFleshed out the /tree action and fixed paging.
broquaint [Wed, 28 Oct 2009 21:51:47 +0000]
Fleshed out the /tree action and fixed paging.
Also tidied added to diff tree output.

14 years agoFixed links in the wrapper template and added stubs for the next actions to be implem...
broquaint [Wed, 28 Oct 2009 17:50:31 +0000]
Fixed links in the wrapper template and added stubs for the next actions to be implemented.

14 years agoSorted out diffs so that diffing against parents, diffing merges and other such vecto...
broquaint [Wed, 28 Oct 2009 17:30:58 +0000]
Sorted out diffs so that diffing against parents, diffing merges and other such vectors work.
Also tidied up the paging and added it to the /log action.
For the record the "solution" for sorting out the diffs is not ideal and could do with refactoring.

14 years agoAdded paging to the /shortlog action.
broquaint [Tue, 27 Oct 2009 22:08:21 +0000]
Added paging to the /shortlog action.

14 years agoFix /blobdiff link in diff tree.
broquaint [Tue, 27 Oct 2009 17:54:51 +0000]
Fix /blobdiff link in diff tree.

14 years agoFirst cut at the equivalent of 'a=history'.
broquaint [Tue, 27 Oct 2009 17:49:06 +0000]
First cut at the equivalent of 'a=history'.

14 years agoAdded first cut at the /blobdiff action.
broquaint [Tue, 27 Oct 2009 17:25:33 +0000]
Added first cut at the /blobdiff action.

14 years agoMade SyntaxHighlight more generic so /commitdiff now gets highlighting too.
broquaint [Tue, 27 Oct 2009 16:34:47 +0000]
Made SyntaxHighlight more generic so /commitdiff now gets highlighting too.
Although this has come at the cost of cross contamination of responsibilities,
see note of IRC conversation with t0m in SyntaxHighlight.pm for a better approach.

14 years agoSwitched to using Catalyst::Component::InstancePerContext for the Model per t0m's...
broquaint [Tue, 27 Oct 2009 13:58:22 +0000]
Switched to using Catalyst::Component::InstancePerContext for the Model per t0m's suggestion.

14 years agoFixed properties of the Model so one can navigate between repos.
broquaint [Tue, 27 Oct 2009 13:04:50 +0000]
Fixed properties of the Model so one can navigate between repos.

14 years agoNow heads show up in the shortlog and the current head is marked up in the heads...
broquaint [Mon, 26 Oct 2009 22:13:43 +0000]
Now heads show up in the shortlog and the current head is marked up in the heads list.

14 years agoGave ownership of URLs to Gitalist proper.
broquaint [Mon, 26 Oct 2009 11:24:49 +0000]
Gave ownership of URLs to Gitalist proper.
To get back to gitweb s{/(\w+)\?}(/?a=$1).
Straightened out the controller somewhat.
Fixed the model's get_object method to return undef when no object is available.
Created the partials _diff, _diff_tree & _tree.
The /diff view while simple, is approaching something useful.

14 years agoStarted on making /commitdiff pretty.
broquaint [Sun, 25 Oct 2009 19:23:08 +0000]
Started on making /commitdiff pretty.

14 years agoAdded very basic /commitdiff action.
broquaint [Sun, 25 Oct 2009 18:52:04 +0000]
Added very basic /commitdiff action.
Moved diff tree view into partial.
Tidied up the diff() method in the model.

14 years agoAdded the /summary, /heads and /log actions.
broquaint [Sun, 25 Oct 2009 18:29:29 +0000]
Added the /summary, /heads and /log actions.
Started to abstract out view partials.
Still tweaking the Model API.

14 years agoAnother freshly added action - /tree.
broquaint [Fri, 23 Oct 2009 17:01:39 +0000]
Another freshly added action - /tree.

14 years agoAdded first cut of /shortlog action and simplified the parse_rev_list() method.
broquaint [Fri, 23 Oct 2009 16:16:39 +0000]
Added first cut of /shortlog action and simplified the parse_rev_list() method.

14 years agoAdded some POD to the Git model and straightened out a few inconsistencies.
broquaint [Fri, 23 Oct 2009 15:41:59 +0000]
Added some POD to the Git model and straightened out a few inconsistencies.

14 years agoTidied up the /blob action and the commit-nav.tt2 links.
broquaint [Fri, 23 Oct 2009 14:21:16 +0000]
Tidied up the /blob action and the commit-nav.tt2 links.

14 years agoGave the /commit page a diff-tree.
broquaint [Fri, 23 Oct 2009 12:03:15 +0000]
Gave the /commit page a diff-tree.
Added the difftree() and command() methods to the Git model.
Moved the common sha1 regex into a pacakge variable.
Started on some non-gitweb sitewide CSS (will look to use some framework later).

14 years agoDeprecated the GPP Model and merged its sole method into the Git model.
broquaint [Fri, 23 Oct 2009 10:22:26 +0000]
Deprecated the GPP Model and merged its sole method into the Git model.
Added the refs_for and references methods to the Git model.
Starting to flesh out the template for the commit action.

14 years agoAdded site.css and started work on the commit-related navigation.
broquaint [Thu, 22 Oct 2009 16:42:18 +0000]
Added site.css and started work on the commit-related navigation.

14 years agoAdded POD and tweaked blob action to only syntax highlight *.p{lm} files.
broquaint [Thu, 22 Oct 2009 16:40:56 +0000]
Added POD and tweaked blob action to only syntax highlight *.p{lm} files.

14 years agoThe blob action now has simple (but functioning) syntax highlighting (thanks to jrock...
broquaint [Thu, 22 Oct 2009 09:47:09 +0000]
The blob action now has simple (but functioning) syntax highlighting (thanks to jrockway's Angerwhale for the highlighting code).

14 years agoAdded other recent work + beginnings of commit action work.
broquaint [Wed, 7 Oct 2009 16:35:44 +0000]
Added other recent work + beginnings of commit action work.

14 years agoBrought back recent Moosey goodness so all should be working again.
broquaint [Wed, 7 Oct 2009 16:33:00 +0000]
Brought back recent Moosey goodness so all should be working again.

14 years agoMerge in master changes.
broquaint [Wed, 7 Oct 2009 15:48:49 +0000]
Merge in master changes.

14 years agoFixed up Moose strictness causing Gitalist to die.
broquaint [Mon, 5 Oct 2009 14:14:32 +0000]
Fixed up Moose strictness causing Gitalist to die.
Better approaches welcome.

14 years agoRemove the config mangling as it can blow up spectacularly unhelpfully. Just move...
Tomas Doran [Sun, 4 Oct 2009 07:45:10 +0000]
Remove the config mangling as it can blow up spectacularly unhelpfully. Just move the config and don't try to be so smarmy

14 years agoIntegrated repo and further tests from rafl's catalysed gitweb.
Zachary Stevens [Tue, 29 Sep 2009 21:51:29 +0000]
Integrated repo and further tests from rafl's catalysed gitweb.

14 years agoStick commit object in stash for /commit action.
broquaint [Mon, 28 Sep 2009 09:16:54 +0000]
Stick commit object in stash for /commit action.

14 years agoThrow a bit more Moose around, and copy config to model so that we can test (and...
Tomas Doran [Sun, 27 Sep 2009 12:55:41 +0000]
Throw a bit more Moose around, and copy config to model so that we can test (and use) it without loading the app

14 years agoDisable tests for the 'working' repo type.
Zachary Stevens [Sun, 27 Sep 2009 12:41:01 +0000]
Disable tests for the 'working' repo type.

Git doesn't seem to like adding non-bare repositories to itself.
Possible workaround: tar it up.

14 years agoAdd a dummy file so that the empty repo dir shows up.
Zachary Stevens [Sun, 27 Sep 2009 12:14:29 +0000]
Add a dummy file so that the empty repo dir shows up.

14 years agoFix list_projects() to properly handle bare repositories.
Zachary Stevens [Sun, 27 Sep 2009 01:03:00 +0000]
Fix list_projects() to properly handle bare repositories.

14 years agoAdd additional content to test repo dir (bare repo, normal repo, empty
Zachary Stevens [Sun, 27 Sep 2009 00:36:55 +0000]
Add additional content to test repo dir (bare repo, normal repo, empty
dir), plus some initial tests for the Git model.

14 years agoBundle a git repository for testing, add the required glue to use it.
Zachary Stevens [Sat, 26 Sep 2009 22:57:59 +0000]
Bundle a git repository for testing, add the required glue to use it.
Note that running the app tests now needs APP_TEST=1 to be set in the environment.

14 years agoAdded missing deps to Makefile.PL
Zachary Stevens [Sat, 26 Sep 2009 21:20:44 +0000]
Added missing deps to Makefile.PL

14 years agoIntermediate commit on the way to switching to Git::PurePerl.
broquaint [Sun, 20 Sep 2009 18:18:40 +0000]
Intermediate commit on the way to switching to Git::PurePerl.

14 years agoFleshed out reflog action.
broquaint [Fri, 18 Sep 2009 22:16:06 +0000]
Fleshed out reflog action.

* Also fixed and simplified blob action.
* Added reflog method to the model.
* Moved encode/escape stuff into templates.
* Normalized indenting in legacy header/footer functions.

14 years agoAdded a simple-to-the-point-of-useless reflog action (there's a plan afoot).
broquaint [Fri, 18 Sep 2009 16:52:20 +0000]
Added a simple-to-the-point-of-useless reflog action (there's a plan afoot).

14 years agoAdded very basic blob action.
broquaint [Fri, 18 Sep 2009 14:46:29 +0000]
Added very basic blob action.

14 years agoBrought README a little closer to reality rafls-gitweb
Dan Brook [Tue, 8 Sep 2009 14:31:07 +0000]
Brought README a little closer to reality

14 years agoStraightened out some rough edges and added the dodgy templates/gitweb.tt2.
Dan Brook [Tue, 8 Sep 2009 14:08:39 +0000]
Straightened out some rough edges and added the dodgy templates/gitweb.tt2.

14 years agoGot the gitweb part back in working order.
Dan Brook [Tue, 8 Sep 2009 14:02:12 +0000]
Got the gitweb part back in working order.

14 years agoThe list of projects is now in working order, but nothing else.
Dan Brook [Tue, 8 Sep 2009 11:39:33 +0000]
The list of projects is now in working order, but nothing else.

14 years agoFurther WIP of integrating rafl's work into Gitalist and moving gitweb into Catalyst.
Dan Brook [Tue, 8 Sep 2009 10:40:25 +0000]
Further WIP of integrating rafl's work into Gitalist and moving gitweb into Catalyst.

14 years agoWIP of moving the project list to an action.
Dan Brook [Fri, 4 Sep 2009 12:47:13 +0000]
WIP of moving the project list to an action.

14 years agoInitial commit of rafl's Git model
Dan Brook [Fri, 4 Sep 2009 11:14:51 +0000]
Initial commit of rafl's Git model

14 years agoMerge branch 't0m'
Dan Brook [Thu, 3 Sep 2009 09:23:53 +0000]
Merge branch 't0m'

14 years agoUse which to find a full path for git rather than hard coding /usr/bin/
Tomas Doran [Wed, 2 Sep 2009 23:53:27 +0000]
Use which to find a full path for git rather than hard coding /usr/bin/

14 years agoI fail
Tomas Doran [Wed, 2 Sep 2009 23:52:49 +0000]
I fail

14 years agoExpunge mod_perl specific hacks, compiling CGI always is quicker than Catalyst, so...
Tomas Doran [Wed, 2 Sep 2009 23:50:54 +0000]
Expunge mod_perl specific hacks, compiling CGI always is quicker than Catalyst, so fail to care

14 years agoRemove the massive chunk of crud to do application/xhtml+xml detection and replace...
Tomas Doran [Wed, 2 Sep 2009 23:49:33 +0000]
Remove the massive chunk of crud to do application/xhtml+xml detection and replace with 1 line role application in the view :)

14 years ago.gitignore
Tomas Doran [Wed, 2 Sep 2009 23:45:39 +0000]
.gitignore

14 years agoAdd moose and autoclean
Tomas Doran [Wed, 2 Sep 2009 23:44:57 +0000]
Add moose and autoclean

14 years agoTidied up wording in README.
Dan Brook [Wed, 26 Aug 2009 16:04:36 +0000]
Tidied up wording in README.

14 years agoAdded USAGE section to README.
Dan Brook [Wed, 26 Aug 2009 16:00:00 +0000]
Added USAGE section to README.

14 years agoThis commit fixes the handling of URL params. Previously they would server-support
Dan Brook [Wed, 26 Aug 2009 12:05:00 +0000]
This commit fixes the handling of URL params. Previously they would
stick after the first hit and therefore all links would just redisplay
the first hit. Further CGI fixes are probably necessary.

14 years agoChanged the dir structure so it looks a bit more distro-like.
Dan Brook [Wed, 26 Aug 2009 09:25:56 +0000]
Changed the dir structure so it looks a bit more distro-like.

14 years agoAdded gitweb.cgi copyright info. Thanks to chrisa for pointing that out!
Dan Brook [Tue, 25 Aug 2009 17:05:20 +0000]
Added gitweb.cgi copyright info. Thanks to chrisa for pointing that out!
And thanks of course to the fine folk who put together gitweb.cgi!

14 years agoRenormalized gitweb.cgi.
Dan Brook [Tue, 25 Aug 2009 12:12:31 +0000]
Renormalized gitweb.cgi.

14 years agoAdded static files to root for server mode.
Dan Brook [Tue, 25 Aug 2009 12:05:55 +0000]
Added static files to root for server mode.

14 years agoTidy up in preparation for push to github.
Dan Brook [Tue, 25 Aug 2009 12:04:04 +0000]
Tidy up in preparation for push to github.

14 years agoMoved git_print_page_nav() into a separate template.
Dan Brook [Mon, 10 Aug 2009 17:33:48 +0000]
Moved git_print_page_nav() into a separate template.

14 years agoUntangled the header and footer from every action.
Dan Brook [Fri, 7 Aug 2009 16:43:18 +0000]
Untangled the header and footer from every action.

14 years agoStarting to factor out the individual calls to git_{header,footer}_html().
Dan Brook [Thu, 6 Aug 2009 17:00:19 +0000]
Starting to factor out the individual calls to git_{header,footer}_html().
The bug with the heads not being marked correctly seems to have resolved itself.

14 years agoMoved git_html_footer() to the template.
Dan Brook [Thu, 6 Aug 2009 15:39:20 +0000]
Moved git_html_footer() to the template.

14 years agoFinish the slightly ad hoc move of git_html_header() to the template.
Dan Brook [Thu, 6 Aug 2009 12:19:53 +0000]
Finish the slightly ad hoc move of git_html_header() to the template.

14 years agoMoved contents of <head> and page header into template.
Dan Brook [Thu, 6 Aug 2009 11:58:46 +0000]
Moved contents of <head> and page header into template.

14 years agoStarting to move git_header_html output into the template
Dan Brook [Thu, 6 Aug 2009 11:06:37 +0000]
Starting to move git_header_html output into the template

14 years agoStarted the move to TT2.
Dan Brook [Wed, 5 Aug 2009 17:02:05 +0000]
Started the move to TT2.

14 years agoDropped the use of CGI->header in gitweb.cgi.
Dan Brook [Wed, 5 Aug 2009 12:17:45 +0000]
Dropped the use of CGI->header in gitweb.cgi.

14 years agoAdded the Catalyst app Gitalist with gitweb.cgi shim.
Dan Brook [Wed, 5 Aug 2009 09:15:37 +0000]
Added the Catalyst app Gitalist with gitweb.cgi shim.
Further hacking of gitweb.cgi to behave when require()ed.

At this point it roughly works in as far as you get a gitweb interface
(which looks a bit wonky). Not sure what to do with it next, but changing
the print()s in gitweb.cgi to TT would be a good start.

14 years agoMunged gitweb.cgi to be require()able.
Dan Brook [Tue, 4 Aug 2009 16:57:06 +0000]
Munged gitweb.cgi to be require()able.

14 years agoMisc fixes - syntax, correct local config.
Chris Andrews [Mon, 20 Jul 2009 14:49:20 +0000]
Misc fixes - syntax, correct local config.

14 years agoFixed $projectroot path.
Dan Brook [Mon, 20 Jul 2009 14:50:35 +0000]
Fixed $projectroot path.

14 years agoUpdated to git-1.6.3.3 + local "blame" link fix.
Dan Brook [Mon, 20 Jul 2009 14:42:21 +0000]
Updated to git-1.6.3.3 + local "blame" link fix.

14 years agoAnd the favicon
Chris Andrews [Mon, 20 Jul 2009 12:16:40 +0000]
And the favicon

14 years agoInitial import based on gitweb-1.5.5.1-2.el5
Chris Andrews [Mon, 20 Jul 2009 12:12:00 +0000]
Initial import based on gitweb-1.5.5.1-2.el5