Commit Graph

42 Commits

Author SHA1 Message Date
Eduard Heimbuch
d6402ad1cb Redesign repository overview (#1740)
Change repository overview layout to use single rows instead cards. Also remove quick links and add clone action to repository entry. The default repository link now leads to the sources view.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-07-28 15:04:00 +02:00
René Pfeuffer
1e83c34823 Enable Health Checks (#1621)
In the release of version 2.0.0 of SCM-Manager, the health checks had been neglected. This makes them visible again in the frontend and adds the ability to trigger them. In addition there are two types of health checks: The "normal" ones, now called "light checks", that are run on startup, and more intense checks run only on request.

As a change to version 1.x, health checks will no longer be persisted for repositories.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-04-21 10:09:23 +02:00
Florian Scholdei
84ba05bab8 Correct positioning and coloring of button groups in modals (#1612) 2021-04-07 13:04:30 +02:00
Florian Scholdei
0d3339b0cb Add repository-specific non-ff disallowed option (#1579)
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-03-11 10:13:26 +01:00
Sebastian Sdorra
89548d45bd Filepath search (#1568)
Add search for files to the sources view. The search is only for finding file paths. It does not search any file metadata nor the content. Results get a rating, where file names are rated higher than file paths. The results are sorted by the score and the first 50 results are displayed.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-03-04 10:39:58 +01:00
Eduard Heimbuch
db2ce98721 Feature/import export encryption (#1533)
Add option to encrypt repository exports with a password and add possibility to decrypt them on repository import. Also make the repository export asynchronous. This implies that the repository export will be created on the server and can be downloaded multiple times. The repository export will be deleted automatically 10 days after creation.
2021-02-25 13:01:03 +01:00
René Pfeuffer
20c3faeb5b Remove redundant chapter 2021-02-16 13:12:01 +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
c3ab6bc5d5 Bundle and unbundle command for mercurial (#1511)
Support for exporting and importing mercurial repositories as tar ball

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-28 13:09:47 +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
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
Sebastian Sdorra
2dcb099d49 Fix broken frontmatter in repo settings documentation 2020-12-17 21:46:17 +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
Eduard Heimbuch
60cdc6f8cf Merge branch 'develop' into feature/import_git_from_url 2020-12-02 14:39:45 +01:00
Eduard Heimbuch
64da1a6dae add documentation 2020-12-01 12:38:30 +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
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
e4346a6786 add missing images for docs 2020-11-30 10:01:53 +01:00
Konstantin Schaper
032982857f clean up code, fix bugs, improve ux, add docs 2020-11-30 10:01:21 +01:00
René Pfeuffer
dcc848eb4b Update docs
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-11-26 09:00:23 +01:00
René Pfeuffer
9119d2c075 Adapt documentation 2020-11-26 08:32:06 +01:00
Florian Scholdei
f65f3222ee Update documentation, storyshots 2020-11-24 18:35:07 +01:00
Eduard Heimbuch
f93c9f3e7c update documentation 2020-11-11 17:10:37 +01:00
Florian Scholdei
db6ec1e543 Update documentation 2020-10-09 12:40:18 +02:00
René Pfeuffer
f628749411 User documentation for namespace permissions 2020-09-18 14:31:45 +02:00
Eduard Heimbuch
29134ae261 add documentation for tags 2020-09-16 14:58:47 +02:00
René Pfeuffer
7a226c8711 Document namespace restrictions 2020-09-10 10:18:00 +02:00
René Pfeuffer
e81341b601 Update documentation for namespace filter 2020-09-10 10:18:00 +02:00
Konstantin Schaper
7611ad1290 Merge branch 'develop' into feature/create_gpg_signatures 2020-08-12 13:40:45 +02:00
Eduard Heimbuch
c5bac94250 update documentation 2020-07-31 11:04:41 +02:00
Florian Scholdei
8b03275848 Merge with develop 2020-07-28 12:41:19 +02:00
Florian Scholdei
858699a3b0 Update CHANGELOG.md and documentation 2020-07-28 12:34:42 +02:00
eheimbuch
460db05396 Merge pull request #1265 from scm-manager/feature/numbers_in_source
Feature/numbers in source
2020-07-23 11:26:12 +02:00
Florian Scholdei
ded030ef86 Show line numbers by default 2020-07-23 10:18:36 +02:00
Florian Scholdei
82721e554c Supplement annotation section in docs 2020-07-23 09:23:31 +02:00
Eduard Heimbuch
b1660f5ec7 init svn repositories with README.md in trunk folder 2020-07-22 14:00:52 +02:00
Eduard Heimbuch
9a1ec7a5ef improve documentation 2020-07-21 14:04:37 +02:00
Eduard Heimbuch
e772b5060d improve documentation 2020-07-15 10:37:56 +02:00
Florian Scholdei
bde83315d6 Update screenshots in user-oriented documentation 2020-06-16 17:12:52 +02:00
Florian Scholdei
f9efbd2e40 Add user-oriented SCM-Manager documentation 2020-06-16 13:20:17 +02:00