Commit Graph

3775 Commits

Author SHA1 Message Date
Eduard Heimbuch
121c0d1bf2 fix race condition on authorization event processing which leads to permission mismatch 2020-11-09 16:07:09 +01:00
CES Marvin
9930d82d32 prepare for next development iteration 2020-11-06 08:40:11 +00:00
CES Marvin
ea6e24c212 release version 2.9.0 2020-11-06 08:05:48 +00:00
Konstantin Schaper
4144e29599 fix scope check 2020-11-05 11:27:11 +01:00
Konstantin Schaper
7b24a4e95c Merge branch 'develop' into bugfix/api-key-to-access-token 2020-11-05 10:14:52 +01:00
Sebastian Sdorra
423402e62b Add option to disable request tracing 2020-11-04 09:44:08 +01:00
Konstantin Schaper
3dd0272c4a Merge branch 'bugfix/api-key-to-access-token' of github.com:scm-manager/scm-manager into bugfix/api-key-to-access-token 2020-11-04 09:38:46 +01:00
Konstantin Schaper
b5f042ad15 use preexisiting scope by default but prevent overriding of builder scope and update unit tests 2020-11-04 09:38:29 +01:00
Sebastian Sdorra
5694a89589 Set span kinds for internal requests 2020-11-04 09:37:24 +01:00
Sebastian Sdorra
b91d9e6b60 Add exception class to failed span of AdvancedHttpClient 2020-11-04 08:55:23 +01:00
Sebastian Sdorra
3c32073853 Merge with develop 2020-11-04 08:22:41 +01:00
snyk-bot
9f237135bc fix: upgrade org.hibernate.validator:hibernate-validator from 6.1.5.Final to 6.1.6.Final
Snyk has created this PR to upgrade org.hibernate.validator:hibernate-validator from 6.1.5.Final to 6.1.6.Final.

See this package in Maven Repository:
https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator/

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/e67572ee-5940-4f2b-93b0-dced62d7ed85?utm_source=github&utm_medium=upgrade-pr
2020-11-04 01:35:26 +00:00
Konstantin Schaper
616e1efc97 Merge branch 'develop' into bugfix/api-key-to-access-token 2020-11-03 14:48:39 +01:00
Konstantin Schaper
621ed5b827 update unit test name 2020-11-03 14:43:06 +01:00
Florian Scholdei
f3d8babc67 Merge with upstream 2020-11-03 11:44:13 +01:00
Konstantin Schaper
5c42c3b49d update unit test 2020-11-03 11:42:44 +01:00
Florian Scholdei
bfa917859a Make authenticatedGroup external, fix small flaw 2020-11-03 10:57:46 +01:00
Florian Scholdei
f1115099c9 Create unit tests, supplement missing groupManager precondition, add createAuthenticatedGroup factory 2020-11-03 10:45:47 +01:00
René Pfeuffer
4b15468e67 Merge remote-tracking branch 'origin/develop' into bugfix/rest-download 2020-11-03 10:23:00 +01:00
Florian Scholdei
c87fa5b3e5 Revert "Exclude null case if groupManager is not set"
This reverts commit 81dc317f
2020-11-03 08:58:06 +01:00
Sebastian Sdorra
9fe065f796 Merge pull request #1399 from scm-manager/feature/default_branch
Make default branch for git configurable
2020-11-03 08:23:03 +01:00
Konstantin Schaper
56331c4201 use api key scope when creating access tokens from api keys instead of full user scope 2020-11-02 17:13:13 +01:00
Konstantin Schaper
578e028d5b Merge branch 'develop' into bugfix/rest-download 2020-11-02 13:28:44 +01:00
Konstantin Schaper
22e0944377 fix review findings 2020-11-02 13:27:18 +01:00
Sebastian Sdorra
b6b0736cd9 Make JwtAccessTokenBuilderTest more robust 2020-11-02 10:41:21 +01:00
René Pfeuffer
c2a7ed8869 Validate banch names 2020-10-30 14:24:31 +01:00
Konstantin Schaper
0beb749f23 adjust scm client check and update unit test accordingly 2020-10-30 12:20:45 +01:00
Eduard Heimbuch
0c8fe5a60c confirm password modal by enter key / fix password link for logged in user 2020-10-30 11:48:05 +01:00
Konstantin Schaper
62a7ebd4dd user agents are not longer set to be browsers by default 2020-10-29 19:51:40 +01:00
Florian Scholdei
81dc317f3c Exclude null case if groupManager is not set 2020-10-28 17:58:58 +01:00
Florian Scholdei
03417898ca Create _authenticated group at startup 2020-10-28 15:29:54 +01:00
Eduard Heimbuch
23cc02ec99 Merge branch 'develop' into feature/user_converter 2020-10-28 08:42:26 +01:00
Eduard Heimbuch
8f52fc50f1 Merge branch 'develop' into feature/trace_api 2020-10-27 15:00:10 +01:00
CES Marvin
520db79a38 prepare for next development iteration 2020-10-27 08:35:13 +00:00
CES Marvin
1db75f4cf3 release version 2.8.0 2020-10-27 08:00:25 +00:00
Sebastian Sdorra
e992e17040 Fix typo in log message 2020-10-27 08:28:23 +01:00
Sebastian Sdorra
76dee09e3c Mark span as failed if an IOException occurs 2020-10-27 08:15:10 +01:00
Sebastian Sdorra
1742bd9b77 Fix SonarQube issues 2020-10-26 16:55:22 +01:00
Sebastian Sdorra
eb7a7837d7 Integrate trace api with AdvancedHttpClient 2020-10-26 16:54:05 +01:00
Sebastian Sdorra
09d85f6dbb Implemented default LoggingExporter for trace api 2020-10-26 16:51:57 +01:00
René Pfeuffer
6002e560ef Heed review remarks 2020-10-26 10:19:59 +01:00
René Pfeuffer
1ca18cd44c Do not create web tokens for api keys
This fixes a way for privilege escalation with api keys.
2020-10-26 10:19:59 +01:00
eheimbuch
b8c419792e Merge branch 'develop' into feature/user_converter 2020-10-23 12:08:23 +02:00
Eduard Heimbuch
e8b07aaae1 fix translations 2020-10-23 08:54:56 +02:00
René Pfeuffer
d2d237e0c2 Merge pull request #1385 from scm-manager/bugfix/logging_error_reading_api_token
Reduce logging of ApiTokenRealm
2020-10-23 08:15:22 +02:00
Sebastian Sdorra
3be2d5acb4 Revert removal of DecodingException catch 2020-10-22 16:05:34 +02:00
Sebastian Sdorra
1195026fe6 Fix handling of snapshot plugin dependencies 2020-10-22 15:06:39 +02:00
Sebastian Sdorra
86b4dfb92a log stacktrace of failed api token parsing only if trace is enabled 2020-10-22 14:46:40 +02:00
Sebastian Sdorra
7b91cf82bf Reduce logging of ApiTokenRealm 2020-10-22 14:39:09 +02:00
Eduard Heimbuch
f73f60aabc Merge branch 'feature/user_converter' of github.com:scm-manager/scm-manager into feature/user_converter 2020-10-22 13:17:07 +02:00