Commit Graph

662 Commits

Author SHA1 Message Date
Rene Pfeuffer
6f9db230a7 Update java test libraries 2024-08-29 18:42:25 +02: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
Till-André Diegeler
4d5ef5a1ec Adjust changelog for release 3.4.0 2024-08-19 10:45:14 +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
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
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
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
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
8434e07d76 Adjust changelog for release 3.2.2 2024-06-24 11:58:11 +02: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
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
Florian Scholdei
03e5ecbc7c Form on search page retains context
The result category will no longer be reset
to 'repository' when the search query is
refined and resubmitted.
2024-06-12 13:55:35 +02:00
Eduard Heimbuch
728915fe1c Prevent hiding the inner content on diffs without content
. This breaks the file comments on empty files in the review plugin.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2024-06-10 15:45:46 +02:00
Tarik Gürsoy
5145bc9300 Add documentation for the search syntax
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-06-10 14:03:36 +02:00
Viktor Egorov
5d446278d9 Fixed branch name limit
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-06-10 13:21:30 +02:00
René Pfeuffer
4a79718531 Adjust changelog for release 3.2.1 2024-05-31 09:25:39 +02:00
Florian Scholdei
59238eb0ea Fix mirror tag import
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-05-29 08:47:19 +02:00
Florian Scholdei
96548dad88 Enhance CHANGELOG.md 2024-05-28 11:04:59 +02:00
Thomas Zerr
b9abe8a729 Adjust changelog for release 3.2.0 2024-05-23 11:17:03 +02:00
Thomas Zerr
09d72280d0 Fix exact search
Previously a query was only parsed by lucene as it is, if the query
contained a colon (:) or a wildcard character (*). With this, every query
gets parsed as it is, as long as there is one operator contained inside
the query (colon, quotation marks, logical operators, ...). These are
called "expert queries". All other queries are still processed as
"simple queries" where every part of the query is extended with a
wildcard operator.

Addtionally the user is now getting feedback for every
search, if the query is a simple query or an expert query. The syntax
documentation got also extended with the quotation mark operator
and the definition of the two query types.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-05-14 11:45:10 +02:00
Viktor Egorov
c8ef99cf07 Add option to hide whitepace changes in diffs
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>


Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2024-05-14 11:33:48 +02:00
Laura Gorzitze
f811831858 Fix mirror tag component to show color respective to synchronisation status
Adjust component used for mirror tag in Respository-Mirror-Plugin to display a wider range of colors in order to display color respective to synchronisation status

Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Pushed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-05-08 13:47:24 +02:00
Thomas Zerr
6fbde760d4 Fix double /trunk folder bug
With this change, every repository initializer gets its own modification command and therefore its own commit. This allows each initializer to decide on its own, if he want to use the default path of the repository.
2024-04-30 15:28:08 +02:00
Viktor Egorov
cdbf86b8c9 Add option to mark whitespace characters in diffs
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-04-26 15:15:52 +02:00
Florian Scholdei
3773d77889 Add possibility to specify StickyHeader top position of Diff component 2024-04-22 18:04:26 +02:00
Tarik Gürsoy
4aec33177c added a11y tooltip
a11y tooltip has been implemented according to the figma mockup

Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-04-22 09:25:51 +02:00
Rene Pfeuffer
c7b3511942 Update bouncycastle due to snyk
See SNYK-JAVA-ORGBOUNCYCASTLE-6612985
2024-04-17 16:45:18 +02:00
Tarik Gürsoy
fdb6f2cd42 Implement new Icon Button component
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-04-11 16:31:13 +02:00
Viktor
53db64d064 Adjust changelog for release 3.1.0 2024-04-09 09:47:07 +02:00
Thomas Zerr
cbf04bee5a Add changelog 2024-04-09 09:40:56 +02:00
Rene Pfeuffer
72f571c3b7 Update node to v21.x 2024-04-05 16:38:25 +02:00
Thomas Zerr
9da7a4dac7 Update Legman dependency to v2.0.3
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-03-26 14:23:05 +01:00
Rene Pfeuffer
c6126e4702 Mind offset for top navigation bar on scrolling
This fixes the issue, that links to anchor tags in&#10;markdown documents have been scrolled a bit too far,&#10;so that the targeted element ended up below the&#10;navigation bar. Now, the height of the navigation&#10;bar is taken into account.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-03-14 15:05:11 +01:00
Laura Gorzitze
8d12862ff8 Display all tags for changeset
Display of all tags (as links to the  overview of the specific tag) of a given changeset in the changeset detail view.
2024-03-11 17:09:59 +01:00
Rene Pfeuffer
658ccdf006 Improve import of LFS files for pull and mirror
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-03-11 11:13:42 +01:00