Commit Graph

2428 Commits

Author SHA1 Message Date
Florian Scholdei
a2afc40432 Remove plugin center authentication
Squash commits of branch feature/remove_plugin_center_auth:

- Remove plugin center authentication

- Fix i18n file

- Fix tests

- Changelog entry
2025-06-11 10:58:57 +02:00
Till-André Diegeler
60b672cf59 Introduce retain and deleteAll for queryable stores 2025-06-10 15:59:31 +02:00
Till-André Diegeler
6165bd3d63 Revert "Remove plugin center authentication"
This reverts commit d353c9a96b.
2025-06-06 11:27:16 +02:00
Florian Scholdei
d353c9a96b Remove plugin center authentication
Squash commits of branch feature/remove_plugin_center_auth:

- Remove plugin center authentication

- Fix i18n file

- Fix tests

- Changelog entry
2025-06-05 09:31:55 +02:00
Till-André Diegeler
b0b58d4e4f Add IdField for consistent id assignment
This change is supposed to solve the problem where the same id may occur in both the payload and the actual table column.
2025-06-02 14:37:43 +02:00
Renovate Bot
f03a54ab19 Update dependency redux to v4.2.1 (develop)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [redux](http://redux.js.org) ([source](https://github.com/reduxjs/redux)) | dependencies | patch | [`4.2.0` -> `4.2.1`](https://renovatebot.com/diffs/npm/redux/4.2.0/4.2.1) |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIwLjAuMC1zZW1hbnRpYy1yZWxlYXNlIiwidXBkYXRlZEluVmVyIjoiMC4wLjAtc2VtYW50aWMtcmVsZWFzZSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->
2025-05-14 11:14:57 +02:00
Rene Pfeuffer
c8d3e00f16 Do not use mockito for tests with queryable types
Using mockito is fine as long as one does not try to create
a huge amount of data. In this case it might happen, that
mockito needs a lot of memory (probably to track single
calls to methods) and in doing so might spoil load tests
and such.
2025-05-08 13:34:17 +02:00
Thomas Zerr
63a936d5e2 Add anonymous health check endpoint
Besides the endpoint, another API was added, the ShouldRequestPassChecker.
This api should be used to check whether a REST Request should be passed or rejected.
2025-05-02 14:00:05 +02:00
Rene Pfeuffer
6dbe92d015 Show detailed timestamps for commits 2025-04-25 13:40:09 +02:00
Rene Pfeuffer
01e8d493d2 Add aggregate functions and streams in queryable store
First, aggregate functions for minimum, maximum, sum and average
have been added to the queryable store API. These can be used
with the query fields, which have been enhanced for this.

Second, an additional stream like API has been added to retrieve
collections to avoid the creation of huge result objects.
2025-04-09 13:12:33 +02:00
Rene Pfeuffer
ada575d871 Add queryable store with SQLite implementation
This adds the new "queryable store" API, that allows complex
queries and is backed by SQLite. This new API can be used
for entities annotated with the new QueryableType annotation.
2025-04-01 16:18:04 +02:00
Till-André Diegeler
d5362d634b Fix javadoc errors
Tasks.documentation.javadoc threw around 50 errors due to multiple inconsistencies within the javadoc comments.

Furthermore, the option 'failOnError' is now set to 'true' so that future Javadoc errors in our codebase are avoided.
2025-03-25 00:05:14 +01:00
Thomas Zerr
6d2ec8a70a Add API for updating RepositoryPermissions
Squash commits of branch feature/permission-updater:

- Add API for updating RepositoryPermissions

- Add licensing and logging

- Fix assertion depending on the order of item serialization

- Replace manual logger setup with @Slf4j annotation
2025-03-03 11:16:10 +01:00
Till-André Diegeler
f0f7e922bf Introduce Git Revert functionality to SCM-Manager 2025-02-27 11:11:57 +01:00
Viktor Egorov
19930804a0 Add Configuration to JWT lifetime length 2025-02-25 13:16:27 +01:00
Rene Pfeuffer
45801c9813 Remove unused class IterableQueue
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-12-19 09:14:37 +01:00
Rene Pfeuffer
4ebf0e2044 Adds 'head' as revision for Subversion repositories
To still support the editor plugin, a new field in the
browse command results is needed to indicate, whether
such a result or rather the requested revision can be
modified by a new commit.

This is the case, when
- for Subversion repositories either the new 'head' or the
latest revision has been requested, or
- for Git and HG when a branch (or the default by specifying
no concrete revision) has been used.
2024-11-05 10:54:49 +01:00
Rene Pfeuffer
afdaee0442 Add tag guard 2024-10-16 16:14:22 +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
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
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
Eduard Heimbuch
d55f5deda7 Fix unit tests 2024-05-23 08:21:36 +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
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
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
Laura Gorzitze
a61f840b0e Description for plugin condition mismatch
The missing description of the plugin condition in the
logs during a condition mismatch is now included and
also displayed in a readable way. Additionally, a
specialised error will be displayed during the installation
or update of plugins detailing that a condition mismatch
happened and also which condition was not fulfilled
instead of a generic internal server error.
2024-02-22 18:19:44 +01:00
Eduard Heimbuch
89c4a20dd5 Add namespace owner on namespace creation
Namespace owner may see the namespace configuration page.

Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-08 14:18:16 +01:00
Laura Gorzitze
d8e1f2d739 Cleanup Code
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-06 14:54:00 +01:00
Florian Scholdei
7f0da35659 Mail validation in frontend and backend unified
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-01-09 16:53:18 +01:00
René Pfeuffer
314fb02823 Fix workdir configuration 2023-12-20 16:31:41 +01:00
Eduard Heimbuch
d0c43dd9f4 Improve server config documentation and cleanup 2023-12-18 15:30:57 +01:00
Eduard Heimbuch
cf4d9cf20f 3.x
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-30 17:02:44 +01:00
Rene Pfeuffer
571e6ad92f Add a modifications provider for hooks
This new modifications provider consistently computes the modifications caused by a push to a branch. In contrast to the changeset provider that often has been used before to check what has changed, this also works for forced updates, rebased branches and fast-forwards.&#10;&#10;Because these types of changes are normally only used with git, this provider (for now) has only been implemented for git.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Alexander Dammeier<alexander.dammeier@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-16 13:18:40 +01:00
Florian Scholdei
a8c32b10de Preferred checkout variant
Add ability to prioritize the repository checkout variants. These are displayed sorted.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2023-11-15 13:27:48 +01:00
Eduard Heimbuch
8dc0041e17 Remove mail for anonymous user 2023-11-13 16:19:15 +01:00
Thomas Zerr
123fc4c3d1 Invalidation of caches and search index
In the general admin settings, the user can find two button to either invalidate the cache or rebuild the search index.&#10;&#10;The endpoints are defined in the InvalidationResource class in scm-webapp.

Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-02 10:51:32 +01:00
Rene Pfeuffer
d0f8161220 Add functionality to modify repository storage locations
The repository location resolver gets a new function&#10;that allows to change the location of a repository.

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>
2023-10-13 10:23:29 +02:00
Rene Pfeuffer
2ca68c43b3 Add update steps for namespaces
This adds a new update step API dedicated&#10;to handle namespace related data.

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>
2023-10-05 11:00:20 +02:00
Thomas Zerr
0dc738d849 Added autoMask property
The AuditEntry annotation recevied a new property called autoMask. If that property is set to true, then fields get automatically masked in the audit log, if the field name contain certain phrases.

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>


Reviewed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-10-04 14:25:35 +02:00
Rene Pfeuffer
d2a0525b0b Catch exception when repositories are deleted
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-19 09:30:14 +02:00
Thomas Zerr
b2472d85d0 Added force to push command for git and hg repos
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-14 20:28:37 +02:00
Eduard Heimbuch
93a23466ff Fix cypress by using new stage "TESTING"
Cypress did not work because of the stricter security header. We introduced a new stage named "TESTING" which ignores this security headers and allow testing tools to work as intended.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-09-08 15:19:54 +02:00
Thomas Zerr
1750eae2d1 Fix marshalling invalid XML characters
If someone tries to persist data with invalid XML characters, they now get filtered out.

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-08-10 14:20:07 +02:00