Commit Graph

3079 Commits

Author SHA1 Message Date
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
Konstantin Schaper
264e80f47c Improve visibility and contrast for focused line in syntax highlighting (#2031)
The styling for the focused line (e.g. permalink) in the source view with syntax highlighting was hard-coded and did not meet accessibility standards, especially in high-contrast mode. This pull request introduces two new css variables that are fine-tuned to meet contrast requirements for each theme. An additional "bar" with specifically high contrast has been added to the left of the focused line, because it was impossible to find one background color that would provide sufficient contrast with both the page background as well as all highlighting colors.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-05-10 11:17:10 +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
Phil-Ah
7676d709bb Change CSS definition of padding to better confer to standard (#2023)
"padding: inherit;" does not take any further arguments.
Further definitions will be moved to separate lines to produce valid CSS.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-05-09 09:16:26 +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
Konstantin Schaper
689b191ec3 fix e2e test 2022-05-03 16:19:05 +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
21d2422b3c Add visible outline to focused button (#2009)
The focus state of buttons should be clearly visible in all modes to help find the focused element. Buttons are especially important and therefore receive a special outline in a unique color. The colored outline can be set with CSS-variables.
2022-04-25 07:23:23 +02:00
Sebastian Sdorra
360fdb9b8a Update @pmmmwh/react-refresh-webpack-plugin to 0.5.5 to fix react-refresh 2022-04-21 15:03:57 +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
snyk-bot
7be5250ae7 fix: upgrade react-refresh from 0.10.0 to 0.12.0
Snyk has created this PR to upgrade react-refresh from 0.10.0 to 0.12.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
2022-04-20 11:43:31 +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
Matthias Thieroff
f34c794308 Avoid unnecessary re-rendering of markdown view (#1999)
Avoid unnecessary re-rendering of markdown view which e.g. caused an embedded secure code warrior video to reload on every page interaction.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-04-12 19:21:16 +02:00
Florian Scholdei
5eacb9da6a Small tweaks in darkmode (#1976)
* The scss variable $popover-border-color is now also used throughout the internal styles
* Derived css variable is exported only once
* Scss definitions are now organized and structured with descriptive comments
* Fix incorrect styling due to a too dark and at the same time very thick border in the CreateButton component
* Darken $border-light a little, so that it is not brighter than the border in dark mode
2022-04-12 12:45:23 +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
Eduard Heimbuch
34b4fd9740 Show cli client link in footer 2022-04-08 11:08:41 +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
Florian Scholdei
5505b3ce11 Correct styling of syntax highlighter .section elements (#1984)
Fixes styling of syntax highlighter .section elements which causes unsightly rendering due to a global definition by bulma.
2022-03-30 09:40:48 +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
Konstantin Schaper
f7718b80e8 Fix plugin bundles being executed multiple times because of transient dependencies (#1980)
If a queued module is only removed from the queue upon successfully resolving all its dependencies,
it could fail multiple times, causing multiple entries to appear in the queue.
This in turn causes the module to get executed multiple times.
The solution is to immediately remove the module when it is dequeued.
If it fails again, it is then re-added to the queue.
2022-03-23 08:48:17 +01: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
Eduard Heimbuch
9ec38a858d Handle ui test errors in Jenkins Pipeline (#1975)
Fix jenkins testing stage to not ignore test result. This led to different results between local builds and Jenkins builds which confused the developer and could hide implementation errors.
2022-03-17 09:13:51 +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
Eduard Heimbuch
8cafb9e38f Branch details invalidation (#1973)
Fix branch details invalidation
2022-03-14 09:46:11 +01:00
CES Marvin
00f11cd4b9 Prepare for next development iteration 2022-03-10 17:09:14 +00:00
CES Marvin
132c25a1ce Release version 2.32.1 2022-03-10 16:28:26 +00:00
Eduard Heimbuch
9f9bfd6635 Fix user creation via UI 2022-03-10 17:18:17 +01:00
CES Marvin
f60be4291d Prepare for next development iteration 2022-03-10 09:42:54 +00:00
CES Marvin
094d1335ca Release version 2.32.0 2022-03-10 09:10:23 +00:00
Eduard Heimbuch
4407dc6d8a Add feedback form (#1967)
Add feedback button and form. This feedback form can be used to provide direct feedback to the SCM-Manager Team.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-03-10 09:39:17 +01:00
Phil-Ah
390384b723 Fix escape character for search syntax (#1972)
Replace escaped characters to display automatically escaped characters in search syntax and examples.
2022-03-08 16:41:11 +01:00
Florian Scholdei
9c3e9cd76d Introduce darkmode theme (#1969)
This commit introduces a new more relaxed theme, the dark theme!
In addition, the theme can now be selected according to the system defaults.
And the other themes, as well as the general structure were unified/simplified.

Co-authored-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-03-08 09:47:36 +01:00
Phil-Ah
1dad31168b move triangle on desktop and up to the richt position (#1971)
The triangle above the list of notifications needs to point at the bell to communicate the relation between the two.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-03-08 07:56:42 +01:00
Matthias Thieroff
4d7980124f Sort stories in tree view (#1970) 2022-03-03 14:25:20 +01:00
Konstantin Schaper
298956ceda update to newest version of integration-test-runner (#1968) 2022-03-03 08:42:23 +01:00
Eduard Heimbuch
151c7bf772 Fix frontend tests and story shots after code splitting was enabled 2022-03-02 09:27:55 +01:00
Eduard Heimbuch
1d432a6511 Do not redirect after data update (#1965)
Do not redirect to other page after data was simply updated. After removing this redirect we stumbled upon some bigger issue with stale data inside our forms. This led to conflicts (Concurrent Modification Exceptions) if data was updated multiple times without reloading the page because of the last modified date of the single entities. This issue was hidden through the redirect and we fixed this by refactoring the form to functional components and simplify the state handling.
2022-02-28 15:02:30 +01:00
Konstantin Schaper
a1edf1ce8e convert cucumber tests to standard cypress with typescript (#1962)
In light of the upcoming release of version 3 of the integration-test-runner, which does not use cucumber but standard cypress with typescript, all e2e tests have been converted to match the new format.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-02-28 14:48:37 +01:00
Eduard Heimbuch
033238f173 Improve tooltip text padding 2022-02-24 11:44:03 +01:00