Commit Graph

2186 Commits

Author SHA1 Message Date
Rene Pfeuffer
450ed7bd4e Fix unit test 2019-11-25 08:15:13 +01:00
Rene Pfeuffer
aedf34c581 Postpone restart after plugin (de)installation 2019-11-22 15:43:58 +01:00
Sebastian Sdorra
ca8d5956e0 shutdown executor on context destroy 2019-11-21 16:23:04 +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
755b99f524 close CronThreadFactory to avoid thread leak 2019-11-21 16:17:30 +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
Eduard Heimbuch
49bdf18fb0 fix integration tests 2019-11-20 08:24:42 +01:00
Eduard Heimbuch
fd75277176 cleanup 2019-11-19 16:43:45 +01:00
Eduard Heimbuch
aa7b6f5282 only migrate public flag if repository-v1-xml-backup 2019-11-19 15:42:22 +01:00
Eduard Heimbuch
e432d6d210 refactor 2019-11-19 14:23:05 +01:00
Eduard Heimbuch
2ec98c2763 remove repository public flag 2019-11-19 14:04:47 +01:00
Eduard Heimbuch
dd8f84e7c4 implement repository public flag migration to repositoryPermissions for _anonymous user 2019-11-19 13:50:57 +01:00
Eduard Heimbuch
0abb2e108d Merged in bugfix/missing_styles (pull request #353)
create separate styles bundle
2019-11-18 13:20:16 +00:00
Eduard Heimbuch
c6ba50b3b5 fix path for loading migration styles 2019-11-18 14:18:37 +01:00
Sebastian Sdorra
999a3476e6 move to scm-webapp 2019-11-18 13:28:28 +01:00
Sebastian Sdorra
5ea3c53613 create separate styles bundle 2019-11-18 10:56:40 +01:00
Sebastian Sdorra
42ab81cf50 implement ui client session id
This changeset introduces a client side session id, which is generated
once by the client (ui: apiClient) and is send with each request to server.
The server makes the session id available by the PrincipalCollection of the
subject.
2019-11-13 14:03:48 +01:00
Eduard Heimbuch
cc03af197f Merged in bugfix/merge_with_conflict (pull request #348)
Remove unused mapper
2019-11-12 07:48:20 +00:00
Rene Pfeuffer
c2e30a582f Remove unused mapper 2019-11-08 16:44:04 +01:00
Rene Pfeuffer
73cdab4ddc Merged in feature/merge_with_squash (pull request #347)
Feature/merge with squash
2019-11-08 15:41:45 +00:00
Eduard Heimbuch
313ec7fe5d fix dependencies after removing mergeResource 2019-11-08 13:10:31 +01:00
Eduard Heimbuch
b1216a898b remove mergeResource and move dryRun to review-plugin 2019-11-08 11:46:13 +01:00
Rene Pfeuffer
b47cc56a86 Remove redundant logging 2019-11-06 08:32:00 +01:00
Eduard Heimbuch
7e00d22e9e merge 2.0.0-m3 2019-11-06 07:48:35 +01:00
Eduard Heimbuch
db46441adf move mergeResultDto + mapper to scm-core 2019-11-05 09:51:58 +01:00
Eduard Heimbuch
d5bd83fafb fix encoding and decoding for branches including slashes 2019-11-01 13:52:53 +01:00
Eduard Heimbuch
48154cce0f fix unit tests 2019-10-29 13:49:04 +01:00
Eduard Heimbuch
f4b1bf289a change fileObjectMapping 2019-10-29 08:37:50 +01:00
Eduard Heimbuch
52c3c1d7f8 add enricher for browserResult mapping 2019-10-28 15:21:24 +01:00
Sebastian Sdorra
8a6f862d3d Merged in feature/lfs_over_ssh (pull request #336)
Feature LFS over ssh
2019-10-22 12:01:38 +00:00
Sebastian Sdorra
10fbf50263 fix wrong OutOfScopeException detection 2019-10-22 11:23:34 +02:00
Sebastian Sdorra
52f471b5dd fix lfs authentication via ssh command and enabled xsrf protection 2019-10-22 10:50:49 +02:00
Eduard Heimbuch
74a89a7130 fix missing anon exception 2019-10-18 11:31:15 +02:00
Eduard Heimbuch
1af4acabbe add missing check if anonymous access is enabled but anonymous user doesn't exists 2019-10-18 09:43:03 +02:00
Eduard Heimbuch
1fd6337f64 anonymous user should not have permission to change password or autocomplete 2019-10-17 11:08:55 +02:00
Eduard Heimbuch
e91a3eac6a small fixes and cleanup after review 2019-10-17 09:33:54 +02:00
Eduard Heimbuch
4ce1d2ed89 add unit tests for anonymous realm 2019-10-17 09:26:36 +02:00
Eduard Heimbuch
d69e93406c use static method to check if subject is anonymous 2019-10-14 16:21:14 +02:00
Eduard Heimbuch
38ca5f8d22 return 401 on scm http request if anonymous access is enabled but does not have the required permissions 2019-10-14 16:20:27 +02:00
Eduard Heimbuch
b26f9068f4 move Anonymous Realm to webapp 2019-10-14 16:18:14 +02:00
Eduard Heimbuch
09409bae33 cleanup 2019-10-14 11:34:32 +02:00
Eduard Heimbuch
eb684a3b1d only map authorizationException to forbidden if user is not _anonymous 2019-10-14 10:18:26 +02:00
Eduard Heimbuch
8d416c6c67 create ScmConfigurationChangedListener to create _anonymous user 2019-10-14 09:32:48 +02:00
Eduard Heimbuch
1162b353db remove logout link when authenticated as _anonymous user 2019-10-10 14:05:34 +02:00
Eduard Heimbuch
f0311eb138 fix authentication selector for correct browser rendering if anonymous access is active 2019-10-10 13:44:29 +02:00
Eduard Heimbuch
18cb7020d0 implement anonymous realm // use constant for _anonymous user 2019-10-10 13:40:40 +02:00