11956 Commits

Author SHA1 Message Date
CES Marvin
9c372a8df9 Release version 2.19.0 2.19.0 2021-06-04 12:57:19 +00:00
Eduard Heimbuch
d209cd7995 Adjust changelog for release 2.19.0 2021-06-04 14:49:36 +02:00
Eduard Heimbuch
dd0975b49a Feature/mirror (#1683)
Add mirror command and extension points.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-06-04 14:05:47 +02:00
Florian Scholdei
e55ba52ace Show source code controls even if a file is not present (#1680)
This fix preserves the context and shows the error in the component where normally the content of the file is displayed, so that you can still change the branch and the path.
2021-06-02 15:27:41 +02:00
Florian Scholdei
5cb2f077d9 Fix annotate overflow and doubled spacing in code views (#1678)
Fix annotate overflow: Total div size was smaller than minimum size of individual children (+ margin).
Fix doubled spacing in code content views: Spacing duplicates through .panel-block as default for styling, various containers and inner syntax highlighter definition. Unfortunately, the latter is not easy to change, since it is also used with inline syntax highlighter.
2021-06-02 08:57:36 +02:00
Eduard Heimbuch
8ed2c1509f Fix endless loop in Select component 2021-06-01 15:20:41 +02:00
Florian Scholdei
1df1038b6e Fix create link so that its correctly highlighted
The "Create Repository" button in the TabGroup when creating a repository was not highlighted when the "Add Repository" button is first clicked from within the Repository Overview. This is because the routes were not matching. I fixed the lower link in the "Add Repository" button that leads to the create page.
2021-06-01 15:14:06 +02:00
Florian Scholdei
9a2ff75f9b Remove duplicated notification endpoints in openapi (#1677)
Remove duplicated notification endpoints in openapi
2021-06-01 13:56:48 +02:00
Florian Scholdei
9b7da23a20 Fix administration page error for empty release feed url (#1667) 2021-05-31 08:34:26 +02:00
Eduard Heimbuch
a954e019ec Fix endless loop on render Select component 2021-05-28 10:07:55 +02:00
Sebastian Sdorra
dabc7d7e8e New configuration form (#1674)
This change introduces a new hook useConfigLink and a new component ConfigurationForm.
These combination should replace the old Configuration component, which is not typed and which could not be used with react-hook-form.
2021-05-27 15:46:08 +02:00
Sebastian Sdorra
2259f7ef89 Add installation documentation for cloudogu ecosystem (#1670)
Add missing installation docs for installation of SCM-Manager on the [Cloudogu EcoSystem](https://cloudogu.com/en/ecosystem/quick-start-guide/#dogu-choose-your-dogus).
2021-05-27 09:33:06 +02:00
Sebastian Sdorra
f6c91f4b4c Update guice to version 5.0.1 (#1673) 2021-05-27 09:26:29 +02:00
Konstantin Schaper
ed4f24b784 fix create link so that its correctly highlighted (#1671) 2021-05-26 15:59:28 +02:00
Sebastian Sdorra
d7d0d2375c Update jgit to v5.11.1.202105131744-r-scm1 (#1661)
Update jgit to v5.11.1.202105131744-r-scm1

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-05-20 14:14:58 +02:00
Florian Scholdei
42745c9e34 Notifications for health checks (#1664)
Add list of emergency contacts to global configuration. This user will receive e-mails and notification if some serious system error occurs like repository health check failed.
2021-05-20 08:30:20 +02:00
Konstantin Schaper
cb6806a36f fix repository form switcher button label translations for plugins 2021-05-17 09:13:33 +02:00
René Pfeuffer
20bf646c4f Simplify type support check (#1658)
Simplifies the class RepositoryTypeSupportChecker. There is no need to fall back to the super type Type`.
So we do not need to manually check for type safety.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-05-17 08:51:15 +02:00
René Pfeuffer
a626c31ce5 Add toc entry for testing guide 2021-05-14 10:34:43 +02:00
Sebastian Sdorra
8e16fa11c9 Add extension point for repository creators (#1657)
Adds an extension point for repository creator such as repository create, repository import or repository mirror.
2021-05-14 09:15:35 +02:00
Konstantin Schaper
640a270e1d refactor form fields to enable usage with react-hook-form (#1656)
React Hook Form is a library that makes working with forms easier and reduces boilerplate. For it to be used in our project, some of the form fields had to be adjusted.
2021-05-14 09:08:57 +02:00
Konstantin Schaper
7286a62a80 Implement api for extension point typings (#1638)
Currently, the only way to explore available extension points is through our documentation or by browsing the source code. Once you find them, there is no guard rails and the usage is prone to user errors. This new api allows the declaration of extension points as types in code. This way, exposing an extension point is as easy as exporting it from a module. Both the implementation and the developer who uses the extension point work with the same shared type that allows auto-completion and type-checks for safety. This feature is backwards-compatible as the generic methods all have sensible defaults for the type parameters.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-05-12 16:05:30 +02:00
Eduard Heimbuch
b6b304f338 Use correct syntax for config routes (#1652) 2021-05-12 13:46:28 +02:00
Eduard Heimbuch
708f262454 Add testing guide (#1653) 2021-05-12 13:28:04 +02:00
Eduard Heimbuch
a71766ad4d Add TrustManagerProvider (#1654) 2021-05-12 08:56:51 +02:00
Sebastian Sdorra
a75cfaa6d9 Chromatic (#1655)
Integrate Chromatic into the build process of SCM-Manager.
2021-05-11 14:09:09 +02:00
Sebastian Sdorra
9e45d8255d Fix sse for notifications behind nginx reverse proxy (#1650) 2021-05-10 08:57:46 +02:00
CES Marvin
87bcdc3560 Prepare for next development iteration 2021-05-05 14:02:00 +00:00
CES Marvin
3791656760 Release version 2.18.0 2.18.0 2021-05-05 13:30:50 +00:00
René Pfeuffer
d938dfe7c2 Adjust changelog for release 2.18.0 2021-05-05 14:52:13 +02:00
Eduard Heimbuch
7e3a6b6fb2 Show correct default branch in repository config (#1643) 2021-05-05 14:45:18 +02:00
Sebastian Sdorra
b975fb655d Feature/global notifications (#1646)
Add global notifications
2021-05-05 14:43:16 +02:00
Sebastian Sdorra
de28cac4ab Fix flickering form elements on repository initialization (#1645) 2021-05-05 07:20:36 +02:00
René Pfeuffer
77b62be68a Fix messages for post commit hooks in git (#1647)
Fixes the transmission of messages from post commit hooks in Git repositories. We therefore use a new method patched in jGit for SCM-Manager. This simplifies the trigger logic a lot.
2021-05-04 16:53:43 +02:00
Eduard Heimbuch
579b58ba5f Show hg binary verification error messages (#1637)
Show hg verification error messages on global hg config page if trying to save invalid hg binary.
2021-05-03 19:04:08 +02:00
Eduard Heimbuch
7464baf767 Fix missing license headers 2021-04-30 16:13:19 +02:00
Eduard Heimbuch
9610285e55 Copy openapi spec to dev-war 2021-04-30 16:05:14 +02:00
Eduard Heimbuch
0fb7ab3219 Add license check for scm-ui 2021-04-30 16:05:01 +02:00
Eduard Heimbuch
af8980de19 Improve repository information page (#1636)
Only show relevant information for repository on repository information page. The initialization code example is only shown if the repository is still empty.
2021-04-29 18:13:32 +02:00
Konstantin Schaper
32b268e6f5 add extension point for custom link protocol renderers in markdown (#1639)
This PR allows for custom link protocols to be declared and rendered in markdown.
A new extension point markdown-renderer.link.protocol allows for renderers to hook into the api and implement any custom protocol.

Example:

[description](myprotocol:somelink)
binder.bind("markdown-renderer.link.protocol", { protocol: "myprotocol", renderer: MyProtocolRenderer })
This renderer functions similar to link renderers and receives the href and the description. The latter as the children property.

This PR also fixes two bugs where external- and anchor links were not correctly rendered in pull requests by the review-plugin.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-04-29 13:15:22 +02:00
Eduard Heimbuch
8f91c217fc Add patch endpoint for global config (#1629)
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-04-28 08:47:29 +02:00
CES Marvin
9782fd2e8f Prepare for next development iteration 2021-04-26 14:31:33 +00:00
CES Marvin
11fa65f537 Release version 2.17.1 2.17.1 2021-04-26 13:51:39 +00:00
Eduard Heimbuch
d9449ba5cf Adjust changelog for release 2.17.1 2021-04-26 15:41:17 +02:00
René Pfeuffer
2b38f55991 Make code larger (#1631)
Sets the font size for code to 1rem like other text
2021-04-26 12:10:54 +02:00
René Pfeuffer
6cd8fc5ba4 Fix deserialization of embedded values in HAL objects (#1630)
The embedded avatar object of the repository avatar plugin
leads to an exception without this configuration, when
a repository json object is deserialized. This happens
for example when the description of a repository should
be modified.
2021-04-26 08:11:13 +02:00
CES Marvin
26c04a2f8b Prepare for next development iteration 2021-04-22 09:19:35 +00:00
CES Marvin
a9c64642aa Release version 2.17.0 2.17.0 2021-04-22 08:50:04 +00:00
Konstantin Schaper
ad458567b5 restrict markdown linting to docs 2021-04-22 10:04:09 +02:00
Konstantin Schaper
2006945ce6 Adjust changelog for release 2.17.0 2021-04-22 09:59:29 +02:00