Commit Graph

2436 Commits

Author SHA1 Message Date
Rene Pfeuffer
605d77e383 Fix hg import/export issues 2025-07-07 15:13:50 +02:00
Thomas Zerr
c7febb1867 Add postUpdateHook for ConfigurationAdapterBase
Squash commits of branch feature/configuration-adapter-base-post-update:

- Add postUpdateHook for ConfigurationAdapterBase
2025-06-26 07:12:50 +02:00
Rene Pfeuffer
a2d14e7167 Allow distinct results and projections in queryable stores
Squash commits of branch feature/distinct:

- Try distinct

- Split projection and distinct flag

- Log change

- Support distinct count
2025-06-25 10:45:47 +02:00
Rene Pfeuffer
4b49748561 Introduce HikariCP as connection pool
Squash commits of branch feature/hikari:

- Introduce HikariCP as connection pool

- Log change

- Close maintenance stores correctly

- Do not force minimum number of connections

- Log change

- Assert stores are closed correctly

... and test QueryableStoreDeletionHandler

- Fix license

- Fix unit tests

- Use constants

- Change change log

- Move hikari version to libraries

- Enhance documentation

- Use configuration for pool settings
2025-06-19 09:41:03 +02:00
René Pfeuffer
5fe26b8092 Use auto-closable for queryable store without checked Exception 2025-06-17 10:32:33 +02:00
Rene Pfeuffer
4536af9fcb Implement 'like' condition for string values
Squash commits of branch feature/like_query_for_string:

- Implement 'like' condition for string values

- Log change

- Enhance tests

- Fix JavaDoc

- Add more tests
2025-06-13 12:06:53 +02:00
Rene Pfeuffer
cc48945200 Add auto-increment ids for queryable types
Squash commits of branch feature/auto_increment:

- Bootstrap auto-increment key option

- Fix changelog

- Document stuff

- Fix unit test

- Documentation

- Use id generator in unit test extension

- Do not use mockito for type descriptor in tests

- Clean up

- Fix indentation

- Fix code formatting

- Clean up
2025-06-13 12:00:37 +02:00
Rene Pfeuffer
18821f5301 Add option to order string fields numerically
Squash commits of branch feature/sort_options:

- Add option to order string fields numerically

- Enhance JavaDoc
2025-06-12 13:39:57 +02:00
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