mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 12:20:56 +01:00
merge with develop
This commit is contained in:
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Extension point to add links to the repository cards from plug ins ([#1041](https://github.com/scm-manager/scm-manager/pull/1041))
|
||||
|
||||
### Fixed
|
||||
- Build on windows ([#1048](https://github.com/scm-manager/scm-manager/issues/1048), [#1049](https://github.com/scm-manager/scm-manager/issues/1049), [#1056](https://github.com/scm-manager/scm-manager/pull/1056))
|
||||
- Show specific notification for plugin actions on plugin administration ([#1057](https://github.com/scm-manager/scm-manager/pull/1057))
|
||||
|
||||
## 2.0.0-rc5 - 2020-03-12
|
||||
|
||||
@@ -118,7 +118,7 @@ for more information.
|
||||
- [i18n for Plugins](v2/i18n%20for%20Plugins.md "wikilink")
|
||||
- [Extension Points](v2/Extension-Points.md "wikilink")
|
||||
- [API changes](v2/API%20changes.md "wikilink")
|
||||
- [ui-components/ui-types](v2/UI:%20Additions%20or%20Changes%20to%20ui-components%20or%20ui-types.md "wikilink")
|
||||
- [ui-components/ui-types](v2/UI%20Additions%20or%20Changes%20to%20ui-components%20or%20ui-types.md "wikilink")
|
||||
- [Vulnerabilities](v2/vulnerabilities.md "wikilink")
|
||||
- [Common pitfall](v2/Common%20pitfall.md "wikilink")
|
||||
- [Release process](v2/Release%20process.md "wikilink")
|
||||
|
||||
BIN
docs/screenshots/logo_transparent.png
Normal file
BIN
docs/screenshots/logo_transparent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
2
pom.xml
2
pom.xml
@@ -828,7 +828,7 @@
|
||||
<!-- test libraries -->
|
||||
<mockito.version>2.28.2</mockito.version>
|
||||
<hamcrest.version>1.3</hamcrest.version>
|
||||
<junit.version>5.2.0</junit.version>
|
||||
<junit.version>5.6.0</junit.version>
|
||||
|
||||
<!-- logging libraries -->
|
||||
<slf4j.version>1.7.30</slf4j.version>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<dependency>
|
||||
<groupId>org.glassfish</groupId>
|
||||
<artifactId>javax.json</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<version>1.1.4</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -3,12 +3,12 @@ package sonia.scm.web;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import static org.mockito.Mockito.*;
|
||||
import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
public class WireProtocolRequestMockFactory {
|
||||
|
||||
@@ -88,7 +88,6 @@ public class WireProtocolRequestMockFactory {
|
||||
private HttpServletRequest base(String method, String queryStringValue) {
|
||||
HttpServletRequest request = mock(HttpServletRequest.class);
|
||||
|
||||
when(request.getRequestURI()).thenReturn(repositoryPath);
|
||||
when(request.getMethod()).thenReturn(method);
|
||||
|
||||
queryString(request, queryStringValue);
|
||||
|
||||
@@ -47,7 +47,10 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import static org.hamcrest.Matchers.contains;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
/**
|
||||
@@ -98,7 +101,6 @@ public class WireProtocolTest {
|
||||
|
||||
@Test
|
||||
public void testGetCommandsOfWithHgArgsPost() throws IOException {
|
||||
when(request.getMethod()).thenReturn("POST");
|
||||
when(request.getQueryString()).thenReturn("cmd=batch");
|
||||
when(request.getIntHeader("X-HgArgs-Post")).thenReturn(29);
|
||||
when(request.getHeaderNames()).thenReturn(Collections.enumeration(Lists.newArrayList("X-HgArgs-Post")));
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
<license>BSD 3-Clause</license>
|
||||
<url>www.scm-manager.org</url>
|
||||
<summary>${project.description}</summary>
|
||||
<packager>Sebastian Sdorra <s.sdorra@gmail.com></packager>
|
||||
<packager>Sebastian Sdorra <s.sdorra@gmail.com></packager>
|
||||
<platform>
|
||||
<architecture>noarch</architecture>
|
||||
<os>linux</os>
|
||||
@@ -306,7 +306,7 @@
|
||||
</profiles>
|
||||
|
||||
<properties>
|
||||
<commons.daemon.version>1.1.0</commons.daemon.version>
|
||||
<commons.daemon.version>1.2.2</commons.daemon.version>
|
||||
<commons.daemon.native.version>1.1.0</commons.daemon.native.version>
|
||||
<exploded.directory>${project.build.directory}/appassembler/commons-daemon/scm-server</exploded.directory>
|
||||
</properties>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
const { spawnSync } = require("child_process");
|
||||
const os = require("os");
|
||||
|
||||
const yarnCmd = os.platform() === "win32" ? "yarn.cmd" : "yarn";
|
||||
|
||||
const yarn = args => {
|
||||
const result = spawnSync("yarn", args, { stdio: "inherit" });
|
||||
const result = spawnSync(yarnCmd, args, { stdio: "inherit" });
|
||||
if (result.error) {
|
||||
console.log("could not start yarn command:", result.error);
|
||||
process.exit(2);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.11.2",
|
||||
"bulma": "^0.7.5",
|
||||
"bulma": "^0.8.0",
|
||||
"bulma-popover": "^1.0.0",
|
||||
"bulma-tooltip": "^3.0.0",
|
||||
"react-diff-view": "^2.4.1"
|
||||
|
||||
Reference in New Issue
Block a user