From 761194227ad450f25ad39cf756535ccfaa89dc63 Mon Sep 17 00:00:00 2001 From: Steve Colburn Date: Mon, 28 Sep 2020 12:18:10 -0400 Subject: [PATCH 1/3] AGA Updates Updated links for Qualified Games and added location line for AGA output to ensure that is added to the AGAGD. --- .../gothahelp/english/Publish tab.html | 20 +++++++++---------- gothahelp/english/Publish tab.html | 20 +++++++++---------- src/info/vannier/gotha/ExternalDocument.java | 3 ++- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/distribution/gothahelp/english/Publish tab.html b/distribution/gothahelp/english/Publish tab.html index 6a97016..ba5e348 100644 --- a/distribution/gothahelp/english/Publish tab.html +++ b/distribution/gothahelp/english/Publish tab.html @@ -10,14 +10,14 @@



- -

Publish ... buttons
Print ... buttons

- Data is automatically formatted according to what is specified in the Contents tab. -
Html files are locally stored in the export/html directory. - They are also optionaly exported to OpenGotha site. + +

Publish ... buttons
Print ... buttons

+ Data is automatically formatted according to what is specified in the Contents tab. +
Html files are locally stored in the export/html directory. + They are also optionaly exported to OpenGotha site.
Html files are associated with a style sheet. A default style sheet is supplied : current.css. The user can supply his own style sheet.
Character encoding is "UTF-8". - +

Export results for EGF rating-list

The generated file complies with the h9 format.
Spaces inside a player name or first name are replaced with "_" @@ -29,15 +29,15 @@

Export results for FFG rating-list


Total name + first name length is limited to 25
Character encoding is "ISO-8859-15".

Export results for AGA rating-list

- The generated file complies with the AGA standard ratings submission format. -
For players without an AGA id, dummy AGA ids are generated in the "99xxx" range. + The generated file complies with the AGA standard ratings submission format. +
For players without an AGA id, register for a new membership online.
Character encoding is "ISO-8859-15".

Export players in csv format

The generated file contains the players data.
CSV format is a commonly used format and is supported by most spreadsheets.
Character encoding is "UTF-8". -

+

- \ No newline at end of file + diff --git a/gothahelp/english/Publish tab.html b/gothahelp/english/Publish tab.html index 6a97016..3d04503 100644 --- a/gothahelp/english/Publish tab.html +++ b/gothahelp/english/Publish tab.html @@ -10,14 +10,14 @@



- -

Publish ... buttons
Print ... buttons

- Data is automatically formatted according to what is specified in the Contents tab. -
Html files are locally stored in the export/html directory. - They are also optionaly exported to OpenGotha site. + +

Publish ... buttons
Print ... buttons

+ Data is automatically formatted according to what is specified in the Contents tab. +
Html files are locally stored in the export/html directory. + They are also optionaly exported to OpenGotha site.
Html files are associated with a style sheet. A default style sheet is supplied : current.css. The user can supply his own style sheet.
Character encoding is "UTF-8". - +

Export results for EGF rating-list

The generated file complies with the h9 format.
Spaces inside a player name or first name are replaced with "_" @@ -29,15 +29,15 @@

Export results for FFG rating-list


Total name + first name length is limited to 25
Character encoding is "ISO-8859-15".

Export results for AGA rating-list

- The generated file complies with the AGA standard ratings submission format. -
For players without an AGA id, dummy AGA ids are generated in the "99xxx" range. + The generated file complies with the AGA standard ratings submission format. +
For players without an AGA id, register for a new membership online.
Character encoding is "ISO-8859-15".

Export players in csv format

The generated file contains the players data.
CSV format is a commonly used format and is supported by most spreadsheets.
Character encoding is "UTF-8". -

+

- \ No newline at end of file + diff --git a/src/info/vannier/gotha/ExternalDocument.java b/src/info/vannier/gotha/ExternalDocument.java index 2ceef3a..216bf13 100644 --- a/src/info/vannier/gotha/ExternalDocument.java +++ b/src/info/vannier/gotha/ExternalDocument.java @@ -1793,7 +1793,8 @@ public static void generateAGAResultsFile(TournamentInterface tournament, File f // Write General Tournament Info try { output.write("Tourney\t" + gps.getName() + ", " + gps.getLocation() + "\n"); - output.write("\tstart=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getBeginDate()) + "\n"); + output.write("location='" + gps.getLocation() + "'\n"); + output.write("\tstart=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getBeginDate()) + "\n"); output.write("\tfinish=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getEndDate()) + "\n"); output.write("PLAYERS\n"); } catch (IOException ex) { From c6dbab1345f6ffd8115cd3416381b556810224a4 Mon Sep 17 00:00:00 2001 From: Steve Colburn Date: Mon, 28 Sep 2020 12:25:32 -0400 Subject: [PATCH 2/3] Update ExternalDocument.java --- src/info/vannier/gotha/ExternalDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info/vannier/gotha/ExternalDocument.java b/src/info/vannier/gotha/ExternalDocument.java index 216bf13..b55c5d3 100644 --- a/src/info/vannier/gotha/ExternalDocument.java +++ b/src/info/vannier/gotha/ExternalDocument.java @@ -1794,7 +1794,7 @@ public static void generateAGAResultsFile(TournamentInterface tournament, File f try { output.write("Tourney\t" + gps.getName() + ", " + gps.getLocation() + "\n"); output.write("location='" + gps.getLocation() + "'\n"); - output.write("\tstart=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getBeginDate()) + "\n"); + output.write("\tstart=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getBeginDate()) + "\n"); output.write("\tfinish=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getEndDate()) + "\n"); output.write("PLAYERS\n"); } catch (IOException ex) { From 4191df7a83e88159b4454d631487782f7b3095eb Mon Sep 17 00:00:00 2001 From: Steve Colburn Date: Sat, 3 Oct 2020 11:47:50 -0400 Subject: [PATCH 3/3] Update JFrPublish.java Added tournament rating info for popup. --- src/info/vannier/gotha/JFrPublish.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/info/vannier/gotha/JFrPublish.java b/src/info/vannier/gotha/JFrPublish.java index 44f109f..ca99898 100644 --- a/src/info/vannier/gotha/JFrPublish.java +++ b/src/info/vannier/gotha/JFrPublish.java @@ -646,7 +646,8 @@ private void btnExportRLAGAActionPerformed(java.awt.event.ActionEvent evt) {//GE } if (nbPWithoutId > 0) { String strPrompt = "" + nbPWithoutId + " players have no AGA Id." - + "\nOpenGotha will generate dummy AGA Ids in the \"99xxx\" range."; + + "\nOpenGotha will generate dummy AGA Ids in the \"99xxx\" range." + + "\nYou must have valid AGA memberships before it will be rated."; int response = JOptionPane.showConfirmDialog(this, strPrompt, "Message", JOptionPane.OK_CANCEL_OPTION); if (response == JOptionPane.CANCEL_OPTION) {