Commit Graph

3079 Commits

Author SHA1 Message Date
Florian Scholdei
279c3e2b75 Fix broken compare view due to missing export (#2105) 2022-08-16 13:03:21 +02:00
CES Marvin
6224d4a16d Prepare for next development iteration 2022-08-09 07:59:32 +00:00
CES Marvin
1f5d5a43c5 Release version 2.38.1 2022-08-09 07:17:59 +00:00
Konstantin Schaper
8ac7095412 Fix dependency issue 2022-08-08 16:15:38 +02:00
CES Marvin
f796d867a4 Prepare for next development iteration 2022-08-08 13:46:06 +00:00
CES Marvin
b64e764574 Release version 2.38.0 2022-08-08 12:48:25 +00:00
Konstantin Schaper
dcd9664e9f Addition to #2098: only allow search with two or more characters 2022-08-08 10:51:02 +02:00
Eduard Heimbuch
e48deb8d1d Improve omnisearch 2022-08-08 08:47:57 +02:00
Konstantin Schaper
1d9cd12821 Revert changes to production environment introduced in #2098 2022-08-05 10:53:06 +02:00
Eduard Heimbuch
550ebefd93 Context sensitive search (#2102)
Extend global search to search context-sensitive in repositories and namespaces.
2022-08-04 12:14:46 +02:00
Florian Scholdei
6c82142643 Fix paging for too large page numbers (#2097)
On some pages with pagination, the user is led to believe that no data is available if a page with page number which it too high is accessed. However, since we show the page number to the outside and the user can access it through the URL, we must also provide appropriate handling. The underlying data can change and so can the number of pages. Now, if a bookmark was saved from an older version, the link should still lead to a destination.
2022-08-02 10:30:07 +02:00
Konstantin Schaper
27dbcbf28d Integrate tailwind css and create new button library (#2098)
Introduce tailwind as new frontend styling library to replace bulma in the longer run. Also create the first new ui library `ui-buttons` which will be the new standard for buttons ins SCM-Manager. In this library we reconsidered which types of buttons should be used to create a clean and consistent ui.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-08-02 08:39:37 +02:00
Florian Scholdei
5aad824ebd Cleaned up group translations (#2096)
In the locates of groups are some definitions which do not correspond with the current state and harm the clarity within the file. In addition, translations that are no longer used have been removed.
2022-07-27 13:42:07 +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 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
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
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 2022-07-06 13:09:06 +00: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 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
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
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
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
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
Florian Scholdei
d1c355b213 Calling search results without parameters (#2056)
Calling search results without parameters leads to "Cannot read properties of undefined (reading 'length')" error. It does not matter which search mask is called.
2022-06-08 13:43:45 +02:00
Florian Scholdei
1f5ebc04d6 Arrow icon of secondary navigation is inconsistent (#2060)
The toggle icon in the secondary navigation points in the wrong direction.
In the changeset and code view, the current status is displayed with the icon. This should also be the case for this component.
2022-06-08 13:36:16 +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
Konstantin Schaper
5f9db5cf4d New diff view props for controlling hunk/line interaction (#2047)
Move hunk styling from review plugin to core and make reusable
2022-06-02 13:25:53 +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