René Pfeuffer
905fc4158a
Add rest resource for api keys
2020-10-05 10:53:30 +02:00
René Pfeuffer
4129f55f27
Implement service for API keys
2020-10-05 10:53:29 +02:00
René Pfeuffer
fb3ba789ea
Increase test to fix flappy test
...
CI fails from time to time in a way one gets, when the timeout is
reduced. So we increase the timeout here.
2020-09-30 10:27:02 +02:00
Eduard Heimbuch
0f7707d539
fix unit test
2020-09-24 12:25:36 +02:00
René Pfeuffer
2626bd118a
Use configured url as cache key
...
Doing so, we will ignore the cached result every time a new feed url is
specified. So a change of the url will be taken into account immediately
2020-09-24 11:57:54 +02:00
René Pfeuffer
ebd48413b8
Catch all exceptions
...
Otherwise sax exceptions will escape this catch and we cannot cache the
result which leads to requests every time the update info is requested.
2020-09-24 11:57:54 +02:00
René Pfeuffer
1bf70fd655
Offer update info link only, when feed url is specified
2020-09-24 11:57:54 +02:00
René Pfeuffer
6a80cce87a
Make request for feed more resilient
...
This commit tackles the following issue:
When the release feed takes a long time to read (however), the former
solution would propagete requests to the SCM-Manager to multiple
requests of the specified feed url. This can, in the worst case, cause
a drain of resources like request threads.
We fix this with two actions:
1. We wrap the request itself in an executor with a timeout,
2. We only trigger one request at a time, so that we will not flood
the feed server with requests.
2020-09-24 11:57:33 +02:00
Eduard Heimbuch
23581e780d
fix review findings
2020-09-24 10:59:27 +02:00
Eduard Heimbuch
b424bc8ff0
Merge branch 'develop' into feature/admin_info
2020-09-24 10:41:17 +02:00
Eduard Heimbuch
804a6498a7
fix review findings
2020-09-24 10:38:40 +02:00
Eduard Heimbuch
ff6aaf7bc5
cleanup
2020-09-23 09:52:43 +02:00
Eduard Heimbuch
6014eea193
update documentation
2020-09-22 16:53:08 +02:00
Eduard Heimbuch
65caa05433
add download link for new SCM-Manager version to admin information page
2020-09-22 16:21:49 +02:00
Eduard Heimbuch
851c5f9287
create admin info resource // fix rss feed parsing
2020-09-22 13:41:40 +02:00
René Pfeuffer
fc534605f0
Merge pull request #1332 from scm-manager/feature/rebase
...
implement git rebase
2020-09-22 12:20:35 +02:00
René Pfeuffer
ab6be650e9
Simplify permissions
2020-09-22 10:08:30 +02:00
Eduard Heimbuch
c784c97acf
create release version checker
2020-09-21 17:04:30 +02:00
Eduard Heimbuch
404e6fec66
add rss release feed url to global config
2020-09-21 15:26:51 +02:00
Eduard Heimbuch
bef11e9f70
fix unit test
2020-09-21 14:18:11 +02:00
Eduard Heimbuch
bb4874b8c1
user with write permission on namespacesPermissions may also read the namespacePermissions so it is consistent to other permissions
2020-09-21 10:44:12 +02:00
René Pfeuffer
8d7e63eea7
Remove unnecessary check
2020-09-21 07:40:15 +02:00
René Pfeuffer
47cc69a58a
Remove unnecessary check
2020-09-21 07:31:04 +02:00
René Pfeuffer
7ac3481879
Invalidate cache when namespace of repo was changed
2020-09-18 17:52:49 +02:00
René Pfeuffer
b1c0ec15a7
Heed peer review remarks
2020-09-18 16:02:20 +02:00
René Pfeuffer
70dcb9ca81
Fix unittests
2020-09-18 15:08:57 +02:00
René Pfeuffer
69997a67cd
Move authorization check to manager
2020-09-18 14:32:04 +02:00
René Pfeuffer
6d6a41372d
Fix event bus
2020-09-18 14:32:04 +02:00
René Pfeuffer
4bf6e17377
Cleanup permissions for namespace when it is removed
2020-09-18 14:31:45 +02:00
René Pfeuffer
a24abe245b
Invalidate authorization cache when namespace permissions are changed
2020-09-18 14:31:45 +02:00
René Pfeuffer
4f84ea3be5
Add REST endpoint for namespace permissions
2020-09-18 14:31:45 +02:00
René Pfeuffer
cd3ef916cf
Evaluate namespace permissions
2020-09-18 14:31:45 +02:00
René Pfeuffer
b1e6aba38c
Introduce namespace permissions
2020-09-18 14:31:45 +02:00
René Pfeuffer
46267daeda
Introduce manager interface for namespaces
2020-09-18 14:31:44 +02:00
Eduard Heimbuch
08fccb180b
rollback changes on branches overview
2020-09-17 11:28:37 +02:00
Eduard Heimbuch
fe832ae13e
rollback changes on branches overview
2020-09-17 11:17:25 +02:00
Eduard Heimbuch
89b6829108
cleanup
2020-09-16 15:23:32 +02:00
Eduard Heimbuch
d6c129915b
only map additional information for branches on branchesOverview to improve performance
2020-09-16 14:43:13 +02:00
Eduard Heimbuch
6454167b0d
show modified information on branches overview
2020-09-15 16:40:59 +02:00
René Pfeuffer
94105f7766
Validate namespaces correctly
2020-09-10 10:18:00 +02:00
René Pfeuffer
503933c1c0
Reject custom namespace with number from 0 to 999
2020-09-10 10:17:29 +02:00
René Pfeuffer
e3a2783bfd
Get links for repositories by namespaces from server
2020-09-10 10:17:26 +02:00
René Pfeuffer
12806c7602
Fix self links for repo collection by namespace
2020-09-10 10:15:42 +02:00
René Pfeuffer
4457cd08b8
Create resources for namespaces
2020-09-10 10:15:42 +02:00
René Pfeuffer
4d09f71d40
Create resource for repositories of one namespace
2020-09-10 10:15:42 +02:00
Sebastian Sdorra
edc6088296
Merge pull request #1324 from scm-manager/feature/template_plugin
...
Feature/template plugin
2020-09-10 10:00:06 +02:00
Konstantin Schaper
2db9d55ed9
set created namespace on rename
2020-09-10 09:30:30 +02:00
Sebastian Sdorra
e64ddccb13
Rename creationContext to contextEntries
2020-09-10 09:23:32 +02:00
Sebastian Sdorra
04eb3ade7c
ensure creation context map is not null
2020-09-09 15:11:40 +02:00
Sebastian Sdorra
aa76af4d41
Add optional url to ExceptionWithContext
2020-09-09 15:08:23 +02:00