Commit Graph

6114 Commits

Author SHA1 Message Date
Sebastian Sdorra
53be8b112b avoid path traversal attack 2018-11-30 08:11:26 +01:00
Mohamed Karray
0bbe7352c2 merge 2018-11-29 15:09:00 +01:00
Sebastian Sdorra
09a55b9f4b remove unused files 2018-11-28 19:58:03 +01:00
Sebastian Sdorra
e9401624a7 re implement XmlRepositoryDAO 2018-11-28 19:49:55 +01:00
René Pfeuffer
d4db39755f Harmonize repository resolution 2018-11-27 15:31:57 +01:00
René Pfeuffer
bc629ec648 Send repository id with hg hook request 2018-11-27 14:06:11 +01:00
Philipp Czora
64980bfc23 Merged in bugfix/ie11 (pull request #118)
Bugfix/ie11
2018-11-27 12:49:53 +00:00
Philipp Czora
2855911fef Close branch bugfix/ie11 2018-11-27 12:49:53 +00:00
Sebastian Sdorra
3ffabf3f73 Merged in feature/bugfix_branchchooser_in_sources (pull request #114)
Fixed bug causing branch selector to be mounted before branches are fetched
2018-11-27 12:48:34 +00:00
Sebastian Sdorra
75b856773d Close branch feature/bugfix_branchchooser_in_sources 2018-11-27 12:48:34 +00:00
Philipp Czora
30d493053c Merged in feature/helm-install-plugins (pull request #117)
Feature/helm install plugins
2018-11-27 12:43:19 +00:00
Philipp Czora
0f8fb10a03 Close branch feature/helm-install-plugins 2018-11-27 12:43:19 +00:00
Sebastian Sdorra
46b111df7d remove vulnerable flatmap-stream package 2018-11-27 11:58:40 +01:00
Sebastian Sdorra
ed3917469b added cache-control header to api response, to fix stale data on ie11 2018-11-27 11:33:51 +01:00
Sebastian Sdorra
0f97fee712 add polyfill for Object.assign and fetch, to fix ie11 2018-11-27 11:33:27 +01:00
René Pfeuffer
00ab764dab Store repository id in native config file
Hooks can read this repository type dependant config file and handle
the changes for the correct repository id
2018-11-26 17:22:17 +01:00
Sebastian Sdorra
7c754d5ee4 added init container to install plugins 2018-11-26 16:55:29 +01:00
Sebastian Sdorra
248d5ce3d8 fix xml comment syntax in logging.xml 2018-11-26 16:55:12 +01:00
René Pfeuffer
6b663de7dd Extract method 2018-11-26 13:50:00 +01:00
René Pfeuffer
095198cf74 Remove dead code 2018-11-26 12:48:41 +01:00
René Pfeuffer
282b5687a6 Query initial repository location only once at creation 2018-11-23 16:34:38 +01:00
René Pfeuffer
c8fc673ce0 Remove hooks for internal repository id 2018-11-23 16:12:35 +01:00
René Pfeuffer
1a9c3a1a6c Use meaningful exception 2018-11-23 15:56:35 +01:00
René Pfeuffer
0f7e49d20f Bring constant home 2018-11-23 15:52:21 +01:00
René Pfeuffer
3d671caada Let dao create repository base directory before native creation 2018-11-23 15:04:59 +01:00
René Pfeuffer
1e655e9c97 Fix creation of root repository folder
The root folder has to be created with FileSystem, not only the data
directory
2018-11-23 13:58:39 +01:00
René Pfeuffer
aa596af880 Remove dead code 2018-11-23 13:16:18 +01:00
René Pfeuffer
8b8240319b Suppress sonar warning 2018-11-23 12:46:24 +01:00
René Pfeuffer
c0000df508 Use "real paths" instead of absolute paths
See issue #82 for details:
https://bitbucket.org/sdorra/scm-manager/issues/82/symbolic-link-in-hg-repository-path
2018-11-23 11:59:12 +01:00
René Pfeuffer
5cff79fc97 Add unit test 2018-11-23 11:05:20 +01:00
René Pfeuffer
27b5be5391 Remove test for deleted class 2018-11-23 10:43:23 +01:00
René Pfeuffer
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
4925370a43 Fix NPE in not found exception creation 2018-11-23 09:55:54 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +01:00
René Pfeuffer
d329ca56f8 Replace public method with public constant 2018-11-22 16:41:06 +01:00
René Pfeuffer
00e3cbec57 Refactor directories in RepositoryPath and dao 2018-11-22 12:29:26 +01:00
Mohamed Karray
2694a165cc merge 2018-11-22 08:08:49 +01:00
Mohamed Karray
f081cdda18 merge 2018-11-22 07:32:12 +01:00
Mohamed Karray
e772f75e2e remove the repository directory from the config ui components 2018-11-22 07:29:41 +01:00
Mohamed Karray
8aaea44f1a use relative path for repository directory 2018-11-22 07:05:17 +01:00
René Pfeuffer
024bcfaf87 Merged in feature/ui-abstraction-repository-config (pull request #110)
Feature/ui abstraction repository config
2018-11-21 13:06:41 +00:00
René Pfeuffer
b3917bc2d4 Close branch feature/ui-abstraction-repository-config 2018-11-21 13:06:41 +00:00
Maren Süwer
d238a5ba28 Merged in feature/ui_user_pw_change (pull request #107)
Feature/ui user pw change
2018-11-21 12:57:10 +00:00
Maren Süwer
52e23d5a05 Close branch feature/ui_user_pw_change 2018-11-21 12:57:10 +00:00
Maren Süwer
387248219c merge 2.0.0-m3 2018-11-21 13:34:27 +01:00
René Pfeuffer
72d7479beb Merge test fix 2018-11-21 13:01:29 +01:00
René Pfeuffer
014465d94e Fix test failures
Due to changes from revision e73789174bc1 no hgrc will be created
2018-11-21 13:00:21 +01:00
Mohamed Karray
3852ecfee9 merge 2018-11-21 12:03:19 +01:00
Mohamed Karray
bb1c84ba24 modify metadata.xml only if needed
introduce a defaultRepositoryDirectory in the XmlRepositoryDatabase
Bugfix: modify repository with changed location
2018-11-21 12:01:13 +01:00
philipp
b4c313862e Fixed unit test 2018-11-21 11:12:47 +01:00