Commit Graph

666 Commits

Author SHA1 Message Date
Sebastian Sdorra
964973d8f7 added jgit detection to GitUserAgentProvider, to fix integration tests 2017-05-30 09:48:12 +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
Oliver Milke
9b932a325e refactor git repository matching for accepting optional .git suffix 2017-05-19 17:27:48 +02:00
Sebastian Sdorra
f142e1a83f merge with branch 1.x 2017-01-14 13:25:25 +01:00
Sebastian Sdorra
7e6f4e1a7f fix some warning and removed some unused imports 2017-01-14 12:05:53 +01:00
Sebastian Sdorra
fc6287fd40 remove deprecations and fixed some compiler warnings 2017-01-12 20:02:06 +01:00
Sebastian Sdorra
bad99919f4 merge with branch 1.x 2017-01-12 19:50:39 +01:00
Sebastian Sdorra
5332ac2466 refactor store api 2016-12-11 21:31:05 +01:00
Sebastian Sdorra
5cb32b268f #873 clear repository caches, if the git default branch has changed 2016-11-10 21:56:27 +01:00
Sebastian Sdorra
df7b554b80 #873 implemented default branch repository property for git 2016-11-10 19:28:46 +01:00
Sebastian Sdorra
891e9ca59f merge with branch issue-870 2016-10-18 20:52:26 +02:00
Sebastian Sdorra
b69d1b3ed3 send http status code 401 unauthorized on failed git authentication, see issue #870
Revert use of GitSmartHttpTools to send unauthoried errors back to the git client, because the password is stored in the git credentials store event if the username or password was invalid. Switch back to default method, which send http status code 401 back to the client. This method does not send the customized client message, but the default one from git is good enough.
2016-09-30 21:07:23 +02:00
Sebastian Sdorra
5c5d249063 merge with branch issue-865 2016-09-30 19:46:03 +02:00
Sebastian Sdorra
9fad94403a do not collect the changesets for the whole branch, if only a git tag was pushed 2016-09-28 14:52:18 +02:00
Sebastian Sdorra
8591ced68d implemented new HookTagProvider api for git 2016-09-28 14:28:38 +02:00
Sebastian Sdorra
d38435c13a fix npe when GitHookBranchProvider tries to collect a tag as branch, see issue #865 2016-09-28 11:05:00 +02:00
Sebastian Sdorra
f613800970 set java version to 1.7 and updated jgit 4.4.0.201606070830-r-scm1 2016-07-14 22:09:16 +02:00
Sebastian Sdorra
b5383f4073 fix loading of repository handler informations on some systems, see issue #841 2016-06-24 17:58:02 +02:00
Sebastian Sdorra
0ef064c1fb added unit test for GitGcTask 2016-05-31 09:39:42 +02:00
Sebastian Sdorra
a9697c7c83 #801 added implmentation for running git gc in an configurable interval 2016-05-25 16:33:34 +02:00
Sebastian Sdorra
6c96a57cf8 fix a bug in git submodule detection 2015-06-14 18:59:38 +02:00
Sebastian Sdorra
0f1ac3f952 expose latest changeset id of branch 2015-06-13 19:56:16 +02:00
Sebastian Sdorra
be385e4f2e implement a new authentication filter, which uses a set of WebTokenGenerator to handle authentication requests 2015-02-21 21:06:35 +01:00
Sebastian Sdorra
30733f96b8 indent 2015-02-16 15:38:31 +01:00
Sebastian Sdorra
e5184ac6a0 merge with branch issue-627 2015-02-10 20:50:06 +01:00
Sebastian Sdorra
8ccaaf3695 remove auto login modules because they are not longer needed, since we can determine the order of the filter chain 2015-02-06 22:41:34 +01:00
Sebastian Sdorra
30b49490a7 make use of new WebElement and Priority annotation 2015-02-01 19:52:53 +01:00
Sebastian Sdorra
436b27e8fc introducing HookBranchProvider to get informations about changed branches during a hook, see issue #668 2015-01-24 11:08:16 +01:00
Sebastian Sdorra
d707f0ee47 servlet fields should be final 2015-01-23 21:44:04 +01:00
Sebastian Sdorra
dcbd1d597e avoid receiving duplicate git commits, during a push with multiple new branches 2015-01-18 21:26:39 +01:00
Sebastian Sdorra
e2b4862ad4 retrieve only new git commits, do not collect commits from existing branches 2015-01-18 18:32:06 +01:00
Sebastian Sdorra
d6ce7383d6 merge with branch 1.x 2014-12-06 15:42:10 +01:00
Sebastian Sdorra
895af89c12 fix wrong changeset count for git push and pull commands 2014-12-01 14:45:43 +01:00
Sebastian Sdorra
47e073ebe6 merge with branch issue-634 2014-12-01 11:34:08 +01:00
Yuri Konotopov
fa40264997 Added utf-8 response encoding for git quick commit view 2014-11-25 19:35:56 +03:00
Sebastian Sdorra
c2cfe21945 do not try to convert git changesets from a receive command of type delete 2014-11-04 15:54:38 +01:00
Sebastian Sdorra
a6ecd7ba00 implement push/pull for remote urls 2014-11-01 12:32:21 +01:00
Sebastian Sdorra
8e608d2439 created small user-agent detection framework to choose the right encoding for basic authentication 2014-10-17 15:43:28 +02:00
Sebastian Sdorra
ef1cbf4dee use base uri from request for git quick repository view, see issue #631 2014-10-07 20:28:37 +02:00
Sebastian Sdorra
3abbff2317 use jgit java7 support, to improve git performance 2014-08-15 22:21:07 +02:00
Sebastian Sdorra
18c5c3ec97 merge with branch 1.x 2014-06-04 15:51:19 +02:00
Sebastian Sdorra
fad82c9690 fixed wrong resource paths 2014-05-23 11:48:19 +02:00
Sebastian Sdorra
72978a05af remove unused imports 2014-05-08 21:27:15 +02:00
Sebastian Sdorra
aa2ba0a1b6 git health check should be final 2014-05-08 21:23:07 +02:00
Sebastian Sdorra
e5e9ab5c0c implemented simple health check for git repositories 2014-05-08 21:21:56 +02:00
Sebastian Sdorra
3997c70926 merge with branch 1.x 2014-04-28 13:48:11 +02:00
Sebastian Sdorra
5505f683d7 remove debug output 2014-04-15 08:04:38 +02:00
Sebastian Sdorra
07363cbe82 move extension annotation from sonia.scm.plugin.ext to sonia.scm.plugin 2014-03-29 09:51:17 +01:00
Sebastian Sdorra
96b0c8f8b0 merge with branch 1.x 2014-03-17 10:49:52 +01:00