Skip to content

Commit 0603844

Browse files
Merge branch 'release/1.6.0'
2 parents 0b0c9f8 + 7562225 commit 0603844

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1091
-371
lines changed

.travis.yml

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,27 @@
11
language: java
22
sudo: false
33
jdk:
4-
- oraclejdk9
4+
- oraclejdk10
55
env:
66
global:
7-
- secure: LT4nMSKCu4qL+jQ80BdBIOqFO3GCyAPoxNkskS0q0wvscDpEx2bvFZa9KF6/dQxubhWnfACqWxxPKfF3VadfZoKn1z01TaZ/rKHkA5GedZweFO0wBIvi/gDIcAxVX0oPOkIruugYY3iDOzOqTUuBM686cW1XWs0LEV7qPTb6KM02/IeckQs+P9SSiarqSKROlQ8dABGdyxJTXheHHphFu4mDiQsi1vtub6OoQclKLLuK2MJvFiyDeZDYYXAnjFNC/pcBUBjr5b886zPB6HLLGgvQKRLvzQudedz08ZlJdnt3k6u7HvLINbs00U60fnD/+4krQQN4EEx0Natv4L1SxFjYO4wFK2FTCKoBMkVfjINqiWzmb/yhoG33Sw9VGiYdcV45QbH32CX1oiATohV+79gfIID6p3UOL1SZuELR2XzRq70K4Kw2BXig99a0+LjYCv4ynnzetqyWVZIdhBQ1Srf/4GxUwF21Urn9TJCNr2F5BcbqGrMUMvXNjTI0WqQCTMqM+Ha9Rbe27GG7ZMtMUHd83YWP0GDiSIg2S0T0lNL2e9iQGXsGBiX3Bz+E3HEWhnE4l6XKYVgn3NXrlDjwc2B6GTGeImZXkrbFFJwQihUSujj5H6l/+5a7NxbyA1MvzNwjeTaHzdNdYovTq6ywydVtF/Kt5h7oA2KmUoajaFs= #CODACY_PROJECT_TOKEN
8-
- secure: mwZwO9cYqxQjg1eyqpMdN/9Lmy9NuDpRm8EpCZbh3CMcPWeU0rLXYObK2z2OCYNF5RNwgGytR/hFsi524QW2jGxfYzyHN17Y7/OFbyexE3PFBTabJZzRT5RzZ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d83YWP0GDiSIg2S0T0lNL2e9iQGXsGBiX3Bz+E3HEWhnE4l6XKYVgn3NXrlDjwc2B6GTGeImZXkrbFFJwQihUSujj5H6l/+5a7NxbyA1MvzNwjeTaHzdNdYovTq6ywydVtF/Kt5h7oA2KmUoajaFs=" # CODACY_PROJECT_TOKEN
8+
- secure: "E5T75tGRnA6kplWe1/gxnvHzzZn5Z1/Wb58Th67Nm0MHmGK8PnR0tukcQbfNPsGMp3P3lb+wmTFfNeiuWXfan88F5CrktBJYJgsNQxWMnNk1fcT+QNyHlm7Xngpm/ntHGJCDGF/yFuJLvwzlD6SDSTAU709MxB60aoKVDtylGkkLhVWpNMtSNwgjRu2pzGjR8VxOWckt4zQw4mSXQfVZqHsQAPWGTGKktN08/ff71FyoO2uKffnzhLny9wjsUx7ora2/EyKDqFpkqMvOEN2njcMc6QF5M041VzoYw/gsURowImRHP385xqqg4kl45Fb7unHVv2rz1rRwSbWlJawGBRrzkLR+B1+sE2Jij0o30Wifijwh3HRtHIR7k0T7f893xN7B6du4VhKhKrYMVUn9xVILEWElkwHb50BnBP/3zTfrm38/nlW+KtY+vBSrvqbfAfaoKsJZQuNcJ8ezcvdMXVHuOWixozJpHROFvLRzMJJCB07mSNdGTgX8jI34se+299/M0sLpT5N8PQ8WJjs5h+YkK6FLL7KqEOR6QWHkgYamZirQF2dqYw1Rdw37x5Lad6Py938lBn5P5c+Gx00D43MwoN31tiTWdp/NlUyFbEPst225Fj1/VpLDnZiek+QcgAf6PzpejeKyS018EEiO10CYgb2J38nivQ6RuvU9kII=" # BINTRAY_API_KEY
129
install:
10+
- curl -o $HOME/.m2/settings.xml https://gist.githubusercontent.com/cryptobot/cf5fbd909c4782aaeeeb7c7f4a1a43da/raw/e60ee486e34ee0c79f89f947abe2c83b4290c6bb/settings.xml
1311
- mvn source:help javadoc:help dependency:go-offline -Pdependency-check,coverage,release
1412
before_script:
15-
- "if [[ ${TRAVIS_BRANCH} == 'develop' && ${TRAVIS_PULL_REQUEST} == 'false' ]]; then mvn dependency-check:check -Pdependency-check; fi"
13+
- mvn --update-snapshots dependency-check:check -Pdependency-check
1614
script:
17-
- "mvn clean test jacoco:report verify -Pcoverage"
15+
- mvn clean test jacoco:report verify -Pcoverage -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
1816
after_success:
19-
- jdk_switcher use oraclejdk8
20-
- curl -o ~/codacy-coverage-reporter-assembly-latest.jar https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/2.0.1/codacy-coverage-reporter-2.0.1-assembly.jar
21-
- $JAVA_HOME/bin/java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r target/site/jacoco/jacoco.xml
17+
- curl -o ~/codacy-coverage-reporter.jar https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/4.0.3/codacy-coverage-reporter-4.0.3-assembly.jar
18+
- $JAVA_HOME/bin/java -jar ~/codacy-coverage-reporter.jar report -l Java -r target/site/jacoco/jacoco.xml
2219
cache:
2320
directories:
2421
- $HOME/.m2
25-
addons:
26-
apt:
27-
packages:
28-
- haveged
29-
coverity_scan:
30-
project:
31-
name: "cryptomator/cryptofs"
32-
description: "Build submitted via Travis CI"
33-
notification_email: sebastian.stenzel@cryptomator.org
34-
build_command_prepend: "mvn clean"
35-
build_command: "mvn compile -DskipTests=true"
36-
branch_pattern: release.*
37-
before_deploy:
38-
- jdk_switcher use oraclejdk9
39-
- "if ! gpg --list-secret-keys 34C80F11; then gpg --import 34C80F11.gpg; fi"
4022
deploy:
41-
- provider: script # SNAPSHOTS
42-
script: mvn clean deploy -DskipTests -Prelease --settings settings.xml
43-
skip_cleanup: true
44-
on:
45-
repo: cryptomator/cryptofs
46-
branch: develop
47-
condition: $TRAVIS_TAG = ''
48-
- provider: script # RELEASES
49-
script: mvn clean versions:set -DnewVersion=${TRAVIS_TAG} deploy -DskipTests -Prelease --settings settings.xml
23+
- provider: script
24+
script: mvn clean versions:set -DnewVersion=${TRAVIS_TAG} deploy -DskipTests -Prelease
5025
skip_cleanup: true
5126
on:
5227
repo: cryptomator/cryptofs
@@ -62,3 +37,5 @@ deploy:
6237
on:
6338
repo: cryptomator/cryptofs
6439
tags: true
40+
after_deploy:
41+
- "echo '{\"close\": \"1\"}' | curl -v -X POST -u cryptobot:${BINTRAY_API_KEY} https://api.bintray.com/maven_central_sync/cryptomator/maven/cryptofs/versions/${TRAVIS_TAG}"

34C80F11.gpg

Lines changed: 0 additions & 57 deletions
This file was deleted.

pom.xml

Lines changed: 23 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.cryptomator</groupId>
44
<artifactId>cryptofs</artifactId>
5-
<version>1.5.2</version>
5+
<version>1.6.0</version>
66
<name>Cryptomator Crypto Filesystem</name>
77
<description>This library provides the Java filesystem provider used by Cryptomator.</description>
88
<url>https://github.com/cryptomator/cryptofs</url>
@@ -14,9 +14,9 @@
1414
</scm>
1515

1616
<properties>
17-
<cryptolib.version>1.2.0</cryptolib.version>
18-
<dagger.version>2.15</dagger.version>
19-
<guava.version>24.1-jre</guava.version>
17+
<cryptolib.version>1.2.1</cryptolib.version>
18+
<dagger.version>2.17</dagger.version>
19+
<guava.version>26.0-jre</guava.version>
2020
<slf4j.version>1.7.25</slf4j.version>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
</properties>
@@ -44,18 +44,20 @@
4444
<organization>cryptomator.org</organization>
4545
<organizationUrl>http://cryptomator.org</organizationUrl>
4646
</developer>
47+
<developer>
48+
<name>Armin Schrenk</name>
49+
<email>armin.schrenk@skymatic.de</email>
50+
<timezone>+1</timezone>
51+
<organization>cryptomator.org</organization>
52+
<organizationUrl>http://cryptomator.org</organizationUrl>
53+
</developer>
4754
</developers>
4855

4956
<repositories>
5057
<repository>
51-
<id>ossrh-snapshots</id>
52-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
53-
<releases>
54-
<enabled>false</enabled>
55-
</releases>
56-
<snapshots>
57-
<enabled>true</enabled>
58-
</snapshots>
58+
<id>bintray</id>
59+
<name>bintray</name>
60+
<url>http://jcenter.bintray.com</url>
5961
</repository>
6062
</repositories>
6163

@@ -88,7 +90,7 @@
8890
<groupId>com.google.dagger</groupId>
8991
<artifactId>dagger-compiler</artifactId>
9092
<version>${dagger.version}</version>
91-
<optional>true</optional>
93+
<scope>provided</scope>
9294
</dependency>
9395

9496
<!-- Test -->
@@ -107,7 +109,7 @@
107109
<dependency>
108110
<groupId>org.mockito</groupId>
109111
<artifactId>mockito-core</artifactId>
110-
<version>2.11.0</version>
112+
<version>2.23.0</version>
111113
<scope>test</scope>
112114
</dependency>
113115
<dependency>
@@ -135,7 +137,7 @@
135137
<plugin>
136138
<groupId>org.apache.maven.plugins</groupId>
137139
<artifactId>maven-compiler-plugin</artifactId>
138-
<version>3.7.0</version>
140+
<version>3.8.0</version>
139141
<configuration>
140142
<source>1.8</source>
141143
<target>1.8</target>
@@ -154,7 +156,7 @@
154156
<plugin>
155157
<groupId>org.owasp</groupId>
156158
<artifactId>dependency-check-maven</artifactId>
157-
<version>3.1.2</version>
159+
<version>3.3.2</version>
158160
<configuration>
159161
<cveValidForHours>24</cveValidForHours>
160162
<failBuildOnCVSS>0</failBuildOnCVSS>
@@ -178,7 +180,7 @@
178180
<plugin>
179181
<groupId>org.jacoco</groupId>
180182
<artifactId>jacoco-maven-plugin</artifactId>
181-
<version>0.8.1</version>
183+
<version>0.8.2</version>
182184
<executions>
183185
<execution>
184186
<id>prepare-agent</id>
@@ -195,13 +197,9 @@
195197
<profile>
196198
<id>release</id>
197199
<distributionManagement>
198-
<snapshotRepository>
199-
<id>ossrh</id>
200-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
201-
</snapshotRepository>
202200
<repository>
203-
<id>ossrh</id>
204-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
201+
<id>bintray-jcenter</id>
202+
<url>https://api.bintray.com/maven/cryptomator/maven/cryptofs/;publish=1</url>
205203
</repository>
206204
</distributionManagement>
207205
<build>
@@ -220,7 +218,7 @@
220218
</plugin>
221219
<plugin>
222220
<artifactId>maven-javadoc-plugin</artifactId>
223-
<version>3.0.0</version>
221+
<version>3.0.1</version>
224222
<executions>
225223
<execution>
226224
<id>attach-javadocs</id>
@@ -232,7 +230,7 @@
232230
</plugin>
233231
<plugin>
234232
<artifactId>maven-dependency-plugin</artifactId>
235-
<version>3.0.2</version>
233+
<version>3.1.1</version>
236234
<executions>
237235
<execution>
238236
<id>generate-dependency-list</id>
@@ -247,30 +245,6 @@
247245
</execution>
248246
</executions>
249247
</plugin>
250-
<plugin>
251-
<artifactId>maven-gpg-plugin</artifactId>
252-
<version>1.6</version>
253-
<executions>
254-
<execution>
255-
<id>sign-artifacts</id>
256-
<phase>verify</phase>
257-
<goals>
258-
<goal>sign</goal>
259-
</goals>
260-
</execution>
261-
</executions>
262-
</plugin>
263-
<plugin>
264-
<groupId>org.sonatype.plugins</groupId>
265-
<artifactId>nexus-staging-maven-plugin</artifactId>
266-
<version>1.6.8</version>
267-
<extensions>true</extensions>
268-
<configuration>
269-
<serverId>ossrh</serverId>
270-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
271-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
272-
</configuration>
273-
</plugin>
274248
</plugins>
275249
</build>
276250
</profile>

settings.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/main/java/org/cryptomator/cryptofs/AbstractCryptoFileAttributeView.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,24 @@
1313
import java.nio.file.attribute.BasicFileAttributeView;
1414
import java.nio.file.attribute.BasicFileAttributes;
1515
import java.nio.file.attribute.FileTime;
16+
import java.util.Optional;
1617

1718
abstract class AbstractCryptoFileAttributeView<S extends BasicFileAttributes, T extends BasicFileAttributeView> implements BasicFileAttributeView {
1819

1920
protected final Path ciphertextPath;
2021
protected final CryptoFileAttributeProvider fileAttributeProvider;
2122
protected final T delegate;
2223
private final Class<S> attributesType;
24+
private final ReadonlyFlag readonlyFlag;
25+
private final Optional<OpenCryptoFile> openCryptoFile;
2326

24-
public AbstractCryptoFileAttributeView(Path ciphertextPath, CryptoFileAttributeProvider fileAttributeProvider, Class<S> attributesType, Class<T> delegateType) throws UnsupportedFileAttributeViewException {
27+
public AbstractCryptoFileAttributeView(Path ciphertextPath, CryptoFileAttributeProvider fileAttributeProvider, ReadonlyFlag readonlyFlag, Class<S> attributesType, Class<T> delegateType, Optional<OpenCryptoFile> openCryptoFile)
28+
throws UnsupportedFileAttributeViewException {
2529
this.ciphertextPath = ciphertextPath;
2630
this.fileAttributeProvider = fileAttributeProvider;
31+
this.readonlyFlag = readonlyFlag;
2732
this.attributesType = attributesType;
33+
this.openCryptoFile = openCryptoFile;
2834
this.delegate = ciphertextPath.getFileSystem().provider().getFileAttributeView(ciphertextPath, delegateType);
2935
if (delegate == null) {
3036
throw new UnsupportedFileAttributeViewException();
@@ -38,7 +44,9 @@ public final S readAttributes() throws IOException {
3844

3945
@Override
4046
public void setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime) throws IOException {
47+
readonlyFlag.assertWritable();
4148
delegate.setTimes(lastModifiedTime, lastAccessTime, createTime);
49+
openCryptoFile.ifPresent(file -> file.setLastModifiedTime(lastModifiedTime));
4250
}
4351

4452
}

src/main/java/org/cryptomator/cryptofs/CryptoBasicFileAttributeView.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
import java.nio.file.Path;
1212
import java.nio.file.attribute.BasicFileAttributeView;
1313
import java.nio.file.attribute.BasicFileAttributes;
14+
import java.util.Optional;
1415

1516
class CryptoBasicFileAttributeView extends AbstractCryptoFileAttributeView<BasicFileAttributes, BasicFileAttributeView> implements BasicFileAttributeView {
1617

17-
public CryptoBasicFileAttributeView(Path ciphertextPath, CryptoFileAttributeProvider fileAttributeProvider) throws UnsupportedFileAttributeViewException {
18-
super(ciphertextPath, fileAttributeProvider, BasicFileAttributes.class, BasicFileAttributeView.class);
18+
public CryptoBasicFileAttributeView(Path ciphertextPath, CryptoFileAttributeProvider fileAttributeProvider, ReadonlyFlag readonlyFlag, Optional<OpenCryptoFile> openCryptoFile) throws UnsupportedFileAttributeViewException {
19+
super(ciphertextPath, fileAttributeProvider, readonlyFlag, BasicFileAttributes.class, BasicFileAttributeView.class, openCryptoFile);
1920
}
2021

2122
@Override

0 commit comments

Comments
 (0)