Commit Graph

8889 Commits

Author SHA1 Message Date
Rene Pfeuffer
7bd48c91bc Fix error for empty repositories 2019-12-13 14:41:55 +01:00
Rene Pfeuffer
5e47ef0323 Compute LFS attributes on top commit
In the previous version, the LFS attributes were read for the latest
commit of the file. This is not the way, a git client handles LFS files.
Therefore we switch to the way, the native git client works and read the
attributes from the commit of the command.
2019-12-13 14:41:36 +01:00
Sebastian Sdorra
8410e7e679 Log duration of commit message calculation and do not synchronize over all instances 2019-12-13 13:52:08 +01:00
Sebastian Sdorra
0374aad7a7 DefaultSyncAsyncExecutorProvider should be a Singleton 2019-12-13 13:46:20 +01:00
Rene Pfeuffer
c8a115a373 Mark files aborted recursively 2019-12-13 08:20:26 +01:00
Rene Pfeuffer
ee0972ef34 synchronize cache updates 2019-12-12 17:31:55 +01:00
Rene Pfeuffer
1beaf9d53a Cleanup 2019-12-12 17:03:37 +01:00
Rene Pfeuffer
211aa15399 Make tasks explicit 2019-12-12 16:29:42 +01:00
Rene Pfeuffer
4fd2a0dd23 Small API changes 2019-12-12 16:13:36 +01:00
Rene Pfeuffer
6c8820719e File size is unknown when not computed 2019-12-12 11:52:44 +01:00
Rene Pfeuffer
8df43e7b4e Let background computations abort for browse command 2019-12-12 11:47:03 +01:00
Rene Pfeuffer
f7dc89ee81 Reload partial results 2019-12-11 15:49:33 +01:00
Rene Pfeuffer
58cff0797b Remove redundant mapper
FileObjectToFileObjectDtoMapper#map and
BrowserResultToFileObjectDtoMapper#fileObjectToDto had the same
mapstruct implementation.
2019-12-11 15:09:53 +01:00
Rene Pfeuffer
8129f2fad0 Add 'partial' flag to files 2019-12-11 14:41:42 +01:00
Rene Pfeuffer
9caf6c0984 Update cache after each file 2019-12-11 14:01:17 +01:00
Rene Pfeuffer
093c0abb02 Add unit test for asynchronous browse 2019-12-11 13:32:05 +01:00
Rene Pfeuffer
7c0eb9251a Add unit test 2019-12-11 13:00:07 +01:00
Rene Pfeuffer
a37df2c20b Fix test helper 2019-12-11 12:58:01 +01:00
Rene Pfeuffer
9a8f0a4ee7 Use interfaces for executor classes 2019-12-11 12:42:21 +01:00
Rene Pfeuffer
ce15b116bd Introduce SyncAsyncExecutor 2019-12-11 10:10:56 +01:00
René Pfeuffer
8d0249b708 Make timeout configurable 2019-12-10 18:22:40 +01:00
René Pfeuffer
6f4074c21c Update browser result after computation 2019-12-10 18:10:11 +01:00
Rene Pfeuffer
87904e3da8 Stop fetching commits when this takes too long
This is a first step to create results in big repositories. Next step
should be querying the commit messages in the background and update
cached results for further requests.
2019-12-10 15:56:56 +01:00
Rene Pfeuffer
11acf7ad21 Enable cache for browse results 2019-12-10 15:50:33 +01:00
Rene Pfeuffer
f85ae4f7f1 Guard against empty commit 2019-12-10 15:03:05 +01:00
Rene Pfeuffer
d521de6d07 Merged in bugfix/classloader_leak (pull request #361)
Bugfix/classloader leak
2019-12-06 13:45:47 +00:00
Rene Pfeuffer
1266498644 Close branch bugfix/classloader_leak 2019-12-06 13:45:47 +00:00
Rene Pfeuffer
4a782db1fa Implement test 2019-12-06 14:44:50 +01:00
Rene Pfeuffer
fb8d512ec6 Fix integration tests
Without this flag, the server will not be shutdown fast
enough between the integration tests of scm-webapp and
scm-it. Therefore the new server cannot start correctly
whicht results in an error (ShutdownMonitor already started)
2019-12-06 13:45:10 +01:00
Rene Pfeuffer
c72551a987 Include new rest dispatcher test api 2019-12-06 13:36:08 +01:00
Rene Pfeuffer
6e40f77973 Add exception to default exception mapper set 2019-12-06 13:33:37 +01:00
Rene Pfeuffer
d0f8e4ccf2 Rename utility class 2019-12-05 17:43:21 +01:00
Rene Pfeuffer
e363f057b2 Merge with bugfix/classloader_leak 2019-12-05 17:04:27 +01:00
Sebastian Sdorra
46ff2a0372 Merged in feature/copy_on_write (pull request #369)
Copy on write
2019-12-05 14:21:35 +00:00
Sebastian Sdorra
2f7f160db3 Close branch feature/copy_on_write 2019-12-05 14:21:35 +00:00
Sebastian Sdorra
9525cba06b suppress sonarqube nio performance warning 2019-12-05 15:20:47 +01:00
Sebastian Sdorra
88c3860092 merge with default branch 2019-12-05 13:49:20 +01:00
Sebastian Sdorra
149ea73e00 move comparators from scm-review-plugin to ui-components 2019-12-05 13:16:54 +01:00
Eduard Heimbuch
716c357518 Merged in feature/ui_development_mode (pull request #370)
Feature/ui development mode
2019-12-05 09:57:48 +00:00
Eduard Heimbuch
2d88b54594 Close branch feature/ui_development_mode 2019-12-05 09:57:48 +00:00
Rene Pfeuffer
11391f2f64 Merge with default 2019-12-05 10:53:33 +01:00
Eduard Heimbuch
dac3f4192d merge 2019-12-05 10:30:32 +01:00
Eduard Heimbuch
ff3a71f9d3 make label optional on Autocomplete component since its already used without label 2019-12-05 10:29:39 +01:00
Rene Pfeuffer
503bd8fa16 Enhance error handling 2019-12-05 10:10:26 +01:00
Rene Pfeuffer
b2bbd1d9b5 Enhance error handling 2019-12-05 10:06:17 +01:00
Sebastian Sdorra
79abecfd36 fix typecheck on case insensitive file systems 2019-12-05 08:56:40 +01:00
Rene Pfeuffer
791437a905 Use copy on write in repository db 2019-12-05 07:57:47 +01:00
Rene Pfeuffer
9ca2a57667 Fix unit test 2019-12-05 07:43:26 +01:00
Rene Pfeuffer
c4ed6f917d Use copy on write in JAXB store implementations 2019-12-04 17:16:17 +01:00
Rene Pfeuffer
3e3ab69b14 Create function for copy on write 2019-12-04 17:04:46 +01:00