Commit Graph

13197 Commits

Author SHA1 Message Date
René Pfeuffer
2dc170475d Fix JavaDoc error 2024-08-30 13:44:49 +02:00
Rene Pfeuffer
6f9db230a7 Update java test libraries 2024-08-29 18:42:25 +02:00
CES Marvin
ddd673650a Prepare for next development iteration 2024-08-29 09:26:05 +00:00
CES Marvin
99dba687e0 Release version 3.4.1 3.4.1 2024-08-29 08:36:35 +00:00
Anna Vetcininova
ce0a2201eb Adjust changelog for release 3.4.1 2024-08-29 10:30:55 +02:00
Rene Pfeuffer
a2d82372e5 Handle NullPointerException in hgrc clean-up
We encountered NullPointerExceptions during hg repository imports. This happened, when neither authentication nor proxy definions had been given. In this case, no hgrc will be created and therefore we get the exception in the clean-up step. Now, the clean-up is only triggered, if the hgrc had been created beforehand.

To prevent further error in the clean-up, we no catch other potential exceptions and log them but do not let them break the import.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-08-29 08:50:51 +02:00
Thomas Zerr
316d03ad1a Fix logging
With this change,
- logs are only written to console when the server is started in foreground (prevents writing to scm-server.out file)
- the location of the log file is determined correctly, when it is configured with a relative path
- less logs are written to console on startup
- enabling file and console appenders via config.yml
2024-08-26 16:25:15 +02:00
Thomas Zerr
5d908b29d6 Improve Java Test compilation time
Co-authored-by: Sebastian Sdorra<sebastian.sdorra@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Sebastian Sdorra<sebastian.sdorra@cloudogu.com>
2024-08-23 10:30:49 +02:00
Thomas Zerr
090178a3dd Update env variable docs 2024-08-20 17:31:44 +02:00
Thomas Zerr
b8191dec2e Update support link 2024-08-19 14:45:28 +02:00
René Pfeuffer
ecd99de3c5 Clean up release process documentation 2024-08-19 13:16:24 +02:00
CES Marvin
acab8585a4 Prepare for next development iteration 2024-08-19 09:43:09 +00:00
CES Marvin
ea37d2ca20 Release version 3.4.0 3.4.0 2024-08-19 08:53:12 +00:00
Till-André Diegeler
4d5ef5a1ec Adjust changelog for release 3.4.0 2024-08-19 10:45:14 +02:00
Thomas Zerr
9ec95f5c48 Fix legacy-swc-helpers vulnerability
Fix legacy-swc-helpers vulnerability, by reducing the scope of the react-aria library to a minimum

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-08-15 10:47:50 +02:00
Thomas Zerr
39e8f66565 Add logging for the used scm-manager core version 2024-08-13 16:15:30 +02:00
Rene Pfeuffer
27f78d2347 Fix permission errors
The BaseReceivePackFactory re-used the GitReceiveHook. The&#10;problem is, that the hook is not thread safe. Due to the&#10;re-usage, the repository could have been changed during&#10;processing post receive hooks.&#10;&#10;With this, the factory will always create a new receive pack.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-08-08 16:27:48 +02:00
René Pfeuffer
db23e633f8 Fix changelog types 2024-08-08 09:55:31 +02:00
Tarik Gürsoy
797bda4bbb Add statistics for diffs (added, deleted, modified)
Extend the diff result from the diff command to include modified,
added and deleted file count and add DiffStats component to
ui-components.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-08-01 16:54:40 +02:00
Rene Pfeuffer
0708d1f2c5 fix: scm-packaging/docker/Dockerfile.alpine to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:&#10;- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386&#10;- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386&#10;- https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-6913411&#10;- https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249236&#10;- https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249265

Pushed-by: k8s-git-ops<admin@cloudogu.com>
Co-authored-by: snyk-bot<snyk-bot@snyk.io>
2024-07-31 15:07:15 +02:00
Renovate Bot
65c0c26452 Update dependency @types/enzyme to v3.10.14 (develop)
This PR contains the following updates:&#10;&#10;| Package | Type | Update | Change |&#10;|---|---|---|---|&#10;| [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/enzyme) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | devDependencies | patch | [&#96;3.10.13&#96; -&gt; &#96;3.10.14&#96;](https://renovatebot.com/diffs/npm/@types%2fenzyme/3.10.13/3.10.14) |&#10;&#10;---&#10;&#10;This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).&#10;&lt;!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIwLjAuMC1zZW1hbnRpYy1yZWxlYXNlIiwidXBkYXRlZEluVmVyIjoiMC4wLjAtc2VtYW50aWMtcmVsZWFzZSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ&#61;&#61;--&gt;&#10;

Pushed-by: Renovate Bot<renovate@scm-manager.org>
Co-authored-by: Renovate Bot<renovate@scm-manager.org>
2024-07-31 15:04:15 +02:00
Rene Pfeuffer
2208cce97e Fix dead temporary files
Pushed-by: k8s-git-ops<admin@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-07-30 15:40:31 +02:00
Laura Gorzitze
9df1389944 Improved Chip Input with explanatory line
Modification of the Chip Input component to allow addition of explanatory line

Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
2024-07-25 08:38:04 +02:00
Florian Scholdei
5bf5782f98 Fix broken link in docs 2024-07-24 11:17:39 +02:00
Tarik Gürsoy
5d50e2fe05 Export diffdropdown
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-07-11 17:00:34 +02:00
Viktor Egorov
4b1052c8f6 dropdown for changesetdetails
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
2024-07-10 10:11:17 +02:00
CES Marvin
2254420221 Prepare for next development iteration 2024-07-05 12:20:01 +00:00
CES Marvin
f2f3cb62ed Release version 3.3.0 3.3.0 2024-07-05 11:34:01 +00:00
Thomas Zerr
c1e3d5ab3e Adjust changelog for release 3.3.0 2024-07-05 13:28:57 +02:00
Thomas Zerr
783a065a77 Change icon for details button
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-07-05 12:54:46 +02:00
Rene Pfeuffer
48b4978a3b Fix privilege escalation in namespaces
This fixes the following security issue:&#10;If a user creates a new repository in a namespace this user had no permission to read any repository from, the user gets OWNER permissions on this namespace and all other permissions are removed from this namespace.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-07-05 12:24:24 +02:00
Tarik Gürsoy
bb4589e87f Manual merge instructions have been fixed 2024-07-04 10:28:53 +02:00
Laura Gorzitze
87714f5e1b Fix written offer 2024-07-04 09:59:01 +02:00
Laura Gorzitze
b12f4d579a Notification if external user management is activated
A notification will be displayed when an external user
management system is activated to inform that users
created within the SCMM will not be transferred to the
external system.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-07-04 09:05:17 +02:00
Rene Pfeuffer
1c57342cd9 Catch exceptions from trace exporters
This prevents errors in exporters (like the trace plugin) to escalate. In a specific case it could happen, that due to the cas plugin and the trace plugin the login failed when the trace file for cas was corrupt, because the trace monitor filed to log the cas request and threw an exception due to which the whole login process through cas was blocked.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-07-03 10:59:00 +02:00
Eduard Heimbuch
29a6b42fce Check for external merge tools during merge
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-06-25 05:50:04 +02:00
René Pfeuffer
11a2dcda41 Re-add Sonar build stage 2024-06-24 14:36:46 +02:00
CES Marvin
a0db5326be Prepare for next development iteration 2024-06-24 12:35:52 +00:00
CES Marvin
bad14dfcfa Release version 3.2.2 3.2.2 2024-06-24 12:23:27 +00:00
René Pfeuffer
8434e07d76 Adjust changelog for release 3.2.2 2024-06-24 11:58:11 +02:00
René Pfeuffer
e29d30c578 Merge branch 'hotfix/2.46.4' into develop
# Conflicts:
#	CHANGELOG.md
#	gradle.properties
#	scm-dao-xml/src/main/java/sonia/scm/repository/xml/XmlRepositoryDAO.java
#	scm-plugins/scm-git-plugin/package.json
#	scm-plugins/scm-hg-plugin/package.json
#	scm-plugins/scm-legacy-plugin/package.json
#	scm-plugins/scm-svn-plugin/package.json
#	scm-ui/e2e-tests/package.json
#	scm-ui/ui-api/package.json
#	scm-ui/ui-buttons/package.json
#	scm-ui/ui-components/package.json
#	scm-ui/ui-extensions/package.json
#	scm-ui/ui-forms/package.json
#	scm-ui/ui-layout/package.json
#	scm-ui/ui-legacy/package.json
#	scm-ui/ui-modules/package.json
#	scm-ui/ui-overlays/package.json
#	scm-ui/ui-plugins/package.json
#	scm-ui/ui-polyfill/package.json
#	scm-ui/ui-scripts/package.json
#	scm-ui/ui-shortcuts/package.json
#	scm-ui/ui-styles/package.json
#	scm-ui/ui-syntaxhighlighting/package.json
#	scm-ui/ui-tests/package.json
#	scm-ui/ui-text/package.json
#	scm-ui/ui-types/package.json
#	scm-ui/ui-webapp/package.json
2024-06-24 11:53:58 +02:00
CES Marvin
c023ebf3ff Release version 2.46.4 2.46.4 2024-06-24 08:59:07 +00:00
Eduard Heimbuch
79326f3c1b Fix highlighting for search results which were not marked properly
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2024-06-24 10:54:37 +02:00
René Pfeuffer
e8af0ee7cd Adjust changelog for release 2024-06-24 10:51:24 +02:00
Laura Gorzitze
38d0325b4c Check on duplicate name for rename
Add check whether namespace and name already exist
when renaming a repository.
2024-06-24 10:12:53 +02:00
Laura Gorzitze
74ec91a95c Prepare for next development iteration 2024-06-21 09:53:02 +02:00
Rene Pfeuffer
b98cdeb28d Fix sub repositories in mercurial
The sub repositories did not show up in the source view.&#10;This fixes python errors for the computation of sub&#10;repositories in hg.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-06-19 17:46:42 +02:00
Laura Gorzitze
d74fd099cc Add written offer to the distributions
Add written offer as a text file in all distributions

Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Committed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Pushed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
2024-06-18 15:23:30 +02:00
Laura Gorzitze
978aebf664 Fix distribution call when calling without setting hotfix variable 2024-06-18 10:52:14 +02:00
Laura Gorzitze
25548e9f0a Add error description for read-only exception 2024-06-18 09:47:52 +02:00