Commit Graph

1051 Commits

Author SHA1 Message Date
René Pfeuffer
ad864787a7 Refactor trailers
Trailes are no persons, they have a person.
2020-06-08 08:57:54 +02:00
René Pfeuffer
76f2722ff4 Decouple extension point from dto 2020-06-08 08:57:53 +02:00
Eduard Heimbuch
ec57aa88fa add co-authors if available to changeset view
refactor ChangesetAuthor.tsx

get interfaces right / fix unit test / cleanup

fix table layout

use Set constructor injection to bind the implementation for the new changesetTrailers API

cleanup / update CHANGELOG.md

cleanup

fix formatting
2020-06-08 08:57:53 +02:00
Eduard Heimbuch
e451bb618e adjust ChangesetTrailerExtractor so that we don't check if user already exists 2020-06-08 08:57:53 +02:00
Andrzej Polit
bb1126befc Added ChangesetTrailerExtractor 2020-06-08 08:57:53 +02:00
René Pfeuffer
d8af1ea8d0 Test module 2020-06-02 21:31:44 +02:00
Sebastian Sdorra
d84bda2440 use junit TempDir instead of pioneer extension 2020-05-25 09:52:00 +02:00
Sebastian Sdorra
92bd41d99f Merge branch 'develop' into feature/packaging 2020-05-25 06:57:22 +02:00
René Pfeuffer
7636f1e845 Remove temp dir extension and use native junit annotation 2020-05-24 16:05:20 +02:00
Sebastian Sdorra
93eab621ed Merge branch 'develop' into feature/packaging
# Conflicts:
#	Jenkinsfile
#	pom.xml
2020-05-23 15:27:43 +02:00
Eduard Heimbuch
97cac87563 merge with develop 2020-05-20 12:13:47 +02:00
Sebastian Sdorra
f233197ba0 Merge pull request #1159 from scm-manager/bugfix/consolidate_dependencies
Consolidate dependencies
2020-05-20 11:40:04 +02:00
René Pfeuffer
054f320455 Make change types explicit
Without explicit change types, we cannot tell copy and rename apart.
2020-05-19 23:09:28 +02:00
René Pfeuffer
2b1ba7e4f3 Update servlet version 2020-05-19 16:29:40 +02:00
René Pfeuffer
c722565109 Hide getEffectedPaths for other packages 2020-05-19 09:56:24 +02:00
René Pfeuffer
35ffc5c4e2 Introduce new API for modifications
New modifications includes list of 'renames'. Therefore we introduce
a new base class Modification.
2020-05-19 09:56:24 +02:00
René Pfeuffer
5421d41161 Support rename in rest layer 2020-05-19 09:56:24 +02:00
René Pfeuffer
1d27c9df15 Add exception mapper for InvalidFormatException.
This exception is thrown for example when an enum in the input could not
be found. This is an invalid input and therefore should not result in an
internal server error.
2020-05-14 18:05:22 +02:00
Eduard Heimbuch
ee82c0d0aa move EdisonHalAppender to scm-core because we need it for plugins 2020-05-13 11:39:22 +02:00
Eduard Heimbuch
f3d289546e update CHANGELOG.md // adjust unit tests to changed permission 2020-05-05 11:15:26 +02:00
Sebastian Sdorra
bac253d276 implemented restart strategy for windows services 2020-05-03 11:23:42 +02:00
Sebastian Sdorra
6e120cdd00 start packaging for windows 2020-04-27 07:11:02 +02:00
Sebastian Sdorra
dbca56ce6b use /Users/<your_user_name>/Logs/SCM-Manager as log directory on OSX 2020-04-25 16:49:33 +02:00
Eduard Heimbuch
b369fac1e8 rename PluginCenterEvent 2020-04-02 13:37:05 +02:00
Eduard Heimbuch
405bc392a8 move events to scm-core / move subscriber to landingpage-plugin 2020-04-02 10:43:07 +02:00
Eduard Heimbuch
548bf97c57 make scm-webapp depend optional of scm-landingpage-plugin // add some events for landingpage 2020-04-01 16:01:26 +02:00
René Pfeuffer
24c7cb0b67 Ensure that context is destroyed on restart 2020-03-26 07:24:58 +01:00
René Pfeuffer
7247a81c9d Use exceptions with explicit messages 2020-03-25 15:31:20 +01:00
Sebastian Sdorra
88a851d817 do not create config.xml during unit test 2020-03-25 09:45:23 +01:00
Sebastian Sdorra
4ad01c210f remove error prone InjectionContextRestartStrategy 2020-03-25 08:38:13 +01:00
Sebastian Sdorra
fbc86e7d33 show execute and restart button only if restarting is supported 2020-03-24 15:58:33 +01:00
Sebastian Sdorra
2873c44b52 show restart checkbox only if restarting is supported 2020-03-24 15:01:39 +01:00
Sebastian Sdorra
b97dfd7ded added missing license headers 2020-03-24 10:19:10 +01:00
Sebastian Sdorra
967c802588 merge with develop 2020-03-24 10:17:57 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
8e983265a6 Merge pull request #1065 from scm-manager/feature/use_buildin_eventsource
Feature use built-in eventsource
2020-03-23 09:59:13 +01:00
René Pfeuffer
f5cfd0ca68 Adapt unit test to new mockito api 2020-03-20 11:44:28 +01:00
Sebastian Sdorra
f8f5aa2ebd X-SCM-Session-ID and X-SCM-Client could now be send via query parameter
The use of query parameters is required for SSE, because the standard does not support header.
This works currently only for GET request to avoid parsing of request body.
2020-03-20 11:10:05 +01:00
René Pfeuffer
b8ab729c45 Merge branch 'develop' into feature/browse_commit_with_limit 2020-03-09 08:40:29 +01:00
Sebastian Sdorra
7785ea2d68 Merged in bugfix/openapi_errors (pull request #417)
prevent using same classloader multiple times
2020-03-04 08:31:08 +00:00
Sebastian Sdorra
1160702ede merge with default branch 2020-03-03 16:00:30 +01:00
Sebastian Sdorra
f6368360c7 try to fix flappy unit tests, by using awaitility instead of Thread.sleep 2020-03-03 15:15:17 +01:00
Eduard Heimbuch
04d480684a prevent using same classloader multiple times 2020-03-03 10:39:07 +01:00
Eduard Heimbuch
b6208240ab remove obsolete repository fields 2020-03-02 11:18:57 +01:00
Rene Pfeuffer
6b3f36e7ea WIP 2020-02-18 17:56:22 +01:00
Sebastian Sdorra
de3db6252e implemented restarter to move control over the restart process to the core 2020-02-12 14:45:13 +01:00
Sebastian Sdorra
bca34b829d use SimpleClassLoaderLifeCycle by default 2020-02-12 12:36:37 +01:00
Sebastian Sdorra
56b8dbdb22 Reimplement restarting of scm-manager
SCM-Manager tries now to figure out which is the best strategy for the restart.
It chooses from one of the following strategies:

* PosixRestartStrategy which uses native LibC
* ExitRestartStrategy uses System.exit and relies on external mechanism to start again
* InjectionContextRestartStrategy destroys and re initializes the injection context
2020-02-12 12:13:10 +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