Commit Graph

55 Commits

Author SHA1 Message Date
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
René Pfeuffer
a32bd01c45 Fix peer review issues 2020-06-02 21:32:06 +02:00
René Pfeuffer
d8af1ea8d0 Test module 2020-06-02 21:31:44 +02:00
René Pfeuffer
f74b7626eb New package for working copy related classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
Sebastian Sdorra
93eab621ed Merge branch 'develop' into feature/packaging
# Conflicts:
#	Jenkinsfile
#	pom.xml
2020-05-23 15:27:43 +02:00
Sebastian Sdorra
8e332575cb added missing license header 2020-05-03 11:41:41 +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
81e8dc428c support requires annotation on WebElements 2020-04-16 11:57:38 +02:00
René Pfeuffer
24c7cb0b67 Ensure that context is destroyed on restart 2020-03-26 07:24:58 +01:00
René Pfeuffer
af45388c27 Add documentation 2020-03-25 14:03:33 +01:00
Sebastian Sdorra
4ad01c210f remove error prone InjectionContextRestartStrategy 2020-03-25 08:38:13 +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
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
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
Rene Pfeuffer
9a8f0a4ee7 Use interfaces for executor classes 2019-12-11 12:42:21 +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
Rene Pfeuffer
75b43ef453 Merge with 2.0.0-m3 2019-11-25 14:35:47 +01:00
Sebastian Sdorra
2fde622560 reset resteasy StatisticsController to avoid ClassLoader leaks 2019-11-21 16:22:39 +01:00
Sebastian Sdorra
571f5aa421 destroy guice context from BootstrapContextListener 2019-11-21 16:21:52 +01:00
Sebastian Sdorra
d1a5f6f24b fix wrong ClassLoader for Delayed-Restart Thread, which has caused an ClassLoader leak.
Also added system properties to configure shutdown only, wait between stop and start and possibility to disable gc.
2019-11-21 16:20:55 +01:00
Sebastian Sdorra
ff7b8ca842 make ClassLoaderLeakPreventorFactory configurable and mark BootstrapClassLoader as shutdown 2019-11-21 16:16:15 +01:00
Eduard Heimbuch
906c27ebba create scmadmin also if only _anonymous user exists 2019-11-20 11:42:32 +01:00
Sebastian Sdorra
9e9df35fdb upgrade resteasy, legman and hibernate-validator
* resteasy from 3.6.2.Final to 4.4.1.Final
* legman from 1.5.1 to 1.6.0
* hibernate-validator from 5.3.6.Final to 6.1.0.Final
2019-11-20 10:57:32 +01:00
Sebastian Sdorra
5ea3c53613 create separate styles bundle 2019-11-18 10:56:40 +01:00
Eduard Heimbuch
18cb7020d0 implement anonymous realm // use constant for _anonymous user 2019-10-10 13:40:40 +02:00
Eduard Heimbuch
8556278533 create _anonymous user when anonymous access activated and user does not exist yet / also create _anonymous user on system start if required 2019-10-09 15:45:32 +02:00
Rene Pfeuffer
7e85f374ab Close file stream 2019-09-18 11:02:43 +02:00
Rene Pfeuffer
7ec2b0c31d Delete plugins marked for uninstall 2019-09-16 14:27:56 +02:00
Sebastian Sdorra
1a01216f62 renamed Plugin to InstalledPluginDescriptor and added PluginDescriptor interface 2019-08-20 08:05:41 +02:00
Sebastian Sdorra
ae19ad9327 renamed PluginWrapper to InstalledPlugin 2019-08-20 07:54:00 +02:00
Eduard Heimbuch
ef0c57b83f bind GroupCollector to DefaultGroupCollector 2019-08-02 09:55:30 +02:00
Sebastian Sdorra
2cdcf78c91 Merged in feature/redirect_migrated_repositories (pull request #277)
Feature redirect migrated repositories
2019-07-08 09:38:17 +00:00
Eduard Heimbuch
97c10a867c merged 2019-07-05 08:03:55 +02:00
René Pfeuffer
dc7407d6e5 Fix guice binding 2019-07-03 07:58:38 +02:00
René Pfeuffer
c35363b79f Store repository id in git config for each repository
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
René Pfeuffer
f631dc1724 Redirect protocol requests for migrated repositories
- Make old repository name and id available to plugins (MigrationDAO)
- Build Map with paths of migrated repositories to new location
- Implement redirect (RepositoryLegacyProtocolRedirectFilter)
2019-07-02 10:46:26 +02:00
René Pfeuffer
7db3350439 Migrate git LFS blob directory 2019-07-01 14:17:32 +02:00
René Pfeuffer
67f9dcc5cf Add logging if previous version is too old 2019-06-27 10:17:34 +02:00
Sebastian Sdorra
c7700a8ddd remove SunAwtAppContextInitiator, because it cases a lot of exceptions 2019-06-26 15:52:54 +02:00
Sebastian Sdorra
572caedd73 remove mutable field from servlet, use servletcontext attribute instead of field instance 2019-06-26 14:46:14 +02:00