Commit Graph

1661 Commits

Author SHA1 Message Date
Sebastian Sdorra
3823c033b9 added configuration option for login info url 2019-08-13 09:45:37 +02:00
Eduard Heimbuch
0890707b3f fix permission reference on clone repositories 2019-08-02 14:46:33 +02:00
Eduard Heimbuch
442aacbcdb remove GroupNames and ExternalGroupNames in favor of GroupCollector 2019-08-02 09:32:44 +02:00
Eduard Heimbuch
8550baaea9 refactor GroupResolver + GroupCollector 2019-08-02 08:17:17 +02:00
Eduard Heimbuch
2cff893d73 add interface in core + move groupCollector to webapp 2019-08-01 16:05:22 +02:00
Eduard Heimbuch
86af7b23eb remove groups from BearerRealm / SyncRealmHelper / DAORealmHelper 2019-08-01 15:43:12 +02:00
Sebastian Sdorra
0b76cb7ea5 added raw header to hunk 2019-07-30 10:00:36 +02:00
Sebastian Sdorra
01379caa08 implement first diff details 2019-07-29 12:54:58 +02:00
Sebastian Sdorra
e0411ed17f create API for parsed diff result command 2019-07-29 11:22:57 +02:00
Rene Pfeuffer
64f3647acf Fix unit test 2019-07-26 16:18:08 +02:00
Rene Pfeuffer
bc37ccef57 Make protocol auth filter available for legacy paths 2019-07-26 15:07:40 +02:00
Rene Pfeuffer
9e0bee7883 Add method to embed collections 2019-07-24 13:55:53 +02:00
Sebastian Sdorra
ad772c778d Merged in bugfix/migrate_security_xml (pull request #286)
Bugfix/migrate security xml
2019-07-19 05:15:27 +00:00
Eduard Heimbuch
4afed7cb74 migrate securityV1 permissions 2019-07-16 16:26:34 +02:00
Eduard Heimbuch
8d6dcd6b2b fix permissions for dry-run 2019-07-15 16:23:15 +02:00
Eduard Heimbuch
922ada38ca Merged in feature/plugin_center (pull request #284)
Feature/plugin center
2019-07-11 11:31:35 +00:00
Eduard Heimbuch
64d3153347 create new Endpoints and Resources for Plugins 2019-07-09 17:04:29 +02:00
Eduard Heimbuch
9b1867862f fix build error / fix Tests 2019-07-08 16:08:08 +02:00
Eduard Heimbuch
7e418fdde9 add Permissions for Plugins 2019-07-08 15:01:27 +02:00
Sebastian Sdorra
2cdcf78c91 Merged in feature/redirect_migrated_repositories (pull request #277)
Feature redirect migrated repositories
2019-07-08 09:38:17 +00:00
Eduard Heimbuch
97c10a867c merged 2019-07-05 08:03:55 +02:00
Eduard Heimbuch
4ab8ab7b2d Merged in bugfix/double_check_directory_creation (pull request #282)
Double check directory creation
2019-07-04 12:44:40 +00:00
Eduard Heimbuch
b10804b11c Merged in feature/migrate_lfs (pull request #275)
Migrate git LFS blob directory
2019-07-04 12:24:45 +00:00
Rene Pfeuffer
ca68b6346e Double check directory creation 2019-07-03 17:27:59 +02:00
René Pfeuffer
c35363b79f Store repository id in git config for each repository
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
Eduard Heimbuch
c805e477cb add Logger to print UpdateException-stacktrace on console 2019-07-02 11:57:28 +02:00
René Pfeuffer
f631dc1724 Redirect protocol requests for migrated repositories
- Make old repository name and id available to plugins (MigrationDAO)
- Build Map with paths of migrated repositories to new location
- Implement redirect (RepositoryLegacyProtocolRedirectFilter)
2019-07-02 10:46:26 +02:00
René Pfeuffer
7db3350439 Migrate git LFS blob directory 2019-07-01 14:17:32 +02:00
Sebastian Sdorra
bc4d6bfa74 merge with 2.0.0-m3 2019-06-26 09:27:52 +02:00
Sebastian Sdorra
80febf9424 added modules, classloading and view packages to sonia.scm.lifecycle 2019-06-25 09:49:52 +02:00
Sebastian Sdorra
99f1c8c55e rename package sonia.scm.boot to sonia.scm.lifecycle 2019-06-25 08:36:57 +02:00
Sebastian Sdorra
f0bb55e77b remove init and close method from context, because their were never used 2019-06-24 16:44:37 +02:00
René Pfeuffer
bd2509e581 Use correct reader instances 2019-06-24 09:28:24 +02:00
René Pfeuffer
553997e7f0 Add documentation 2019-06-21 15:32:25 +02:00
René Pfeuffer
e1eb7caeab Add documentation 2019-06-21 15:15:08 +02:00
René Pfeuffer
75cd5165e3 Add file tools for v1 xml stores 2019-06-21 14:35:57 +02:00
René Pfeuffer
9172892097 Fix NPE for repositories without properties 2019-06-21 11:33:48 +02:00
René Pfeuffer
f8954846c4 Add test support for plugin migration 2019-06-21 11:09:41 +02:00
René Pfeuffer
2aac002a41 Introduce key based filters for property access 2019-06-21 10:51:20 +02:00
René Pfeuffer
9581bf946b Enable plugins to create config stores for repository config
Therefore we have to
- add an API to create stores for repository ids, not only for
  repositories,
- make v1 properties available in scm-core
- make sure that properties are extracted from repositories before the
  update step of a plugin runs (this is done by sorting the update steps
  in a way so that "core" update steps are executed before plugin update
  steps with the same version)
2019-06-20 16:12:16 +02:00
Sebastian Sdorra
e4b187a393 Merged in feature/migration_servlet (pull request #261)
Feature migration servlet
2019-06-12 13:40:00 +00:00
Sebastian Sdorra
001dd8eefe listen to restart events in every stage, not only development 2019-06-12 08:29:28 +02:00
René Pfeuffer
00a2be2245 Check for empty (that is: null) permissions 2019-06-11 13:33:34 +02:00
René Pfeuffer
fdb8143b76 Validate new namespace and name on migration 2019-06-11 10:27:21 +02:00
René Pfeuffer
b274952fa9 Create explicit method to create new repository locations 2019-06-05 14:27:35 +02:00
René Pfeuffer
e52518a12b Cleanup
- Mark PathBasedRepositoryLocationResolver as singleton so that other
  users will get the same instance and will not overwrite the paths
  set by migration.
- Set path kept by InlineMigrationStrategy in location resolver to
  store the path.
- Add logging
- Add type of repository to migration web page
2019-06-05 08:21:37 +02:00
René Pfeuffer
b253cd110d Initial migration servlet 2019-06-04 16:37:53 +02:00
Sebastian Sdorra
3b3ddd8fb0 Merged in bugfix/repo_permissions_without_admin (pull request #258)
Fix bug for repository owners without global role permission
2019-06-03 13:56:11 +00:00
Sebastian Sdorra
3664d69713 Merged in feature/migrate_user_v1 (pull request #254)
migrate user v1
2019-06-03 13:25:19 +00:00
René Pfeuffer
6244713970 Move constant to interface 2019-06-03 13:47:05 +02:00