Skip to content

Commit

Permalink
Release 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmraya committed Feb 23, 2024
1 parent 839911d commit c6aa675
Show file tree
Hide file tree
Showing 66 changed files with 202 additions and 164 deletions.
1 change: 0 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/activation.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/dtd.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/sqlite-jdbc-3.43.0.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/h2-1.4.200.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/javax.mail.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jsoup.jar"/>
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# RemoteTM 5.0
# RemoteTM 6.0

A Translation Memory (TM) Server with an open REST API

<img src="WebContent/images/favicon.png" alt="RemoteTM icon"/>

RemoteTM is a Translation Memory (TM) server designed for sharing the super fast Translation Memory engine included in [Swordfish IV](https://maxprograms.com/products/swordfish.html) in network environments.
RemoteTM is a Translation Memory (TM) server designed for sharing the super fast Translation Memory engine included in [Swordfish](https://maxprograms.com/products/swordfish.html) in network environments.

Thanks to its open [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer), you can use RemoteTM from Swordfish IV and from any other tool via Web Services.
Thanks to its open [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer), you can use RemoteTM from Swordfish and from any other tool via Web Services.

## Requirements

These applications are required to install and run RemoteTM Web Server:

- Java 17, available at <https://www.adoptium.net>.
- Java 21, available at <https://www.adoptium.net>.
- Apache Tomcat available from <https://tomcat.apache.org/>, configured with an SSL certificate to work with HTTPS protocol.

_Tip_: Visit [SSL/TLS Configuration How-To](https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html) for information on configuring Apache Tomcat to support HTTPS protocol.
Expand Down Expand Up @@ -42,4 +42,4 @@ You can download `RemoteTM.war` from RemoteTM's [Home Page](https://maxprograms.

Peer support is available at [Groups.io](https://groups.io/g/maxprograms/)

Users with an active Swordfish subscription may contact tech@maxprograms.com for assistance
Users with an active Swordfish subscription may contact tech@maxprograms.com for assistance.
Binary file removed WebContent/WEB-INF/lib/h2-1.4.200.jar
Binary file not shown.
Binary file modified WebContent/WEB-INF/lib/openxliff.jar
Binary file not shown.
Binary file modified WebContent/WEB-INF/lib/swordfish.jar
Binary file not shown.
Binary file modified WebContent/WEB-INF/lib/xmljava.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions WebContent/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ th {
text-align: center;
}

.left {
text-align: left;
}

input[type=number] {
height: 1.2rem;
font-size: 1rem;
Expand Down
Binary file modified WebContent/docs/remotetm.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion WebContent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<body class="bg" style="height: 100vh; width: 100%; " id="body">
<div id="mainContent" class="mainContent"></div>
<div id="status" class="status" style="display:none;"></div>
<footer id="footer">RemoteTM <span id="version">5.0.0</span> © 2008 - 2023 <a href="https://maxprograms.com"
<footer id="footer">RemoteTM <span id="version">6.0.0</span> © 2008 - 2024 <a href="https://maxprograms.com"
target="_blank" rel="noopener">Maxprograms</a>
</footer>
<script src="js/remotetm.js"></script>
Expand Down
1 change: 0 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<pathelement location="lib/javax.servlet-api.jar" />
<pathelement location="WebContent/WEB-INF/lib/activation.jar" />
<pathelement location="WebContent/WEB-INF/lib/sqlite-jdbc-3.43.0.0.jar" />
<pathelement location="WebContent/WEB-INF/lib/h2-1.4.200.jar" />
<pathelement location="WebContent/WEB-INF/lib/javax.mail.jar" />
<pathelement location="WebContent/WEB-INF/lib/json.jar" />
<pathelement location="WebContent/WEB-INF/lib/openxliff.jar" />
Expand Down
8 changes: 4 additions & 4 deletions docs/concepts/accessPermission.dita
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</sthead>
<strow>
<stentry>Read</stentry>
<stentry>Use the translation memory in Swordfish IV for the following tasks: <ul>
<stentry>Use the translation memory in Swordfish for the following tasks: <ul>
<li>TM matches retrieval</li>
<li>Concordance searches</li>
<li>Terms retrieval</li>
Expand All @@ -33,8 +33,8 @@
<stentry>
<ul>
<li>Import TMX files using RemoteTM´s web interface.</li>
<li>Import TMX files using Swordfish IV.</li>
<li>Select the translation memory as write-enabled database in Swordfish IV for storing
<li>Import TMX files using Swordfish.</li>
<li>Select the translation memory as write-enabled database in Swordfish for storing
segments at translation time.</li>
</ul>
</stentry>
Expand All @@ -44,7 +44,7 @@
<stentry>
<ul>
<li>Export the translation memory as TMX using RemoteTM´s web interface.</li>
<li>Export the database as TMX using Swordfish IV.</li>
<li>Export the database as TMX using Swordfish.</li>
</ul>
</stentry>
</strow>
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/introduction.dita
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p><b>RemoteTM</b> a is a secure application designed for sharing the <xref keyref="tm"
>Translation Memory</xref> engine used in <xref type="html"
href="https://www.maxprograms.com/products/swordfish.html" format="html"
scope="external">Swordfish IV</xref> in LAN environments or over the Internet.</p>
scope="external">Swordfish</xref> in LAN environments or over the Internet.</p>
<p>RemoteTM runs on top of a Java Servlet container like <xref keyref="tomcat">Apache
Tomcat</xref> and can be used in all operating systems where the combination of Java
and Apache Tomcat works.</p>
Expand Down
8 changes: 4 additions & 4 deletions docs/concepts/usersManagement.dita
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
<p>The following tasks do not have restrictions based on user roles, restrictions are
defined at translation memory level by setting <xref href="accessPermission.dita">Access Permissions</xref> instead:</p>
<ul>
<li>Retrieve translations or perform searches using <xref keyref="swordfish">Swordfish
IV</xref> or the <xref href="../rest/restApi.dita">REST API</xref>.</li>
<li>Retrieve translations or perform searches using <xref keyref="swordfish"
>Swordfish</xref> or the <xref href="../rest/restApi.dita">REST API</xref>.</li>
<li>Import TMX files</li>
<li>Write segments to the translation memory using <xref keyref="swordfish">Swordfish
IV</xref> or the <xref href="../rest/restApi.dita">REST API</xref></li>
<li>Write segments to the translation memory using <xref keyref="swordfish"
>Swordfish</xref> or the <xref href="../rest/restApi.dita">REST API</xref></li>
<li>Export translation memory as TMX</li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion docs/remotetm.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<mainbooktitle>RemoteTM <image href="images/remotetm.png" placement="break" height="256px"/>
</mainbooktitle>
<booktitlealt>
<ph>Copyright © 2008 - 2023 Maxprograms</ph>
<ph>Copyright © 2008 - 2024 Maxprograms</ph>
</booktitlealt>
</booktitle>

Expand Down
2 changes: 1 addition & 1 deletion docs/tasks/exportTMX.dita
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<taskbody>
<context>
<p>RemoteTM memories can be exported as TMX files either using <xref keyref="swordfish"
>Swordfish IV</xref>, its <xref href="../rest/restApi.dita">REST API</xref> or
>Swordfish</xref>, its <xref href="../rest/restApi.dita">REST API</xref> or
RemoteTM's own web interface. Using RemoteTM's web interface is faster.</p>
</context>
<steps>
Expand Down
2 changes: 1 addition & 1 deletion docs/tasks/importTMX.dita
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<taskbody>
<context>
<p>RemoteTM translation memories can be populated with data from TMX files either using
<xref keyref="swordfish">Swordfish IV</xref>, its <xref
<xref keyref="swordfish">Swordfish</xref>, its <xref
href="../rest/restApi.dita">REST API</xref> or RemoteTM's own web interface.
Using RemoteTM's web interface is faster.</p>
</context>
Expand Down
16 changes: 8 additions & 8 deletions docs/tasks/setAccess.dita
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</sthead>
<strow>
<stentry>Read</stentry>
<stentry>Use the translation memory in <xref keyref="swordfish">Swordfish
IV</xref> or RemoteTM's <xref href="../rest/restApi.dita">REST
API</xref> for the following tasks: <ul>
<stentry>Use the translation memory in <xref keyref="swordfish">Swordfish</xref>
or RemoteTM's <xref href="../rest/restApi.dita">REST API</xref> for the
following tasks: <ul>
<li>TM matches retrieval</li>
<li>Concordance searches</li>
<li>Terms retrieval</li>
Expand All @@ -38,11 +38,11 @@
<stentry>
<ul>
<li>Import TMX files using RemoteTM´s web interface.</li>
<li>Import TMX files using <xref keyref="swordfish">Swordfish IV</xref>
<li>Import TMX files using <xref keyref="swordfish">Swordfish</xref>
or RemoteTM's <xref href="../rest/restApi.dita">REST
API</xref>.</li>
<li>Select the translation memory as write-enabled database in <xref
keyref="swordfish">Swordfish IV</xref> or RemoteTM's <xref
keyref="swordfish">Swordfish</xref> or RemoteTM's <xref
href="../rest/restApi.dita">REST API</xref> for storing segments
at translation time.</li>
</ul>
Expand All @@ -54,9 +54,9 @@
<ul>
<li>Export the translation memory as TMX using RemoteTM´s web
interface.</li>
<li>Export the database as TMX using <xref keyref="swordfish">Swordfish
IV</xref> or RemoteTM's <xref href="../rest/restApi.dita">REST
API</xref>.</li>
<li>Export the database as TMX using <xref keyref="swordfish"
>Swordfish</xref> or RemoteTM's <xref
href="../rest/restApi.dita">REST API</xref>.</li>
</ul>
</stentry>
</strow>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "tsc"
},
"dependencies": {
"@types/node": "^20.11.5",
"esbuild": "^0.19.11"
"@types/node": "^20.11.20",
"esbuild": "^0.20.1"
}
}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sonar.projectKey=RemoteTM
# this is the name displayed in the SonarQube UI
sonar.projectName=RemoteTM
sonar.projectVersion=5.7.0
sonar.projectVersion=6.0.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
Expand Down
6 changes: 3 additions & 3 deletions src/com/maxprograms/remotetm/Constants.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008-2023 Maxprograms.
* Copyright (c) 2008-2024 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 1.0
Expand All @@ -18,8 +18,8 @@ private Constants() {
// private for security
}

public static final String VERSION = "5.8.0";
public static final String BUILD = "20240122_2130";
public static final String VERSION = "6.0.0";
public static final String BUILD = "20240223_1505";

public static final String STATUS = "status";
public static final String OK = "OK";
Expand Down
2 changes: 1 addition & 1 deletion src/com/maxprograms/remotetm/DbManager.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008-2023 Maxprograms.
* Copyright (c) 2008-2024 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 1.0
Expand Down
2 changes: 1 addition & 1 deletion src/com/maxprograms/remotetm/RemoteTM.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008-2023 Maxprograms.
* Copyright (c) 2008-2024 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 1.0
Expand Down
Loading

0 comments on commit c6aa675

Please sign in to comment.