Commit Graph

2428 Commits

Author SHA1 Message Date
Sebastian Sdorra
9d27c12de3 Read version from build-info.properties instead of pom.properties 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
acd8eb3a9a Add build information (version) to scm-core.jar 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
290e7decd8 Migrate module scm-dao-xml 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
f749a71aea Migrate module scm-core 2021-01-14 11:55:27 +01:00
René Pfeuffer
c58bd2f664 Include JRE version in plugin center url (#1494) 2021-01-13 09:18:28 +01:00
Eduard Heimbuch
adf7bac665 Subversion repository export
Add the repository export function for Subversion repositories. The repository will be exported as dump file which can be downloaded directly or inside a gzip compressed archive.
2021-01-08 09:19:33 +01:00
CES Marvin
374d085fdd prepare for next development iteration 2020-12-17 15:24:34 +00:00
CES Marvin
38a7ff6acb release version 2.12.0 2020-12-17 14:55:08 +00:00
Sebastian Sdorra
b61d817c9c Implement mercurial cgi protocol as extension (#1458)
* Handle mercurial cgi protocol with an hg extension
* Refactor CGI executor to allow command arguments
* Unify python scripts and hg extensions
* Implement new auto configuration
* Use HKEY_LOCAL_MACHINE instead of
  HKEY_CURRENT_USER registry keys to find mercurial
  installations on windows
2020-12-17 10:07:20 +01:00
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Eduard Heimbuch
45bb6d3ae9 Make getter for archive in UnbundleCommandRequest public to resolve classloading errors between pluginClassLoader and webappClassLoader 2020-12-10 13:56:20 +01:00
CES Marvin
56c63cb5b7 prepare for next development iteration 2020-12-07 15:01:20 +00:00
CES Marvin
baf04a551c release version 2.11.1 2020-12-07 14:24:49 +00:00
René Pfeuffer
eaf59f91c4 Harmonize logging string for repositories 2020-12-04 11:48:32 +01:00
CES Marvin
87d06a708b prepare for next development iteration 2020-12-04 08:10:20 +00:00
CES Marvin
df62ffbe16 release version 2.11.0 2020-12-04 07:27:13 +00:00
Eduard Heimbuch
dd0bcc4a3f Merge branch 'feature/import_git_from_url' of github.com:scm-manager/scm-manager into feature/import_git_from_url 2020-12-03 08:55:15 +01:00
Eduard Heimbuch
09c13100dd cleanup 2020-12-03 08:54:56 +01:00
Eduard Heimbuch
f6863a2676 Apply suggestions from code review
fix javadoc

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-12-03 08:54:43 +01:00
Eduard Heimbuch
60cdc6f8cf Merge branch 'develop' into feature/import_git_from_url 2020-12-02 14:39:45 +01:00
Eduard Heimbuch
7db33d2e65 Mind review findings 2020-12-02 10:47:48 +01:00
Eduard Heimbuch
e7b7bf5b0f fix repository permission error 2020-12-01 16:40:29 +01:00
Konstantin Schaper
9ec8b4efac fix review findings 2020-12-01 15:16:55 +01:00
Eduard Heimbuch
b40bfd8fe2 Merge branch 'develop' into feature/import_git_from_url 2020-12-01 12:18:13 +01:00
Konstantin Schaper
e8044747e3 fix review findings 2020-12-01 11:18:19 +01:00
Konstantin Schaper
8986e3d378 Merge branch 'develop' into feature/manage-tags
# Conflicts:
#	scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/repository/spi/HgRepositoryServiceProvider.java
2020-11-30 14:18:05 +01:00
Konstantin Schaper
7e46c3a491 wip fixes 2020-11-30 14:15:42 +01:00
Eduard Heimbuch
3265d1cefb Enhance repository manager create api to perform actions after creation 2020-11-27 13:38:30 +01:00
Eduard Heimbuch
275ca49f71 Mark old import handler api as deprecated 2020-11-27 13:30:01 +01:00
Sebastian Sdorra
8ee8c8b351 Merge branch 'develop' into feature/hg_hooks_over_tcp
# Conflicts:
#	CHANGELOG.md
2020-11-27 08:57:09 +01:00
Eduard Heimbuch
76cf2d801a Merge branch 'develop' into feature/import_git_from_url 2020-11-26 14:01:19 +01:00
Eduard Heimbuch
9a06bc7d8a add repository import event 2020-11-26 13:58:34 +01:00
Eduard Heimbuch
a7c4d41e4e improve error handling on repository import if the credentials were wrong or missing 2020-11-26 12:57:40 +01:00
Eduard Heimbuch
485138e5f2 add unit tests 2020-11-26 11:06:35 +01:00
René Pfeuffer
bbd9160b18 Clean up imports 2020-11-26 09:24:09 +01:00
René Pfeuffer
58cbe1a535 Improve readability 2020-11-26 09:00:40 +01:00
René Pfeuffer
7a47e68707 Make stale state computation configurable 2020-11-26 08:32:06 +01:00
René Pfeuffer
0988ec5c7b Compute stale flag depending on default branch
A branch should be considered as stale, when it's commit wai more than
30 days older than the commit of the default branch.
2020-11-26 08:31:14 +01:00
René Pfeuffer
a2341f3ce2 Do not mark default branch as stale 2020-11-26 08:31:14 +01:00
René Pfeuffer
9d25a93558 Distinct between active and stale branches 2020-11-26 08:31:14 +01:00
René Pfeuffer
6adba1bad2 Add lastCommitDate to branch 2020-11-26 08:31:14 +01:00
Eduard Heimbuch
e87df7c359 Enable repository import with credentials 2020-11-25 17:15:31 +01:00
Konstantin Schaper
d0feb7c22c implement hg tag command and add rest endpoints 2020-11-25 11:29:06 +01:00
Konstantin Schaper
0c5ab90852 work in progress 2020-11-24 22:07:24 +01:00
CES Marvin
4752fdeea1 prepare for next development iteration 2020-11-24 18:59:15 +00:00
CES Marvin
b283f782ab release version 2.10.1 2020-11-24 18:22:43 +00:00
Eduard Heimbuch
308b95d8c7 Upgrade repository import api 2020-11-24 10:39:38 +01:00
René Pfeuffer
33e7a1374d Merge branch 'develop' into feature/hg_hooks_over_tcp 2020-11-20 14:33:10 +01:00
CES Marvin
9baa1f930b prepare for next development iteration 2020-11-20 10:22:37 +00:00
CES Marvin
a4d0771f6f release version 2.10.0 2020-11-20 09:36:03 +00:00