Commit Graph

12629 Commits

Author SHA1 Message Date
CES Marvin
9f712aec5d Release version 2.42.2 2.42.2 2023-03-02 14:52:49 +00:00
René Pfeuffer
30a3a119b8 Adjust changelog for release 2.42.2 2023-03-02 15:47:05 +01:00
Rene Pfeuffer
83c7e0523d Fix various performance issues
- Avoiding read attempts for stores that do not exist (AbstractStore).
- Use of ReadWrite locks (everything withLockedFileForRead or withLockedFileForWrite)
- Caching of JAXB Context (TypedStoreContext.java)
- Avoid unnecessary writes to the UserGroupCache

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-03-02 11:05:04 +01:00
Rene Pfeuffer
8cef21e32c With this change, the creation of API keys will throw an error if one tries to create a new API key. To make this error distinguishable from other errors, we use a 404 (not found) in this case (a 409 would be indistinguishable from a "real" conflict, 401 or 403 could be misleading). Doing this, the cli client can print better error messages.
In addition, this removes the links to API keys in user hal objects, when API keys are disabled.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-28 10:01:27 +01:00
Rene Pfeuffer
cb8c951cb8 Set the HEAD in Git pull command
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-23 12:38:26 +01:00
Eduard Heimbuch
f28eaeca15 Fix repository resolution for ssh urls with context path
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-23 10:57:43 +01:00
Rene Pfeuffer
0361ae3c6c Sets the default branch for a new git repository from an import to the HEAD reference of the imported repository.
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-02-23 10:10:33 +01:00
CES Marvin
1842a49c77 Prepare for next development iteration 2023-02-16 20:24:50 +00:00
CES Marvin
16572110de Release version 2.42.1 2.42.1 2023-02-16 20:07:00 +00:00
René Pfeuffer
5845f399b1 Adjust changelog for release 2.42.1 2023-02-16 18:57:20 +01:00
René Pfeuffer
b4e0404309 Merge branch 'main' into develop 2023-02-16 18:51:20 +01:00
René Pfeuffer
29a26791eb Merge tag '2.41.1'
Release version 2.41.1
2023-02-16 18:50:31 +01:00
CES Marvin
e23cb64a68 Release version 2.41.1 2.41.1 2023-02-16 17:41:51 +00:00
René Pfeuffer
5fee8e1d62 Adjust changelog for release 2.41.1 2023-02-16 16:16:58 +01:00
René Pfeuffer
70274c0b1a Update changelog to 0.2.0 2023-02-16 16:15:48 +01:00
Rene Pfeuffer
90dcb713b3 Remove unconditional force push
This removes the unconditional force mode used while pushing changes made by the modify or the merge command in git repositories. The force mode led to the "deletion" of other changes on the same branch made between the creation of the working copy and the push to the core repository inside SCM-Manager.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-02-16 16:12:55 +01:00
Rene Pfeuffer
9f3519ecce Remove sshd dependency
The sshd dependency in version 2.8.0 that came with SvnKIT
1.10.10 may cause an injection failure in bouncy castle
due to incompatible sshd versions on server startup when
the ssh plugin is installed (the ssh plugin uses version
2.9.0 of apache sshd).

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-16 14:02:56 +01:00
René Pfeuffer
13929aab5e Push release tag to GitHub 2023-02-15 17:05:40 +01:00
CES Marvin
b595808386 Prepare for next development iteration 2023-02-15 09:33:00 +00:00
CES Marvin
57206a9d63 Release version 2.42.0 2.42.0 2023-02-15 08:46:54 +00:00
Laura Gorzitze
5265a28756 Adjust changelog for release 2.42.0 2023-02-15 09:41:00 +01:00
Rene Pfeuffer
962df5309c Update SVNKit to 1.10.10-scm1
Fix lockfiles and update slf4j



Committed-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-15 08:44:30 +01:00
Rene Pfeuffer
e1b107849e Permission Overview
Adds an overview of the permissions of a user including its groups. To do so, a new cache is introduced that stores the groups of a user, when the user is authenticated. In doing so, SCM-Manager can also list groups assigned by external authentication plugins such as LDAP. On the other hand, the user has to have been logged in at least once to get external groups, and even then the cached groups may be out of date when the overview is created. Internal groups will always be added correctly, nonetheless.

Due to the cache, another problem arised: On some logins, the xml dao for the cache failed to be read, because it was read and written at the same time. To fix this, a more thorough synchronization of the stores has been implemented.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-02-09 10:29:05 +01:00
Philipp Ahrendt
864ed9072d Merge of branch bugfix/table-cell-overflow into develop
Automatic merge by SCM-Manager.
2023-02-09 09:45:24 +01:00
Eduard Heimbuch
eb044d8953 Make the default encryption util public to access from plugins. 2023-02-07 14:59:41 +01:00
Konstantin Schaper
de46d8f4a5 tweak styling 2023-02-07 11:00:59 +01:00
Konstantin Schaper
38ae969899 fix long text in table cells breaking layout 2023-02-07 10:53:38 +01:00
Eduard Heimbuch
f20d9d18f4 Fix homebrew tap job name for release build 2023-02-07 08:37:37 +01:00
Eduard Heimbuch
3730434f7b Expose size for primary repository avatar extension point 2023-01-31 11:08:12 +01:00
Florian Scholdei
63d6c765ea Correct z-index equal weighting in diff header
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-01-31 10:11:08 +01:00
Eduard Heimbuch
1de489c6d8 Fix drop down arrow z index 2023-01-31 09:51:28 +01:00
Rene Pfeuffer
8f1f0994d6 Update release process to new changelog task
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-01-26 20:00:27 +01:00
Eduard Heimbuch
b2a253ea29 Fix tab order for primary navigation 2023-01-26 07:32:14 +01:00
Eduard Heimbuch
dc60c924ed Add copy button to codeblocks 2023-01-25 15:55:00 +01:00
René Pfeuffer
d74db7be2c Update changelog to 0.2.0 2023-01-23 17:12:57 +01:00
Laura Gorzitze
89bcd7c099 Prepare for next development iteration 2023-01-18 15:55:59 +01:00
Laura Gorzitze
dcabdfc25a Release version 2.41.0 2.41.0 2023-01-18 15:26:43 +01:00
Laura Gorzitze
781389f7bd Adjust changelog for release 2.41.0 2023-01-18 11:34:04 +01:00
Laura Gorzitze
982506b934 Add release script
Script release.sh added to simplify the core release process.

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-01-18 11:29:55 +01:00
Konstantin Schaper
7d2f9b7fe1 add missing @since annotations to ui-forms & ui-buttons 2023-01-16 13:56:56 +01:00
Konstantin Schaper
d5e5490b53 Add new overlay ui module with tooltip component
Our current tooltip component has been causing ui glitches for over a year now because it did not use react portal to render the tooltip content outside the react render tree which interfered with html/css. The new component is based on a fully accessible component by radix-ui. The styling, for now, has been kept from the original tooltip.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-01-16 13:37:52 +01:00
Eduard Heimbuch
05451d4b49 Force push changes to GitHub 2023-01-16 12:22:29 +01:00
Konstantin Schaper
d529928287 fix publish ui publish configs 2023-01-16 09:22:53 +01:00
Eduard Heimbuch
ac419daa3f Add ConfigurationAdapterBase and extension points for trash bin
Adds the new abstract class ConfigurationAdapterBase to simplify the creation of global configuration views. In addition there is some cleanup, interfaces and extension points for the repository trash bin plugin.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-01-13 13:08:51 +01:00
Eduard Heimbuch
5c4c759bd2 Make the diff header sticky 2023-01-11 16:04:39 +01:00
Eduard Heimbuch
72dfe80843 Introduce ui-forms framework
Adding a new ui framework to make creating forms as easy and consistent as possible. It wraps a lot of boilerplate code and enforces good practices for make the forms in the "SCM-Manager way".


Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>

Reviewed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-01-02 08:59:07 +01:00
Rene Pfeuffer
f2f2f29791 Render images from repository correctly
This adds a markdown renderer for images, so that images
that are referenced by their repository path are resolved
correctly. In this case, the content rest endpoint is
rendered as source url. For this, two new contexts
(RepositoryContext and RepositoryRevisionContext)
have been added, that make the repository and the
current revision available, so that the content url can
be resolved properly. These new contexts may be used
by plugins like the scm-readme-plugin.

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

Reviewed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-12-19 10:12:01 +01:00
Rene Pfeuffer
6ba792e5bc Adds a new extension point repository.overview.listOptions that can be used to set the page size, whether to list archived repositories or not and potentially other options for the repository overview. If no extension is bound, the default values will be used.
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-12-15 11:16:01 +01:00
René Pfeuffer
34bfe49d3e Fix push command in Jenkinsfile 2022-12-13 08:34:51 +01:00
Eduard Heimbuch
f51951089c Fix job path for next-scm instance 2022-12-12 17:36:16 +01:00