Commit Graph

52 Commits

Author SHA1 Message Date
René Pfeuffer
50a4133dff Remove old type dependant repo uri functions 2018-09-10 10:08:51 +02:00
René Pfeuffer
a0f74e3329 Replace model object exception with generic ones and migrate guice 2018-08-21 07:53:33 +02:00
René Pfeuffer
a5ddea31c7 Merge with 2.0.0-m3 2018-08-08 15:57:05 +02:00
René Pfeuffer
67278582e3 Update to Mockito v2 2018-08-08 09:20:08 +02:00
Sebastian Sdorra
15255aeeb1 merge with branch feature/repositories-ui 2018-08-07 16:34:26 +02:00
Sebastian Sdorra
99ecc8cba2 implemented rest endpoint for repository types 2018-08-02 11:56:35 +02:00
Sebastian Sdorra
ea17e536f1 change NamespaceStrategy signature to createNamespace(Repository)
This change allows us to implement NamespaceStrategies, such as by type (git, hg, svn) or manual defined.
The DefaultNamespaceStrategy accepts now a predefined namespace and only if no namespace was set the username of the currently logged in user is used.
2018-08-01 09:43:49 +02:00
Johannes Schnatterer
df282ee6a9 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-25 17:15:01 +02:00
Sebastian Sdorra
a14e9e1182 merge with 2.0.0-m3 2018-07-16 10:36:29 +02:00
Sebastian Sdorra
82da801280 improve DefaultNamespaceStrategy, added tests and javadoc 2018-07-13 12:10:19 +02:00
Michael Behlendorf
0c60df3ac6 Merge branch 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-13 11:13:43 +02:00
René Pfeuffer
76ad3dfc89 Fix unit test for delete with archive enabled 2018-07-12 11:00:32 +02:00
René Pfeuffer
a1c1bc1042 Merging base branch back into feature 2018-07-11 14:01:17 +02:00
Johannes Schnatterer
e1963d45dd Some polishing during review 2018-07-11 12:03:04 +02:00
René Pfeuffer
f3304e6973 Correct sequence of setting and reading namespace for new repository 2018-07-11 08:25:06 +02:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Philipp Czora
d3a2fc8219 Implemented namespace feature 2018-07-04 15:46:08 +02:00
René Pfeuffer
7c662ed42a Generate link to branches for repository 2018-07-04 08:37:57 +02:00
René Pfeuffer
54776548ea Merge parallel development 2018-07-02 14:36:04 +02:00
Philipp Czora
ffabda3f83 Set namespace while creating a repository 2018-06-29 17:10:14 +02:00
René Pfeuffer
5b5c30f054 POC for spaces strategy 2018-06-29 16:59:35 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
b7568ea919 introducing new ExtensionPoint for repository path matching
The new ExtensionPoint was introduced to  remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Oliver Milke
9b932a325e refactor git repository matching for accepting optional .git suffix 2017-05-19 17:27:48 +02:00
Sebastian Sdorra
acc3ff791b #781 process all kinds authorization relevant event and produce AuthorizationChangedEvent 2017-02-26 13:19:35 +01:00
Sebastian Sdorra
731337f2ab created adapter between scm and shiro caches, see issue #781 2017-02-16 22:15:36 +01:00
Sebastian Sdorra
5332ac2466 refactor store api 2016-12-11 21:31:05 +01:00
Sebastian Sdorra
e76862fc47 improve unit tests of DefaultRepositoryManager 2016-12-11 13:02:59 +01:00
Sebastian Sdorra
4f124691d0 use shiro-unit for manager permission tests 2016-12-08 22:08:11 +01:00
Sebastian Sdorra
5032d04304 remove powermock dependency, to fix build on java 8 2014-08-19 22:00:04 +02:00
Sebastian Sdorra
2ec77dc10e fix repository manager tests 2014-01-11 11:20:35 +01:00
Sebastian Sdorra
dc19da4a76 remove old hook system in favor of event bus 2014-01-03 16:32:48 +01:00
Sebastian Sdorra
5e6259f3b7 remove old style listeners in favor of event bus 2014-01-03 11:32:40 +01:00
Sebastian Sdorra
d165baffe9 improve repository manager test base 2013-01-29 21:55:08 +01:00
Sebastian Sdorra
60da1465d5 added unit tests for repository archive 2013-01-29 21:02:37 +01:00
Sebastian Sdorra
65c80b14fb added GroupNotFoundException and UserNotFoundException 2013-01-29 20:39:08 +01:00
Sebastian Sdorra
c022320e0a synchronize getChangeset method of hook events and call registered pre processors before the changesets are returned to hook 2013-01-14 08:41:22 +01:00
Sebastian Sdorra
727025770c merge with branch apache-shiro 2012-10-16 07:08:28 +02:00
Sebastian Sdorra
6fee63203f create new key generator for shorter repository ids 2012-08-30 17:35:56 +02:00
Sebastian Sdorra
23606842a3 fix repository manager test 2012-08-29 10:05:15 +02:00
Sebastian Sdorra
d9807829d8 merge with brach issue-42 2012-04-04 19:24:05 +02:00
Sebastian Sdorra
78a4203590 only archive repositories can be deleted, if the repository archive mode is enabled 2012-03-30 11:00:41 +02:00
Sebastian Sdorra
cb37aec93a rename manager classes from xml to default 2012-03-16 18:50:32 +01:00
Sebastian Sdorra
5c8968905f move xml backend classes to own artifcat 2012-03-04 11:24:12 +01:00
Sebastian Sdorra
9a06f75bb1 prepare ui and repository manager for directory structure 2011-10-23 15:56:47 +02:00
Sebastian Sdorra
f07404cc25 enable injection for repository hooks 2011-09-04 13:36:37 +02:00
Sebastian Sdorra
a60f04e083 added injection support for authentication, group, repository and user listeners 2011-08-16 19:10:36 +02:00
Sebastian Sdorra
9a7481726a use FileSystem api 2011-01-30 14:36:43 +01:00
Sebastian Sdorra
44c57b8ea6 improve scm-test 2010-12-06 20:05:04 +01:00
Sebastian Sdorra
49b088723b use new store-api 2010-12-05 19:42:52 +01:00