Commit Graph

49 Commits

Author SHA1 Message Date
Rene Pfeuffer
32a0a6868f Fix security findings
- Add security headers:
  - X-Frame-Options
  - X-Content-Type-Options
  - Content-Security-Policy
  - Permissions-Policy
- Do not send server information header

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-06-14 15:57:01 +02:00
Rene Pfeuffer
68110ee6b3 Retry failing integration tests
This uses 'RetryingTest' from junit jupiter to retry integration tests that are known to fail from time to time. We explicitly mark single tests in contrast to set a global retry to be able to trace those, whenever this is intended.

To do so, we have to update to the latest version of JUnit. Unfortunately, this brought a new behaviour for the @TempDir annotation: In contrast to the former behaviour where for one test all annotated parameters got the same directory, in the new version the parameters get different directories assigned. This led to the need of some consolidation between @BeforeEach methods and the related tests.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-22 06:24:33 +01:00
Eduard Heimbuch
f672e175b5 Improve docker healthcheck (#2110)
The new docker health check respects the jetty configuration and uses the configured port and context path.
It supports ssl listeners and follows redirects.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-08-30 11:02:21 +02:00
Sebastian Sdorra
01a2d6c33a remove old packaging 2020-05-17 12:43:56 +02: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
eb1812dea6 Enable X-Forwarded header 2019-09-19 21:46:29 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
73cfbe8993 remove work directory after package upgrade, see #923 2017-06-25 13:46:39 +02:00
Sebastian Sdorra
bad99919f4 merge with branch 1.x 2017-01-12 19:50:39 +01:00
Coby Pritchard
721d1c8adb Add Jetty host interface variable. Allows to run a specific interface or locahost instead of just all interfaces. 2015-12-03 20:10:08 +00:00
Stephan Christann
a3735e7417 added missing shebang statement in create user script 2015-01-22 14:47:14 +01:00
Stephan Christann
0609a7f45c Usability of init script improved. 2015-01-15 11:09:22 +01:00
Sebastian Sdorra
6c1f672ffe fix merge issue 2014-12-13 16:28:02 +01:00
Sebastian Sdorra
d6ce7383d6 merge with branch 1.x 2014-12-06 15:42:10 +01:00
Sebastian Sdorra
5fdb474f95 added comment about POODLE vulnerability to https configuration 2014-10-18 13:53:55 +02:00
Sebastian Sdorra
cb00ed3d75 fix scm-server stop method on windows, see issue #623 2014-08-28 09:03:43 +02:00
Sebastian Sdorra
9d1480acee update jetty to version 9.2.2.v20140723 2014-08-23 22:55:55 +02:00
Sebastian Sdorra
6a508b53d1 do not force a java home 2014-05-18 11:23:40 +02:00
Sebastian Sdorra
37de8d9c71 improve deb generation 2014-05-18 10:48:26 +02:00
Sebastian Sdorra
6d3fe8e9d0 fix npe on non daemon start 2014-05-18 10:20:54 +02:00
Sebastian Sdorra
e71477e301 fix open webserver port < 1024 as non privileged user 2014-05-16 13:14:26 +02:00
Sebastian Sdorra
a5355cfefb use user scm to run scm-server for rpm package installations 2014-05-16 12:39:08 +02:00
Sebastian Sdorra
3a4e51b9a8 added profile to build an rpm package for scm-server 2014-05-14 16:33:31 +02:00
Sebastian Sdorra
4d7d75bd95 use work directory instead of temp directory for scm-manager webapp 2013-10-30 08:32:45 +01:00
Sebastian Sdorra
9398420f05 added first access url and credentials to readme 2013-05-31 17:57:38 +02:00
Sebastian Sdorra
2b52b2166c disable directory listings on default scm-server configuration 2013-02-16 20:02:57 +01:00
Sebastian Sdorra
a905dd8932 prepare server-config.xml for request logging 2012-11-12 09:39:58 +01:00
Sebastian Sdorra
3949c17a60 fix xml parser error in server-config.xml 2012-08-11 15:52:59 +02:00
Sebastian Sdorra
5882ae5542 added missing dtd to server-config.xml 2012-08-11 11:42:12 +02:00
Sebastian Sdorra
359f2e4406 added license headert to readme file 2011-10-21 09:09:56 +02:00
Sebastian Sdorra
845373fa3c added readme file to server bundles 2011-10-12 08:52:38 +02:00
Sebastian Sdorra
fe6a033b54 fix mercurial pre-receive hooks 2011-10-12 08:26:03 +02:00
Sebastian Sdorra
965df35f18 increase jetty header buffer size for mercurial > 1.9 2011-10-09 16:09:08 +02:00
Sebastian Sdorra
d73ada51cf added missing license headers for scm-server 2011-10-07 09:07:35 +02:00
Sebastian Sdorra
c4f3455e2a move scm-server logging configuration to conf directory 2011-05-24 17:23:24 +02:00
Sebastian Sdorra
9a17480710 fix wrong class in the ssl connector, see #9 2011-04-12 09:01:02 +02:00
Sebastian Sdorra
b8f29525ca fix path to scm-webapp.war and docroot directory 2011-03-02 21:30:49 +01:00
Sebastian Sdorra
5a0ab72614 rebuild scm-server api and added support for unix-daemons and windows services 2011-03-02 19:26:48 +01:00
Sebastian Sdorra
9184c07370 remove jsw, because of mission win x64 support 2011-02-14 17:23:18 +01:00
Sebastian Sdorra
33a912c32f remove tar.bz2 package 2011-02-06 11:32:23 +01:00
Sebastian Sdorra
8bb426c806 added missing docroot directory 2011-02-06 11:31:06 +01:00
Sebastian Sdorra
f9e03103d4 using contextpath /scm for scm-server 2011-02-06 11:13:57 +01:00
Sebastian Sdorra
99bdb48ee8 move wrapper binaries to libexec folder 2011-02-05 14:15:19 +01:00
Sebastian Sdorra
a60c37cb54 added jmx support 2011-02-04 10:21:39 +01:00
Sebastian Sdorra
6763b4bcda added missing jetty server-config 2011-01-20 19:58:31 +01:00
Sebastian Sdorra
3f1ef02250 remove scm-core dependency from scm-server-api and improve jetty configuration 2011-01-20 18:55:14 +01:00
Sebastian Sdorra
bc3a6305c8 replace pom.x with project.x for maven 3 2010-12-04 17:53:52 +01:00
Sebastian Sdorra
0fc5699aba added new license header 2010-10-31 19:22:53 +01:00
Sebastian Sdorra
d92b0932b3 added scm-server 2010-09-11 19:17:50 +02:00