Commit Graph

3311 Commits

Author SHA1 Message Date
Sebastian Sdorra
c20a50e9ec Prepare for next development iteration 2020-02-03 13:42:29 +01:00
Rene Pfeuffer
a7ff141986 Release version 2.0.0-rc3 2020-01-31 13:02:27 +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
Sebastian Sdorra
646b008af3 Prepare for next development iteration 2020-01-29 16:01:25 +01:00
Sebastian Sdorra
28040d0c65 release version 2.0.0-rc2 2020-01-29 15:22:54 +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
Sebastian Sdorra
27c7c572f6 adjust unit tests to new language detection 2020-01-24 08:28:46 +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
Rene Pfeuffer
c5520e6b07 Fix error handling on git push
Failing git push does not lead to an GitAPIException. Instead we have to
check the dedicated push update results.

By the way this adds a message for the internal repository exception.
2020-01-15 08:49:14 +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
Sebastian Sdorra
a0dcb28497 merge repository heads 2019-12-12 11:35:12 +01:00
Sebastian Sdorra
1b7907d575 update mustache to 0.9.6-scm1 in order to fix a ClassLoader leak
see https://github.com/spullara/mustache.java/pull/240
2019-12-12 11:27:28 +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
7c0eb9251a Add unit test 2019-12-11 13:00:07 +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
Rene Pfeuffer
4a782db1fa Implement test 2019-12-06 14:44:50 +01:00
Rene Pfeuffer
d0f8e4ccf2 Rename utility class 2019-12-05 17:43:21 +01:00
Rene Pfeuffer
e363f057b2 Merge with bugfix/classloader_leak 2019-12-05 17:04:27 +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
516bbe6f26 Prepare for next development iteration 2019-12-02 15:15:34 +01:00
Rene Pfeuffer
2d08ba4adc Release version 2.0.0-rc1 2019-12-02 12:52:33 +01:00