Commit Graph

722 Commits

Author SHA1 Message Date
Till-André Diegeler
cd16f0b033 Integrate creation of jgit/svnkit version status text files into build.gradle
Over the course of a very long time, the interpolation strings for the versions in the scm-git-plugin and scm-svn-plugin had not been processed. One assumption was that this was related to a discontinued Maven process.

The behavior was now realized by two tasks process after the gradle build lifecycle step. It remains to be discussed whether it's worth the time and effort to integrate the change into the smp plugin.
2024-10-28 23:19:47 +01:00
Rene Pfeuffer
141e45aa06 Simplify local storage access
The caching for local storage seems way over-engineered.
With this the context for the local storage is removed
and the local storage is accessed directly.

Pushed-by: k8s-git-ops<admin@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-10-28 15:05:13 +01:00
Till-André Diegeler
3adf366a18 Fix conflicting state behavior in DiffDropDown
Originally, the state of the DiffDropDown was not coupled to the LoadingDiff and instead a toggle method was forwarded. This was causing problems due to their detachment, and so the state of the DiffDropDown was tied to the LoadingDiff one. The original boolean values have been replaced with strings, so that nuances between 'hide all whitespaces' and 'show all whitespaces' in future feature additions can be recognized without affecting the API a second time.

Co-authored-by: Till-André Diegeler<till-andre.diegeler@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Till-André Diegeler<till-andre.diegeler@cloudogu.com>
2024-10-18 12:46:09 +02:00
Rene Pfeuffer
afdaee0442 Add tag guard 2024-10-16 16:14:22 +02:00
Thomas Zerr
5f38955af6 Adjust changelog for release 3.5.0 2024-10-09 14:12:45 +02:00
Viktor Egorov
b0521d2c4f Add provider for source links
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
Co-authored-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-09-30 09:43:49 +02:00
Rene Pfeuffer
e6433d01d1 Change to GNU Affero General Public License v3.0 2024-09-24 09:42:07 +02:00
Viktor Egorov
f95579c102 Add missing change types to diff statistics 2024-09-20 10:04:23 +02:00
Thomas Zerr
8f0ed74b7a Add table to diff view
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: k8s-git-ops<admin@cloudogu.com>
Committed-by: Thomas Zerr<thomas.zerr@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-09-16 17:52:10 +02:00
Rene Pfeuffer
96466807be Compute files with conflicts in merge dry run
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-09-13 10:21:06 +02:00
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