Commit Graph

1171 Commits

Author SHA1 Message Date
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
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
Eduard Heimbuch
c784c97acf create release version checker 2020-09-21 17:04:30 +02:00
Eduard Heimbuch
bef11e9f70 fix unit test 2020-09-21 14:18:11 +02:00
René Pfeuffer
7ac3481879 Invalidate cache when namespace of repo was changed 2020-09-18 17:52:49 +02:00
René Pfeuffer
70dcb9ca81 Fix unittests 2020-09-18 15:08:57 +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
46267daeda Introduce manager interface for namespaces 2020-09-18 14:31:44 +02:00
Eduard Heimbuch
fe832ae13e rollback changes on branches overview 2020-09-17 11:17:25 +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
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
Sebastian Sdorra
e64ddccb13 Rename creationContext to contextEntries 2020-09-10 09:23:32 +02:00
Sebastian Sdorra
aa76af4d41 Add optional url to ExceptionWithContext 2020-09-09 15:08:23 +02:00
Sebastian Sdorra
01e3732c24 Rename getCreationContext to oneByType and make the implementation more robust 2020-09-09 14:42:07 +02:00
Eduard Heimbuch
0abe47f666 simplify core api 2020-09-09 10:17:47 +02:00
Eduard Heimbuch
a655ab1b86 Merge branch 'develop' into feature/template_plugin 2020-09-08 15:44:47 +02:00
René Pfeuffer
5c11657858 Validate new namespace on rename 2020-09-07 15:32:09 +02:00
Eduard Heimbuch
a30721876e enhance repository initializer api with creation context 2020-09-02 11:06:29 +02:00
Sebastian Sdorra
d12572f765 Merge branch 'develop' into feature/tag-dates 2020-09-02 10:43:08 +02:00
Sebastian Sdorra
ed197c97de Merge pull request #1308 from scm-manager/bugfix/wait_before_restart
wait before restart if system property "sonia.scm.restart.wait" is set
2020-09-01 15:39:10 +02:00
Eduard Heimbuch
2ab5696da0 wait before restart if system property "sonia.scm.restart.wait" is set 2020-09-01 15:13:09 +02:00
Sebastian Sdorra
dcfd0d0d16 refactor I18nServletTest
Use JUnit5 and only api methods
2020-09-01 08:34:01 +02:00
Sebastian Sdorra
8d65bf75f3 refactor I18nServlet to avoid stacktrace logging on unknown language 2020-09-01 07:53:21 +02:00
Sebastian Sdorra
716c7c5083 Fix detection of markdown files for files having content does not start with '#' 2020-08-27 08:11:23 +02:00
Konstantin Schaper
7d33744e73 Merge branch 'develop' into feature/tag-dates 2020-08-26 15:46:40 +02:00
Sebastian Sdorra
0b6ff0c500 Merge branch 'develop' into bugfix/plugin_dependency_context 2020-08-26 10:28:45 +02:00
eheimbuch
4856171ead Merge pull request #1301 from scm-manager/feature/e2e_pipeline
Execute e2e cypress tests as part of integration tests
2020-08-26 10:21:57 +02:00
Eduard Heimbuch
a36c0e2a16 Fix plugin installation error if previously a plugin was installed with the same dependency which is still pending. 2020-08-25 16:29:16 +02:00
Konstantin Schaper
6d409c65c0 initial implementation 2020-08-25 14:45:48 +02:00
Sebastian Sdorra
6c1a9f286f Make stage concept accessible from ui 2020-08-25 08:42:16 +02:00
Konstantin Schaper
3d0c55fd18 fix tests and adjust cookie duration 2020-08-21 11:38:59 +02:00
Konstantin Schaper
34dc7fdac0 cleanup code & add tests 2020-08-20 18:57:58 +02:00
Sebastian Sdorra
7d80ff36fa Merge with develop branch 2020-08-12 14:30:26 +02:00
Konstantin Schaper
b100ec0277 fix code smell 2020-08-12 13:30:43 +02:00
Konstantin Schaper
80e18b47b7 fix code smells 2020-08-12 13:10:07 +02:00
Sebastian Sdorra
2ac77415e7 Merge with develop branch 2020-08-12 12:32:16 +02:00