Commit Graph

843 Commits

Author SHA1 Message Date
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 2022-07-13 08:17:03 +00: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
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
5cb60e49ee Prepare for next development iteration 2022-07-07 08:43:48 +02:00
CES Marvin
f7d2654d95 Release version 2.37.1 2022-07-06 13:09:06 +00:00
CES Marvin
ba8aebf612 Release version 2.37.0 2022-06-29 08:15:45 +00: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
Eduard Heimbuch
f7d6a9c313 Remove digiaccess again 2022-06-23 14:32:08 +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
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 2022-06-13 09:48:06 +00:00
Eduard Heimbuch
5ad111fb66 Fix button layout for repository form switcher 2022-06-10 08:31:24 +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
Florian Scholdei
03a87be521 Remove superfluous user theme link properties (#2058)
By definition, the NavItem has an icon, which can/should not be rendered. Depending on the browser, only a small margin is visible. The icon is therefore removed. The same applies to the hover-title, which would only be displayed for collapsed menus, but does not apply to submenu entries.
2022-06-08 13:09:26 +02:00
Florian Scholdei
abaf5c8fba Missing profile link in footer (#2057)
Currently there is a link to Theme with the name Profile in the footer. Another link should be added which is called Theme and points to Theme. In addition, Profile should now point to Information.
2022-06-08 11:00:03 +02:00
Eduard Heimbuch
084fe9e2ae Add api to overwrite content type resolver (#2051)
Introduce content type resolver extension to provide
custom content types for specific file extensions.
2022-06-07 11:02:56 +02:00
CES Marvin
9ae22c1cf2 Prepare for next development iteration 2022-06-02 08:12:56 +00:00
CES Marvin
369e369ea3 Release version 2.35.0 2022-06-02 07:26:21 +00:00
Phil-Ah
b1e8bb7f98 Differentiate focused buttons in confirmation dialog (#2050)
Users need to understand which option they are choosing in an confirmation dialog. Buttons for primary and secondary actions should be visually discernible when one is focused/hovered.
The changes remove default-styling from buttons in confirmation dialogues. The style is set in the element using this dialog to better visually separate the primary and secondary action.

Resolves #2049
2022-06-01 18:10:42 +02:00
René Pfeuffer
c5b4dcb19e Fix character encoding in diffs (#2046)
Fixes encodings in diff results. The is especially necessary for Windows systems.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-06-01 09:32:12 +02:00
Konstantin Schaper
1b18191c57 Add plugin wizard initialization step (#2045)
Adds a new initialization step after setting up the initial administration account that allows administrators to initialize the instance with a selection of plugin sets.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-05-31 15:15:30 +02:00
René Pfeuffer
9bfb074805 Use Java 11 as compile version (#2033)
This sets Java 11 for compilation. To do so, this has to use the gradle smp plugin with the pull request scm-manager/gradle-smp-plugin#16. If the smp plugin is not released as version 0.10.4, the version has to be corrected for org.scm-manager.smpin the various build.gradle files.

It might be necessary to delete all build folders when switching between Java 8 and Java 11:

rm -rf build */build scm-plugins/*/build

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-05-18 08:56:41 +02:00
CES Marvin
ccdf643804 Prepare for next development iteration 2022-05-13 10:52:25 +00:00
CES Marvin
cb489abfff Release version 2.34.0 2022-05-13 10:11:33 +00:00
Konstantin Schaper
035f7e847a Fix branch table alignment (#2035)
The branch table provides an extension point to add further columns, but the content was not vertically aligned anymore after the changes in #2016. This PR adds the same classes to the extension point columns as the other columns have to assure vertical alignment.
2022-05-13 11:56:14 +02:00
Eduard Heimbuch
4fdd6f4d0c Require password for creation of internal user (#2027) 2022-05-09 09:41:59 +02:00
Eduard Heimbuch
826f34f821 Show confirmation modal before deleting keys (#2028)
Show confirmation modal before deleting public keys and api keys.
2022-05-09 09:26:52 +02:00
Florian Scholdei
4c94235414 Remove card-table action area (#2016)
In .card-tables there was an action area that had a darker background. Now this area only contains the delete action. Also, users mistakenly assumed that the hovered area could be clicked. It has therefore been removed and the icons themselves have received a hover effect.
2022-05-06 10:01:01 +02:00
Phil-Ah
6cf8afac01 Fix jumping and broken tool tips (#2026)
The way the tool tip implements passed class names is mistakable. The passed classes broke the tool tip and are removed. The same issue led to a broken tool tip for the code search and is fixed as well. Unnecessary code is removed from help.

Fixes #2025
2022-05-05 21:51:20 +02:00
René Pfeuffer
a5d1901660 Fix ui dependencies (#2024)
Due to the dependencies to ui-syntaxhighlighting and ui-text
from ui-components, these new packages have to be deployed on
npm if ui-components is used in version 2.32.0 or later. Because
these packages shall not be deployed on npm, this changes the
dependencies to dev dependencies in ui-components.
2022-05-04 15:15:35 +02:00
Eduard Heimbuch
3853084106 Add action bar menu (#2015)
Create action bar overflow menu to handle increasing number of file actions.
2022-05-04 09:39:25 +02:00
Eduard Heimbuch
da7d523f77 Do not show feedback form for anonymous users 2022-05-02 14:15:50 +02:00
CES Marvin
42f56dac5e Prepare for next development iteration 2022-04-29 12:17:25 +00:00
CES Marvin
e608b0b35d Release version 2.33.0 2022-04-29 11:42:21 +00:00
Matthias Thieroff
a0737a2c90 Fix freezing browser if syntax highlighting large files (#2010)
We unified syntax highlighting and extracted it into a low level module. Syntax highlighting from now on takes place in a web worker, so that the user interface stays responsive. The web worker stops automatically if the number of nodes which should be highlighted exceeds the defined limit we believe the browser can handle.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-04-25 16:34:40 +02:00
Phil-Ah
81891051a4 Fix media-query to keep white space between button group and border (#2006)
Fix media queries to ensure that layout wraps consistently. Resolves #2005
2022-04-20 16:27:01 +02:00
Eduard Heimbuch
c8207d89da Fix routing for entity names with parenthesis (#1998)
If entities like users, groups or repository namespaces contains parenthesis the frontend router gets confused and doesn't work properly. To fix this issue we escape the chars in the url which may cause such problems because they are reserved by the http url schema.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2022-04-13 13:06:02 +02:00
Phil-Ah
c265383f37 Enable wrapping of actions in code view table (#1995)
At certain screen sizes the table in code view breaks if more than one action is available in a row. The fix enables the list of actions to wrap if the table is displayed on smaller sizes.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-04-11 16:47:32 +02:00
Phil-Ah
b88435df84 hide wrong table head for mobile mode of public key table (#1990)
Change wording for table head for creation date (de/en)

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-04-06 14:56:08 +02:00
Konstantin Schaper
4d203ff36f codify extension points docs (#1947)
This pull request converts the current incomplete textual documentation of the available frontend extension points to in-code definitions that act both as documentation and as type helpers for improving overall code quality. All extension points available in the SCM-Manager core are now available, but no plugin was updated and only those parts of the core codebase had the new types added that did not require runtime changes. The only exception to this is the breadcrumbs, which was a simple change that is fully backwards-compatible.
2022-03-29 15:04:14 +02:00
CES Marvin
ad8cbd6f74 Prepare for next development iteration 2022-03-23 16:00:10 +00:00
CES Marvin
cc9b1b53b3 Release version 2.32.2 2022-03-23 15:32:49 +00:00
René Pfeuffer
4bba593714 Remove plugin center login without url (#1978)
This removes the "login" button for the plugin center, when the authentication url is not set.
2022-03-21 08:21:36 +01:00
Florian Scholdei
a1133176c6 Hide plugin dependencies on uninstall (#1977)
When uninstalling a plugin, there should be no notification about installing or updating plugins.
2022-03-16 13:28:46 +01:00
CES Marvin
00f11cd4b9 Prepare for next development iteration 2022-03-10 17:09:14 +00:00