14 years agoRemove crap which doesn't work
Tomas Doran [Fri, 13 Nov 2009 14:32:43 +0000]
Remove crap which doesn't work

14 years agoMake primary author and license info be correct in META.yml
Tomas Doran [Fri, 13 Nov 2009 00:45:43 +0000]
Make primary author and license info be correct in META.yml

14 years agoChange Project->description to use GPP.
Zachary Stevens [Fri, 13 Nov 2009 00:27:09 +0000]
Change Project->description to use GPP.

14 years agoMake gpp instance a public attribute.
Zachary Stevens [Fri, 13 Nov 2009 00:17:09 +0000]
Make gpp instance a public attribute.

14 years agoMerge branch 'master' of git://github.com/zts/Gitalist
Tomas Doran [Thu, 12 Nov 2009 22:36:38 +0000]
Merge branch 'master' of git://github.com/zts/Gitalist

* 'master' of git://github.com/zts/Gitalist:
  Fixed tests.
  Reorganisation of ::Project.
  Rename Object->contents to ->content, and delegate to GPP.
  Removed unused methods on Project.
  Make Project->heads an attribute.
  More tidying of ::Project.
  Add a branch to the test repository.
  Fixed signature for references.
  Trivial comment change.

14 years agoMerge branch 'master' of git://github.com/broquaint/Gitalist
Tomas Doran [Thu, 12 Nov 2009 22:36:35 +0000]
Merge branch 'master' of git://github.com/broquaint/Gitalist

* 'master' of git://github.com/broquaint/Gitalist:
  Started to fill out docs and sorted out license info.
  Fixed bug in where branch links were always pointing at master.
  Fixed bug in tree where a non-sha1 (e.g ref) wasn't handled.

14 years agoFixed tests.
Zachary Stevens [Thu, 12 Nov 2009 21:44:26 +0000]
Fixed tests.

14 years agoMerge branch 'model-reorg' into tp-intg
Zachary Stevens [Thu, 12 Nov 2009 21:36:23 +0000]
Merge branch 'model-reorg' into tp-intg

Conflicts:
lib/Gitalist/Git/Project.pm

14 years agoReorganisation of ::Project.
Zachary Stevens [Thu, 12 Nov 2009 21:08:07 +0000]
Reorganisation of ::Project.
Remove ->info.

14 years agoRename Object->contents to ->content, and delegate to GPP.
Zachary Stevens [Thu, 12 Nov 2009 20:26:00 +0000]
Rename Object->contents to ->content, and delegate to GPP.

14 years agoRemoved unused methods on Project.
Zachary Stevens [Thu, 12 Nov 2009 20:21:37 +0000]
Removed unused methods on Project.

14 years agoMake Project->heads an attribute.
Zachary Stevens [Thu, 12 Nov 2009 20:07:08 +0000]
Make Project->heads an attribute.

14 years agoMore tidying of ::Project.
Zachary Stevens [Thu, 12 Nov 2009 19:48:27 +0000]
More tidying of ::Project.
Factor "run_cmd+split on newlines" idiom out into to Util.

14 years agoAdd a branch to the test repository.
Zachary Stevens [Thu, 12 Nov 2009 19:42:52 +0000]
Add a branch to the test repository.

14 years agoFixed signature for references.
Zachary Stevens [Thu, 12 Nov 2009 18:12:30 +0000]
Fixed signature for references.

14 years agoMerge branch 'master' into model-reorg
Zachary Stevens [Thu, 12 Nov 2009 14:08:04 +0000]
Merge branch 'master' into model-reorg

14 years agoMerge branch 'master' of git://github.com/broquaint/Gitalist
Zachary Stevens [Thu, 12 Nov 2009 13:48:18 +0000]
Merge branch 'master' of git://github.com/broquaint/Gitalist

14 years agoMerge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg
Zachary Stevens [Thu, 12 Nov 2009 13:47:51 +0000]
Merge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg

14 years agoTrivial comment change.
Zachary Stevens [Thu, 12 Nov 2009 13:47:46 +0000]
Trivial comment change.

14 years agoStarted to fill out docs and sorted out license info.
Dan Brook [Thu, 12 Nov 2009 13:04:11 +0000]
Started to fill out docs and sorted out license info.
Changed license from Perl Artistic License to GPL v2 as gitweb.cgi is licensed under GPL v2 and Gitalist contains work derived from it.

14 years agoFixed bug in where branch links were always pointing at master.
Dan Brook [Thu, 12 Nov 2009 11:21:47 +0000]
Fixed bug in where branch links were always pointing at 
Tidied up Makefile.PL.
Switched from pipe open to IPC::Run (for win32 & future goodness).

14 years agoFixed bug in tree where a non-sha1 (e.g ref) wasn't handled.
Dan Brook [Thu, 12 Nov 2009 10:40:25 +0000]
Fixed bug in tree where a non-sha1 (e.g ref) wasn't handled.
Renamed _get_commit to _get_object.
Dropped the history stub as that's now just log + params.
(cherry picked from commit 911492b97cef1c1479b541c1488f215be0e4a215)

14 years agoSome small cleanups in project. Remove a couple of instances of direct hash access...
Tomas Doran [Wed, 11 Nov 2009 22:10:09 +0000]
Some small cleanups in project. Remove a couple of instances of direct hash access which should be method calls. Also convert method which was stuffing data into  manually into an attribute with builder. Change POD block to comment as search.cpan doesn't want to see that crap.

14 years agoAdded support for search filter on /index.
Dan Brook [Wed, 11 Nov 2009 17:00:11 +0000]
Added support for search filter on /index.

14 years agoFixed bug in /summary where repos with < 10 branches display empty branches.
Dan Brook [Wed, 11 Nov 2009 16:35:18 +0000]
Fixed bug in /summary where repos with < 10 branches display empty branches.
Reinstated project summary on /summary. Still needs tightening up though.

14 years agoMerge branch 'model-reorg'
Dan Brook [Wed, 11 Nov 2009 15:50:07 +0000]
Merge branch 'model-reorg'

14 years agoFixed /tree navigation bug - http://github.com/broquaint/Gitalist/issues#issue/3
Dan Brook [Wed, 11 Nov 2009 15:50:04 +0000]
Fixed /tree navigation bug - github.com/broquaint/Gitalist/issues#issue/3

14 years agoFixed bug in http://github.com/broquaint/Gitalist/issues#issue/2.
Dan Brook [Wed, 11 Nov 2009 15:40:53 +0000]
Fixed bug in github.com/broquaint/Gitalist/issues#issue/2.
Marked up the footer in the layout.
Dropped project summary on the summary page. I think the info is redundant
and /summary could do with being tightened up anyhow.
(cherry picked from commit 04da9e76d8fdda89d3298de8187edff26cbf5100)

14 years agoMinor POD changes.
Zachary Stevens [Wed, 11 Nov 2009 01:59:47 +0000]
Minor POD changes.

14 years ago::Project cleaning part 2.
Zachary Stevens [Wed, 11 Nov 2009 01:54:44 +0000]
::Project cleaning part 2.
 * made is_valid_rev private
 * changed object-y methods to delegate to Object

14 years agoMerge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg
Zachary Stevens [Wed, 11 Nov 2009 01:36:21 +0000]
Merge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg

14 years agoPart 1 cleanup of ::Project.
Zachary Stevens [Wed, 11 Nov 2009 01:36:01 +0000]
Part 1 cleanup of ::Project.
 * path now contains project_dir, project_dir goes away.
 * now constructed as Project->new($dir).

14 years agoMake getting the version of git we're running not imply getting all the projects
Tomas Doran [Wed, 11 Nov 2009 01:30:52 +0000]
Make getting the version of git we're running not imply getting all the projects

14 years agoFix test
Tomas Doran [Wed, 11 Nov 2009 01:24:02 +0000]
Fix test

14 years agoFix test by using accessor, not breaking abstraction
Tomas Doran [Wed, 11 Nov 2009 01:20:42 +0000]
Fix test by using accessor, not breaking abstraction

14 years agoDon't always build all projects, this can hurt performance
Tomas Doran [Wed, 11 Nov 2009 00:57:14 +0000]
Don't always build all projects, this can hurt performance

14 years agoTrivial doc fix
Tomas Doran [Wed, 11 Nov 2009 00:55:50 +0000]
Trivial doc fix

14 years agoDefault ::Object attributes tree_sha1 and comment to '' when not present.
Zachary Stevens [Tue, 10 Nov 2009 02:11:52 +0000]
Default ::Object attributes tree_sha1 and comment to '' when not present.

14 years agoStop Project->diff() blowing up when no parent is specified, and commit
Zachary Stevens [Tue, 10 Nov 2009 01:32:04 +0000]
Stop Project->diff() blowing up when no parent is specified, and commit
is a merge commit.

14 years agoBig cleanup of ::Repo.
Zachary Stevens [Tue, 10 Nov 2009 01:02:01 +0000]
Big cleanup of ::Repo.
 * Reorganised and POD added.
 * list_projects attribute renamed to projects
 * project() method validates input
URIs with invalid project params will 404.

14 years agoRemove the HasUtils role from Repo.
Zachary Stevens [Tue, 10 Nov 2009 00:04:04 +0000]
Remove the HasUtils role from Repo.

14 years agoFix tree link in shortlog output.
Zachary Stevens [Mon, 9 Nov 2009 00:45:19 +0000]
Fix tree link in shortlog output.

14 years agoWholesale removal of the old model and compat code
Tomas Doran [Mon, 9 Nov 2009 00:18:37 +0000]
Wholesale removal of the old model and compat code

14 years agoChange to the new model
Tomas Doran [Sun, 8 Nov 2009 23:49:59 +0000]
Change to the new model

14 years agoAdd a HasUtils role, so that ::Repo can have utils also, and use it in ::Project...
Tomas Doran [Sun, 8 Nov 2009 23:49:42 +0000]
Add a HasUtils role, so that ::Repo can have utils also, and use it in ::Project and ::Repo.. This isn't as clean as we can be, but good enough for now

14 years agoUse stashed project to fill description in the stash
Tomas Doran [Sun, 8 Nov 2009 23:47:10 +0000]
Use stashed project to fill description in the stash

14 years agoUse the stashed project object for uri generation rather than the attribute in the...
Tomas Doran [Sun, 8 Nov 2009 23:46:12 +0000]
Use the stashed project object for uri generation rather than the attribute in the old model

14 years agoMerge branch 'model-reorg' of git://github.com/zts/Gitalist into model-reorg
Tomas Doran [Sun, 8 Nov 2009 22:59:34 +0000]
Merge branch 'model-reorg' of git://github.com/zts/Gitalist into model-reorg

* 'model-reorg' of git://github.com/zts/Gitalist:
  Reverting broken change to ::Project::diff.
  Migrated blob to new model, + fixes for some legacy URI fails.
  Migrated blobdiff to new model.  Now works.
  Add a test for the blobdiff action.

14 years agoShow deprecated methods
Tomas Doran [Sun, 8 Nov 2009 22:59:15 +0000]
Show deprecated methods

14 years agoMerge branch 'master' into mr-intg
Zachary Stevens [Sun, 8 Nov 2009 22:17:14 +0000]
Merge branch 'master' into mr-intg

Conflicts:
t/01app.t

14 years agoReverting broken change to ::Project::diff.
Zachary Stevens [Sun, 8 Nov 2009 21:55:03 +0000]
Reverting broken change to ::Project::diff.

14 years agoMigrated blob to new model, + fixes for some legacy URI fails.
Zachary Stevens [Sun, 8 Nov 2009 21:11:13 +0000]
Migrated blob to new model, + fixes for some legacy URI fails.

14 years agoMigrated blobdiff to new model. Now works.
Zachary Stevens [Sun, 8 Nov 2009 20:09:04 +0000]
Migrated blobdiff to new model.  Now works.

14 years agoAdd a test for the blobdiff action.
Zachary Stevens [Sun, 8 Nov 2009 16:35:26 +0000]
Add a test for the blobdiff action.
NB: while the page is built successfully, the content doesn't match that from gitweb.cgi

14 years agoMigrate commitdiff action to new model
Zachary Stevens [Sun, 8 Nov 2009 16:20:15 +0000]
Migrate commitdiff action to new model

14 years agoMigrate search and reflog to new model.
Zachary Stevens [Sun, 8 Nov 2009 15:44:06 +0000]
Migrate search and reflog to new model.

14 years agoMigrated tree action to new model.
Zachary Stevens [Sun, 8 Nov 2009 15:29:05 +0000]
Migrated tree action to new model.

14 years agoMigrated commit action to new model.
Zachary Stevens [Sun, 8 Nov 2009 15:02:09 +0000]
Migrated commit action to new model.
::Object now delegates to Git::PurePerl where appropriate.

14 years agoMigrate shortlog to new model.
Zachary Stevens [Sun, 8 Nov 2009 13:58:20 +0000]
Migrate shortlog to new model.

14 years agoStash the Project instance, instead of creating when needed.
Zachary Stevens [Sun, 8 Nov 2009 13:50:10 +0000]
Stash the Project instance, instead of creating when needed.

14 years agoMake app tests less noisy.
Zachary Stevens [Sun, 8 Nov 2009 13:31:13 +0000]
Make app tests less noisy.

14 years agoComprehensive legacy URI tests from spidering gitweb.cgi.
Zachary Stevens [Sun, 8 Nov 2009 13:04:55 +0000]
Comprehensive legacy URI tests from spidering gitweb.cgi.

14 years agoMerge branch 'master' into model-reorg
Zachary Stevens [Sun, 8 Nov 2009 12:47:05 +0000]
Merge branch 'master' into model-reorg

Conflicts:
t/01app.t

14 years agoConvert summary page to new model.
Zachary Stevens [Sun, 8 Nov 2009 04:19:12 +0000]
Convert summary page to new model.

14 years agoFixes to tests and Object's builders.
Zachary Stevens [Sun, 8 Nov 2009 01:57:50 +0000]
Fixes to tests and Object's builders.

14 years agoAlso fix repo
Tomas Doran [Sat, 7 Nov 2009 19:52:53 +0000]
Also fix repo

14 years agoFix test
Tomas Doran [Sat, 7 Nov 2009 19:49:09 +0000]
Fix test

14 years agoAdd some tests for legacy URI compatibility, and fix the index action
Zachary Stevens [Sat, 7 Nov 2009 19:44:56 +0000]
Add some tests for legacy URI compatibility, and fix the index action
so they work (except for one).

14 years agoRefactor somewhat
Tomas Doran [Fri, 6 Nov 2009 03:20:25 +0000]
Refactor somewhat

14 years agoMerge and cleanup
Tomas Doran [Sat, 7 Nov 2009 19:36:37 +0000]
Merge and cleanup

14 years agoAnd add another failing test - we should 404 if the project we ask for a summary...
Tomas Doran [Fri, 6 Nov 2009 03:37:08 +0000]
And add another failing test - we should 404 if the project we ask for a summary of isn't found, not 500

14 years agoSummary fails on empty repositories, failing test..
Tomas Doran [Fri, 6 Nov 2009 03:35:30 +0000]
Summary fails on empty repositories, failing test..

14 years agoRemove unused and confusing config setting
Tomas Doran [Fri, 6 Nov 2009 03:35:00 +0000]
Remove unused and confusing config setting

14 years agoMake the app testing work by default by pointing it at different config
Tomas Doran [Fri, 6 Nov 2009 03:31:10 +0000]
Make the app testing work by default by pointing it at different config

14 years agoREADME from Pod please
Tomas Doran [Fri, 6 Nov 2009 02:38:50 +0000]
README from Pod please

14 years agoUse accessors
Tomas Doran [Sat, 7 Nov 2009 19:27:25 +0000]
Use accessors

14 years agoMerge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg
Zachary Stevens [Sat, 7 Nov 2009 19:15:30 +0000]
Merge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg

14 years agoFix uninitialised value warnings for unconverted actions.
Zachary Stevens [Sat, 7 Nov 2009 19:15:21 +0000]
Fix uninitialised value warnings for unconverted actions.

14 years agoMerge branch 'master' into model-reorg
Zachary Stevens [Sat, 7 Nov 2009 19:12:00 +0000]
Merge branch 'master' into model-reorg

14 years agoAdd a few URI tests against the test repository.
Zachary Stevens [Sat, 7 Nov 2009 19:02:52 +0000]
Add a few URI tests against the test repository.

14 years agoKill warnings
Tomas Doran [Sat, 7 Nov 2009 18:40:23 +0000]
Kill warnings

14 years agoStop blowing up
Tomas Doran [Sat, 7 Nov 2009 18:34:14 +0000]
Stop blowing up

14 years agoConverted the 'heads' action to the new model.
Zachary Stevens [Sat, 7 Nov 2009 17:55:53 +0000]
Converted the 'heads' action to the new model.

14 years agoGave ::Project methods to return Objects, and several methods which
Zachary Stevens [Sat, 7 Nov 2009 16:57:11 +0000]
Gave ::Project methods to return Objects, and several methods which
should really be called on the objects themselves.  This is
transitional from Git.pm

14 years agoMerge branch 'master' into model-reorg
Zachary Stevens [Fri, 6 Nov 2009 21:23:22 +0000]
Merge branch 'master' into model-reorg

14 years agoMove new model tests someplace they'll actually get run.
Zachary Stevens [Fri, 6 Nov 2009 21:22:33 +0000]
Move new model tests someplace they'll actually get run.

14 years agoFix Object->size.
Zachary Stevens [Fri, 6 Nov 2009 21:13:22 +0000]
Fix Object->size.

14 years agoGave Repo a method to return a Project.
Zachary Stevens [Fri, 6 Nov 2009 21:00:38 +0000]
Gave Repo a method to return a Project.

14 years agoMerge branch 'master' of git://github.com/broquaint/Gitalist
Zachary Stevens [Fri, 6 Nov 2009 17:51:47 +0000]
Merge branch 'master' of git://github.com/broquaint/Gitalist

14 years agoFixed a couple of bugs.
broquaint [Fri, 6 Nov 2009 16:23:07 +0000]
Fixed a couple of bugs.
One bug involved the template subs not being accessible after forwarding
to View::SyntaxHighlight.
Another where Cat was choking on wide entities e.g viewing 1fd8159 in
/commitdiff would trigger this.

14 years agoFurther work on sorting out the style and content.
broquaint [Fri, 6 Nov 2009 13:27:16 +0000]
Further work on sorting out the style and content.

14 years agoLose some code by not converting to/from path::class objects, and also by flattening...
Tomas Doran [Fri, 6 Nov 2009 02:06:07 +0000]
Lose some code by not converting to/from path::class objects, and also by flattening some of the bare/not bare handling into one place so there is less duplication. See FIXME

14 years agoMerge and fix some bugs
Tomas Doran [Fri, 6 Nov 2009 01:13:27 +0000]
Merge and fix some bugs

14 years agoImplement auto restart when the app is updated
Tomas Doran [Fri, 6 Nov 2009 00:53:03 +0000]
Implement auto restart when the app is updated

14 years agoLocal config overrides don't go in git thanks
Tomas Doran [Fri, 6 Nov 2009 00:38:44 +0000]
Local config overrides don't go in git thanks

14 years agoEwww, trailing whitespace-- (Yes, I am a nazi about this crap)
Tomas Doran [Fri, 6 Nov 2009 00:19:35 +0000]
Ewww, trailing whitespace-- (Yes, I am a nazi about this crap)

14 years agoDeal with empty gecos field correctly
Tomas Doran [Fri, 6 Nov 2009 00:18:49 +0000]
Deal with empty gecos field correctly

14 years agoExtra strictness in ::Project
Tomas Doran [Fri, 6 Nov 2009 00:12:58 +0000]
Extra strictness in ::Project

14 years agoChange from string to bareword types, and add a Maybe in Gitalist/Git/Project as...
Tomas Doran [Fri, 6 Nov 2009 00:03:11 +0000]
Change from string to bareword types, and add a Maybe in Gitalist/Git/Project as you could have a valid repos which has never had a commit (ergo has no last modify time)

14 years agoIndex page fixes.
Zachary Stevens [Thu, 5 Nov 2009 22:38:42 +0000]
Index page fixes.