Commit Graph

116 Commits

Author SHA1 Message Date
René Pfeuffer
b6d343bf09 Make auth expiration for LFS configurable (#1697)
When SCM-Manager is used behind a reverse proxy like
Nginx it may be the case, that lfs PUT requests are
buffered by the reverse proxy and will be sent to the
SCM-Manager after the whole file has been received. Due
to the expiration time of 5 minutes for the authentivation
token that had been requested by Git before the upload
has been started, this request from the proxy to
SCM-Manager fails if the upload from the client to the
reverse proxy took longer than these 5 minutes.

To solve this, we make this expiration time configurable,
so that whenever you have very large files or small
bandwidth the expiration timeout can be increased.
2021-06-16 09:14:52 +02:00
Eduard Heimbuch
73c1609d92 Add flag to global config to enable/disable api keys as additional authentication method (#1606)
Add flag to global config to enable/disable API keys as additional authentication method.

Fixes #1599
2021-03-25 12:06:22 +01:00
René Pfeuffer
512bf20659 Run JUnit 5 integration tests again (#1571)
With the migration to gradle we lost the JUnit 5 integration tests. This is fixed here. In addition we have to adapt the AnonymousAccessITCase to the change, that the anonymous access is disabled when creating the default test data.
2021-03-05 15:08:20 +01:00
Konstantin Schaper
94304f96a3 migrate integration tests to bdd (#1497)
Migrates the existing e2e tests towards a cucumber bdd-style and utilizes the integration-test-runner package.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-26 12:58:48 +01:00
René Pfeuffer
32e09f5874 Revert "Try to prevent flappy integration test failures"
This reverts commit ccbd56e625.
2021-01-18 10:52:08 +01:00
René Pfeuffer
ccbd56e625 Try to prevent flappy integration test failures
Some integration tests tend to fail from time to time with
a server side error reading packed objects. This is kind
of a desperate try to fix these.
2021-01-15 15:32:18 +01:00
René Pfeuffer
e9410c6c3f Clean up before running old it cases from webapp 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
bac430163f Fix missing resources for integration tests 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
6b30da247a Move scm-webapp integration tests to scm-it 2021-01-14 12:01:34 +01:00
Konstantin Schaper
11ebba349c fix integration test 2020-11-27 13:08:42 +01:00
Konstantin Schaper
a6667b0ffd update integration test 2020-11-04 10:00:28 +01:00
René Pfeuffer
8f13f3203d Fix integration test 2020-10-30 14:24:31 +01:00
René Pfeuffer
4200aa1225 Add integration test for api keys 2020-10-05 10:53:30 +02:00
René Pfeuffer
af9e2529ca Adapt test to additional 'date' attribute in tag object 2020-09-03 14:26:58 +02:00
Eduard Heimbuch
a9bf3c54e6 merge with develop 2020-08-10 11:39:18 +02:00
René Pfeuffer
264ad2bef1 Migrate to JUnit 5 2020-08-07 17:25:23 +02:00
René Pfeuffer
2433c50d64 Add test for "real" merge commits 2020-08-07 08:01:13 +02:00
René Pfeuffer
6f20781812 Add first integration tests for merge detection 2020-08-06 17:12:14 +02:00
Eduard Heimbuch
7dc13b1168 add integration tests 2020-08-04 13:31:37 +02:00
Eduard Heimbuch
b926238e03 enhance anonymous access from two state mode to three state mode 2020-08-03 14:40:39 +02:00
Sebastian Sdorra
081e6f5185 relax test pattern to not fail if there are no millis on the creation date 2020-07-03 11:08:43 +02:00
René Pfeuffer
7636f1e845 Remove temp dir extension and use native junit annotation 2020-05-24 16:05:20 +02:00
René Pfeuffer
b12b1ca5fe Update rest assured version 2020-05-19 21:57:55 +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
Rene Pfeuffer
3a3c27bb67 Enhance logging for diff comparison 2019-11-19 09:26:01 +01:00
Rene Pfeuffer
20338c1bb6 Add integration tests for anonymous access 2019-10-17 11:53:23 +02:00
Rene Pfeuffer
3e2c8b7c4b Remove archive flag 2019-08-20 14:23:52 +02:00
Eduard Heimbuch
e33b4dc9fc removed unused method 2019-08-02 14:46:58 +02:00
René Pfeuffer
66b8187804 Fix integration test 2019-05-08 12:54:32 +02:00
René Pfeuffer
c5b20566c1 Fix bugs with integration test 2019-05-07 09:20:19 +02:00
René Pfeuffer
424120c964 Delete unused methods 2019-03-21 13:13:12 +01:00
Sebastian Sdorra
691f84a801 removes comments which are not useful without the context of the current change 2019-03-21 13:04:53 +01:00
Sebastian Sdorra
1179fd37fa fixes integration tests, which are relying on the admin flag 2019-03-13 15:56:40 +01:00
Sebastian Sdorra
8bf82213b8 remove unused imports 2019-01-30 14:48:37 +01:00
Sebastian Sdorra
eba07dc006 merge repository heads 2019-01-29 16:01:36 +01:00
Sebastian Sdorra
428734e0c7 port GitNonFastForwardITCase from scm-webapp to scm-it 2019-01-29 13:36:13 +01:00
René Pfeuffer
6bf216d379 Rename media type 2019-01-23 11:19:55 +01:00
René Pfeuffer
02b19e51ef Fix repository permission rest interface 2019-01-23 09:47:38 +01:00
René Pfeuffer
707d63426b Remove enum PermissionType 2019-01-22 13:28:52 +01:00
Sebastian Sdorra
c26cc0fe56 fixed integration tests 2019-01-18 11:15:38 +01:00
René Pfeuffer
db1af8a7a4 Add integration test for security filter 2018-11-13 11:41:03 +01:00
René Pfeuffer
afbffa5978 Fix tests for default owner permission
Therefore add explicit methods to change the permission collection
of a repository.
2018-11-09 10:13:36 +01:00
René Pfeuffer
ef23178fad Fix test file name 2018-11-01 13:06:14 +01:00
Rene Pfeuffer
f505fcdbb9 Remove .java suffix from test file names
Otherwise searching for the original class may present you multiple
results
2018-11-01 11:16:18 +01:00
Mohamed Karray
4ffea849d7 merge 2018-10-26 16:38:28 +02:00
Mohamed Karray
0360694052 fix show diff in git format for svn repo 2018-10-26 16:26:55 +02:00
Sebastian Sdorra
6df3aa49ac Merged in feature/i18n_for_plugins_v2 (pull request #92)
Feature/i18n for plugins v2
2018-10-24 09:22:47 +00:00
Mohamed Karray
9cb661b460 plugin translation servlet 2018-10-20 14:40:03 +02:00
René Pfeuffer
46846673ae Merge with 2.0.0-m3 2018-10-17 13:58:53 +02:00
René Pfeuffer
3c7df066f0 Cleanup 2018-10-17 13:25:07 +02:00