Commit Graph

2041 Commits

Author SHA1 Message Date
Florian Scholdei
154426ddd6 Merge with upstream 2020-02-19 13:52:24 +01:00
Florian Scholdei
6ea21f01ef Update rest resource annotations 2020-02-19 13:51:54 +01:00
Eduard Heimbuch
8fb463c26a update rest resource annotations 2020-02-19 13:51:43 +01:00
Eduard Heimbuch
d103b52228 update rest resource annotations 2020-02-19 13:02:01 +01:00
Eduard Heimbuch
66a97450b6 update rest endpoint annotations 2020-02-19 10:44:21 +01:00
Florian Scholdei
dc83b50095 Create openapi docs for me endpoint and changesets 2020-02-18 17:20:23 +01:00
Eduard Heimbuch
1ff0c46b0e add security requirements 2020-02-18 10:13:01 +01:00
Eduard Heimbuch
b7e95f3cc4 create openapi docs for scm-git-plugin 2020-02-17 14:09:26 +01:00
Eduard Heimbuch
7243f3d5a5 bootstrap openapi documentation 2020-02-17 13:42:48 +01:00
Rene Pfeuffer
ab169670f0 Fix JavaDoc 2020-02-06 09:58:49 +01:00
Sebastian Sdorra
71c5f68878 implemented simple ClassLoaderLifeCycle to fix integration tests on Java > 8 2020-02-04 15:59:11 +01:00
Sebastian Sdorra
a36551597d fix deprecation warning of Jackson ISO8601DateFormat 2020-02-04 15:27:30 +01:00
Sebastian Sdorra
00b5471ca7 fix some compiler warnings around hibernate-validator 2020-02-04 09:56:43 +01:00
Rene Pfeuffer
126b24b878 Cleanup code 2020-01-31 12:37:12 +01:00
Rene Pfeuffer
931133353d Add detection of circular dependencies 2020-01-31 12:27:02 +01:00
Rene Pfeuffer
f92ea41ca3 Fix order of plugin nodes 2020-01-31 11:47:32 +01:00
René Pfeuffer
bc112f8e1a Merge with default 2020-01-28 07:37:55 +01:00
Rene Pfeuffer
02a9dafee4 Append self links to parsed diff results 2020-01-24 16:31:31 +01:00
Rene Pfeuffer
9fcaf5e69d Change parsed diff url from '.json' to '/parsed' 2020-01-24 14:34:17 +01:00
Rene Pfeuffer
882a25936d Add parsed diff endpoint for incoming diffs 2020-01-24 14:08:29 +01:00
Rene Pfeuffer
868cfb4a0a Fix class name 2020-01-24 12:01:21 +01:00
Rene Pfeuffer
c0fd9b97b4 Cleanup code 2020-01-23 17:05:55 +01:00
Rene Pfeuffer
c80ee02d8a Use plugin name from available plugin 2020-01-23 17:05:02 +01:00
Rene Pfeuffer
97600b26e2 Check plugin dependencies after download 2020-01-23 17:02:53 +01:00
Sebastian Sdorra
09bde1e3bb use aceMode or codemirrorMode to determine programming language 2020-01-23 16:26:13 +01:00
Sebastian Sdorra
fe8e4db10b added diff endpoint which returns a parsed diff as json 2020-01-22 15:49:50 +01:00
Eduard Heimbuch
f44d17d640 create RepositoryInitializer which can be used to create new files in the initial commit on a new repository 2020-01-20 15:19:51 +01:00
Sebastian Sdorra
3602976ff1 removed unnecessary plugin node wrapper
Removed PluginNodeHashWrapper and moved equals and hashCode logic into PluginNode
2020-01-16 10:27:34 +01:00
Rene Pfeuffer
2d755aae9a Fix plugin load order
The old algorithm failed, because the tree below lead to the issue, that
the scm-branchwp-plugin was loaded before the scm-review-plugin was
ready.

This commit changes the order in the way, that leafs are loaded last.

+- scm-editor-plugin d
   +- scm-branchwp-plugin a
+- scm-mail-plugin c
   +- scm-review-plugin b
      +- scm-branchwp-plugin a
   +- scm-branchwp-plugin a
2020-01-16 08:56:57 +01:00
Rene Pfeuffer
96cda839f8 Simplify class 2020-01-15 14:00:20 +01:00
Sebastian Sdorra
1cade825af enable xrfs protection only on write request
This change is required in order to fix the image viewer and download of editor plugin
2020-01-14 13:28:17 +01:00
Rene Pfeuffer
b6590673c0 Create mock subject to satisfy legman
The posted restart event will trigger legman to request the current
subject so that it can be passed over. This will lead to an exception
if no subject is registered. The subject itself is of no importance
here.

Reported here:
https://groups.google.com/d/msg/scmmanager/m4CfDE2n4h8/Yn6fddaYBgAJ
2020-01-13 10:56:47 +01:00
Sebastian Sdorra
6b62f0aab6 throw more specific PluginLoadException instead of generic RuntimeException 2020-01-09 08:20:47 +01:00
Sebastian Sdorra
c1aa4af6e0 implemented optional dependencies
Plugin authors could now define optional dependencies to other plugins in their pom.
Extensions which are using classes from optional dependencies must specify this
with the "requires" attribute of the extension annotation.
Extensions with "requires" attribute are not installed if one of the specified plugins,
is not installed.
2020-01-08 14:27:11 +01:00
Sebastian Sdorra
3244e552a9 extension binder logs now to debug instead of info 2020-01-08 14:22:14 +01:00
Rene Pfeuffer
cf9d1edb70 Make partial file attributes explicit. 2019-12-18 11:48:17 +01:00
Rene Pfeuffer
0d6dcbd6bd Merge with default 2019-12-17 14:14:34 +01:00
Sebastian Sdorra
0374aad7a7 DefaultSyncAsyncExecutorProvider should be a Singleton 2019-12-13 13:46:20 +01:00
Eduard Heimbuch
03425b9e8a Merged in feature/assign_ui_session_id (pull request #377)
API-Client Support for SSE and Toast Components
2019-12-13 12:21:07 +00:00
Rene Pfeuffer
4fd2a0dd23 Small API changes 2019-12-12 16:13:36 +01:00
Rene Pfeuffer
8df43e7b4e Let background computations abort for browse command 2019-12-12 11:47:03 +01:00
Rene Pfeuffer
f7dc89ee81 Reload partial results 2019-12-11 15:49:33 +01:00
Rene Pfeuffer
58cff0797b Remove redundant mapper
FileObjectToFileObjectDtoMapper#map and
BrowserResultToFileObjectDtoMapper#fileObjectToDto had the same
mapstruct implementation.
2019-12-11 15:09:53 +01:00
Rene Pfeuffer
a37df2c20b Fix test helper 2019-12-11 12:58:01 +01:00
Rene Pfeuffer
9a8f0a4ee7 Use interfaces for executor classes 2019-12-11 12:42:21 +01:00
Rene Pfeuffer
11acf7ad21 Enable cache for browse results 2019-12-10 15:50:33 +01:00
Sebastian Sdorra
33833994d3 merge with default branch 2019-12-05 16:14:44 +01:00
Rene Pfeuffer
11391f2f64 Merge with default 2019-12-05 10:53:33 +01:00
Sebastian Sdorra
d70948a650 log error messages, if startup fails 2019-12-04 10:48:34 +01:00
Rene Pfeuffer
fc8677617b Disable StopThreadsCleanUp
When this is enabled, we get timeouts on some machines (seems to depend
on the number of cores) when the server is stopped which leads to an
error when the integration tests are run (the server cannot be stopped
fast enough when the integration tests are finished in webapp and shall
be started for scm-it).
2019-12-02 08:49:31 +01:00