René Pfeuffer
1bcc150cb9
Remove function creep
2019-06-06 11:15:51 +02:00
René Pfeuffer
b26b702930
Merge with 2.0.0-m3
2019-06-06 09:49:38 +02:00
René Pfeuffer
575a03521f
Fix group v1 migration with empty group database file
2019-06-06 08:41:38 +02:00
René Pfeuffer
67f731c432
Heed sonar hints
2019-06-05 15:39:36 +02:00
René Pfeuffer
b274952fa9
Create explicit method to create new repository locations
2019-06-05 14:27:35 +02:00
René Pfeuffer
c7875e7f78
Style pages
2019-06-05 11:52:36 +02:00
René Pfeuffer
9a1d80327e
Delete old repository data directories for inline
2019-06-05 10:24:52 +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
René Pfeuffer
da4f3e6691
Resolve config files via resolve method of context provider
2019-06-03 16:02:04 +02:00
René Pfeuffer
7c50ad07ec
Extract common code
2019-06-03 15:24:19 +02:00
René Pfeuffer
0be816dd28
Extract properties from users and groups in v1 into own file
2019-06-03 14:22:57 +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
René Pfeuffer
a970404717
Move migration of admin flags to own update step
2019-06-03 11:38:42 +02:00
René Pfeuffer
218937be19
Add group migration
2019-06-03 10:39:25 +02:00
René Pfeuffer
cd80ff77eb
Remove password hash from log output
2019-06-03 09:58:56 +02:00
René Pfeuffer
f6bffb3903
Fix logger
2019-05-31 16:38:16 +02:00
René Pfeuffer
0372c63e53
Set version number
2019-05-31 16:37:26 +02:00
René Pfeuffer
d9b9a07591
Read admin users from configuration
2019-05-31 16:32:19 +02:00
René Pfeuffer
a91177a2d7
Migrate creationDate and lastModified
2019-05-31 15:57:30 +02:00
René Pfeuffer
84ae5646a4
Fix bug for repository owners without global role permission
...
Repository owners got an frontend error when they hat no permission to
read the global repository roles. We therefore remove the dedicated
permission to read repository.
Additionally we fix the 'write' permission to match the entry in the
'permissions.xml' file.
2019-05-31 10:20:44 +02:00
René Pfeuffer
e8c37f3a50
Add doc
2019-05-28 08:12:31 +02:00
René Pfeuffer
8e41b26918
Merge with feature/migration
2019-05-28 08:09:11 +02:00
René Pfeuffer
b12bc0cf1a
Remove old upgrade functionality
2019-05-28 08:07:56 +02:00
René Pfeuffer
1b6bc64092
Merge with 2.0.0-m3
2019-05-28 08:02:59 +02:00
René Pfeuffer
23674690f6
Merge with 2.0.0-m3
2019-05-28 07:57:55 +02:00
René Pfeuffer
d88d1ff78d
Backup old repositories file
2019-05-24 14:25:35 +02:00
René Pfeuffer
76c59a6dee
Extract properties from v1 repositories
2019-05-24 13:55:37 +02:00
René Pfeuffer
d88b300ac8
Add update step to rename repositories.xml -> repository-paths.xml
2019-05-24 11:55:32 +02:00
René Pfeuffer
d307ce6df0
Set version and add logging
2019-05-24 11:55:04 +02:00
René Pfeuffer
0a0fd17448
Verify that migration strategies are set before migration starts
2019-05-23 17:37:58 +02:00
Eduard Heimbuch
4fbaf89e19
migrate users from v1 to v2 & migrate adminFlag to security.xml
2019-05-23 17:18:03 +02:00
Sebastian Sdorra
ecbc7b67e6
Merged in feature/migration (pull request #249 )
...
Feature migration
2019-05-23 15:04:37 +00:00
Sebastian Sdorra
9abafb5354
use PluginLoader instead of DefaultPluginLoader and split large contextInitialized method
2019-05-23 15:45:58 +02:00
René Pfeuffer
035abef465
Assert that the existing repositories.xml file contains v1 data
2019-05-23 15:25:25 +02:00
René Pfeuffer
31e56a6672
Implement inline strategy
2019-05-23 15:06:40 +02:00
René Pfeuffer
3e46aefb4b
Implement move strategy
2019-05-22 17:18:04 +02:00
René Pfeuffer
ac851d4e8a
Implement copy strategy
2019-05-22 16:05:35 +02:00
René Pfeuffer
97ad3897ed
Correct instance mocks
2019-05-22 15:31:35 +02:00
René Pfeuffer
1674bc2e7d
Bootstrap migration strategies
2019-05-22 14:28:53 +02:00
René Pfeuffer
f000c944a6
Do not fail when v1 file does not exist
2019-05-21 16:59:17 +02:00
René Pfeuffer
f7e7e508d9
Merge with base migration branch
2019-05-21 13:28:08 +02:00
René Pfeuffer
64fcdde749
Create v2 repository entities for old v1 repositories
2019-05-21 13:09:33 +02:00
René Pfeuffer
be9ce826dc
Move further listener modules to bootstrap module
2019-05-21 09:13:49 +02:00
René Pfeuffer
af468898b9
Reject permission requests with missing permissions
2019-05-20 14:30:57 +02:00
René Pfeuffer
ca36a0a5f4
Move event bus module to bootstrap context
2019-05-20 14:26:10 +02:00
René Pfeuffer
dad8ea5fa1
Merge with 2.0.0-m3
2019-05-20 08:51:59 +02:00
Rene Pfeuffer
e34781789d
Set role instead of collection of verbs for repository owner
2019-05-16 12:12:46 +02:00