Commit Graph

448 Commits

Author SHA1 Message Date
Sebastian Sdorra
84dd6bf60f fix some code smells reported by sonarqube 2018-11-30 08:19:47 +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
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
René Pfeuffer
c8fc673ce0 Remove hooks for internal repository id 2018-11-23 16:12: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
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
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +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
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
René Pfeuffer
a1f7939ac0 Move config from .hgrc to hgweb script 2018-11-20 17:23:07 +01:00
Mohamed Karray
39e5c19251 merge 2018-11-15 11:28:33 +01:00
Mohamed Karray
f8ae7cedf7 Refactor the repository store implementation in order to store repositories in specific paths. 2018-11-15 10:04:16 +01:00
Maren Süwer
5bb4f04667 renaming GlobalConfiguration to Configuration 2018-11-13 13:09:02 +01:00
René Pfeuffer
96c2114e53 Reduce SecurityFilter to user injection and enable SecurityInterceptor
Remove all the unnecessary stuff and all endpoints that would be no
longer secure.
2018-11-09 16:06:31 +01:00
Sebastian Sdorra
2201f2436e Merged in feature/errorhandling (pull request #99)
Feature Error Handling
2018-11-08 09:36:18 +00:00
Sebastian Sdorra
e9396f4947 fixed missing validation update on change 2018-11-07 13:39:38 +01:00
Sebastian Sdorra
9c043145a2 implemented global configuration for mercurial 2018-11-06 16:39:11 +01:00
René Pfeuffer
cf05235dfa Add context to InternalRepositoryException 2018-11-06 09:14:20 +01:00
René Pfeuffer
f041b4ecb6 Merge with 2.0.0-m3 2018-10-25 10:15:32 +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
Sebastian Sdorra
6233e600f2 fix missing translate (t) function 2018-10-22 13:00:44 +02:00
Mohamed Karray
9cb661b460 plugin translation servlet 2018-10-20 14:40:03 +02:00
Mohamed Karray
9dc32fe128 add i18n Servlet 2018-10-19 11:15:37 +02:00
René Pfeuffer
bf1effb9c0 Remove special RepositoryNotFoundException 2018-10-18 16:08:49 +02:00
René Pfeuffer
b74fb814b8 Introduce default error object with context for not found exceptions 2018-10-18 13:12:16 +02:00
René Pfeuffer
7845443d62 Naming things.... 2018-10-11 16:32:06 +02:00
René Pfeuffer
b4c854ee99 Use more generic collection instead of list 2018-10-11 09:55:47 +02:00
René Pfeuffer
83640b9d44 Merge with 2.0.0-m3 2018-10-10 08:54:23 +02:00
Sebastian Sdorra
e71e875e4d Merged in feature/harmonize_branches_in_changesets (pull request #81)
Add branch to changeset collections
2018-10-09 09:10:20 +00:00
Sebastian Sdorra
bc240577f8 implemented new browse api for mercurial 2018-10-08 14:40:40 +02:00
René Pfeuffer
d14d029919 Fix peer review issues 2018-10-01 15:02:23 +02:00
René Pfeuffer
aed4c60296 Add missing unit tests 2018-10-01 12:58:53 +02:00
René Pfeuffer
8f139c8d4a Reduce code duplication for json object modification 2018-09-28 16:53:09 +02:00
René Pfeuffer
6361ae35c1 Add config links for git, hg and svn 2018-09-28 14:17:48 +02:00
René Pfeuffer
4be4a902a3 Merge with 2.0.0-m3 2018-09-28 13:38:20 +02:00
Sebastian Sdorra
11fca51f5f fix missing checkout/clone description on repository information page 2018-09-27 12:17:36 +02:00
René Pfeuffer
9f80840c43 Add branch to changeset collections
Branch information is added to a changeset collection and therefore
removed from single changesets for git repositories. Mercurial
repositories now also set the default branch in changesets.
2018-09-26 13:19:38 +02:00
René Pfeuffer
88506b0633 Remove unnecessary annotations 2018-09-18 08:58:03 +02:00