Commit Graph

4330 Commits

Author SHA1 Message Date
broDom
46f5002f29 refactor: replace removed Guava API calls 2017-07-05 21:23:28 +02:00
broDom
1da3c7436c refactor: replace StreamSupport.stream(spliterator, false) with Guava's Stream.stream(iterable) 2017-07-05 21:02:17 +02:00
broDom
d7b539ba10 build: update guava (16 -> 22) 2017-07-05 21:01:39 +02:00
broDom
056c384c39 refactor: use Stream API in ValidationUtil.isRepoNameValid 2017-07-05 18:23:32 +02:00
broDom
96f40485d1 refactor: remove redundant type casts 2017-07-03 17:17:58 +02:00
broDom
656288857b refactor: remove redundant type arguments 2017-07-03 17:17:39 +02:00
broDom
efac49ccf7 style: use uppercase L instead of lowercase version for better readability 2017-07-03 17:16:54 +02:00
broDom
c91b3a39cd build: remove duplicated dependencies 2017-07-03 17:15:21 +02:00
broDom
94fba3df13 build: remove redundant groupIds as they are defined in the parent pom 2017-07-03 17:13:15 +02:00
broDom
0cff0e7e7a refactor: remove explicit type arguments 2017-07-03 17:12:41 +02:00
broDom
b73040771a refactor: replace statement lambda with expression lambda 2017-07-03 17:11:32 +02:00
broDom
524a5dbb0a refactor: use Map.computeIfAbsent 2017-07-03 17:10:58 +02:00
broDom
fb2dfce631 refactor: replace Guava's Iterables.find with Stream API 2017-07-03 17:09:50 +02:00
broDom
7b03c19de6 refactor: replace while loop with Map.removeIf 2017-07-03 17:08:44 +02:00
broDom
64b8fc8af6 refactor: replace Collections.sort with List.sort 2017-07-03 17:08:04 +02:00
broDom
397904adde refactor: replace anonymous types with lambdas 2017-07-03 17:07:07 +02:00
broDom
db2d82b9ec refactor: use try-with-resources 2017-07-03 16:59:46 +02:00
broDom
e9d5b3a363 refactor: collapse identical catch blocks 2017-07-03 16:59:19 +02:00
broDom
9f98b0e890 refactor: replace while with iterator with foreach loop 2017-07-03 16:56:25 +02:00
broDom
ad719d37ab refactor: use Stream API instead of for-if 2017-07-03 16:55:43 +02:00
broDom
13b29ea9f2 refactor: replace String.indexOf() >= 0 with String.contains() 2017-07-03 16:54:39 +02:00
broDom
4bd093f472 refactor: replace for loop with foreach 2017-07-03 16:46:54 +02:00
broDom
f70745d65a style: remove unused imports 2017-07-03 16:45:21 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
73cfbe8993 remove work directory after package upgrade, see #923 2017-06-25 13:46:39 +02:00
Sebastian Sdorra
07a1c8b151 [maven-release-plugin] prepare for next development iteration 2017-06-06 11:39:35 +02:00
Sebastian Sdorra
a7366731ba [maven-release-plugin] copy for tag 1.54 2017-06-06 11:39:34 +02:00
Sebastian Sdorra
fd02f4c068 [maven-release-plugin] prepare release 1.54 1.54 2017-06-06 11:39:34 +02:00
Sebastian Sdorra
663b1d9248 update jetty to version 7.6.21.v20160908 2017-06-06 11:21:43 +02:00
Sebastian Sdorra
0b78c4eeeb fix wrong itcase commit message 2017-06-06 11:21:05 +02:00
Sebastian Sdorra
2df42711dc update jersey to version 1.19.4 2017-06-06 11:26:22 +02:00
Sebastian Sdorra
b7568ea919 introducing new ExtensionPoint for repository path matching
The new ExtensionPoint was introduced to  remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Sebastian Sdorra
58035845ce improve GitRepositoryResolver to allow requests to repositories which ends with .git, the resolver will automatically remove the .git extension and resolves the repository 2017-06-06 10:43:29 +02:00
Sebastian Sdorra
6eb480fe84 git repository client should return the work tree as working copy instead of .git directory 2017-06-06 10:41:36 +02:00
Sebastian Sdorra
05c2ffbecf ignore some falsepositive sonarqube issues 2017-06-06 08:15:45 +02:00
Sebastian Sdorra
b51fba2282 fix repository browsing with mercurial 4.x 2017-06-06 08:14:04 +02:00
Sebastian Sdorra
84b15fdf89 implemented integration tests for lfs 2017-06-02 14:18:41 +02:00
Sebastian Sdorra
0677af1336 shiro-unit should be in test scope 2017-06-01 22:07:45 +02:00
Sebastian Sdorra
a59c352e2d update jgit to v4.5.2.201704071617-r-scm1 2017-06-01 18:03:12 +02:00
Sebastian Sdorra
1effc9c29b remove all items from lfs blob store, if the corresponding repository was removed 2017-06-01 17:28:59 +02:00
Sebastian Sdorra
2a8cfc00d8 use pattern and matcher instead of string matches, to improve performance 2017-06-01 16:27:20 +02:00
Sebastian Sdorra
d9486ba8ba improve git client detection at GitPermissionFilter to include jgit 2017-06-01 16:08:07 +02:00
Sebastian Sdorra
ee4a19365e fix possible stackoverflow in git request handling 2017-06-01 16:07:18 +02:00
Sebastian Sdorra
2af11b1f9c relax git lfs write request check and improved tests for GitPermissionFilter 2017-06-01 10:11:42 +02:00
Sebastian Sdorra
880b0499e8 use uri to decide type of request instead of user-agent 2017-05-30 14:10:43 +02:00
Sebastian Sdorra
8b92175fbc improved structure of GitUserAgentProvider and added more unit tests 2017-05-30 12:05:01 +02:00
Sebastian Sdorra
964973d8f7 added jgit detection to GitUserAgentProvider, to fix integration tests 2017-05-30 09:48:12 +02:00
Sebastian Sdorra
eb7872bb3f execute CreateRepositoryITCase for git, subversion and mercurial 2017-05-30 09:29:50 +02:00
Sebastian Sdorra
f6318a3b58 fix missing commit of blob after lfs push 2017-05-30 09:21:50 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00