Commit Graph

12475 Commits

Author SHA1 Message Date
dependabot[bot]
c190821a5e Bump terser from 4.8.0 to 4.8.1 (#2092)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 20:17:44 +02:00
René Pfeuffer
3e9bab1fa8 Fix translation keys 2022-07-21 13:58:58 +02:00
René Pfeuffer
48ade848d8 Align translations 2022-07-21 10:02:30 +02:00
Eduard Heimbuch
049b5ba54c Add CLI commands for global permission management (#2091)
Add CLI commands for permission management for users and groups.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-07-21 09:56:47 +02:00
René Pfeuffer
3b4b1a1767 Add cli commands to modify repository permissions (#2090)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-07-20 09:17:14 +02:00
Eduard Heimbuch
fc28da90b3 Enable plugin management via CLI (#2087)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-07-19 09:02:00 +02:00
Eduard Heimbuch
67c083ee54 Reduce code smells (#2089)
Reduce code smells found by deepsource.io. We focused on the low-hanging fruits and not breaking any api.
2022-07-15 15:33:37 +02:00
René Pfeuffer
f61d0c113f Always encrypt password (#2085)
First, we make "encryptPassword" in the PasswordService
idempotent, so that the method will not change the password
when the method is called with an already encrypted string.
Then, in the user manager, we will always call this method
to encrypt the password, if this is not already the case.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-07-15 15:02:52 +02:00
Konstantin Schaper
8c41fab30d Add login form extension point (#2088)
One of our users would like to create a new plugin that provides alternative methods of authentication. For that purpose, we need an additional extension point that can either replace the login form entirely, or extend it by adding login buttons. By default, the extension point simply renders the original login form.
2022-07-14 14:06:51 +02:00
CES Marvin
f647e06d3c Prepare for next development iteration 2022-07-13 08:55:30 +00:00
CES Marvin
9b8fb88635 Release version 2.37.2 2.37.2 2022-07-13 08:17:03 +00:00
René Pfeuffer
058230b6a7 Adjust changelog for release 2.37.2 2022-07-13 10:11:45 +02:00
René Pfeuffer
d7943a0551 Fix plugin wizard for foreign languages (#2086)
This fixes the plugin wizard, that throws a NullPointerException for other languages then Englisch or German.
2022-07-13 09:28:56 +02:00
Konstantin Schaper
fc2a40cab5 Fix users not being editable (#2084)
Since 2.34.0, users could not be edited. This pull request fixes the issue and adds unit tests.
2022-07-12 10:45:05 +02:00
dependabot[bot]
7cc500bb4e Bump moment from 2.29.2 to 2.29.4 (#2081)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 09:19:07 +02:00
Eduard Heimbuch
0f0da27965 fix: upgrade react-refresh from 0.12.0 to 0.14.0 (#2039)
Snyk has created this PR to upgrade react-refresh from 0.12.0 to 0.14.0.

See this package in npm:
https://www.npmjs.com/package/react-refresh

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/13177b53-bd0c-4002-91c1-92f4d0dae5c1?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-07-11 08:41:18 +02:00
Florian Scholdei
f3f19426c8 Unify password validation (#2077)
Passwords should be checked when created or changed in the frontend just as they are in the backend for REST and CLI.
Also extend the password validation to allow upto 1024 characters instead of 32.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-07-07 11:19:51 +02:00
René Pfeuffer
59abaa710a Update jgit to version 5.13.0.202109080827-r-scm1 (#2079) 2022-07-07 09:41:49 +02:00
René Pfeuffer
2216d21f84 Merge commit '5cb60e49e' into develop 2022-07-07 08:46:49 +02:00
René Pfeuffer
5cb60e49ee Prepare for next development iteration 2022-07-07 08:43:48 +02:00
CES Marvin
f7d2654d95 Release version 2.37.1 2.37.1 2022-07-06 13:09:06 +00:00
René Pfeuffer
5da2993cf5 Adjust changelog for release 2.37.1 2022-07-06 14:07:54 +02:00
Eduard Heimbuch
e3e6bbed7c Encrypt user password via CLI (#2080) 2022-07-06 14:03:56 +02:00
Konstantin Schaper
21fc92a0ac Add dependency check (#2078)
UI libraries can add a depcheck script that is
run during a new dependency scan integrated
into the gradle check task.
2022-06-29 14:14:29 +02:00
CES Marvin
35c8fcebdc Prepare for next development iteration 2022-06-29 09:00:36 +00:00
CES Marvin
ba8aebf612 Release version 2.37.0 2.37.0 2022-06-29 08:15:45 +00:00
Konstantin Schaper
3343718c52 fix typo in frontend module publish script 2022-06-29 10:08:20 +02:00
Konstantin Schaper
3aa6e95018 Adjust changelog for release 2.37.0 2022-06-28 14:17:18 +02:00
Eduard Heimbuch
1240905008 Revert "Show dedicated Notfound page for invalid routes (#2070)"
This reverts commit ae8f3ee346cb8a3acf6637f501f8e6b68456082c.
2022-06-28 13:13:11 +02:00
René Pfeuffer
b0b2375f78 Mirror LFS files for git (#2075)
If a mirrored git repository uses LFS, SCM-Manager will now also load the binaries, so that the mirrored repository can be used without missing LFS files.
2022-06-24 11:55:36 +02:00
Eduard Heimbuch
f7d6a9c313 Remove digiaccess again 2022-06-23 14:32:08 +02:00
Konstantin Schaper
84402b9722 allow card columns to omit the link (#2076)
The landing-page-plugin is using the CardColumnSmall component from ui-components to display event as tiles. Most events have a link, but some, like the RepositoryDeletedEvent do not. For a better UX it is therefore necessary, to have a CardColumnSmall that is not internally wrapped in a link.
2022-06-23 11:52:21 +02:00
Phil-Ah
71f9a5a26b Enhance descriptions to differentiate between dumps with and w/o metadata. (#2074)
Users should easily understand which kind of import they should choose depending on their dump-file. The export and import with metadata is not experimental any longer. Labels and help text should be short and concise.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-06-22 13:21:37 +02:00
Konstantin Schaper
84f220e5b2 Replace lerna with turborepo (#2073)
This change allows our ui libraries to be built separately. It is therefore to utilize different build tools for individual projects, as well as using build caches for the local build.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-06-22 11:49:26 +02:00
René Pfeuffer
77ab43c93b Prepare for next development iteration 2022-06-21 17:20:36 +02:00
René Pfeuffer
7b4c2a58c5 Merge branch 'master' into develop
# Conflicts:
#	gradle.properties
#	lerna.json
#	scm-plugins/scm-git-plugin/package.json
#	scm-plugins/scm-hg-plugin/package.json
#	scm-plugins/scm-legacy-plugin/package.json
#	scm-plugins/scm-svn-plugin/package.json
#	scm-ui/e2e-tests/package.json
#	scm-ui/ui-api/package.json
#	scm-ui/ui-components/package.json
#	scm-ui/ui-extensions/package.json
#	scm-ui/ui-legacy/package.json
#	scm-ui/ui-modules/package.json
#	scm-ui/ui-plugins/package.json
#	scm-ui/ui-polyfill/package.json
#	scm-ui/ui-scripts/package.json
#	scm-ui/ui-styles/package.json
#	scm-ui/ui-syntaxhighlighting/package.json
#	scm-ui/ui-tests/package.json
#	scm-ui/ui-text/package.json
#	scm-ui/ui-types/package.json
#	scm-ui/ui-webapp/package.json      <Checkbox
        label={t("scm-repository-mirror-plugin.form.ignoreLfs.label")}
        helpText={t("scm-repository-mirror-plugin.form.ignoreLfs.helpText")}
        disabled={isReadOnly}
        {...register("ignoreLfs", { shouldUnregister: true })}
      />
2022-06-21 17:16:14 +02:00
Eduard Heimbuch
8b5347b251 Prevent corrupt lfs files during transfer (#2068)
Validate lfs file checksum to ensure that the file was transferred successfully. If an error occurs, the blob will be deleted to prevent corrupt files inside the storage.
2022-06-21 16:31:34 +02:00
CES Marvin
612d2a003f Release version 2.36.1 2.36.1 2022-06-21 14:16:00 +00:00
René Pfeuffer
76e4e003db Adjust changelog for release 2.36.1 2022-06-21 16:07:36 +02:00
René Pfeuffer
af30859077 Fix zip CRC error on startup in Alpine image (#2071)
Update docker base image to Alpine 3.16.0.
This fixes https://github.com/scm-manager/scm-manager/issues/2053.
In Alpine 3.16.0 zlib is updated to 1.2.12-r1 with this fix:
https://git.alpinelinux.org/aports/commit/main/zlib?id=6754a9005594de4243aad9b2744546971078c6c7
This is related to the following bug report in Alpine:
https://bugs.archlinux.org/task/74371
2022-06-21 16:06:58 +02:00
Eduard Heimbuch
e1196ac6a0 Show dedicated Notfound page for invalid routes (#2070) 2022-06-20 17:49:41 +02:00
CES Marvin
2508f32de2 Prepare for next development iteration 2022-06-13 10:25:34 +00:00
CES Marvin
7f8d5be0dc Release version 2.36.0 2.36.0 2022-06-13 09:48:06 +00:00
Matthias Thieroff
becac01096 Adjust changelog for release 2.36.0 2022-06-13 11:40:56 +02:00
René Pfeuffer
32dad5ffbf Do not close hg context for diff as string (#2067)
Normally, all resources (like the hg process) will be released after
the stream of the diff. But this may lead to errors, when
DiffCommandBuilder#getContent is used and other commands are used
afterwards.

So with this we introduce a new interface method in the DiffCommand
that can be implemented without closing resources. This method is
used for the computation of the diff as string.

We use this to distinguish between the computation of diffs as a
stream like in rest calls, and the computation as a single string
result that may we followed by other commands using the same context.
2022-06-13 08:19:28 +02:00
Eduard Heimbuch
5ad111fb66 Fix button layout for repository form switcher 2022-06-10 08:31:24 +02:00
René Pfeuffer
19218c7237 Add wget to fix docker health check (#2066)
Installs the command wget in the debian docker container, so that the health check can run.
2022-06-09 22:38:38 +02:00
Phil-Ah
3bb3119faf Feedback button does not mask warp menu in EcoSystem (#2062)
The feedback button overlaps the warp menu when the SCM-Manager is used as a dogu in a Cloudogu EcoSystem on small screens. The default position is changed to avoid masking the warp menu. The z-index of the feedback button is reduced to avoid masking the open warp menu.
The DOM-sequence is changed to ensure users with keyboard navigation can access important parts of the page before the feedback button.
2022-06-09 10:14:15 +02:00
dependabot[bot]
2e4902ee2c Bump semver-regex from 3.1.3 to 3.1.4 (#2055)
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits/v3.1.4)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 07:54:45 +02:00
Phil-Ah
6b276afb3b Icons in buttons are encapsulated in span to avoid text-decoration (#2065)
The is-text css-class adds an underline to text in buttons. To avoid icons from receiving this underline they will be encapsulated in a span.
2022-06-09 07:49:49 +02:00