Commit Graph

10127 Commits

Author SHA1 Message Date
René Pfeuffer
7f3f47c4c8 Close file lists
Though we could not reproduce an error even with real big file
structures (100 directories, containing each another 100 directories
with 100 files each), it may be safer to make sure the streams will
really be closed in the end and recommended in the javadoc description
for Files#list
(https://docs.oracle.com/javase/8/docs/api/java/nio/file/Files.html#list-java.nio.file.Path-)
2020-06-16 11:51:50 +02:00
René Pfeuffer
b3040678c5 Fix versions in package.json files 2020-06-16 10:58:37 +02:00
eheimbuch
d502b9a864 Merge pull request #1184 from scm-manager/bugfix/set_new_plugin_center_url
Set new plugin center URL in update step
2020-06-15 13:45:43 +02:00
René Pfeuffer
c675b77470 Set new plugin center url in update step
Fixes the issue, that migrated instances of SCM-Manager still use the
old plugin center url and therefore cannot read the new plugins.
2020-06-15 11:25:28 +02:00
eheimbuch
4f79f14b3d Merge pull request #1182 from scm-manager/bugfix/plugins_without_context_root
Fix loading plugin resources without context path
2020-06-15 09:22:06 +02:00
Florian Scholdei
9270ae1755 Correct uniformity in the overall appearance of all menus, otherwise always singular. 2020-06-12 18:07:44 +02:00
René Pfeuffer
6fea201cc7 Fix loading plugin resources without context path
When the context path is set to '/', we get an empty context
path. Nonetheless the URL has to start with a '/'. So we have
to add it explicitly, here.
2020-06-12 14:21:52 +02:00
Sebastian Sdorra
0137a5a238 fixed repeating wrong contributor avatars 2020-06-12 11:53:33 +02:00
René Pfeuffer
01164a247d Merge pull request #1169 from scm-manager/feature/show-git-trailer
Show git trailer
2020-06-11 08:59:54 +02:00
Sebastian Sdorra
82f4dd08c1 merge with develop 2020-06-11 08:21:06 +02:00
Sebastian Sdorra
6dda5ba682 fixed table of contributors for changesets without contributors 2020-06-11 08:18:32 +02:00
Sebastian Sdorra
5f9d05793b removed magical number from localization of contributor count 2020-06-11 08:15:41 +02:00
Sebastian Sdorra
929b4e7678 Merge branch 'feature/show-git-trailer' of github.com:scm-manager/scm-manager into feature/show-git-trailer 2020-06-11 08:09:06 +02:00
Sebastian Sdorra
9d6621ca51 fixed error without contributors 2020-06-11 08:08:47 +02:00
Sebastian Sdorra
385c054832 Update scm-ui/ui-webapp/public/locales/de/repos.json
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-06-11 08:02:57 +02:00
Sebastian Sdorra
1bcb182bd3 Merge pull request #1178 from scm-manager/feature/expand_diff
Feature Expand Diff
2020-06-11 07:25:18 +02:00
René Pfeuffer
b8dc613c78 Add simple performance optimization 2020-06-10 14:32:59 +02:00
René Pfeuffer
4bbc06f30c Fix type check error 2020-06-10 14:00:45 +02:00
René Pfeuffer
0a03d4c136 Fix import 2020-06-10 14:00:45 +02:00
René Pfeuffer
fc72cb8d5f Add story for expandable diffs 2020-06-10 14:00:45 +02:00
René Pfeuffer
4e69d03678 Document query parameters 2020-06-10 14:00:45 +02:00
René Pfeuffer
e6deecca17 Add divider for not parsed hunks 2020-06-10 14:00:45 +02:00
René Pfeuffer
86282e570f Fix layout and pointer hand for expand link 2020-06-10 14:00:45 +02:00
René Pfeuffer
76ee9467df Fix formatting 2020-06-10 14:00:45 +02:00
René Pfeuffer
1fcc47743e Log change 2020-06-10 14:00:45 +02:00
René Pfeuffer
56a6792826 Fix angle 2020-06-10 14:00:45 +02:00
René Pfeuffer
e28107aded Remove redundant translations 2020-06-10 14:00:45 +02:00
René Pfeuffer
cb37e7b069 Add german translation 2020-06-10 14:00:45 +02:00
René Pfeuffer
f6916fc7e1 Use font awesome angles 2020-06-10 14:00:45 +02:00
René Pfeuffer
35c78b7ad9 Handle errors and show loading state 2020-06-10 14:00:45 +02:00
René Pfeuffer
2ca15316fd Prepare error handling for expansion 2020-06-10 14:00:45 +02:00
René Pfeuffer
850df6a641 Use promise instead of callback 2020-06-10 14:00:45 +02:00
Sebastian Sdorra
ce2212d41f removed unused import 2020-06-10 13:49:08 +02:00
René Pfeuffer
5b35328e42 Allow hunk specific class names 2020-06-10 11:37:22 +02:00
René Pfeuffer
237bdaf89c Extract common code 2020-06-10 11:37:22 +02:00
René Pfeuffer
d909ff4ae4 Add marker for expansion hunks 2020-06-10 11:37:22 +02:00
René Pfeuffer
5d7641f129 Use source branch for lines 2020-06-10 11:37:22 +02:00
René Pfeuffer
fde26cd8b7 Create new hunks instead of expanding the existing ones
This is necessary to distinguish between "real" diff lines and those
created due to expansion.
2020-06-10 11:37:22 +02:00
René Pfeuffer
586d9ac0d3 Remove log 2020-06-10 11:37:22 +02:00
René Pfeuffer
4b54597e26 Fix expanding diffs without 'normal' line at the end 2020-06-10 11:37:21 +02:00
René Pfeuffer
2ad3773340 Fix unit test 2020-06-10 11:37:21 +02:00
René Pfeuffer
a672716299 update storyshots 2020-06-10 11:37:21 +02:00
René Pfeuffer
f48ee91776 Fix types 2020-06-10 11:37:21 +02:00
René Pfeuffer
751a2bfa9b Implement option to load rest of files completely 2020-06-10 11:37:21 +02:00
René Pfeuffer
b86c025b37 Remove expand marker at bottom when fully expanded 2020-06-10 11:37:21 +02:00
René Pfeuffer
8c1d463e09 Give two options for diff expansion (some or all lines) 2020-06-10 11:37:21 +02:00
René Pfeuffer
e7f03378a4 Fix line number calculation for patch 2020-06-10 11:37:21 +02:00
René Pfeuffer
5bf624d087 Simplify test data 2020-06-10 11:37:21 +02:00
René Pfeuffer
83145d953b Handle following "real" line breaks correctly 2020-06-10 11:37:21 +02:00
René Pfeuffer
ebfc267b93 Patch hunks with new lines 2020-06-10 11:37:21 +02:00