13 years agoBug fix for merge diffs and a test. swann
Dan Brook [Tue, 29 Jun 2010 09:48:16 +0000]
Bug fix for merge diffs and a test.

In the case of the merge diff fix we now check if $parent has
something to be compared against before making a comparison.

The case of the t/00git_version.t fix is a little more
interesting. For reasons I don't fully understand running a program
which writes to stdout in scalar context has $! is set to 9 (aka
"Bad file descriptor"). Something to do with close-on-exec I think.

13 years agoRevert "Merge remote branch 't0m/json' into json"
Dan Brook [Tue, 29 Jun 2010 09:00:08 +0000]
Revert "Merge remote branch 't0m/json' into json"

This reverts commit 68943a848e5fae4bd91569b930ddcdcecc6dfe9b, reversing
changes made to 0fa199d20f9c661f21ced401be8dc12e0e93ecdd.

Conflicts:

Makefile.PL
lib/Gitalist/Controller/Root.pm
lib/Gitalist/Git/Repository.pm
t/02git_Repository.t
t/json_view.t

13 years agoHandle merges in the diff view.
Dan Brook [Sat, 19 Jun 2010 20:27:17 +0000]
Handle merges in the diff view.

Now Gitalist::Git::Object::Commit::diff supports returning something
useful for merge commits. It now shows the difference between the two
parents of the commit, not sure if it covers octopus merges. Also gets
you something meaningful in the /<repo>/<sha1>/diff view finally.

13 years agoFix rebase goofs.
Dan Brook [Sat, 19 Jun 2010 15:59:37 +0000]
Fix rebase goofs.

13 years agoInitial stab at a working ContentMangler.
Dan Brook [Sat, 15 May 2010 13:05:03 +0000]
Initial stab at a working ContentMangler.

The idea is that the Resolver will figure out which Transformer will do
the mangling. There can only be one Transformer presently, mostly so I
don't get lost in a sea of complications. Much follow up work is needed
and ideally another mangler e.g POD.

13 years agoRevert the part of 9aeab0dfe0 which was causing massive breakage
Tomas Doran [Thu, 13 May 2010 07:22:47 +0000]
Revert the part of 9aeab0dfe0 which was causing massive breakage

13 years agoFixed summary and changed a few links.
Dan Brook [Tue, 11 May 2010 21:30:39 +0000]
Fixed summary and changed a few links.

Having object and summary try to grab the same part of the request was never
going to work, my bad. Should also have support having summary point at
arbitrary commits like pretty much every other action.

Changed repo links to point to summary instead of shortlog.

13 years agoAdded commit object serialization.
Dan Brook [Mon, 10 May 2010 21:57:55 +0000]
Added commit object serialization.

The syntax change for "with ..." is because of what seems to be a bug in
MooseX::Declare, see http://pastie.org/private/7btrsbgqkvgxxbub1aea.

13 years agoFixed failing Content-Type tests.
Dan Brook [Thu, 6 May 2010 22:20:47 +0000]
Fixed failing Content-Type tests.

* Fixed bare repo bug where we were trying to build references that
didn't exist.
* Fixed bug where HTML entities were creeping into the atom feed.

13 years agoSwitched from CDN hosted jQuery to a local copy.
Dan Brook [Thu, 6 May 2010 16:37:28 +0000]
Switched from CDN hosted jQuery to a local copy.

13 years agoUpdating Changes with latest changes.
Dan Brook [Mon, 3 May 2010 21:07:49 +0000]
Updating Changes with latest changes.

13 years agoFix for loadCommitInfo.
Dan Brook [Mon, 3 May 2010 20:59:59 +0000]
Fix for loadCommitInfo.

Only call _loadCommitInfo when there are corresponding elements to
update.

13 years agoA few fixes to get the JSON test working.
Dan Brook [Sun, 2 May 2010 21:01:55 +0000]
A few fixes to get the JSON test working.

Reinstate a couple of changes lost in the merge and update some of the
docs to be in line with swann.
The Repository is now exposed for JSON requests.

13 years agoCorrect example link and FCGI script.
Dan Brook [Sun, 2 May 2010 18:55:09 +0000]
Correct example link and FCGI script.

As we've got local::lib baked in now the setting of PERL5LIB is no
longer necessary for the FCGI script.

13 years agoThrottle the commit info loading.
Dan Brook [Sun, 2 May 2010 14:03:29 +0000]
Throttle the commit info loading.

So instead of making N calls as soon as the page loads get the
commit info for the next entry as soon as the last one finishes.

13 years agoUpdate bootstrapping for local::lib 1.006000.
Dan Brook [Sat, 1 May 2010 23:36:25 +0000]
Update bootstrapping for local::lib 1.006000.

As local::lib has stopped supporting the "--self-contained" flag the
relevant code needed updating.
Also added the JSON::XS dependency.

13 years agoFixed Gitalist::Utils::is_binary to work.
Dan Brook [Fri, 30 Apr 2010 21:39:31 +0000]
Fixed Gitalist::Utils::is_binary to work.

For some reason calling -B with an in-memory filehandle doesn't work.
In lieu of that functionality I used a shoddy heuristic to look for
a line or two of printable characters.

13 years agoFixed a couple of URI escaping related bugs.
Dan Brook [Sat, 24 Apr 2010 22:18:42 +0000]
Fixed a couple of URI escaping related bugs.

* Also ditched redundant CSS.

13 years agoMoved JS into its own file.
Dan Brook [Sat, 24 Apr 2010 20:13:19 +0000]
Moved JS into its own file.

* Fixed links in _refs.tt2.
* All bits of JS related data live in hidden SPANs now.
* Pulling in jQuery on every page now via the Google CDN.
* The branch list drop down now switches based on the current action.

13 years agoAdd age to commit info.
Dan Brook [Sat, 24 Apr 2010 16:29:07 +0000]
Add age to commit info.

13 years agoFix link to commit in JS.
Dan Brook [Fri, 23 Apr 2010 22:47:41 +0000]
Fix link to commit in JS.

13 years agoProof of concept for #56388: add last commit msg to tre views.
Dan Brook [Fri, 23 Apr 2010 22:41:20 +0000]
Proof of concept for #56388: add last commit msg to tre views.

13 years agoGot blob highlighting working with the ContentMangler.
Dan Brook [Sat, 17 Apr 2010 20:42:07 +0000]
Got blob highlighting working with the ContentMangler.

13 years agoA manual cherry-picking of f012b0, making use of syn_engines work mostly.
Dan Brook [Thu, 15 Apr 2010 21:09:41 +0000]
A manual cherry-picking of f012b0, making use of syn_engines work mostly.

From the original commit by t0m:

Aaaaaand the logic (such as it is) for syntax stuff is pretty much is
where I wanted it.

Still needs a pile of work, but like this, we can test
mangling/highlighting engines seperately to the code which causes things
to be highlighted, which is nice as you can replace highlighting strategy
and individual highlighter implementations independently.

13 years agoInitial l::l crap
Tomas Doran [Wed, 9 Dec 2009 01:46:54 +0000]
Initial l::l crap

13 years agoCommit all of the local::lib scripts in base form
Tomas Doran [Wed, 9 Dec 2009 01:45:32 +0000]
Commit all of the local::lib scripts in base form

13 years agoNo, it didn't, but did subsequently
Tomas Doran [Mon, 21 Dec 2009 12:44:05 +0000]
No, it didn't, but did subsequently

13 years agoNeed 0.45
Tomas Doran [Mon, 21 Dec 2009 12:39:41 +0000]
Need 0.45

13 years agoMake a resolver object implementing the current policy. You should now be able to...
Tomas Doran [Sat, 23 Jan 2010 20:05:11 +0000]
Make a resolver object implementing the current policy. You should now be able to swap a wholely different resolver in with config.. Next up - generating the views that resolvers map to by config :)

13 years agoAaaaaand the logic (such as it is) for syntax stuff is pretty much is where I wanted it.
Tomas Doran [Tue, 12 Jan 2010 02:49:30 +0000]
Aaaaaand the logic (such as it is) for syntax stuff is pretty much is where I wanted it.

Still needs a pile of work, but like this, we can test mangling/highlighting engines seperately to the code which causes things to be highlighted, which is nice as you can replace highlighting strategy and individual highlighter implementations independently.

13 years agoAdd skeleton content mangling model
Tomas Doran [Tue, 12 Jan 2010 02:13:17 +0000]
Add skeleton content mangling model

13 years agoTurn the syntax highlighter into a standard view with a render method
Tomas Doran [Tue, 12 Jan 2010 02:12:27 +0000]
Turn the syntax highlighter into a standard view with a render method

13 years agoAdd RESTful Content-Type bits to the root controller, add a simple test for summary...
Tomas Doran [Mon, 11 Jan 2010 00:07:32 +0000]
Add RESTful Content-Type bits to the root controller, add a simple test for summary pages (which is all that works right now

13 years agoThe heads aren't real objects, just a data structure. Exclude them from serialization...
Tomas Doran [Mon, 11 Jan 2010 00:06:01 +0000]
The heads aren't real objects, just a data structure. Exclude them from serialization right now

13 years agoAdd a trivial test
Tomas Doran [Sun, 10 Jan 2010 23:35:56 +0000]
Add a trivial test

13 years agoDo the correct thing with type contraints etc to be able to serialize things
Tomas Doran [Sun, 10 Jan 2010 23:29:22 +0000]
Do the correct thing with type contraints etc to be able to serialize things

13 years agoAdd extra deps
Tomas Doran [Sun, 10 Jan 2010 22:34:37 +0000]
Add extra deps

13 years agoAdd a trivial test
Tomas Doran [Sun, 10 Jan 2010 23:35:56 +0000]
Add a trivial test

13 years agoDo the correct thing with type contraints etc to be able to serialize things
Tomas Doran [Sun, 10 Jan 2010 23:29:22 +0000]
Do the correct thing with type contraints etc to be able to serialize things

13 years agoAdd the serializeable role everywhere
Tomas Doran [Sun, 10 Jan 2010 22:52:29 +0000]
Add the serializeable role everywhere

13 years agoAdd a role for MooseX::Storage
Tomas Doran [Sun, 10 Jan 2010 22:41:15 +0000]
Add a role for MooseX::Storage

13 years agoAdd extra deps
Tomas Doran [Sun, 10 Jan 2010 22:34:37 +0000]
Add extra deps

13 years agoVersion 0.001008 0.001008
Tomas Doran [Wed, 2 Jun 2010 23:24:52 +0000]
Version 0.001008

13 years agoBye bye MX::MultiMethods
Tomas Doran [Wed, 2 Jun 2010 23:32:45 +0000]
Bye bye MX::MultiMethods

13 years agoMake the logging of failures better
Tomas Doran [Wed, 2 Jun 2010 23:23:10 +0000]
Make the logging of failures better

13 years agoDiagnostic output
Tomas Doran [Wed, 2 Jun 2010 23:18:34 +0000]
Diagnostic output

13 years agoNeed git
Tomas Doran [Wed, 2 Jun 2010 23:15:54 +0000]
Need git

13 years agoWork correctly with latest Catalyst 0.001007
Tomas Doran [Sat, 15 May 2010 10:38:29 +0000]
Work correctly with latest Catalyst

13 years agoBump version 0.001006
Tomas Doran [Thu, 13 May 2010 08:18:42 +0000]
Bump version

13 years agoFix dependencies
Tomas Doran [Thu, 13 May 2010 08:16:58 +0000]
Fix dependencies

13 years agoChangelog, bump version 0.001005
Tomas Doran [Tue, 11 May 2010 21:18:46 +0000]
Changelog, bump version

13 years agoBump MX::D dep
Tomas Doran [Tue, 11 May 2010 20:51:08 +0000]
Bump MX::D dep

13 years agoIgnore the inc/ directory
Tomas Doran [Tue, 11 May 2010 19:57:36 +0000]
Ignore the inc/ directory

This is generated by Module::Install and shouldn't be in git

13 years agoAdd some padding below, so file icons are not chopped off
Foxtons Web Design [Thu, 6 May 2010 15:24:41 +0000]
Add some padding below, so file icons are not chopped off

13 years agoMerge branch 'upstream_master'
Foxtons Web Design [Thu, 6 May 2010 15:17:56 +0000]
Merge branch 'upstream_master'

13 years agoupdated favicon to cope with dark grey backgrounds
Foxtons Web Design [Thu, 6 May 2010 11:47:37 +0000]
updated favicon to cope with dark grey backgrounds

13 years agoChangelog, bump version 0.001004
Tomas Doran [Thu, 6 May 2010 07:58:42 +0000]
Changelog, bump version

13 years agoReally remove XML::OPML::SimpleGen
Tomas Doran [Thu, 6 May 2010 07:52:06 +0000]
Really remove XML::OPML::SimpleGen

13 years agoRemove XML::Atom - unused here
Tomas Doran [Thu, 6 May 2010 07:49:19 +0000]
Remove XML::Atom - unused here

13 years agoRemove unused XML::RSS dep
Tomas Doran [Thu, 6 May 2010 07:48:34 +0000]
Remove unused XML::RSS dep

13 years agoMerge remote branch 'shadowcat/master'
Tomas Doran [Thu, 6 May 2010 07:35:31 +0000]
Merge remote branch 'shadowcat/master'

* shadowcat/master:
  De-bareword author_* in Makefile.PL.
  Bumping version and updated Changes appropriately.

13 years agoDe-bareword author_* in Makefile.PL.
Dan Brook [Mon, 3 May 2010 20:39:04 +0000]
De-bareword author_* in Makefile.PL.

With a totally bare perl install this Makefile.PL won't even run. FTFY.

13 years agoBumping version and updated Changes appropriately.
Dan Brook [Wed, 21 Apr 2010 14:07:32 +0000]
Bumping version and updated Changes appropriately.

13 years agoMerge branch 'master' of git.shadowcat.co.uk:Gitalist
Tomas Doran [Sat, 1 May 2010 20:50:57 +0000]
Merge branch 'master' of git.shadowcat.co.uk:Gitalist

* 'master' of git.shadowcat.co.uk:Gitalist:
  Update Changes and remove type from favicon link
  added file and folder icons to tree view and updated favicon
  Switch order of sha1's in 'compare' so hilighted in the correct order

13 years agoMerge branch 'master' of github.com:bobtfish/Gitalist
Tomas Doran [Sat, 1 May 2010 20:50:21 +0000]
Merge branch 'master' of github.com:bobtfish/Gitalist

* 'master' of github.com:bobtfish/Gitalist:
  Changelog
  another hard coded URL fix
  Add comment to js file - making it clear that it is not used
  Fix for non c.uri_for()'d link
  Bump version and update Changes.
  Fix link to project index.
  Fix the URL for the body background image (thanks to drew for spotting this).
  Add missing prereqs.
  Updated Changes and bumped version number to something sane.
  provide a link for an atom entry. switch mode=xml to type=xhtml.
  sorted design of search
  sorted design of search

13 years agoFix Makefile.PL so author modules aren't needed
Tomas Doran [Sat, 1 May 2010 20:48:24 +0000]
Fix Makefile.PL so author modules aren't needed

Add brackets so everything parses if you don't have the M::I extensions
and you run Makefile.PL without $ENV{GITALIST_RELEASE_TESTING}

13 years agoMerge branch 'upstream_master'
Foxtons Web Design [Wed, 21 Apr 2010 14:05:15 +0000]
Merge branch 'upstream_master'

13 years agoMerge remote branch 'shadowcat/master'
Dan Brook [Wed, 21 Apr 2010 14:01:01 +0000]
Merge remote branch 'shadowcat/master'

Conflicts:
Changes

13 years agoUpdate Changes and remove type from favicon link
Foxtons Web Design [Wed, 21 Apr 2010 13:48:57 +0000]
Update Changes and remove type from favicon link

13 years agoadded file and folder icons to tree view and updated favicon
Foxtons Web Design [Wed, 21 Apr 2010 13:44:46 +0000]
added file and folder icons to tree view and updated favicon

13 years agoSwitch order of sha1's in 'compare' so hilighted in the correct order
Foxtons Web Design [Wed, 21 Apr 2010 09:02:24 +0000]
Switch order of sha1's in 'compare' so hilighted in the correct order

13 years agoChangelog
Tomas Doran [Wed, 21 Apr 2010 08:15:15 +0000]
Changelog

13 years agoanother hard coded URL fix
Foxtons Web Design [Wed, 21 Apr 2010 08:04:57 +0000]
another hard coded URL fix

13 years agoAdd comment to js file - making it clear that it is not used
Foxtons Web Design [Wed, 21 Apr 2010 07:55:50 +0000]
Add comment to js file - making it clear that it is not used

13 years agoFix for non c.uri_for()'d link
Foxtons Web Design [Wed, 21 Apr 2010 07:51:33 +0000]
Fix for non c.uri_for()'d link

13 years agoMerge branch 'upstream_master'
Foxtons Web Design [Tue, 20 Apr 2010 16:51:10 +0000]
Merge branch 'upstream_master'

13 years agoBump version and update Changes. 0.001002
Dan Brook [Tue, 20 Apr 2010 13:06:35 +0000]
Bump version and update Changes.

13 years agoFix link to project index.
Dan Brook [Tue, 20 Apr 2010 13:02:05 +0000]
Fix link to project index.

14 years agoMerge branch 'upstream_master'
Foxtons Web Design [Fri, 16 Apr 2010 08:19:36 +0000]
Merge branch 'upstream_master'

14 years agoFix the URL for the body background image (thanks to drew for spotting this). 0.001001
Dan Brook [Thu, 15 Apr 2010 13:31:41 +0000]
Fix the URL for the body background image (thanks to drew for spotting this).

14 years agoAdd missing prereqs.
Dagfinn Ilmari Mannsåker [Wed, 14 Apr 2010 17:24:00 +0000]
Add missing prereqs.
(cherry picked from commit 7509600708af50919a2c7f1e708c3189cbd70dcd)

14 years agoUpdated Changes and bumped version number to something sane.
Dan Brook [Thu, 15 Apr 2010 12:45:33 +0000]
Updated Changes and bumped version number to something sane.

14 years agoprovide a link for an atom entry. switch mode=xml to type=xhtml.
Brian Cassidy [Thu, 15 Apr 2010 11:42:47 +0000]
provide a link for an atom entry. switch mode=xml to type=xhtml.
(cherry picked from commit e007b9ee66a2130ec72909132c73f475b82753cb)

14 years agosorted design of search
Foxtons Web Design [Wed, 14 Apr 2010 17:00:10 +0000]
sorted design of search
(cherry picked from commit ef0ad44d281eb459d1d3968096f69cdc63021db1)

14 years agoMerge branch 'master' of git.shadowcat.co.uk:Gitalist
Tomas Doran [Wed, 14 Apr 2010 20:31:10 +0000]
Merge branch 'master' of git.shadowcat.co.uk:Gitalist

* 'master' of git.shadowcat.co.uk:Gitalist:
  Add missing prereqs.

14 years agoMerge remote branch 'broquaint/master'
Tomas Doran [Wed, 14 Apr 2010 20:30:55 +0000]
Merge remote branch 'broquaint/master'

* broquaint/master:
  rearraged code
  Fixed bug where C<-T>/C<-B> were being called on strings.
  removed debug
  add the image and also set .gititnore to ignore Thumbs.db
  added dropdown nav to actions so can toggle between blob, raw, blame and history
  Updated an attributions in Changes (thanks again Foxtons web designers!).
  Bumped version, updated changes.
  Implemented necessary functionality so binary files no longer render literally.
  Fixed src and dst in diff data for files that had been added/deleted/etc.
  Fixed tree link in the case of no sha1 in the captures.
  Remove the description if it is the default "Unnamed repo..."
  Fix pervasive repo_dir -> repos_dir typo
  added compare diffs feature and fixed a couple of css issues

14 years agoAdd missing prereqs.
Dagfinn Ilmari Mannsåker [Wed, 14 Apr 2010 17:24:00 +0000]
Add missing prereqs.

14 years agosorted design of search
Foxtons Web Design [Wed, 14 Apr 2010 17:00:10 +0000]
sorted design of search

14 years agoMerge remote branch 'shadowcat/master' into sc
Dan Brook [Wed, 14 Apr 2010 15:28:22 +0000]
Merge remote branch 'shadowcat/master' into sc

Conflicts:
README
lib/Gitalist.pm
root/nav/path.tt2

14 years agoMerge remote branch 'foxtons/master' into foxtons 0.000006
Dan Brook [Wed, 14 Apr 2010 13:58:40 +0000]
Merge remote branch 'foxtons/master' into foxtons

14 years agorearraged code
Foxtons Web Design [Wed, 14 Apr 2010 13:57:08 +0000]
rearraged code

14 years agoFixed bug where C<-T>/C<-B> were being called on strings.
Dan Brook [Wed, 14 Apr 2010 13:53:03 +0000]
Fixed bug where C<-T>/C<-B> were being called on strings.

14 years agoremoved debug
Foxtons Web Design [Wed, 14 Apr 2010 13:50:13 +0000]
removed debug

14 years agoadd the image and also set .gititnore to ignore Thumbs.db
Foxtons Web Design [Wed, 14 Apr 2010 13:48:42 +0000]
add the image and also set .gititnore to ignore Thumbs.db

14 years agoadded dropdown nav to actions so can toggle between blob, raw, blame and history
Foxtons Web Design [Wed, 14 Apr 2010 13:46:45 +0000]
added dropdown nav to actions so can toggle between blob, raw, blame and history

14 years agoMerge branch 'upstream_master'
Foxtons Web Design [Mon, 12 Apr 2010 08:29:44 +0000]
Merge branch 'upstream_master'

14 years agoUpdated an attributions in Changes (thanks again Foxtons web designers!).
Dan Brook [Sat, 10 Apr 2010 12:50:12 +0000]
Updated an attributions in Changes (thanks again Foxtons web designers!).

14 years agoBumped version, updated changes.
Dan Brook [Sat, 10 Apr 2010 11:03:38 +0000]
Bumped version, updated changes.

* Untabbified lib/Gitalist/Controller/Ref.pm.

14 years agoImplemented necessary functionality so binary files no longer render literally.
Dan Brook [Sat, 10 Apr 2010 10:13:35 +0000]
Implemented necessary functionality so binary files no longer render literally.

* Added deps for File::Type and File::Type::WebImages.
* Haven't been able to test binary non-image files as the presence of one (I
tried a .zip) breaks Git::PurePerl on win32 at least.

14 years agoFixed src and dst in diff data for files that had been added/deleted/etc.
Dan Brook [Fri, 9 Apr 2010 22:27:57 +0000]
Fixed src and dst in diff data for files that had been added/deleted/etc.

* Added a link to the diff of a commit in the commit action.
* Tidied up the "path" stuff in the tree action which is no longer used.