summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/JGitUtilsTest.java
Commit message (Collapse)AuthorAgeFilesLines
* #230 - Improve empty folder navigation.Milos Cubrilo2015-01-111-0/+9
| | | | Empty folders are automatically skipped when browsing repository tree (similar to github "folder jumping" feature).
* Correct unit test assertionJames Moger2014-10-201-1/+1
|
* [findbugs] Reorder asserts to avoid potential NPE in JGitUtilsTestJames Moger2014-04-171-3/+5
|
* Fixed test.Alex Lewis2013-12-231-1/+1
| | | | | | testRevlog was expecting 12 commits but getting 19. Looking at the hello-world repository on github (on which the test executes) the 19 commit count appears to be correct.
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-261-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | These manager interfaces define how the GitBlit singleton will eventually be split into smaller component managers. The Wicket app and all servlets have been updated to request the needed managers. There are _very_ few method signature changes - although there are a handful. This is a surgical sharding of responsibility based on a proof of concept refactor. Instead of random references to GittBlit.self() there are now precise references to the manager interface required to accomplish some task. Some tasks may require references to multiple managers. The code is now littered with calls to GitBlit.getManager(class) and those familiar with the code-base will no doubt notice the duplication of methods from IUserService in IUserManager and the addition of implementation methods in the GitBlit context class. When the GitBlit class is broken apart and the existing external authentication user service classes are refactored to AuthenticationService classes, this will again simplify and flatten. But in order to safely and cleanly modularize the stable code-base we will have to live with a little duplication for a short while. Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
* Fix Markdown document enumeratonJames Moger2013-10-161-6/+1
|
* Remove trailing whitespace from unit testsJames Moger2013-09-301-15/+15
| | | | Change-Id: I172bd4d493eee1013ec542ab97f1be29040f816d
* Implemented a graph servlet based on EGit/JGit's PlotWalk (issue-194)James Moger2013-09-171-1/+17
| | | | | | | | | The graph is generated server-side and therefore requires that the commit table row height be fixed and match the row height of the servlet. There will be layout misalignment if remotes refs are displayed. Perhaps this can be improved in the future. Change-Id: I39d0ffc7b1c3679976ce8c198c772ff86238f1a5
* Fix set-gid bit clearing under Linux when effective gid is different from ↵Florian Zschocke2013-08-261-0/+64
| | | | file gid.
* Fix setting wrrong custom mode on file and in config.Florian Zschocke2013-08-261-0/+36
|
* Adjust unit tests for Windows.Florian Zschocke2013-08-261-7/+11
|
* Implement adjusting file permissions for shared repositories.Florian Zschocke2013-08-261-6/+15
| | | | | Implement adjusting file and directory permissions for shared repositories in JGitUtils.
* Add proper implementation of methods in JnaUtils.Florian Zschocke2013-08-261-0/+21
| | | | | | | Implement the methods getFilemode and setFilemode in JnaUtils. Not using the libc names as we don't necessarily use JNA and because it is not necessarily a one to one mapping.
* Set author as tooltip of "last change" on repositories page (issue-238)James Moger2013-07-031-3/+3
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+472
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.