Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
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
00e3cbec57 Refactor directories in RepositoryPath and dao 2018-11-22 12:29:26 +01:00
Mohamed Karray
8aaea44f1a use relative path for repository directory 2018-11-22 07:05:17 +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
01f45aaf8c Backed out changeset 428510f2003d 2018-11-19 12:39:21 +01:00
René Pfeuffer
9db0451acc Harmonize interface of XmlRepositoryDatabase
XmlRepositoryDatabase should not expose RepositoryPath objects
2018-11-19 08:53:19 +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
Mohamed Karray
a23c497b3a merge + use the old search methods in the autocomplete feature 2018-10-09 11:11:25 +02:00
Mohamed Karray
41b47b13dc use javax validation 2018-10-09 08:55:57 +02:00
Mohamed Karray
ddcc21c1a8 add autocomplete endpoint 2018-10-08 13:39:33 +02:00
Sebastian Sdorra
31ca22fe47 removed X suffix 2018-07-13 11:49:37 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00
Sebastian Sdorra
5332ac2466 refactor store api 2016-12-11 21:31:05 +01:00
Sebastian Sdorra
96b0c8f8b0 merge with branch 1.x 2014-03-17 10:49:52 +01:00
Sebastian Sdorra
43481a70ee fix animal-sniffer problem 2014-03-13 21:11:48 +01:00
Sebastian Sdorra
ffc12f2fa1 merge changes from branch 1.x 2014-02-18 21:25:29 +01:00
Sebastian Sdorra
b05cf39df8 fix possible concurrent modification exception 2014-01-28 21:34:31 +01:00
Sebastian Sdorra
4745dd5575 suppress unchecked warnings 2014-01-11 15:17:44 +01:00
Sebastian Sdorra
c8db162bfa use final field and fixed a precondition check 2014-01-09 19:27:09 +01:00
Sebastian Sdorra
2e6748cb23 use final field and fixed a precondition check 2014-01-09 19:27:09 +01:00
Sebastian Sdorra
5e6259f3b7 remove old style listeners in favor of event bus 2014-01-03 11:32:40 +01:00
Sebastian Sdorra
364ecfbdb8 configuration entry store should be able to read the defect format of earlier versions 2013-09-16 11:43:50 +02:00
Sebastian Sdorra
ac365b6329 replace system out with logging 2013-09-16 11:39:42 +02:00
Sebastian Sdorra
10b2221bb6 fix store and load method of xml configuration entry store 2013-09-16 11:38:17 +02:00
Sebastian Sdorra
76217dc0ef do not synchronize over all configuration entry stores 2013-06-20 18:36:51 +02:00
Sebastian Sdorra
a504ddf543 use reader instead of xmlsource to read configuration entry stores 2013-06-20 18:33:24 +02:00
Sebastian Sdorra
345392d309 fix license headers 2013-05-30 09:29:28 +02:00
Sebastian Sdorra
c6a0dd6b01 added indent spaces to security.xml 2013-05-20 17:34:16 +02:00
Sebastian Sdorra
6b3f57dd45 added missing id parameter for log message 2013-05-01 18:28:35 +02:00
Sebastian Sdorra
2da419063f added jaxb implementation for new configuration entry store api 2013-04-27 09:23:20 +02:00
Sebastian Sdorra
0c18b54b8e fix license headers 2012-12-14 15:22:13 +01:00
Sebastian Sdorra
fe1621a9d3 throw a EntryAlreadyExistsStoreException if a blob with the given id already exists 2012-12-07 14:25:55 +01:00
Sebastian Sdorra
202d1741cd improve create method of blob store 2012-12-07 14:13:12 +01:00
Sebastian Sdorra
24e9b53115 improve logging and added precondition checks 2012-12-07 14:11:37 +01:00
Sebastian Sdorra
722fbbea6e bug fixes in file implementation of blob store 2012-12-07 13:47:09 +01:00
Sebastian Sdorra
ee00375773 fix bug in jaxb implementation of data store api 2012-12-07 13:26:12 +01:00
Sebastian Sdorra
77b705989d added commit method to blob interface for non file based implementations 2012-12-07 11:58:42 +01:00
Sebastian Sdorra
8c97e817eb implement new blob store api 2012-12-07 11:55:03 +01:00
Sebastian Sdorra
8039674074 added getAll method to data store api 2012-11-20 22:00:25 +01:00
Sebastian Sdorra
bb8171f399 implement default jaxb data store 2012-11-20 21:53:07 +01:00