12230 Commits

Author SHA1 Message Date
CES Marvin
2817c87813 Release version 2.28.0 2.28.0 2021-12-22 17:49:10 +00:00
René Pfeuffer
722c4b431b Adjust changelog for release 2.28.0 2021-12-22 16:46:14 +01:00
René Pfeuffer
805ab36144 Fix links from user settings to profile 2021-12-22 16:43:24 +01:00
René Pfeuffer
37f89bed77 Fix colors in autocomplete component (#1905)
Further fixes for the high contrast mode, modly regarded to the autocomplete component.

This is a fixup for #1892

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-12-22 14:07:03 +01:00
Matthias Thieroff
bc86ed4474 Display search result fixes (#1901)
Fix syntax highlighting on non highlighted fields. Fix ellipsis on new lines in code syntax highlighting. Fix ellipsis on content start or end in non code fields.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-12-21 15:10:08 +01:00
Matthias Thieroff
5b700dc0c7 Fix closing of repository while getting the latest commit asynchronously (#1903)
Getting the latest commit can run asynchronously, which can lead to a reopening of a repository after the RepositoryService has already closed it. This lead to an open file handle which prevented a proper deletion of the repository. We now explicitly open and close the repository when getting the latest commit.
2021-12-21 15:09:41 +01:00
René Pfeuffer
784817d20c Merge branch 'master' into develop 2021-12-20 08:49:44 +01:00
CES Marvin
c7f603b96d Release version 2.27.4 2.27.4 2021-12-17 21:15:28 +00:00
René Pfeuffer
631aafafa6 Update logback 2021-12-17 19:29:52 +01:00
René Pfeuffer
02c431cc06 Adjust changelog for release 2.27.4 2021-12-17 19:20:22 +01:00
René Pfeuffer
3bb9b423a1 Update logback 2021-12-17 19:18:32 +01:00
Eduard Heimbuch
fb7aecd5e1 Revert popover changes 2021-12-17 16:27:58 +01:00
Florian Scholdei
16960d742e High contrast mode findings (#1892)
Fixes most of the flaws in high contrast mode.
2021-12-16 17:54:39 +01:00
René Pfeuffer
089862b7ef Add last committer on branch detail page (#1900) 2021-12-16 16:27:57 +01:00
Eduard Heimbuch
af35ab5ff8 Fix extension point "main.route" which was broken because the index links were no longer provided. This broke the activity plugin and maybe some other plugins too. 2021-12-16 15:47:11 +01:00
pmarkiewka
e70e860e07 Adds compatibility for OCP and ICP (#1870)
Adds compatibility for OCP (openshift container platform) and ICP (IBM cloud private)

- Sets folder permissions to group 0, because the arbitrary assigned user ids in openshift are all part of group 0
- Removes usage of root user 0, because it is prohibited in some environments
- Use numerical user id, because some environments do not accept non-numerical user ids
- Removes initContainer for setting volume permissions, because it is not needed anymore
- Removes chown in plugin script, because it is not needed anymore
- Adds extraArgs option in Helm chart to add arguments on server startup, i.e. initial admin username and password

Signed-off-by: pmarkiewka <philipp.markiewka@cloudogu.com>
2021-12-16 13:59:56 +01:00
Eduard Heimbuch
71cff95b7b Upgrade changelog plugin to 0.1.6 2021-12-16 13:18:52 +01:00
Sebastian Sdorra
a3ec5bcbeb Improved quick search experience for screen readers (#1898)
Improved screen reader experience by adding textual description of search results, which are only readable for screen readers.
2021-12-16 11:51:34 +01:00
Matthias Thieroff
11673e6d07 Fix display of ellipsis in search fragments (#1896)
Display ellipsis as an indicator that there is more content before or behind a search result fragment only if there really is more content.
2021-12-15 15:07:46 +01:00
René Pfeuffer
1118ddd146 Ahead/behind in branch details (#1893)
Adds the ahead/behind count to the branch details view.
2021-12-15 15:03:40 +01:00
René Pfeuffer
8f14956017 Merge remote-tracking branch 'origin/master' into develop 2021-12-14 20:38:34 +01:00
CES Marvin
7b63a6d0bf Release version 2.27.3 2.27.3 2021-12-14 18:58:40 +00:00
René Pfeuffer
80da26cf08 Adjust changelog for release 2.27.3 2021-12-14 19:50:25 +01:00
René Pfeuffer
de22cf0d19 Upgrade logback (#1894)
Upgrade Logback to v1.2.8.
2021-12-14 19:47:52 +01:00
René Pfeuffer
c86c9a21c0 Suppress sonar issue
This issue should not be valid, because branches should have been validated by
other layers beforehand.
2021-12-13 18:09:59 +01:00
Sebastian Sdorra
e2d63cc2a1 Use more accurate language detection for syntax highlighting (#1891)
Updated spotter to version 4 in order to get prism syntax mode for detected coding languages.
Expose syntax modes of coding languages as headers on content endpoint and as fields on diff dto.
Remove leading line break on search result fragments.
Use mark instead of span or strong for highlighted search results.
Add option to use syntax highlighting in TextHitField component.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2021-12-13 17:03:08 +01:00
Sebastian Sdorra
6eba01161f Integrate Plugin Center myCloudogu Authentication (#1884)
Allows scm-manager instances to authenticate with the configured plugin center. If the default plugin center is used, a myCloudogu account is used for authentication which in turn enables downloading special myCloudogu plugins directly through the plugin administration page.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: Matthias Thieroff <93515444+mthieroff@users.noreply.github.com>
Co-authored-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
2021-12-13 15:15:57 +01:00
Konstantin Schaper
c95888d491 fix repository rename dialog not receiving focus on opening 2021-12-13 09:46:40 +01:00
Eduard Heimbuch
b8d6c219ee Add extension point to branches overview (#1888)
Prepare branches overview to show additional branch details.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-12-10 11:04:59 +01:00
René Pfeuffer
b2d7ed88e4 Explain provision exception (#1890)
When the ResourceLinks class could not access the
scmPathInfoStore due to an invalid request scope
(that is outside http requests), this might
lead to confusion due to messages from guice. We
try to "fix" these by using an own explanation to
what probably went wrong and how to mitigate this.
2021-12-09 15:48:42 +01:00
Eduard Heimbuch
289175331f Fix es lint errors and warnings and enforce es lint as build breaker. (#1878)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-12-09 09:12:02 +01:00
René Pfeuffer
65d1e4ffd2 Fix access to ScmPathInfoStore as Provider to prevent injection errors (#1889)
Fix access to ScmPathInfoStore as Provider to prevent injection errors. Errors might happen, if beans using ScmPathInfoStore (like the BranchLinkProvider) are injected in beans that are singletons or that have be created outside of request scope otherwise. We do so knowing that this might lead to runtime errors (eg. when links shall be build in a thread that has no request scope). We have decided nonetheless that injection errors on startup are worse for plugin developers, that may have no clue how to solve injection problems.
2021-12-09 07:05:12 +01:00
Eduard Heimbuch
49a2a90c0d Update intellij-idea-configuration.md
Remove outdated config
2021-12-07 12:26:17 +01:00
Sebastian Sdorra
9375d2694c Highlight only queried fields (#1887)
Expert queries highlight only the fields which are used in the query.
2021-12-07 08:08:21 +01:00
Sebastian Sdorra
ad5bbfeef3 Fix search highlighting conflict with jsx code (#1886)
Replaces "<>", "</>" highlighting marks with "<|[[--" and "--]]|>" to avoid conflicts when highlighting jsx code.
2021-12-06 16:49:31 +01:00
Eduard Heimbuch
e4936260a1 Fix overview document title (#1885) 2021-12-03 13:56:31 +01:00
Eduard Heimbuch
f7d8636b35 Fix footer links (#1882)
Fix footer links. Before each personal link were redirected to the theme page.
2021-12-03 08:50:37 +01:00
Eduard Heimbuch
4aee350c02 Fix undefined check on branches details query hook 2021-12-02 14:21:46 +01:00
Sebastian Sdorra
3bc3554420 Mark isValid as internal method 2021-12-02 11:17:40 +01:00
Sebastian Sdorra
85117ded16 Mark committer as optional 2021-12-02 10:59:48 +01:00
Sebastian Sdorra
e1100af7b8 Add missing getter for nested author and committer 2021-12-02 10:32:52 +01:00
René Pfeuffer
fa17c339a2 Bugfix for files with colons (#1881)
Fix source code view for files with colons (:).
2021-12-02 09:29:23 +01:00
Florian Scholdei
7f807a8e0f Improve headings structure (#1883)
The content of the SCM-Manager should be made accessible and usable in a sensibly structured way so that web content is easy to use for ever user.
2021-12-02 08:45:50 +01:00
Eduard Heimbuch
9cc134f5a8 Feature/branch details (#1876)
Enrich branch overview with more details like last committer and ahead/behind commits. Since calculating this information is pretty intense, we request it in chunks to prevent very long loading times. Also we cache the results in frontend and backend.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-12-01 14:19:18 +01:00
René Pfeuffer
ce2eae1843 Enhance error messages on gpg key import (#1879) 2021-11-30 12:22:54 +01:00
Konstantin Schaper
9fc10c0bdb implement hook & fix build (#1877) 2021-11-30 09:49:16 +01:00
René Pfeuffer
6ea77b42ca Fix edge cases in move (#1874)
Fixes edge cases for "move" in the modify command, like

- reject backslashes in validation
- add overwrite option
- check for invalid source and target options

This is an update to the implementation of "move" in #1859.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2021-11-30 08:49:47 +01:00
Eduard Heimbuch
5eb1d9cd22 Clean up html structure (#1869)
Fix different html syntax errors to improve a11y.
2021-11-29 13:57:05 +01:00
Konstantin Schaper
542a5aac59 upgrade query-string dependency version (#1875)
* upgrade query-string dependency version

* fix typings and implementation for getQueryStringFromLocation
2021-11-29 11:21:45 +01:00
Sebastian Sdorra
9dee08f68d Update Gradle to 7.3 (#1873)
Update Gradle to 7.3. in order to profit from the performance improvement and to prepare for dependency lockfiles. Due to the upgrade to 7.x we had to use a license plugin which supports Gradle 7.
2021-11-29 09:05:24 +01:00