Commit Graph

263 Commits

Author SHA1 Message Date
Eduard Heimbuch
1e1b73ace5 Feature/import navigation lock (#1536)
Use navigation lock on repository import to prevent that the current user accidentally leaves the page and aborts the running import.
2021-02-16 11:35:06 +01:00
René Pfeuffer
e0d2630a08 Feature repository specific data migration (#1526)
This adds a new migration mechanism for repository data. Instead of using UpdateSteps for all data migrations, repository data shall from now on be implemented with RepositoryUpdateSteps. The general logic stays the same. Executed updates are stored with the repository. Doing this, we can now execute updates on imported repositories without touching other data. This way we can import repositories even though they were exported with older versions of SCM-Manager or a plugin.
2021-02-10 08:12:48 +01:00
Eduard Heimbuch
ac5d145266 Repository export read-only lock (#1519)
* Lock repository for read-only access only while exporting
* Create read-only check api

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-02-04 15:29:49 +01:00
Eduard Heimbuch
d91c71ace1 Add the repository import and export with metadata for Subversion repositories (#1501)
* Add store exporter to collect the repository metadata
* Add EnvironmentInformationXmlGenerator
* Collect export data and put into compressed tar archive output stream
* Create full repository export endpoint.
* Add full repository export to ui
* Ignore irrelevant files from config store directory
* write metadata stores to file since a baos could teardown the server memory
* Migrate store name for git lfs files (#1504)

Changes the directory name for the git LFS blob store by
removing the repository id from the store name.

This is necessary for im- and exports of lfs blob stores,
because the original name had the repository id as a part
of it and therefore the old store would not be found when
the repository is imported with another id.

Existing blob files will be moved to the new store location
by an update step.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>

* Introduce util for migrations (#1505)

With this util it is more simple to rename
or delete stores.

* Rename files in export

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-28 11:40:35 +01:00
Florian Scholdei
f4d4d3a8c6 Add missing subtitles (#1496)
Add the last missing subtitles in the scmm core.
2021-01-13 09:25:58 +01:00
Eduard Heimbuch
adf7bac665 Subversion repository export
Add the repository export function for Subversion repositories. The repository will be exported as dump file which can be downloaded directly or inside a gzip compressed archive.
2021-01-08 09:19:33 +01:00
Florian Scholdei
c579de108f Option to create a permanent link to a source file
Adds a new button next to the breadcrumbs in the source view that allows users to create a permanent link to the active path (file or folder).
2021-01-07 10:15:50 +01:00
Florian Scholdei
214cf527d4 Feature/harmonize translation keys (#1478)
Harmonize translation keys

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 11:24:13 +01:00
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Konstantin Schaper
3c9c0c1792 Merge branch 'develop' into feature/import_svn_from_dump 2020-12-14 11:40:46 +01:00
Konstantin Schaper
fed16f296a support permalinks to lines in source code view (#1472)
This features adjusts the syntax checker to render a little link icon next to a hovered line. When clicked,
a permanent link to this line is created and copied to the user's clipboard. When visiting the link,
the focused row is highlighted.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-14 09:15:18 +01:00
Eduard Heimbuch
e8dd7dc68d Add compress checkbox to ImportFromBundleForm 2020-12-10 14:46:47 +01:00
Eduard Heimbuch
ed940d5f23 Create form for import from bundle 2020-12-10 13:58:47 +01:00
Eduard Heimbuch
6886f09f26 create fileUpload component 2020-12-10 13:55:19 +01:00
René Pfeuffer
19edb3e869 Fix translation 2020-12-03 13:19:40 +01:00
Eduard Heimbuch
60cdc6f8cf Merge branch 'develop' into feature/import_git_from_url 2020-12-02 14:39:45 +01:00
Konstantin Schaper
9ec8b4efac fix review findings 2020-12-01 15:16:55 +01:00
Eduard Heimbuch
b40bfd8fe2 Merge branch 'develop' into feature/import_git_from_url 2020-12-01 12:18:13 +01:00
Eduard Heimbuch
6a93a198e8 fix form validation after refactoring 2020-12-01 11:35:49 +01:00
Konstantin Schaper
51981dbece tags can now be deleted from the details page & documentation is updated accordingly 2020-12-01 10:46:33 +01:00
Eduard Heimbuch
af9f6ab629 refactor UI 2020-12-01 08:53:56 +01:00
Konstantin Schaper
8986e3d378 Merge branch 'develop' into feature/manage-tags
# Conflicts:
#	scm-plugins/scm-hg-plugin/src/main/java/sonia/scm/repository/spi/HgRepositoryServiceProvider.java
2020-11-30 14:18:05 +01:00
Konstantin Schaper
032982857f clean up code, fix bugs, improve ux, add docs 2020-11-30 10:01:21 +01:00
René Pfeuffer
5f130c685c Fix german text 2020-11-27 11:49:13 +01:00
Konstantin Schaper
dc4607935b improve ux 2020-11-27 10:48:56 +01:00
Konstantin Schaper
7895da0a2a implement frontend for creating tags 2020-11-27 08:49:10 +01:00
Eduard Heimbuch
76cf2d801a Merge branch 'develop' into feature/import_git_from_url 2020-11-26 14:01:19 +01:00
René Pfeuffer
c476b3757b Clarify texts 2020-11-26 11:01:01 +01:00
Florian Scholdei
ba9143d78e Unify key views across all user settings 2020-11-26 09:37:40 +01:00
René Pfeuffer
9d25a93558 Distinct between active and stale branches 2020-11-26 08:31:14 +01:00
René Pfeuffer
541933a03a Show last commit of branch in ui 2020-11-26 08:31:14 +01:00
Konstantin Schaper
e3170543cb add frontend for deleting tags 2020-11-25 15:51:44 +01:00
Eduard Heimbuch
4e1e51d1b9 Add Loading Spinner while waiting for repository import 2020-11-25 14:01:45 +01:00
Eduard Heimbuch
ff2b4d8acd refactor RepositoryForm.tsx to FC 2020-11-25 09:40:10 +01:00
Florian Scholdei
669cc39fa9 Add tooltip to shortlinks on repository overview 2020-11-24 17:34:21 +01:00
Eduard Heimbuch
fd79107468 Use preselected value with translation key for namespace filter / improve translations 2020-11-24 13:22:13 +01:00
Eduard Heimbuch
237c48356a Improve ux on overview 2020-11-24 13:22:13 +01:00
Eduard Heimbuch
240069734d create ui form for repository import 2020-11-24 11:15:42 +01:00
Eduard Heimbuch
308b95d8c7 Upgrade repository import api 2020-11-24 10:39:38 +01:00
Eduard Heimbuch
595d97b211 cleanup 2020-11-11 17:20:13 +01:00
Eduard Heimbuch
f93c9f3e7c update documentation 2020-11-11 17:10:37 +01:00
Eduard Heimbuch
20d2f6b5d5 add 'delete branch' function to frontend 2020-11-11 15:58:58 +01:00
Eduard Heimbuch
e8b07aaae1 fix translations 2020-10-23 08:54:56 +02:00
Eduard Heimbuch
f73f60aabc Merge branch 'feature/user_converter' of github.com:scm-manager/scm-manager into feature/user_converter 2020-10-22 13:17:07 +02:00
Eduard Heimbuch
5b10dc57ac create own endpoints for user conversion and apply changed workflow to user form in ui 2020-10-22 13:15:54 +02:00
Konstantin Schaper
f9dab3dc42 Merge branch 'develop' into feature/user_converter 2020-10-21 14:34:57 +02:00
Florian Scholdei
cfb0b2d6c6 Merge with upstream, add missing refs in CHANGELOG.md 2020-10-20 11:11:18 +02:00
Eduard Heimbuch
613346fb97 merge with develop 2020-10-19 13:34:54 +02:00
Eduard Heimbuch
7d2351e06d fix userform validation 2020-10-15 10:24:40 +02:00
Florian Scholdei
c366203d1f New Fullscreen component 2020-10-14 22:48:10 +02:00