Skip to content

Commit

Permalink
Merge pull request #47 from FAIRDataTeam/release/1.3.0
Browse files Browse the repository at this point in the history
Release 1.3.0 (develop)
  • Loading branch information
MarekSuchanek authored Apr 28, 2020
2 parents 66a3684 + c781aa4 commit 7416240
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.0]

### Added

- Audit log (per-project) with possibility to browse, filter, and clear using
Expand Down Expand Up @@ -78,8 +80,8 @@ Initial version based on reproducing functionality of deprecated [FAIRifier](htt
- About dialog with basic information about the extension and its compatibility
- Report a bug link to create a GitHub issue easily

[Unreleased]: /../../compare/v1.1.0...develop
[Unreleased]: /../../compare/v1.3.0...develop
[1.0.0]: /../../tree/v1.0.0
[1.1.0]: /../../tree/v1.1.0
[1.2.0]: /../../tree/v1.2.0

[1.3.0]: /../../tree/v1.3.0
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<groupId>solutions.fairdata.openrefine</groupId>
<artifactId>metadata</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.3.0</version>
<packaging>jar</packaging>

<name>OpenRefine - FAIR Metadata extension</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,16 @@

import java.io.PrintWriter;
import java.io.StringWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.TimeZone;

public class ProjectAudit {

private AuditLogDTO log;
private int level;
private final AuditLogDTO log;
private final int level;

private static String currentTimestamp() {
DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
df.setTimeZone(TimeZone.getTimeZone("UTC"));
return df.format(new Date());
return OffsetDateTime.now().toString();
}

private static String getStackTrace(Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dt data-i18n="about-dialog/fdp-versions"></dt>
<dd>
<ul class="versions">
<li class="version"><a href="https://github.com/FAIRDataTeam/FAIRDataPoint/releases/tag/v1.2.0" target="_blank">1.2</a></li>
<li class="version"><a href="https://github.com/FAIRDataTeam/FAIRDataPoint/releases/tag/v1.3.0" target="_blank">1.3</a></li>
</ul>
</dd>

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/module/scripts/dialogs/audit-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class MetadataAuditDialog {

showLogTable(entries) {
entries.forEach((entry) => {
console.log(entry.timestamp.split("Z", 1)[0]);
const timestamp = Date.parse(entry.timestamp.split("Z", 1)[0]);
this.elements.auditTableBody.append(
$("<tr>")
Expand Down

0 comments on commit 7416240

Please sign in to comment.