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
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
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
Eduard Heimbuch
4fbaf89e19
migrate users from v1 to v2 & migrate adminFlag to security.xml
2019-05-23 17:18:03 +02:00
René Pfeuffer
ac851d4e8a
Implement copy strategy
2019-05-22 16:05:35 +02:00
René Pfeuffer
f3d7727198
Add documentation
2019-05-20 16:34:22 +02:00
René Pfeuffer
bacfde7cab
Add documentation
2019-05-20 16:34:22 +02:00
René Pfeuffer
dad8ea5fa1
Merge with 2.0.0-m3
2019-05-20 08:51:59 +02:00
René Pfeuffer
ed7c2a01e7
Log steps for updates
2019-05-15 13:29:50 +02:00
René Pfeuffer
93dbaeae7c
Run update steps only if they have not been run before
2019-05-14 15:52:05 +02:00
René Pfeuffer
bafc8ea668
Execute updates in order
2019-05-14 14:45:12 +02:00
René Pfeuffer
46b1bb8869
Find update steps and execute them with bootstrap context
2019-05-14 14:12:08 +02:00
René Pfeuffer
e0ad5c76a7
Cleanup tests for repository dao
2019-05-14 10:08:45 +02:00
René Pfeuffer
a83e2813a3
Fix path computation and resolving
2019-05-10 13:26:06 +02:00
René Pfeuffer
7f4792ec49
Remove PathBasedRepositoryDAO
...
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61
Introduce abstraction for repository location
2019-05-09 14:08:18 +02:00
René Pfeuffer
d29fa32c8e
First steps to create a bootstrap module for data migration
2019-05-09 10:36:27 +02:00
René Pfeuffer
798eb5a846
Replace wrong endpoint for repository roles with endpoint for verbs
2019-05-09 09:45:33 +02:00
René Pfeuffer
c5b20566c1
Fix bugs with integration test
2019-05-07 09:20:19 +02:00
René Pfeuffer
0099740a22
Remove permissions for deleted roles
2019-05-06 16:38:54 +02:00
René Pfeuffer
76b9100e7e
Add endpoint for repository roles (tests pending)
2019-05-03 17:44:27 +02:00
René Pfeuffer
c0760688e9
Join repository roles from the system and from the database
2019-05-03 14:47:49 +02:00
René Pfeuffer
232102716c
Create DAO for repository roles
2019-05-03 14:19:33 +02:00
René Pfeuffer
83b629222b
Fix toString
2019-05-03 13:26:18 +02:00
René Pfeuffer
9109efe2f1
Add role attribute to repository permission
2019-05-03 07:59:18 +02:00
Florian Scholdei
9bc9e133cc
merge
2019-04-17 14:27:17 +02:00
René Pfeuffer
e56d6504c0
Add unit tests
2019-04-12 14:32:17 +02:00
René Pfeuffer
1b60857959
Introduce extension point for logout redirection
2019-04-12 11:42:19 +02:00
René Pfeuffer
4797967b0d
Implement simple search queries for users, groups and repositories
2019-04-09 16:27:27 +02:00