mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-16 05:19:47 +01:00
Merge branch 'main' into develop
This commit is contained in:
31
CHANGELOG.md
31
CHANGELOG.md
@@ -38,14 +38,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers added to all responses
|
- Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers added to all responses
|
||||||
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14) (Patch from 2.46.6)
|
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14) (Patch from 2.46.6)
|
||||||
|
|
||||||
## [3.7.6] - 2025-08-19
|
|
||||||
### Fixed
|
|
||||||
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14) (Patch from 2.46.6)
|
|
||||||
|
|
||||||
## [2.46.6] - 2025-08-19
|
|
||||||
### Fixed
|
|
||||||
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14)
|
|
||||||
|
|
||||||
## [3.9.0] - 2025-08-01
|
## [3.9.0] - 2025-08-01
|
||||||
### Added
|
### Added
|
||||||
- Delete and retain functionality for mutable queryable stores
|
- Delete and retain functionality for mutable queryable stores
|
||||||
@@ -110,6 +102,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Disabling hg repositories is now the first setting within the configuration form
|
- Disabling hg repositories is now the first setting within the configuration form
|
||||||
- Disabling svn repositories is now the first setting within the configuration form
|
- Disabling svn repositories is now the first setting within the configuration form
|
||||||
|
|
||||||
|
## [3.7.7] - 2025-11-28
|
||||||
|
### Fixed
|
||||||
|
- Significantly improved repository load times for large numbers of repositories
|
||||||
|
|
||||||
|
## [3.7.6] - 2025-08-19
|
||||||
|
### Fixed
|
||||||
|
- The committer in squash merge, rebase, and regular merge is now set to the current user.
|
||||||
|
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14) (Patch from 2.46.6)
|
||||||
|
|
||||||
## [3.7.5] - 2025-04-14
|
## [3.7.5] - 2025-04-14
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix setting of document title for create repository page, if only a translation key was provided
|
- Fix setting of document title for create repository page, if only a translation key was provided
|
||||||
@@ -157,10 +158,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Fixes from version 2.46.2, 2.46.3, 2.46.4, and 2.46.5
|
- Fixes from version 2.46.2, 2.46.3, 2.46.4, and 2.46.5
|
||||||
|
|
||||||
## [2.46.5] - 2025-01-17
|
|
||||||
### Fixed
|
|
||||||
- Removed the API token error log message that was being printed when the API token was invalid
|
|
||||||
|
|
||||||
## [3.6.0] - 2024-12-05
|
## [3.6.0] - 2024-12-05
|
||||||
### Added
|
### Added
|
||||||
- Extension point for contributor row in contributor table
|
- Extension point for contributor row in contributor table
|
||||||
@@ -414,6 +411,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- The chip input api now provides an external add button
|
- The chip input api now provides an external add button
|
||||||
- OmniSearchbar now makes use of the Combobox
|
- OmniSearchbar now makes use of the Combobox
|
||||||
|
|
||||||
|
## [2.46.6] - 2025-08-19
|
||||||
|
### Fixed
|
||||||
|
- Support for go-git user agents (e.g. ArgoCD ≥ 2.14)
|
||||||
|
|
||||||
|
## [2.46.5] - 2025-01-17
|
||||||
|
### Fixed
|
||||||
|
- Removed the API token error log message that was being printed when the API token was invalid
|
||||||
|
|
||||||
## [2.46.4] - 2024-06-24
|
## [2.46.4] - 2024-06-24
|
||||||
### Fixed
|
### Fixed
|
||||||
- Check for already existing Namespace and Name when renaming a repository
|
- Check for already existing Namespace and Name when renaming a repository
|
||||||
@@ -1813,6 +1818,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
[3.7.3]: https://scm-manager.org/download/3.7.3
|
[3.7.3]: https://scm-manager.org/download/3.7.3
|
||||||
[3.7.4]: https://scm-manager.org/download/3.7.4
|
[3.7.4]: https://scm-manager.org/download/3.7.4
|
||||||
[3.7.5]: https://scm-manager.org/download/3.7.5
|
[3.7.5]: https://scm-manager.org/download/3.7.5
|
||||||
|
[3.7.6]: https://scm-manager.org/download/3.7.6
|
||||||
|
[3.7.7]: https://scm-manager.org/download/3.7.7
|
||||||
[3.8.0]: https://scm-manager.org/download/3.8.0
|
[3.8.0]: https://scm-manager.org/download/3.8.0
|
||||||
[3.9.0]: https://scm-manager.org/download/3.9.0
|
[3.9.0]: https://scm-manager.org/download/3.9.0
|
||||||
[3.10.0]: https://scm-manager.org/download/3.10.0
|
[3.10.0]: https://scm-manager.org/download/3.10.0
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ import java.util.function.Function;
|
|||||||
import java.util.function.Predicate;
|
import java.util.function.Predicate;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
import java.util.stream.Collector;
|
import java.util.stream.Collector;
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
import static java.util.Collections.emptySet;
|
import static java.util.Collections.emptySet;
|
||||||
import static sonia.scm.AlreadyExistsException.alreadyExists;
|
import static sonia.scm.AlreadyExistsException.alreadyExists;
|
||||||
@@ -373,6 +374,16 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager {
|
|||||||
return repositories;
|
return repositories;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private Stream<Repository> streamAll(Predicate<Repository> filter) {
|
||||||
|
return repositoryDAO
|
||||||
|
.getAll()
|
||||||
|
.stream()
|
||||||
|
.filter(repository -> handlerMap.containsKey(repository.getType()))
|
||||||
|
.filter(filter)
|
||||||
|
.filter(repository -> RepositoryPermissions.read().isPermitted(repository))
|
||||||
|
.map(this::postProcess);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Collection<Repository> getAll() {
|
public Collection<Repository> getAll() {
|
||||||
return getAll(repository -> true, null);
|
return getAll(repository -> true, null);
|
||||||
@@ -402,9 +413,10 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager {
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public Collection<String> getAllNamespaces() {
|
public Collection<String> getAllNamespaces() {
|
||||||
return getAll().stream()
|
Set<String> foundNamespaces = new HashSet<>();
|
||||||
.map(Repository::getNamespace)
|
streamAll(repository -> !foundNamespaces.contains(repository.getNamespace()))
|
||||||
.collect(LINKED_HASH_SET_COLLECTOR);
|
.forEach(repository -> foundNamespaces.add(repository.getNamespace()));
|
||||||
|
return foundNamespaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -3148,7 +3148,7 @@
|
|||||||
unist-util-generated "^1.1.6"
|
unist-util-generated "^1.1.6"
|
||||||
unist-util-visit "^2.0.3"
|
unist-util-visit "^2.0.3"
|
||||||
|
|
||||||
"@scm-manager/tsconfig@^2.12.0", "@scm-manager/tsconfig@^2.13.0":
|
"@scm-manager/tsconfig@^2.13.0":
|
||||||
version "2.13.0"
|
version "2.13.0"
|
||||||
resolved "https://registry.npmjs.org/@scm-manager/tsconfig/-/tsconfig-2.13.0.tgz"
|
resolved "https://registry.npmjs.org/@scm-manager/tsconfig/-/tsconfig-2.13.0.tgz"
|
||||||
integrity sha512-Tc9LZAxHUKd+yVBHcCMyRVYTBjhJez+zj+ABxiTOdZOQp/WtJ2Zt084HWxWEOyrXHI6dgo3qv+1H6P1m+UcpoQ==
|
integrity sha512-Tc9LZAxHUKd+yVBHcCMyRVYTBjhJez+zj+ABxiTOdZOQp/WtJ2Zt084HWxWEOyrXHI6dgo3qv+1H6P1m+UcpoQ==
|
||||||
|
|||||||
Reference in New Issue
Block a user