Commit Graph

3079 Commits

Author SHA1 Message Date
René Pfeuffer
914280ae43 Prepare for next development iteration 2022-02-21 15:01:44 +01:00
Phil-Ah
78b507921d Enhance ui-elements to be more accessible on smaller screens (#1950)
Enable breaking of content to be fully available on small screens or highly zoomed displays. This should help improve accessibility.

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-02-18 14:48:21 +01:00
Eduard Heimbuch
b85dc8f0e6 Split frontend code by routes (#1955)
Split large frontend components into own bundles. This way we decrease loading times and load the bundles right as they are used. We replace SystemJS with our own implementation to load the lazy modules right as there are required.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-02-18 14:47:37 +01:00
CES Marvin
dff4ccfb32 Prepare for next development iteration 2022-02-18 13:04:18 +00:00
CES Marvin
5d3f985ee3 Release version 2.31.0 2022-02-18 12:34:36 +00:00
Matthias Thieroff
1fe7b0a01e Improve accessibility (#1956)
Fixes several accessibility issues:

- Provide a style for empty table column headers
- Add aria references and aria-labels
- Remove aria references if the referenced element is not rendered
2022-02-17 14:00:16 +01:00
Eduard Heimbuch
1c2e00455d Improve tooltip accessibility (#1954)
There has been the requirement to improve accessibility for our tooltips by allowing tooltips to be closed via the escape key as well as allowing users to hover over the tooltip text. These combined requirements were not possible with the previous implementation that used a bulma-tooltip extension. That meant we had to implement the full tooltip html and css from scratch. A declared goal was to keep the new implementation as close to the previous look-and-feel as possible. The redundant dependency has been removed in the process.

This is the fixed re-commit of #1938 (Commit 67bd96ea81)

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2022-02-16 10:51:30 +01:00
René Pfeuffer
cf52209c1d Revert "improve tooltip accessibility (#1938)" (#1949)
This reverts commit 67bd96ea81, because the changes to the tooltips caused a rendering error for ahead/behind tags for branches.
2022-02-15 12:08:43 +01:00
Matthias Thieroff
44f0046f25 Collapse folders with only one child folder (#1951)
Collapses a folder in code view which only has another folder as its only child. This lets you access a sub-folder which has content directly instead of navigating down the folder tree by clicking every folder separately.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2022-02-15 10:59:32 +01:00
Eduard Heimbuch
e03afe61ab Adjust reload button on plugin actions (#1946)
Adjust the reload button on plugin actions after restart to be a proper button instead an link styled button.
2022-02-03 14:16:01 +01:00
Eduard Heimbuch
5cbf9e4b32 Link directly to file sources from file history view (#1945)
Link directly to the selected file with the file history sources link instead of the root dir.
2022-02-02 16:13:10 +01:00
Konstantin Schaper
ac06cb7827 fix storyshots 2022-02-02 14:26:27 +01:00
Konstantin Schaper
b47a099d7c login attempt input fields now only allow numbers 2022-02-02 13:54:40 +01:00
Konstantin Schaper
4e3c1ffe02 fix copy button not having pointer cursor 2022-02-02 13:49:14 +01:00
Florian Scholdei
400ac98e3d Add secondary color gradations to styleguide (#1944)
Add secondary colors to styleguide and use them
Replace blib image with transparent version
Reformat styleguide.html with prettier
2022-02-02 10:10:38 +01:00
Sebastian Sdorra
dff5d3aa5b Do not fail on error 502 during restart actions (#1941)
In some rare cases a reverse proxy stops forwarding traffic to scm,
before the response is returned to scm.
In such a case the reverse proxy returns 502 (bad gateway),
so we treat 502 not as error for restart actions.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-02-02 10:02:46 +01:00
Florian Scholdei
c155d1eb4a Correct .has-border-primary 2022-02-01 18:50:00 +01:00
Sebastian Sdorra
44be389d0c Enable Gradle dependency locking (#1922)
Enable gradle dependency locking for all subprojects. This change allows us to use dependency ranges, without loosing reproducible builds.
It also makes it easier for third party services such as snyk to detect dependencies and their versions.
2022-02-01 15:14:18 +01:00
Sebastian Sdorra
c74e9984f6 Handle Plugin Center Authentication failures (#1940)
If the plugin center authentication fails,
the plugins are fetched without authentication
and a warning is displayed on the plugin page.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-01-31 15:41:12 +01:00
Konstantin Schaper
67bd96ea81 improve tooltip accessibility (#1938)
There has been the requirement to improve accessibility for our tooltips by allowing tooltips to be closed via the escape key as well as allowing users to hover over the tooltip text. These combined requirements were not possible with the previous implementation that used a bulma-tooltip extension. That meant we had to implement the full tooltip html and css from scratch. A declared goal was to keep the new implementation as close to the previous look-and-feel as possible. The redundant dependency has been removed in the process.
2022-01-28 15:32:35 +01:00
Konstantin Schaper
de36c0d09d Fix markdown toggle & only show source copy button on hover (#1939)
A recent update added a button that lets users copy source code. In markdown files, the toggle button covers the copy button visually which does not look good and makes it hard/impossible to use. Additionally, larger markdown files with multiple code blocks have too many visible buttons that clutter the screen. This PR moves the markdown toggle above the actual display and only shows the copy button upon hovering the code that is to be copied.
2022-01-28 14:01:43 +01:00
René Pfeuffer
0932c6e71f Use a transparent SCMM logo in plugin center (#1936)
This replaces the SCM-Manager logo for the plugins
without own icons with a version with a transparent
background to make it less intense in dark themes.
2022-01-27 11:11:06 +01:00
Florian Scholdei
1da37725a1 Add myCloudogu data processing link (#1935)
Add data processing link to docs and plugin overview
2022-01-27 10:11:17 +01:00
CES Marvin
beff5706a3 Prepare for next development iteration 2022-01-26 10:02:01 +00:00
CES Marvin
8691f217c1 Release version 2.30.1 2022-01-26 09:27:00 +00:00
René Pfeuffer
099c0ad6f6 Fixes input dialog for password field (#1934)
Fixes an javascript error in the create user dialog where the "event" from the password field is a simple string, no event.
2022-01-26 10:05:22 +01:00
CES Marvin
ed3c81f3a5 Prepare for next development iteration 2022-01-24 13:13:37 +00:00
CES Marvin
8adbf29582 Release version 2.30.0 2022-01-24 12:46:01 +00:00
Konstantin Schaper
d0cf976a54 Improve modal accessibility
Implement initial focus for modals. Change all modals including forms to put initial focus on the first input. When Enter is pressed on any input (CTRL + Enter for Textareas), the form is submitted if it is valid.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-01-21 14:25:19 +01:00
Eduard Heimbuch
49844d1595 Compare branches, tags and revisions (#1920)
Add branch/tag/revision compare to see diffs and changesets between the source and target revisions. This feature is reachable from the branch/tag detail page and also the source code view.

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-01-20 11:00:49 +01:00
Eduard Heimbuch
63ec4e6172 Add security notifications to inform about vulnerabilities (#1924)
Add security notifications in SCM-Manager to inform running instances about known security issues. These alerts can be core or plugin specific and will be shown to every user in the header.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
Co-authored-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-01-19 11:58:55 +01:00
René Pfeuffer
4ed38d62f5 Keep user/group selection in permissions dialog (#1919)
In the dialog to add permissions for a repository, this will keep
the selection whether to add a user or a group after a new entry
has been added.
2022-01-18 09:51:04 +01:00
René Pfeuffer
f2a1effc77 Sorted autocomplete (#1918)
Users, groups, repositories and repository roles have been sorted in the rest layer by default if no other sort option was given. In the layers "below" (aka the manager classes or the dao), the collections have been unsorted. This led to the effect, that the autocomplete resource, which did not sort all values beforehand, returned unsorted results. As a sideeffect, direct matches for an input could occur at a random position or not at all (as reported in #1695), when there were enough other matches.

With this pull request the databases for users, groups, repositories and repository roles will use instances of TreeMap instead of LinkedHashMap internally, so that these values are sorted implicitly (by id respectively name for users, groups and repository roles and namespace/name for repositories).

Due to this change the default sort applied in the rest layer could be removed.
2022-01-18 09:46:10 +01:00
René Pfeuffer
6ca88e6772 Merge branch 'master' into develop 2022-01-18 08:22:37 +01:00
CES Marvin
d692bf6bff Release version 2.29.1 2022-01-18 08:18:05 +01:00
René Pfeuffer
070d5105d3 Cleanup Autocomplete component (#1917)
Extract common properties for both autocomplete variations.
2022-01-12 09:10:18 +01:00
René Pfeuffer
e9f22e89ec Autocomplete for namespaces (#1916)
Changes the "namespace" input in the repository creation form or the "rename repository" dialog to an
autocomplete input. Of course this is only available for the "custom" namespace strategy.
2022-01-11 16:17:57 +01:00
CES Marvin
01fa96d29c Prepare for next development iteration 2022-01-07 17:13:27 +00:00
CES Marvin
ad390ea97b Release version 2.29.0 2022-01-07 16:45:03 +00:00
Florian Scholdei
586a060043 Fix high contrast mode issues (#1910)
Additionally adds css variables to be used by plugins

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2022-01-07 16:54:17 +01:00
René Pfeuffer
61b0cf9843 Fixup for markdown copy button (#1902)
Somehow the essential changes were missing in the
original commit (788787d).
2022-01-06 15:20:56 +01:00
René Pfeuffer
788787db5b Copy button for md code blocks (#1902)
Adds a small "copy to clipboard" button in the upper right corner of code blocks in rendered markdown files.
Additionally this removes the trailing lines in such code blocks.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-01-06 13:42:07 +01:00
Phil-Ah
a82569fdce Unify and improve mono-fontstack. (#1912)
Unify and enhance font stack for mono-fonts. The updated font stack should provide a better UX on diverse platforms by using standard fonts. Fallbacks are more diverse. The amount of similar but not equal fonts in relation to 3rd-party plugins should be reduced.
2022-01-06 11:50:34 +01:00
Eduard Heimbuch
aa1558dbac Disable repository types (#1908)
Disable repository types via global config for Git, Mercurial and Subversion. It is only possible to disable a type, if no repositories of this type exist. Also prevent repository creation if no type is allowed at all to catch nasty errors.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-01-06 10:05:01 +01:00
Eduard Heimbuch
82ac06f896 Add property to make breadcrumb not clickable (#1907)
Make breadcrumb not clickable with new property. This is useful to show the breadcrumb for path that does not exist yet.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2022-01-05 14:30:14 +01:00
Matthias Thieroff
a756b86f77 Add ability to render storyshots async (#1906) 2022-01-04 12:32:37 +01:00
Matthias Thieroff
8136aa1cbd Set the line ending used for license files to LF (#1904)
Set line ending explicitly to LF because on Windows using the system line ending does not get along well with our git settings.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-12-23 09:43:32 +01:00
CES Marvin
90b595b545 Prepare for next development iteration 2021-12-22 18:16:08 +00:00
CES Marvin
2817c87813 Release version 2.28.0 2021-12-22 17:49:10 +00:00
René Pfeuffer
37f89bed77 Fix colors in autocomplete component (#1905)
Further fixes for the high contrast mode, modly regarded to the autocomplete component.

This is a fixup for #1892

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-12-22 14:07:03 +01:00