gitorious:libdolt.git
6 years agoMake test less volatile - don't look up 'master'
Christian Johansen [Thu, 4 Oct 2012 09:08:36 +0000 (11:08 +0200)]
Make test less volatile - don't look up 'master'

6 years agoUp version v0.4.3
Christian Johansen [Thu, 4 Oct 2012 08:11:09 +0000 (10:11 +0200)]
Up version

6 years agoSupport submodules
Christian Johansen [Thu, 4 Oct 2012 08:10:37 +0000 (10:10 +0200)]
Support submodules

6 years agoUp version v0.4.2
Christian Johansen [Wed, 3 Oct 2012 17:36:52 +0000 (19:36 +0200)]
Up version

6 years agoAvoid ambiguity in log command
Christian Johansen [Wed, 3 Oct 2012 17:36:29 +0000 (19:36 +0200)]
Avoid ambiguity in log command

6 years agoConsistent Date JSON strings
Christian Johansen [Wed, 3 Oct 2012 17:27:23 +0000 (19:27 +0200)]
Consistent Date JSON strings

  - Fixes NaN dates in Ruby 1.9

6 years agoRender link to root in tree browser
Christian Johansen [Wed, 3 Oct 2012 13:18:18 +0000 (15:18 +0200)]
Render link to root in tree browser

6 years agoUpdate UI
Christian Johansen [Wed, 3 Oct 2012 10:57:55 +0000 (12:57 +0200)]
Update UI

6 years agoMake sure JSON is loaded for templates v0.4.1
Christian Johansen [Wed, 3 Oct 2012 10:19:27 +0000 (12:19 +0200)]
Make sure JSON is loaded for templates

6 years agoAdd tree history v0.4.0
Christian Johansen [Wed, 3 Oct 2012 09:01:58 +0000 (11:01 +0200)]
Add tree history

6 years agoAdd support for async tree history
Christian Johansen [Tue, 2 Oct 2012 12:04:22 +0000 (14:04 +0200)]
Add support for async tree history

6 years agoUpdate UI part
Christian Johansen [Mon, 1 Oct 2012 17:54:45 +0000 (19:54 +0200)]
Update UI part

6 years agoNew version v0.3.1
Christian Johansen [Mon, 1 Oct 2012 14:34:00 +0000 (16:34 +0200)]
New version

6 years agoMerge branch 'branch-selector'
Christian Johansen [Mon, 1 Oct 2012 14:33:20 +0000 (16:33 +0200)]
Merge branch 'branch-selector'

6 years agoNew UI branch-selector
Christian Johansen [Mon, 1 Oct 2012 14:33:15 +0000 (16:33 +0200)]
New UI

6 years agoProperly handle exceptions
Christian Johansen [Mon, 1 Oct 2012 14:03:05 +0000 (16:03 +0200)]
Properly handle exceptions

6 years agoRef selector
Christian Johansen [Mon, 1 Oct 2012 13:42:40 +0000 (15:42 +0200)]
Ref selector

6 years agoCorrect ref selector placement
Christian Johansen [Mon, 1 Oct 2012 13:36:58 +0000 (15:36 +0200)]
Correct ref selector placement

6 years agoUpdate version v0.3.0
Christian Johansen [Mon, 1 Oct 2012 12:57:30 +0000 (14:57 +0200)]
Update version

6 years agoStart hacking branch selector
Christian Johansen [Mon, 1 Oct 2012 12:54:52 +0000 (14:54 +0200)]
Start hacking branch selector

6 years agoRender images as <img>
Christian Johansen [Mon, 1 Oct 2012 12:50:37 +0000 (14:50 +0200)]
Render images as <img>

6 years agoKeep "link binary blob" a targetable piece of logic
Christian Johansen [Mon, 1 Oct 2012 11:37:14 +0000 (13:37 +0200)]
Keep "link binary blob" a targetable piece of logic

6 years agoRender binary blobs as links that download them
Christian Johansen [Mon, 1 Oct 2012 11:35:33 +0000 (13:35 +0200)]
Render binary blobs as links that download them

6 years agoRender blobs view format_blob -> format_text_blob
Christian Johansen [Mon, 1 Oct 2012 10:29:06 +0000 (12:29 +0200)]
Render blobs view format_blob -> format_text_blob

  - Allows us to hook in separate helpers for binary blobs

6 years agoSyntax highlight .htm files as HTML
Christian Johansen [Mon, 1 Oct 2012 08:43:31 +0000 (10:43 +0200)]
Syntax highlight .htm files as HTML

6 years agoUp version v0.2.2
Christian Johansen [Wed, 26 Sep 2012 20:36:46 +0000 (22:36 +0200)]
Up version

6 years agoUse HTML entitites in syntax highlight fallback
Christian Johansen [Wed, 26 Sep 2012 20:36:01 +0000 (22:36 +0200)]
Use HTML entitites in syntax highlight fallback

  - If the highlighter raises an error (typically if we've attempted
    to use a non-existent lexer), the code needs to be HTML
    entity-fied in order to safely present

6 years agoFix "double empty lines" bug temporarily
Christian Johansen [Wed, 26 Sep 2012 20:25:12 +0000 (22:25 +0200)]
Fix "double empty lines" bug temporarily

6 years agoAdd refs action
Christian Johansen [Tue, 25 Sep 2012 11:57:11 +0000 (13:57 +0200)]
Add refs action

  - Render heads and tags as JSON

6 years ago.ru files are Ruby, too
Christian Johansen [Tue, 25 Sep 2012 09:05:43 +0000 (11:05 +0200)]
.ru files are Ruby, too

6 years agoConfigurable tab width
Christian Johansen [Tue, 25 Sep 2012 08:53:41 +0000 (10:53 +0200)]
Configurable tab width

6 years agoAdd tests for SmartBlobRenderer
Christian Johansen [Tue, 25 Sep 2012 08:40:28 +0000 (10:40 +0200)]
Add tests for SmartBlobRenderer

6 years agoUp version
Christian Johansen [Tue, 25 Sep 2012 08:40:16 +0000 (10:40 +0200)]
Up version

6 years agoDon't depend on parsedate v0.2.1
Christian Johansen [Tue, 25 Sep 2012 08:01:43 +0000 (10:01 +0200)]
Don't depend on parsedate

6 years agoVersion bump v0.2.0
Christian Johansen [Tue, 25 Sep 2012 07:30:24 +0000 (09:30 +0200)]
Version bump

6 years agoFix active menu link on history page
Christian Johansen [Sat, 22 Sep 2012 08:14:34 +0000 (10:14 +0200)]
Fix active menu link on history page

6 years agoGemfile.lock is a YAML file
Christian Johansen [Sat, 22 Sep 2012 08:14:22 +0000 (10:14 +0200)]
Gemfile.lock is a YAML file

6 years agoUse tabwidth = 4 spaces
Christian Johansen [Sat, 22 Sep 2012 08:14:12 +0000 (10:14 +0200)]
Use tabwidth = 4 spaces

  - Eventually: Add view helper that has configurable tab size

6 years agoDon't use `log --follow`
Christian Johansen [Sat, 22 Sep 2012 08:13:47 +0000 (10:13 +0200)]
Don't use `log --follow`

6 years agoAdd multi-repo index of all repos
Christian Johansen [Sat, 22 Sep 2012 08:13:38 +0000 (10:13 +0200)]
Add multi-repo index of all repos

6 years agoFind lexer by shebangs
Christian Johansen [Sat, 22 Sep 2012 07:45:46 +0000 (09:45 +0200)]
Find lexer by shebangs

6 years agoDon't produce unclickable links
Christian Johansen [Fri, 21 Sep 2012 22:53:21 +0000 (00:53 +0200)]
Don't produce unclickable links

6 years agoAdd file history/log
Christian Johansen [Fri, 21 Sep 2012 22:51:45 +0000 (00:51 +0200)]
Add file history/log

6 years agoUpdate design
Christian Johansen [Fri, 21 Sep 2012 22:03:07 +0000 (00:03 +0200)]
Update design

6 years agoRemove duplication
Christian Johansen [Fri, 21 Sep 2012 22:03:02 +0000 (00:03 +0200)]
Remove duplication

6 years agoAdd test for markup view helper
Christian Johansen [Fri, 21 Sep 2012 15:25:20 +0000 (17:25 +0200)]
Add test for markup view helper

6 years agoUpdated UI styles
Christian Johansen [Fri, 21 Sep 2012 15:25:03 +0000 (17:25 +0200)]
Updated UI styles

6 years agoRepository#log test
Christian Johansen [Fri, 21 Sep 2012 15:24:56 +0000 (17:24 +0200)]
Repository#log test

6 years agoBetter markup styling
Christian Johansen [Fri, 21 Sep 2012 15:24:48 +0000 (17:24 +0200)]
Better markup styling

6 years agoDeferred log method
Christian Johansen [Fri, 21 Sep 2012 15:24:39 +0000 (17:24 +0200)]
Deferred log method

6 years agoClean up binary implementation
Christian Johansen [Fri, 21 Sep 2012 15:24:21 +0000 (17:24 +0200)]
Clean up binary implementation

6 years agoAdd commit API to get log data
Christian Johansen [Fri, 21 Sep 2012 15:24:12 +0000 (17:24 +0200)]
Add commit API to get log data

6 years agoBlob rendering modules
Christian Johansen [Fri, 21 Sep 2012 12:04:36 +0000 (14:04 +0200)]
Blob rendering modules

6 years agoAdd default format_blob
Christian Johansen [Fri, 21 Sep 2012 11:58:39 +0000 (13:58 +0200)]
Add default format_blob

  - Simply escapes HTML entities and displays raw blob
    with line numbers

6 years agoUpdate install instructions in Readme
Christian Johansen [Fri, 21 Sep 2012 08:21:42 +0000 (10:21 +0200)]
Update install instructions in Readme

6 years agoTest smart blob rendering
Christian Johansen [Fri, 21 Sep 2012 08:20:28 +0000 (10:20 +0200)]
Test smart blob rendering

6 years agoAdd markup rendering
Christian Johansen [Fri, 21 Sep 2012 08:01:41 +0000 (10:01 +0200)]
Add markup rendering

6 years agoOne syntax highlighting module/class is enough
Christian Johansen [Fri, 21 Sep 2012 07:37:17 +0000 (09:37 +0200)]
One syntax highlighting module/class is enough

6 years agoSet up highlighting for polymorphic overrides
Christian Johansen [Thu, 20 Sep 2012 21:38:25 +0000 (23:38 +0200)]
Set up highlighting for polymorphic overrides

6 years agoAdd tests for all templates
Christian Johansen [Thu, 20 Sep 2012 21:32:47 +0000 (23:32 +0200)]
Add tests for all templates

6 years agoSyntax highlighted blame
Christian Johansen [Thu, 20 Sep 2012 21:14:39 +0000 (23:14 +0200)]
Syntax highlighted blame

6 years agoProper blame annotation
Christian Johansen [Thu, 20 Sep 2012 14:47:23 +0000 (16:47 +0200)]
Proper blame annotation

6 years agoAdd rough blame
Christian Johansen [Thu, 20 Sep 2012 13:55:52 +0000 (15:55 +0200)]
Add rough blame

6 years agoAdd #raw action
Christian Johansen [Thu, 20 Sep 2012 09:34:51 +0000 (11:34 +0200)]
Add #raw action

6 years agoRemove URL generation duplication
Christian Johansen [Thu, 20 Sep 2012 09:34:39 +0000 (11:34 +0200)]
Remove URL generation duplication

  - Put URL generation in view helper modules
  - Include view helper modules in Sinatra applications

6 years agoRemove superfluous block arguments
Christian Johansen [Thu, 20 Sep 2012 09:33:40 +0000 (11:33 +0200)]
Remove superfluous block arguments

6 years agoAdd Sinatra::Actions#tree tests
Christian Johansen [Thu, 20 Sep 2012 09:22:53 +0000 (11:22 +0200)]
Add Sinatra::Actions#tree tests

6 years agoAllow one-off layout overrides in #render
Christian Johansen [Thu, 20 Sep 2012 09:11:44 +0000 (11:11 +0200)]
Allow one-off layout overrides in #render

6 years agoUp submodule
Christian Johansen [Thu, 20 Sep 2012 08:46:11 +0000 (10:46 +0200)]
Up submodule

6 years agoInclude repository and ref in tree context urls
Christian Johansen [Thu, 20 Sep 2012 08:45:00 +0000 (10:45 +0200)]
Include repository and ref in tree context urls

6 years agoHelpers are modules again
Christian Johansen [Thu, 20 Sep 2012 08:15:47 +0000 (10:15 +0200)]
Helpers are modules again

  - Trying to inject state into view helpers was wrong
  - Behavior variance is achieved through differing implementations

6 years agoGroup trees by tree,blob, sort by name
Christian Johansen [Wed, 19 Sep 2012 22:19:06 +0000 (00:19 +0200)]
Group trees by tree,blob, sort by name

6 years agoMerge branch 'libgit2'
Christian Johansen [Wed, 19 Sep 2012 14:12:22 +0000 (16:12 +0200)]
Merge branch 'libgit2'

6 years agoRedo view "helper" concepts libgit2
Christian Johansen [Wed, 19 Sep 2012 14:12:12 +0000 (16:12 +0200)]
Redo view "helper" concepts

  - TemplateRenderer now has a #helper that accepts objects
  - A "Merger" object allows you to treat multiple object as
    one big bag of methods (in order to do mixins with instances
    rather than modules)
  - Add helpers for each core concept/git data type
  - Add tests for helpers
  - Use ref, path consistently (not path, ref)

6 years agoRewrite template/views. Use EMRugged for Git.
Christian Johansen [Wed, 19 Sep 2012 10:27:54 +0000 (12:27 +0200)]
Rewrite template/views. Use EMRugged for Git.

  - Not complete, still some failing tests
  - View helpers need to change

6 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/gitorious/dolt into libgit2
Christian Johansen [Tue, 18 Sep 2012 21:32:15 +0000 (23:32 +0200)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/gitorious/dolt into libgit2

6 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/gitorious/dolt
Christian Johansen [Tue, 18 Sep 2012 21:31:04 +0000 (23:31 +0200)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/gitorious/dolt

6 years agoAdd error handling for unexpected object types
Christian Johansen [Mon, 17 Sep 2012 13:31:56 +0000 (15:31 +0200)]
Add error handling for unexpected object types

  - Redirect blob -> tree for tree objects on /*/blob/*
  - Redirect tree -> blob for blob objects /*/tree/*
  - Consider it an error if attempting to Git::Shell#show a tree

6 years agoFix relative require path, it's incompatible with Ruby 1.9
Robin Stocker [Mon, 17 Sep 2012 12:00:44 +0000 (14:00 +0200)]
Fix relative require path, it's incompatible with Ruby 1.9

6 years agoOutsource DeferrableChildProcess to em_pessimistic
Christian Johansen [Mon, 17 Sep 2012 10:46:12 +0000 (12:46 +0200)]
Outsource DeferrableChildProcess to em_pessimistic

6 years agoUsable Readme
Christian Johansen [Fri, 14 Sep 2012 15:48:54 +0000 (17:48 +0200)]
Usable Readme

6 years agoCut new version
Christian Johansen [Tue, 11 Sep 2012 21:48:25 +0000 (23:48 +0200)]
Cut new version

6 years agoBrowsable trees
Christian Johansen [Tue, 11 Sep 2012 21:47:01 +0000 (23:47 +0200)]
Browsable trees

6 years agoConsistently use [path, ref], not [ref, path]
Christian Johansen [Tue, 11 Sep 2012 20:04:34 +0000 (22:04 +0200)]
Consistently use [path, ref], not [ref, path]

  - Ref is optional in all cases, path is not

6 years agoFix outdated path in binary
Christian Johansen [Tue, 11 Sep 2012 20:04:13 +0000 (22:04 +0200)]
Fix outdated path in binary

6 years agoAdd tree action
Christian Johansen [Tue, 11 Sep 2012 19:59:22 +0000 (21:59 +0200)]
Add tree action

6 years agoGit trees
Christian Johansen [Tue, 11 Sep 2012 19:53:32 +0000 (21:53 +0200)]
Git trees

6 years agoUpdate Blob tests to use right module name
Christian Johansen [Tue, 11 Sep 2012 19:30:48 +0000 (21:30 +0200)]
Update Blob tests to use right module name

6 years agoVersion number in Gemfile.lock
Christian Johansen [Tue, 11 Sep 2012 19:28:29 +0000 (21:28 +0200)]
Version number in Gemfile.lock

6 years agoAdd ls-tree to Git::Shell/Repository
Christian Johansen [Tue, 11 Sep 2012 19:28:10 +0000 (21:28 +0200)]
Add ls-tree to Git::Shell/Repository

6 years agoModule names reflect directory structure
Christian Johansen [Tue, 11 Sep 2012 19:27:43 +0000 (21:27 +0200)]
Module names reflect directory structure

6 years agoRename FileSystemRepositoryResolver to DiskRepoResolver
Christian Johansen [Tue, 11 Sep 2012 18:03:14 +0000 (20:03 +0200)]
Rename FileSystemRepositoryResolver to DiskRepoResolver

6 years agoReset version for "new" library
Christian Johansen [Tue, 11 Sep 2012 17:57:41 +0000 (19:57 +0200)]
Reset version for "new" library

6 years agoOne more rename: "Dolt" is shorter, better
Christian Johansen [Tue, 11 Sep 2012 17:57:22 +0000 (19:57 +0200)]
One more rename: "Dolt" is shorter, better

6 years agoInclude the design in the Gem
Christian Johansen [Tue, 11 Sep 2012 13:32:17 +0000 (15:32 +0200)]
Include the design in the Gem

6 years agoMoron was taken, going with Addlepate
Christian Johansen [Tue, 11 Sep 2012 13:25:50 +0000 (15:25 +0200)]
Moron was taken, going with Addlepate

6 years agoBug: SingleRepoBrowser was fed wrong paths
Christian Johansen [Tue, 11 Sep 2012 13:07:13 +0000 (15:07 +0200)]
Bug: SingleRepoBrowser was fed wrong paths

  - When running from inside a Git repo, make sure to separate
    the directory name from the base name.

6 years agoMake Git::Shell API more explicit
Christian Johansen [Tue, 11 Sep 2012 13:06:18 +0000 (15:06 +0200)]
Make Git::Shell API more explicit

  - In order to easy alternative implementations, the Git
    API should express the operation rather than just be a
    deferred shell operation
  - Was: git.git("show", "#{ref}:#{path}"),
    Now: git.show(path, ref)

6 years agoRename Moron::GitShell to Moron::Git::Shell
Christian Johansen [Tue, 11 Sep 2012 13:02:12 +0000 (15:02 +0200)]
Rename Moron::GitShell to Moron::Git::Shell

  - Also reflect name change in file names
  - Keeps naming consistent with the rest of the project

6 years agoGrowing up: Reorganize, refactor, add tests
Christian Johansen [Tue, 11 Sep 2012 12:36:58 +0000 (14:36 +0200)]
Growing up: Reorganize, refactor, add tests

  - Added bin/moron, which replaces previous .ru file
  - Renamed several classes to better describe their functionality
  - Landed a directory structure that maps directly to module names
  - Added more unit tests