Commit Graph

2845 Commits

Author SHA1 Message Date
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
CES Marvin
0cd7fdcec5 Prepare for next development iteration 2021-01-29 11:25:23 +00:00
CES Marvin
6e54f19dc9 Release version 2.13.0 2021-01-29 10:04:49 +00:00
Florian Scholdei
57c9484d41 Enrich styleguide with new features, rules and changes
The styleguide for usage of visual elements has not been updated for a long time. In the course of this story it should be adapted to the current standards and rules. In addition, heavy violations were rectified directly.
2021-01-28 12:46:42 +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
a35c227a55 Repository contact information is editable
The RepositoryForm is called within the creation and editing of a repository. It contains a validator, which is supposed to check, among other things, whether the namespace and name were specified when the repository is created. This information is missing in the edit mode. I therefore initially set valid.namespaceAndName to true. It is changed to false again before the creation mask becomes active.
2021-01-28 11:31:16 +01:00
Konstantin Schaper
94304f96a3 migrate integration tests to bdd (#1497)
Migrates the existing e2e tests towards a cucumber bdd-style and utilizes the integration-test-runner package.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-26 12:58:48 +01:00
Konstantin Schaper
c8b167b4ec refactor table component so that it can be styled by styled-components
Applying styles to table elements like tr or td is currently very cumbersome because they are encapsulated in the Table component itself. We need to apply a word break to table cells so that for example long branch names properly fit into the layout. This PR changes the Table component to allow it to be styled with styled-components.
2021-01-26 10:52:14 +01:00
René Pfeuffer
e7d79835c6 Remove test for old behaviour 2021-01-25 16:18:46 +01:00
René Pfeuffer
6b5781144e Fix storyshots for test ids 2021-01-25 15:43:48 +01:00
Konstantin Schaper
36b4a849e2 Apply test ids to production builds for usage in e2e tests (#1499)
Our e2e tests get executed against production builds and therefore need access to the test-ids. Prior to this change, test-ids were removed in prod builds.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-01-25 12:49:19 +01:00
René Pfeuffer
01fd83fd6b Order proxy settings in frontend (#1502)
Group the single settings for proxies more meaningful.
2021-01-22 14:50:15 +01:00
Florian Scholdei
06161c616d Remove breadcrumb ending slash 2021-01-19 11:31:54 +01:00
Sebastian Sdorra
0ccbc34ccb Use jest-preset version 2.12.4 to fix ui coverage 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
0c66e26c0d Remove unecessary extra sonarqube task from scm-ui 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
18e841b0e8 Start sonarqube integration 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
4e1bf1d13b Update timestamps of test report if running on ci
We have to update the timestamps of our test reports on the ci server,
because Jenkins fails it the reports are older than x minutes.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
22375c8096 Do not abort on failing test, if we run on ci server 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
9e597bb9e0 Start Jenkinsfile migration 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
d2220af840 Add tasks to modify project version 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
7fd6b62b73 Revert "Add tasks to modify version", because it breaks run command
This reverts commit b07f00ea2f74b60663d7d2c4377fe338416d189e.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
ecc216276d Add tasks to modify version 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
5fc1f705b1 Add wrapper around webpack-dev-server
The wrapper watches the parent process id and if it changes the dev-server is stopped.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
d8a04a1113 Do not fork ui-script commands
Forking of the commands could lead to open processes,
even if the parent was stopped with ctrl+c.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
fddacca7db Remove outdated comments 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
dacbac3552 Support publishing of npm modules from scm-ui 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
55507b3f35 Add license check 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
8c27af2661 Remove maven build related files 2021-01-14 12:01:30 +01:00
Sebastian Sdorra
5c379a5bb4 Align dependency configurations and versions 2021-01-14 11:56:05 +01:00
Sebastian Sdorra
b26a687508 Fix missing assets in webapp 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
fa7edc55b2 Implemented serve task for development mode 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
6430c811e2 Add scm-ui assets to scm-webapp war file 2021-01-14 11:55:27 +01:00
Sebastian Sdorra
7e6257ec48 Compile and test scm-webapp 2021-01-14 11:55:27 +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
Konstantin Schaper
831c8b0271 add markdown codeblock renderer extension point (#1492)
Introduces a new extension point that allows developers to overwrite the default syntax highlighting renderer for specific code blocks defined in markdown. The extension point is dynamic and follows the pattern "markdown-renderer.code.{language}".
This feature lays the groundwork for the scm-markdown-plantuml-plugin.
2021-01-07 09:25:31 +01:00
Florian Scholdei
8eb599ff94 Remove empty space in title section on admin pages (#1490) 2021-01-06 09:17:40 +01:00
CES Marvin
374d085fdd prepare for next development iteration 2020-12-17 15:24:34 +00:00
CES Marvin
38a7ff6acb release version 2.12.0 2020-12-17 14:55:08 +00:00
Eduard Heimbuch
769f047b0f Fix timing problem on jumping to linked line number in source view 2020-12-17 12:12:10 +01:00
Eduard Heimbuch
d9af69b1c2 Append location hash on session expired link 2020-12-17 10:42:33 +01:00
Eduard Heimbuch
678e66514e Fix timing problem on jumping to linked line number in source view 2020-12-17 10:15:08 +01:00
Florian Scholdei
99d389b2af Fix tooltip arrow height in firefox (#1479)
Quickfix tooltip arrow height in firefox for bulma-tooltip v3.0.0

For bulma-tooltip v3.0.0, can be removed as soon as we switch to succession framework
2020-12-17 08:25:04 +01:00
Eduard Heimbuch
92232c0b4c fix jumping ui in repository settings actions 2020-12-16 11:52:24 +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
1041faf8f9 Fix storyshots 2020-12-16 11:19:33 +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
b167d90fea Namespace filter leads to empty page (#1476)
* Namespace filter leads to empty page

Fix bug where an empty page was shown if the repository namespace filtered overview page was called directly. Also now the namespace filter and the search action can be used together.

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2020-12-16 09:46:53 +01:00
Florian Scholdei
88b93dc8b8 Feature/profile navigation (#1464)
- Fix bug where profile settings wasn't shown if user cannot change password
- Add missing "ApiKey" entry in the single user menu

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 09:23:05 +01:00