Eduard Heimbuch
ac5d145266
Repository export read-only lock ( #1519 )
...
* Lock repository for read-only access only while exporting
* Create read-only check api
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com >
2021-02-04 15:29:49 +01:00
Sebastian Sdorra
4202178c01
Fix usage of custom realm description for scm protocols ( #1512 )
...
Fixes missing usage of custom realm description for scm client operations.
Fixes #1487
2021-01-29 07:59:18 +01:00
René Pfeuffer
bd3671b428
Use repository specific work dirs ( #1510 )
...
With this change, work dirs are created in the
directory of the repository and no longer in the
global scm work dir directory. This is relevant due
to two facts:
1. Repositories may contain confidential data and therefore
reside in special directories (that may be mounted on
special drives). It may be considered a breach when these
directories are cloned or otherwise copied to global
temporary drives.
2. Big repositories may overload global temp spaces. It may be
easier to create special drives with more space for such
big repositories.
2021-01-28 12:53:39 +01: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
Sebastian Sdorra
8ee8c8b351
Merge branch 'develop' into feature/hg_hooks_over_tcp
...
# Conflicts:
# CHANGELOG.md
2020-11-27 08:57:09 +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
Sebastian Sdorra
1311061c82
Pass transaction id from request to mercurial hooks
2020-11-19 14:30:39 +01:00
René Pfeuffer
8cfbc60fea
Distinguish between errors with and without details
2020-11-12 11:41:04 +01:00
René Pfeuffer
01a5dbd091
Show messages from native scm protocol
2020-11-12 11:41:04 +01:00
Sebastian Sdorra
3c32073853
Merge with develop
2020-11-04 08:22:41 +01:00
Sebastian Sdorra
8e4b1e40c2
Remove setter of SpanContext, because it should be immutable
2020-11-04 08:20:29 +01:00
René Pfeuffer
4b15468e67
Merge remote-tracking branch 'origin/develop' into bugfix/rest-download
2020-11-03 10:23:00 +01:00
René Pfeuffer
38180e40d0
Replace deprecated api in tests
2020-11-03 09:56:06 +01:00
Sebastian Sdorra
aa9ac3b020
Remove unnecessary public modifier of jUnit5 test
2020-11-03 08:32:14 +01:00
Konstantin Schaper
578e028d5b
Merge branch 'develop' into bugfix/rest-download
2020-11-02 13:28:44 +01:00
Konstantin Schaper
62d75fa0f8
Merge branch 'develop' into bugfix/anonymous-ssh-clone
2020-11-02 10:10:36 +01:00
Konstantin Schaper
3e6e32a749
add unit test
2020-10-30 12:14:52 +01:00
Eduard Heimbuch
333de7c404
fix unit tests
2020-10-30 11:12:32 +01:00
Konstantin Schaper
62a7ebd4dd
user agents are not longer set to be browsers by default
2020-10-29 19:51:40 +01:00
Sebastian Sdorra
09d85f6dbb
Implemented default LoggingExporter for trace api
2020-10-26 16:51:57 +01:00
Sebastian Sdorra
e3a6111056
Add trace api to trace long running tasks
2020-10-26 15:41:32 +01:00
eheimbuch
b8c419792e
Merge branch 'develop' into feature/user_converter
2020-10-23 12:08:23 +02:00
Sebastian Sdorra
1195026fe6
Fix handling of snapshot plugin dependencies
2020-10-22 15:06:39 +02:00
Eduard Heimbuch
613346fb97
merge with develop
2020-10-19 13:34:54 +02:00
Eduard Heimbuch
258e056646
implement user converter
2020-10-15 16:06:23 +02:00
Sebastian Sdorra
465a9e635b
Rename createFallbackMailAddress to more explicit getMailOrFallback
2020-10-15 11:48:17 +02:00
Sebastian Sdorra
e67ca28c5f
Do not break existing core api
2020-10-15 11:32:19 +02:00
René Pfeuffer
be6bb8bf37
Rename "mail host" to "mail domain name"
2020-10-14 15:46:50 +02:00
René Pfeuffer
bb2b845015
Use email util to compute fallback mail address
2020-10-14 15:46:50 +02:00
René Pfeuffer
343d0b9425
Create util class to get mail address
2020-10-14 15:46:50 +02:00
Sebastian Sdorra
ec19291393
Fire missing BranchCreatedEvent for mercurial
...
The event is now fired in the builder instead of command implementation
2020-09-17 11:03:13 +02:00
Eduard Heimbuch
2011481dc4
fix formatting
2020-09-15 10:29:02 +02:00
Sebastian Sdorra
7ba7147d27
Fix potential vulnerability
...
Fixes a potential vulnerability that allows to overwrite files outside the plugin directory using a manipulated SMP archive.
2020-09-15 09:48:35 +02:00
Sebastian Sdorra
7bc037bdb0
Migrate tests to junit 5
2020-09-15 09:34:59 +02:00
Konstantin Schaper
c053228221
Fix token expired exception being displayed in browser
2020-08-28 13:26:19 +02:00
Sebastian Sdorra
2ac77415e7
Merge with develop branch
2020-08-12 12:32:16 +02:00
Eduard Heimbuch
c1cfff603b
fix review findings
2020-08-12 10:05:36 +02:00
Sebastian Sdorra
86e13db492
merge with develop branch
2020-08-11 08:19:54 +02:00
Eduard Heimbuch
c813a5f723
".git" extension not allowed on the end of repository name
2020-08-10 11:54:19 +02:00
Eduard Heimbuch
dec78ebecd
merge with develop
2020-08-07 13:06:53 +02:00
Eduard Heimbuch
914f5eb4bb
Show session expired warning if the jwt token is expired
2020-08-07 10:07:44 +02:00
Sebastian Sdorra
1246fbd65c
fixes some sonarqube issues
2020-08-05 15:41:18 +02:00
Sebastian Sdorra
c946c130eb
adds verification of dependency versions on plugin installation
2020-08-05 15:28:39 +02:00
Sebastian Sdorra
c984844f25
adds versions to dependencies of the InstalledPluginDescriptor
2020-08-05 08:02:58 +02:00
Eduard Heimbuch
b926238e03
enhance anonymous access from two state mode to three state mode
2020-08-03 14:40:39 +02:00
Sebastian Sdorra
b981d62905
adds new constructor to InitializingHttpScmProtocolWrapper which uses the new RootURL api
2020-08-03 13:57:07 +02:00