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.

14 years agoUpdated model_Git.t to reflect current reality.
Zachary Stevens [Thu, 5 Nov 2009 22:08:16 +0000]
Updated model_Git.t to reflect current reality.

14 years agoProject description can be an empty string.
Zachary Stevens [Thu, 5 Nov 2009 12:35:29 +0000]
Project description can be an empty string.

14 years agoFix cat_file. (trivial)
Zachary Stevens [Wed, 4 Nov 2009 23:47:42 +0000]
Fix cat_file. (trivial)

14 years agoClean up Root::end action, and properly handle missing project descriptions.
Zachary Stevens [Wed, 4 Nov 2009 23:41:00 +0000]
Clean up Root::end action, and properly handle missing project descriptions.

14 years agoStart conversion to new model
Tomas Doran [Wed, 4 Nov 2009 21:18:51 +0000]
Start conversion to new model

14 years agoStarted work on giving Gitalist a distinct look.
broquaint [Wed, 4 Nov 2009 15:50:40 +0000]
Started work on giving Gitalist a distinct look.
All the "last change" times are based on the original gitweb code.
Dropped the gitweb.css and added Blueprint.
Added a chromahash for commits (based on Matt Thompson's http://github.com/mattt/Chroma-Hash/).

14 years agoFixed links on the /index action and broken times in the shortlog.
broquaint [Tue, 3 Nov 2009 10:34:23 +0000]
Fixed links on the /index action and broken times in the shortlog.

14 years agoMerge
Tomas Doran [Tue, 3 Nov 2009 00:17:10 +0000]
Merge

14 years agoFix bugs with commitdiff
Tomas Doran [Tue, 3 Nov 2009 00:16:22 +0000]
Fix bugs with commitdiff

14 years agoFix links by using the nice uri_for properly
Tomas Doran [Mon, 2 Nov 2009 23:37:45 +0000]
Fix links by using the nice uri_for properly

14 years agoFix final bits of stylesheets for not having to be based at /
Tomas Doran [Mon, 2 Nov 2009 22:52:56 +0000]
Fix final bits of stylesheets for not having to be based at /

14 years agoKill hard tabs, make tests which should be author side only be author side only....
Tomas Doran [Mon, 2 Nov 2009 22:52:31 +0000]
Kill hard tabs, make tests which should be author side only be author side only. You now need M::I::AuthorTests and M::I::AuthorRequires, tough shit

14 years agoMangle spaces
Tomas Doran [Mon, 2 Nov 2009 22:43:16 +0000]
Mangle spaces

14 years agoMerge zacs branch
Tomas Doran [Mon, 2 Nov 2009 22:38:57 +0000]
Merge zacs branch

14 years agoFix summary links at root
Tomas Doran [Mon, 2 Nov 2009 22:30:56 +0000]
Fix summary links at root

14 years agoMove all the templates back into the 'root' directory, otherwise make install will...
bobtfish [Mon, 2 Nov 2009 22:27:48 +0000]
Move all the templates back into the 'root' directory, otherwise make install will hideously fail to do the right thing

14 years agoAdd new model
bobtfish [Mon, 2 Nov 2009 22:23:11 +0000]
Add new model

14 years agoGet the controller ready for changing model - you can override which model we try...
bobtfish [Mon, 2 Nov 2009 22:11:46 +0000]
Get the controller ready for changing model - you can override which model we try to use with config (OR by setting ->stash->{current_model} - so we can convert a bit at a time

14 years agoKill the nasty shit off, this will be passed in
bobtfish [Mon, 2 Nov 2009 22:08:50 +0000]
Kill the nasty shit off, this will be passed in

14 years agoAnd add .gitignore for a .fcgi script
bobtfish [Mon, 2 Nov 2009 21:57:14 +0000]
And add .gitignore for a .fcgi script

14 years agoAdd missing dep. Tests fail here, we'll have to look at this
Tomas Doran [Mon, 2 Nov 2009 21:51:17 +0000]
Add missing dep. Tests fail here, we'll have to look at this

14 years agoStarted on making everything a bit less bleh.
broquaint [Mon, 2 Nov 2009 16:21:10 +0000]
Started on making everything a bit less bleh.
Switched HTML5 in the templates.
Switched from hand-written links to c.uri_for.
Added the Blueprint CSS framework.

14 years agoMerge
Tomas Doran [Mon, 2 Nov 2009 21:41:07 +0000]
Merge

14 years agoStarted the switch from hand-written URLs to uri_for.
broquaint [Sun, 1 Nov 2009 17:02:00 +0000]
Started the switch from hand-written URLs to uri_for.