Commit Graph

7635 Commits

Author SHA1 Message Date
Sebastian Sdorra
bc7402053a remove outdated error module 2019-06-12 18:25:38 +02:00
Sebastian Sdorra
df3e4395b0 remove unused template from v1 2019-06-12 18:23:21 +02:00
Sebastian Sdorra
4c91ef0100 make PluginLoader dependency of MustacheTemplateEngine optional 2019-06-12 17:04:32 +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
34b1047d39 Close branch feature/migration_servlet 2019-06-12 13:40:00 +00:00
Sebastian Sdorra
c491092c0c use for..in loop instead of for..of to increase compatibility 2019-06-12 14:20:20 +02:00
Sebastian Sdorra
249ee68986 use Arrays.stream instead of Arrays.asList(..).stream() 2019-06-12 14:19:38 +02:00
Sebastian Sdorra
fba70453e4 Merged in bugfix/check_for_empty_permissions (pull request #266)
Check for empty (that is: null) permissions
2019-06-12 11:51:50 +00:00
Sebastian Sdorra
fb384cd95d Close branch bugfix/check_for_empty_permissions 2019-06-12 11:51:50 +00:00
Sebastian Sdorra
614c61a00c keep select migration strategy in case of an error 2019-06-12 11:36:15 +02:00
Sebastian Sdorra
dd61ec8e0a added favicon to migration wizard pages 2019-06-12 11:00:14 +02:00
Sebastian Sdorra
c159d209d6 increase compatibility of javascript migration code
* replace const with var
* replace forEach with a for of loop
* use === instead of ==
2019-06-12 10:51:57 +02:00
Sebastian Sdorra
24d91a4764 use mustache template inheritance to reduce duplications between templates 2019-06-12 10:39:49 +02:00
Sebastian Sdorra
001dd8eefe listen to restart events in every stage, not only development 2019-06-12 08:29:28 +02:00
René Pfeuffer
046ccfb2a0 Merge with 2.0.0-m3 2019-06-11 15:02:02 +02:00
René Pfeuffer
a6caa03d86 Create migration module only if necessary 2019-06-11 14:34:44 +02:00
René Pfeuffer
a456dd5e42 Check for null values 2019-06-11 13:39:14 +02:00
René Pfeuffer
00a2be2245 Check for empty (that is: null) permissions 2019-06-11 13:33:34 +02:00
René Pfeuffer
d9fc1f9aee Add "change all" button for strategies 2019-06-11 13:27:12 +02:00
René Pfeuffer
802fb3e0cf Use manually entered namespace and name 2019-06-11 13:10:31 +02:00
René Pfeuffer
fdb8143b76 Validate new namespace and name on migration 2019-06-11 10:27:21 +02:00
Sebastian Sdorra
bfd22aa507 Merged in bugfix/refresh_repo_db_after_upgrade (pull request #264)
Refresh repository dao after repository.xml file was renamed
2019-06-07 12:34:10 +00:00
Sebastian Sdorra
13951595c4 Close branch bugfix/refresh_repo_db_after_upgrade 2019-06-07 12:34:10 +00:00
René Pfeuffer
df9a3c12dd First step to make name and namespace editable in migration 2019-06-07 14:16:23 +02:00
René Pfeuffer
70de4d7292 Organize imports 2019-06-07 13:59:50 +02:00
René Pfeuffer
e5809a6350 Sort repositories by type and name 2019-06-07 13:59:31 +02:00
René Pfeuffer
8a6b57e06c Add new migration strategies "delete" and "ignore" 2019-06-07 13:52:54 +02:00
René Pfeuffer
20acd4ca64 Restructure migration page 2019-06-07 13:02:17 +02:00
Rene Pfeuffer
4e0d06e923 Merged in feature/node_and_yarn_upgrade (pull request #265)
update node to 10.16.0 and yarn to 1.16.0
2019-06-06 13:25:39 +00:00
Rene Pfeuffer
a41d81a3c4 Close branch feature/node_and_yarn_upgrade 2019-06-06 13:25:39 +00:00
René Pfeuffer
47413de44a Try to load SCM-Manager after migration 2019-06-06 14:50:01 +02:00
René Pfeuffer
1288724d6a Remove test without implementation 2019-06-06 13:46:17 +02:00
René Pfeuffer
815c531220 Use file system class to create repository directory 2019-06-06 13:42:57 +02:00
René Pfeuffer
c39c14bbd1 Remove no longer needed LfsStoreRemoveListener
With v2 the LFS store resides inside the repository directory that is
purged completely on deletion. Therefore an explicit deletion of the
LFS folder is no longer necessary.
2019-06-06 13:31:40 +02:00
René Pfeuffer
748043f537 Describe different migration strategies 2019-06-06 12:52:23 +02:00
René Pfeuffer
1065899e99 Add missing test 2019-06-06 12:52:10 +02:00
René Pfeuffer
ec538039f9 Cleanup 2019-06-06 12:47:32 +02:00
René Pfeuffer
1bcc150cb9 Remove function creep 2019-06-06 11:15:51 +02:00
Sebastian Sdorra
26a8fc4b9c update node to 10.16.0 and yarn to 1.16.0 2019-06-06 11:08:12 +02:00
René Pfeuffer
77a1ad50fe Refresh repository dao after repository.xml file was renamed
Without this, the XmlRepositoryDAO will be initialized at a time
where there is no repository-paths.xml file. Therefore the dao cannot
initialize with the existing repositories whose paths are kept in
repositories.xml at that time.

In this commit we trigger a refresh after the file was renamed, so
that the PathBasedRepositoryLocationResolver can read the moved
repository-paths.xml file and all repositories will be found.
2019-06-06 10:45:56 +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
a5c65b4e2c Store absolute path for directly set repository locations 2019-06-05 10:45:41 +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
Florian Scholdei
b406ec3eb6 fix redirect after delete Repo, Group or User 2019-06-04 14:48:59 +02:00