Kaynağa Gözat

Merge pull request #239 from jncharon/master

Fix in the change password screen
Sebastian Stenzel 9 yıl önce
ebeveyn
işleme
cf35772c18

+ 1 - 1
.travis.yml

@@ -48,7 +48,7 @@ deploy:
     secure: "ZjE1j93v3qbPIe2YbmhS319aCbMdLQw0HuymmluTurxXsZtn9D4t2+eTr99vBVxGRuB5lzzGezPR5zjk5W7iHF7xhwrawXrFzr2rPJWzWFt0aM+Ry2njU1ROTGGXGTbv4anWeBlgMxLEInTAy/9ytOGNJlec83yc0THpOY2wxnk="
   file:
     - "main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar"
-    - "main/ant-kit/target/cryptomator_$TRAVIS_TAG.tar.gz"
+    - "main/ant-kit/target/antkit.tar.gz"
   skip_cleanup: true
   on:
     repo: cryptomator/cryptomator

+ 11 - 10
main/ant-kit/assembly.xml

@@ -1,25 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
+	<id>tarball</id>
+	<includeBaseDirectory>false</includeBaseDirectory>
 	<formats>
 		<format>tar.gz</format>
 	</formats>
-	<includeBaseDirectory>true</includeBaseDirectory>
-	<baseDirectory>cryptomator_${project.version}</baseDirectory>
 	<fileSets>
 		<fileSet>
 			<directory>target/libs</directory>
+			<includes>
+				<include>*.jar</include>
+			</includes>
 			<outputDirectory>libs</outputDirectory>
 		</fileSet>
 		<fileSet>
-			<directory>target/bundlefiles</directory>
-			<outputDirectory>bundlefiles</outputDirectory>
+			<directory>target</directory>
+			<includes>
+				<include>build.xml</include>
+			</includes>
+			<filtered>false</filtered>
+			<outputDirectory>.</outputDirectory>
 		</fileSet>
 	</fileSets>
-	<files>
-		<file>
-			<source>target/build.xml</source>
-			<filtered>false</filtered>
-		</file>
-	</files>
 </assembly>

+ 6 - 3
main/ant-kit/pom.xml

@@ -67,7 +67,7 @@
 				</executions>
 			</plugin>
 
-			<!-- create cryptomator_1.2.3-4.tar.gz: -->
+			<!-- create antkit.tar.gz: -->
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-assembly-plugin</artifactId>
@@ -81,8 +81,11 @@
 					</execution>
 				</executions>
 				<configuration>
-					<descriptor>assembly.xml</descriptor>
-					<finalName>cryptomator_${project.version}</finalName>
+					<descriptors>
+						<descriptor>assembly.xml</descriptor>
+					</descriptors>
+					<appendAssemblyId>false</appendAssemblyId>
+					<finalName>antkit</finalName>
 				</configuration>
 			</plugin>
 		</plugins>

+ 1 - 1
main/ui/src/main/resources/fxml/change_password.fxml

@@ -51,7 +51,7 @@
 		<Label fx:id="passwordStrengthLabel" cache="true" cacheShape="true" text="" GridPane.columnIndex="1" GridPane.rowIndex="3" />
 
 		<!-- Row 4 -->
-		<Rectangle fx:id="passwordStrengthShape" width="0" height="15" GridPane.columnIndex="1" GridPane.rowIndex="3" fill="#FF0000" stroke="grey" strokeWidth="0" />
+		<Rectangle fx:id="passwordStrengthShape" width="0" height="15" GridPane.columnIndex="1" GridPane.rowIndex="4" fill="#FF0000" stroke="grey" strokeWidth="0" />
 
 		<!-- Row 5 -->
 		<Button fx:id="changePasswordButton" text="%changePassword.button.change" defaultButton="true" GridPane.rowIndex="5" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="RIGHT" prefWidth="150.0" onAction="#didClickChangePasswordButton" disable="true" cacheShape="true" cache="true"/>