James Moger
2011-06-05 f08c1ca55e1ffaef81f3d6514aa4bffa5d716c5b
Added git-notes to docs. Fixed parent path mode.
2 files modified
12 ■■■■■ changed files
docs/00_index.mkd 9 ●●●●● patch | view | raw | blame | history
src/com/gitblit/wicket/pages/TreePage.java 3 ●●●● patch | view | raw | blame | history
docs/00_index.mkd
@@ -30,6 +30,7 @@
- Administrators may create, edit, rename, or delete users through the web UI
- Repository Owners may edit repositories through the web UI
- Automatically generates a self-signed certificate for https communications
- Git-notes support
- Dates can optionally be displayed using the browser's reported timezone
- Author and Committer email address display can be controlled
- Dynamic zip downloads feature
@@ -52,13 +53,10 @@
- Gitblit is an integrated, full-stack solution.  There is no WAR build at this time.
### Todo List
- Review spots where Gitblit can cache data instead of abusing the disk
    - stats
    - users.properties access
    - available repositories
    - etc
- Code documentation
- Unit testing
- Branch selector on Metrics
- Blame
### Idea List
- Ticgit activity/timeline
@@ -67,7 +65,6 @@
- View images on Blob page
- View other binary files on Blob page
- Markdown editing feature
- Blame (waiting for the [JGit][jgit] team to do the hard part)
### License
Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
src/com/gitblit/wicket/pages/TreePage.java
@@ -26,6 +26,7 @@
import org.apache.wicket.markup.repeater.data.DataView;
import org.apache.wicket.markup.repeater.data.ListDataProvider;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.FileMode;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
@@ -70,7 +71,7 @@
            if (path.lastIndexOf('/') > -1) {
                parentPath = path.substring(0, path.lastIndexOf('/'));
            }
            PathModel model = new PathModel("..", parentPath, 0, 40000, objectId);
            PathModel model = new PathModel("..", parentPath, 0, FileMode.TREE.getBits(), objectId);
            model.isParentPath = true;
            paths.add(0, model);
        }