Observe-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
April 2020
- 1 participants
- 54 discussions
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
32b2d2ca by tchemit at 2020-04-18T11:12:13+02:00
improve ci
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -10,11 +10,16 @@ image: registry.gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}/docker:lat
stage: Docker
.stage_build: &stage_build
stage: Build
+ tags:
+ - build
.stage_test: &stage_test
stage: Test
+ tags:
+ - build
.stage_release: &stage_release
stage: Release
-
+ tags:
+ - build
.create-docker: &create-docker
environment:
name: docker
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/32b2d2caf90b8afade153db93…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/32b2d2caf90b8afade153db93…
You're receiving this email because of your account on gitlab.com.
1
0
Tony CHEMIT deleted branch release/8.0-RC-6 at ultreiaio / ird-observe
--
You're receiving this email because of your account on gitlab.com.
1
0
Tony CHEMIT pushed new tag v8.0-RC-6 at ultreiaio / ird-observe
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/tree/v8.0-RC-6
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][release/8.0-RC-6] [jgitflow-maven-plugin]updating poms for branch'release/8.0-RC-6' with...
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch release/8.0-RC-6 at ultreiaio / ird-observe
Commits:
601da7f3 by tchemit at 2020-04-18T10:47:54+02:00
[jgitflow-maven-plugin]updating poms for branch'release/8.0-RC-6' with non-snapshot versions[skip ci]
- - - - -
25 changed files:
- client-configuration/pom.xml
- client-core/pom.xml
- client-datasource-actions/pom.xml
- client-datasource-editor-api/pom.xml
- client-datasource-editor-common/pom.xml
- client-datasource-editor-ll/pom.xml
- client-datasource-editor-ps/pom.xml
- client-runner/pom.xml
- dto-spi/pom.xml
- dto/pom.xml
- observe-i18n/pom.xml
- observe/pom.xml
- persistence-spi/pom.xml
- persistence/pom.xml
- pom.xml
- server-configuration/pom.xml
- server-core/pom.xml
- server-runner/pom.xml
- services-client/pom.xml
- services-local/pom.xml
- services-validation/pom.xml
- services/pom.xml
- test-config/pom.xml
- test/pom.xml
- validation/pom.xml
Changes:
=====================================
client-configuration/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-configuration</artifactId>
=====================================
client-core/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-core</artifactId>
=====================================
client-datasource-actions/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-datasource-actions</artifactId>
=====================================
client-datasource-editor-api/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-datasource-editor-api</artifactId>
=====================================
client-datasource-editor-common/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-datasource-editor-common</artifactId>
=====================================
client-datasource-editor-ll/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-datasource-editor-ll</artifactId>
=====================================
client-datasource-editor-ps/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-datasource-editor-ps</artifactId>
=====================================
client-runner/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>client-runner</artifactId>
=====================================
dto-spi/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>dto-spi</artifactId>
=====================================
dto/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>dto</artifactId>
=====================================
observe-i18n/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>observe-i18n</artifactId>
=====================================
observe/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>observe</artifactId>
=====================================
persistence-spi/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>persistence-spi</artifactId>
=====================================
persistence/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>persistence</artifactId>
=====================================
pom.xml
=====================================
@@ -29,7 +29,7 @@
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
<packaging>pom</packaging>
<name>ObServe :: Pom</name>
=====================================
server-configuration/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>server-configuration</artifactId>
=====================================
server-core/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>server-core</artifactId>
=====================================
server-runner/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>server-runner</artifactId>
=====================================
services-client/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>services-client</artifactId>
=====================================
services-local/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>services-local</artifactId>
=====================================
services-validation/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>services-validation</artifactId>
=====================================
services/pom.xml
=====================================
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>services</artifactId>
=====================================
test-config/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>test-config</artifactId>
=====================================
test/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>test</artifactId>
=====================================
validation/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-6</version>
</parent>
<artifactId>validation</artifactId>
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/601da7f33573252561276e983…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/601da7f33573252561276e983…
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][master] 141 commits: [jgitflow-maven-plugin]updating poms for 8.0-RC-6-SNAPSHOT development[skip ci]
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch master at ultreiaio / ird-observe
Commits:
f1f8f721 by tchemit at 2020-01-08T14:07:56+01:00
[jgitflow-maven-plugin]updating poms for 8.0-RC-6-SNAPSHOT development[skip ci]
- - - - -
9ec45c33 by tchemit at 2020-01-08T14:17:34+01:00
[jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts[skip ci]
- - - - -
2f9d877b by tchemit at 2020-01-08T14:17:34+01:00
[jgitflow-maven-plugin]merging 'master' into 'develop'
- - - - -
a060e367 by tchemit at 2020-01-08T14:17:35+01:00
[jgitflow-maven-plugin]Updating develop poms back to pre merge state[skip ci]
- - - - -
e6126974 by tchemit at 2020-01-08T20:00:29+01:00
Consomme énormément de processeur - Closes #1411
- - - - -
36b12809 by tchemit at 2020-01-09T12:56:38+01:00
Impossible de démarrer le mode H2 serveur - Closes #1421
- - - - -
14cfc244 by tchemit at 2020-01-09T12:56:52+01:00
update changelog [skip ci]
- - - - -
9e4d7789 by tchemit at 2020-01-09T13:47:01+01:00
[LL] Problème sur le contrôle de fin de marée en mode modification
- Closes #1422
- - - - -
dc4c453e by tchemit at 2020-01-09T13:56:23+01:00
L'action de replier le slider d'un éditeur de temps ne replie plus les autres éditeurs du même type sur un formulaire - Closes #1423
- - - - -
6ae9a8b6 by tchemit at 2020-01-09T17:59:55+01:00
[PS] Après calcul, des FOBS dont l'opération est 'retrait' ont un type simplifié au départ non nul - Closes #1414
- - - - -
08a43cde by tchemit at 2020-01-13T15:35:07+01:00
[PS] Amélioration de l'algorithme de type d'objet simplifié CECOFAD - See #1412
- - - - -
5a6b1500 by tchemit at 2020-01-17T10:26:51+01:00
[PS] Amélioration de l'algorithme de type d'objet simplifié CECOFAD - Closes #1412
- - - - -
f9334734 by tchemit at 2020-01-17T10:26:53+01:00
Improve data source navigation tree model loading (have now some root node providers, so ps and ll models can now be separated \o/)
- - - - -
1edeb562 by tchemit at 2020-01-17T10:26:53+01:00
[V8] Problèmes d'affichage de formulaires - See #1420
- - - - -
632a049a by tchemit at 2020-01-17T10:26:53+01:00
[V8] Form marée, espèces ciblées -Closes #1426
- - - - -
ee24f08c by tchemit at 2020-01-17T10:26:53+01:00
[V8] Il ne devrait pas être possible de créer une marée dans un programme désactivé - Closes #1425
- - - - -
83292fae by tchemit at 2020-01-27T15:21:31+01:00
[PS FOB] Ajouter une action FOB suivant... - Closes #1334
- - - - -
6aa623a0 by tchemit at 2020-01-27T15:21:34+01:00
Il existe des ObjectMaterial avec des standardCode à vide - Closes #1429
- - - - -
662c000a by tchemit at 2020-01-27T15:21:34+01:00
Remove TdrRecord from persistence model, we never used it
- - - - -
fef970d9 by tchemit at 2020-01-27T15:21:34+01:00
Rename FormulaSupport to LengthFormulaSupport (realign to dto model)
- - - - -
65698641 by tchemit at 2020-01-27T15:21:34+01:00
Realign to get same behaviour than on ll model
- - - - -
593750f7 by tchemit at 2020-01-27T15:21:34+01:00
Add property quadrant on Sample
- - - - -
6ee49888 by tchemit at 2020-01-27T15:21:34+01:00
update fluido skin
- - - - -
e9cc50e4 by tchemit at 2020-01-27T15:21:34+01:00
remove unused import
- - - - -
be0aa39e by tchemit at 2020-01-27T15:21:34+01:00
use dto.toDto method
- - - - -
d5d4f425 by tchemit at 2020-01-27T15:21:34+01:00
add missing homeId
improve some referential references
add mainDto tag value of stubs dto
Remove entity dto binder API
Remove some dummy entity context (keep only oen)
Generate entity toDto method
- - - - -
b48ed9c8 by tchemit at 2020-01-27T15:31:58+01:00
update changelog [skip ci]
- - - - -
bc154fc2 by tchemit at 2020-01-27T16:59:41+01:00
update changelog [skip ci]
- - - - -
aac5835e by tchemit at 2020-01-27T18:09:39+01:00
Add homeId false method
- - - - -
639a825d by tchemit at 2020-01-31T12:09:59+01:00
Possibilité de décider, lors de la mise à jour d'une référence, des champs que l'on veut voir pris en compte dans la synchronisation - Closes #1329
- - - - -
c27127cb by tchemit at 2020-01-31T12:17:36+01:00
update changelog [skip ci]
- - - - -
473a41b3 by tchemit at 2020-01-31T18:23:28+01:00
use last pom
- - - - -
54f22e50 by tchemit at 2020-01-31T18:38:05+01:00
let's always deploy to central at release time
- - - - -
b2341209 by tchemit at 2020-02-02T21:57:30+01:00
Yes did it... And stash
- - - - -
03cbb719 by tchemit at 2020-02-03T14:58:02+01:00
fix readme
- - - - -
619e57a1 by tchemit at 2020-02-03T16:45:05+01:00
Final maven module layout for client (less modules but perfect design)
- - - - -
a74cd94c by tchemit at 2020-02-03T16:45:08+01:00
clean poms
- - - - -
64178351 by tchemit at 2020-02-03T16:45:08+01:00
clean code
- - - - -
95da8e54 by tchemit at 2020-02-03T17:50:43+01:00
optimize i18n
- - - - -
96719ce2 by tchemit at 2020-02-04T15:58:01+01:00
rename TripDto to TripAware
- - - - -
2817be2d by tchemit at 2020-02-04T15:58:25+01:00
add ActivityAware in model
- - - - -
71fdcfc1 by tchemit at 2020-02-04T17:07:16+01:00
Use DtoTransformer instead of BeanTransformer (then it generates DtoWithreference contract on dto with references) and remove DtoRefrenceBinder API
- - - - -
d66ea44d by tchemit at 2020-02-06T15:13:23+01:00
update pom
- - - - -
177211ac by tchemit at 2020-02-06T15:46:20+01:00
update pom
- - - - -
1e810120 by tchemit at 2020-02-06T23:40:00+01:00
clean code and use last toolkit api.
- - - - -
831a1389 by tchemit at 2020-02-09T11:02:59+01:00
update pom
- - - - -
5c9c5a7b by tchemit at 2020-02-09T17:09:04+01:00
* remove when possible usage of guava
* clean some code
* review server configuration design (but there is still some work to do)
* use un persistence API
- - - - -
2d86581a by tchemit at 2020-02-12T00:02:10+01:00
Use last API from toolkit
- - - - -
a5ccf3cd by tchemit at 2020-02-13T02:33:16+01:00
use last toolkit version (improved dto and persistence api)
- - - - -
ba199376 by tchemit at 2020-02-13T02:54:44+01:00
fix constructor parameters order
- - - - -
783f6e6a by tchemit at 2020-02-13T03:02:49+01:00
fix npe on body content
- - - - -
a1caf391 by tchemit at 2020-02-13T03:11:17+01:00
[PS] Sur calée, supprimer les champs booléens "Tuna discard?" et "Fauna discard?" - Closes #1345
- - - - -
c6c83b3b by tchemit at 2020-02-13T03:12:07+01:00
use next toolkit (testing party)
- - - - -
137b6b48 by tchemit at 2020-02-13T12:55:38+01:00
[EXPORT CARTE] Le nom de fichier est généré sans l'extension PNG - Closes #1434
- - - - -
3d6870bc by tchemit at 2020-02-13T12:59:17+01:00
[LL] Contrôle sur nombre de baskets trop limité - Closes #1433
- - - - -
911f9573 by tchemit at 2020-02-17T10:10:31+01:00
Possibilité de décider, lors de la mise à jour d'une référence, des champs que l'on veut voir pris en compte dans la synchronisation - Closes #1329
- - - - -
a653b87d by tchemit at 2020-02-17T10:21:23+01:00
clean code
- - - - -
4dc0124b by tchemit at 2020-02-17T15:15:58+01:00
clean code
- - - - -
04ec05db by tchemit at 2020-02-17T17:23:49+01:00
add validation tag value and model then generate validators
- - - - -
f8e27c38 by tchemit at 2020-02-18T02:57:45+01:00
S'assurer de la compatibilité de ObServe 8 avec Java 10 - Closes #1152
- - - - -
0ff6521a by tchemit at 2020-02-18T12:10:35+01:00
[V7-V8] Ajustement du modèle - Part 1 - See #1438
- - - - -
7aab79f2 by tchemit at 2020-02-18T12:38:04+01:00
[V7-V8] Ajustement du modèle - Part 2 - See #1438
- - - - -
dfc54d99 by tchemit at 2020-02-18T19:30:23+01:00
[V7-V8] Ajustement du modèle - Part 3 - Closes #1438
- - - - -
68b32ce5 by tchemit at 2020-02-28T13:53:13+01:00
update pom
- - - - -
93035094 by tchemit at 2020-02-28T17:14:04+01:00
[Synchro Avancée] Certaines actions ne sont plus présentes - Closes #1447
- - - - -
e755cd09 by tchemit at 2020-02-28T17:14:05+01:00
be able to deploy again to tomcat
- - - - -
076149f9 by tchemit at 2020-02-28T17:14:05+01:00
Remove shade in client runner
- - - - -
e4c04413 by tchemit at 2020-02-28T17:14:05+01:00
Add synchro referential doc
- - - - -
cb23e4b3 by tchemit at 2020-02-28T17:14:05+01:00
[SYNCHRO AVANCEE] Lorsqu'aucune action de synchro n'est empilée, 'Appliquer' devrait être inactif - Closes #1444
- - - - -
2ee46dcb by tchemit at 2020-02-28T17:14:05+01:00
[SYNCHRO AVANCEE] Fonctionnement des sélections - Closes #1440
- - - - -
84bd2d75 by tchemit at 2020-02-28T17:14:05+01:00
[SYNCHRO AVANCEE] Double connexion à la même base - Closes #1441
- - - - -
61984566 by tchemit at 2020-02-28T17:14:05+01:00
add ReferentialService.loadDtoList method
- - - - -
1a0741a1 by tchemit at 2020-02-28T17:14:05+01:00
Possibilité de décider, lors de la mise à jour d'une référence, des champs que l'on veut voir pris en compte dans la synchronisation - Closes #1329
Mise en place d'un nouveau système pour calculer les différences fines directement et utilisation sur les deux synchro de référentiels.
Suppression de l'ancienne api de calcul de différences.
- - - - -
303c7d2e by tchemit at 2020-03-20T10:09:16+01:00
update pom
- - - - -
b3684b4b by tchemit at 2020-03-20T11:15:51+01:00
Fix enabled validator field for referential (now enabled is a full javaBean property, so jaxx generates a link to enabled component property which is not good...)
- - - - -
e2880a07 by tchemit at 2020-03-20T12:46:55+01:00
improve some dto and date range decoration
let's sort loadDtoList as references, so later we can use this order to build for example some tree model
- - - - -
61e405b6 by tchemit at 2020-03-20T12:47:14+01:00
stop using arrays...
- - - - -
f6aa52cc by tchemit at 2020-03-20T12:49:41+01:00
add fully enabled property on ReferentialDto
- - - - -
e10f09c5 by tchemit at 2020-03-20T16:49:58+01:00
Realign code to v7, now add GenerateJavaBeanDefinition on any concrete dto
- - - - -
40dc4023 by tchemit at 2020-03-20T18:32:20+01:00
[PS OBSERVATIONS] Sur le formulaire Objet/Balises ajouter un champ "bateau propriétaire" - Closes #1455
- - - - -
9095d551 by tchemit at 2020-03-20T19:01:03+01:00
update changelog [skip ci]
- - - - -
af09ead3 by tchemit at 2020-03-23T11:13:01+01:00
Possibilité de décider, lors de la mise à jour d'une référence, des champs que l'on veut voir pris en compte dans la synchronisation - Closes #1329 - final Part (on v8)
- - - - -
0ebd1b61 by tchemit at 2020-03-27T11:00:01+01:00
[SFA] Assouplissement de contrôles sur LL Logbooks - Closes #1450
- - - - -
f229daa6 by tchemit at 2020-03-27T12:42:55+01:00
[SFA] LL / Logbooks / Samples : modification d'espèce - Closes #1453
- - - - -
a65028aa by tchemit at 2020-03-27T13:17:46+01:00
Fix backup accessible fields on none local data source
- - - - -
47b3a04f by tchemit at 2020-03-27T13:18:29+01:00
Fix Trip reference decoration
- - - - -
92c74483 by tchemit at 2020-03-27T13:18:50+01:00
Fix template (trip reference has changed)
- - - - -
e354df86 by tchemit at 2020-03-28T12:54:59+01:00
Fix topia persistence createDate is missing on create time (don't know what does that changed...)
- - - - -
07549970 by tchemit at 2020-03-28T12:55:26+01:00
[SFA] LL / Logbooks / Samples : mode de saisie par défaut - Closes #1452
- - - - -
1dae508c by tchemit at 2020-03-28T12:55:26+01:00
[SFA] LL / Logbooks / Captures - Closes #1451
- - - - -
b18757a6 by tchemit at 2020-03-28T12:55:26+01:00
[SFA] LL/Logbook/Trips/activity date by default - Closes #1449
- - - - -
fd5417d6 by tchemit at 2020-03-28T13:09:51+01:00
Let's lastUpdateDate a real topia timestamp
- - - - -
82ee050f by tchemit at 2020-03-28T13:10:29+01:00
add v7 migrations
- - - - -
1274d767 by tchemit at 2020-03-31T11:41:00+02:00
Réusinage de la table transmittingbuoy - Closes #1456
- - - - -
afe640e0 by tchemit at 2020-03-31T11:41:02+02:00
Correction de la migration 7.4.0 - Closes #1458
- - - - -
5a3362c7 by tchemit at 2020-03-31T11:41:02+02:00
add fixme
- - - - -
d1b91fcd by tchemit at 2020-03-31T11:41:02+02:00
More detail when can't get last update date
- - - - -
1c61cf53 by tchemit at 2020-03-31T11:41:02+02:00
bind species on TargetCatch
- - - - -
d4e0c3ec by tchemit at 2020-03-31T11:41:02+02:00
[SFA] LL / Logbooks / Samples : modification d'espèce (application sur les autres formulaires) - Closes #1453
- - - - -
71eed123 by tchemit at 2020-03-31T11:41:02+02:00
Improve some i18n keys
- - - - -
91584d1c by tchemit at 2020-03-31T11:41:02+02:00
Ajouter l'icone de l'application lors du lancement de l'application en mode autre - Closes #1459
- - - - -
7d67ac90 by tchemit at 2020-03-31T11:41:02+02:00
Realign persistence migration with version 7
- - - - -
ececfd13 by tchemit at 2020-03-31T11:41:02+02:00
Le calcul des vitesses a eu un raté après avoir fait usage de la fonction "Voulez-vous créer l'activité de fin de veille ?" - Closes #1100
- - - - -
57ee0b5f by tchemit at 2020-03-31T14:28:57+02:00
[REFERENTIEL BALISES] Ajout d'un champ 'technology' - Closes #1460
- - - - -
d3e61f87 by tchemit at 2020-04-01T11:18:20+02:00
Erreur sur changement de caractéristique d'équipement de type de donnée différent - Closes #1437
- - - - -
eadefbc7 by tchemit at 2020-04-01T14:43:33+02:00
fix ll logbook set haulingBreaks constraint strictlyPositiveNumber to positiveNumber
- - - - -
1dbea9ea by tchemit at 2020-04-01T14:52:15+02:00
fix species validator
- - - - -
57abb56f by tchemit at 2020-04-01T14:59:28+02:00
add missing landing delete action
- - - - -
3a370fe2 by tchemit at 2020-04-01T15:24:30+02:00
reduce log level
- - - - -
f57dfbf7 by tchemit at 2020-04-01T15:24:33+02:00
add missing validation
- - - - -
f6b5e80c by tchemit at 2020-04-04T16:40:21+02:00
[SFA] Système de recopie de champs lors de la création d'une nouvelle activité de pêche - Closes #1454
- - - - -
4e952eea by tchemit at 2020-04-04T16:40:23+02:00
[V8] Form marée, espèces ciblées - Closes #1426
- - - - -
31e88a84 by tchemit at 2020-04-05T18:20:30+02:00
improve log loading and some levels
- - - - -
518406b4 by tchemit at 2020-04-06T13:52:08+02:00
Mise à jour jaxx avec des améliorations sur les JTabbedPane
- - - - -
512a6572 by tchemit at 2020-04-06T13:52:10+02:00
Lors d'un 'Rechargement de la source' ou d'un appel aux filtres d'affichage de l'arbre, afficher une barre de progression - Closes #1386
- - - - -
b6185ba5 by tchemit at 2020-04-06T13:52:10+02:00
Fix NPE when reload ui callback
- - - - -
ab651f88 by tchemit at 2020-04-06T17:09:56+02:00
Vérifier la présence ou ajouter un champ PS trip.homeid - Closes #1383
- - - - -
e99f559c by tchemit at 2020-04-10T10:03:29+02:00
Compute GoUp and GoDown items lazily
- - - - -
2be69ee9 by tchemit at 2020-04-11T06:05:23+02:00
Introduce BusyModel (See #1386)
- - - - -
f8948144 by tchemit at 2020-04-11T10:08:44+02:00
[V8] Problèmes d'affichage de formulaires - Closes #1420
- - - - -
31be83c4 by tchemit at 2020-04-14T00:49:37+02:00
Accumulation de fichiers - Closes #1462
- - - - -
f201fbf7 by tchemit at 2020-04-14T15:16:07+02:00
[SYNCHRO AVANCEE] Visualisation du nom des bases en présence - Closes #1439
- - - - -
208943b4 by tchemit at 2020-04-15T17:51:29+02:00
Amélioration des logs serveur - Closes ultreiaio/ird-observe#1464
- - - - -
d4f87cc2 by tchemit at 2020-04-15T18:05:21+02:00
[SYNCHRO AVANCEE DATA] Visualisation du nom des bases en présence - Closes #1465
- - - - -
c542b7be by tchemit at 2020-04-15T18:26:50+02:00
update pom and toolkit
- - - - -
f6e4b306 by tchemit at 2020-04-16T09:19:29+02:00
Améliorer le dépliage dans l'arbre de navigation - Closes #1419
- - - - -
f30f4fb0 by tchemit at 2020-04-16T11:30:05+02:00
Problème de rafraîchissement sur les formulaire de type tableau - Closes #1467
- - - - -
6f74f5f1 by tchemit at 2020-04-16T11:30:53+02:00
Revoir la gestion du focus sur les formulaires à onglets, ne pas changer d'onglet après une sauvegarde - Closes #1466
- - - - -
96793291 by tchemit at 2020-04-18T10:30:21+02:00
Le nom du fichier de sauvegarde par défaut pourrait être modernisé - Closes #1212
- - - - -
0d8ba6ee by tchemit at 2020-04-18T10:30:23+02:00
update pom
- - - - -
5294b6cf by tchemit at 2020-04-18T10:30:23+02:00
Suppression de l'onglet résumé sur les assistants - Closes #1468
- - - - -
0a43816b by tchemit at 2020-04-18T10:30:23+02:00
FOB sans objectOperation fait planter la consolidation des données - See #1469
- - - - -
533b9ed5 by tchemit at 2020-04-18T10:30:23+02:00
Les températures ne sont pas bien restituées... - Closes #1470
- - - - -
4b64cbe7 by tchemit at 2020-04-18T10:30:23+02:00
Remove bad and unusefull code
- - - - -
02f0c544 by tchemit at 2020-04-18T10:30:23+02:00
FOB sans objectOperation fait planter la consolidation des données (Afficher les FOB sans objectOperation) - See #1469
- - - - -
a0cb96f4 by tchemit at 2020-04-18T10:30:23+02:00
Do not clean temporary files if root directory does not exist
- - - - -
49139d70 by tchemit at 2020-04-18T10:30:23+02:00
Utilisation de filtres intelligents pour l'appairement des activités - Closes #1471
- - - - -
1574fb81 by tchemit at 2020-04-18T10:30:23+02:00
Correction de la décoration
- - - - -
57175249 by tchemit at 2020-04-18T10:46:22+02:00
[jgitflow-maven-plugin]updating poms for 8.0-RC-6 branch with snapshot versions[skip ci]
- - - - -
601da7f3 by tchemit at 2020-04-18T10:47:54+02:00
[jgitflow-maven-plugin]updating poms for branch'release/8.0-RC-6' with non-snapshot versions[skip ci]
- - - - -
3319d524 by tchemit at 2020-04-18T10:55:02+02:00
[jgitflow-maven-plugin]merging 'release/8.0-RC-6' into 'master'
- - - - -
30 changed files:
- .gitignore
- .gitlab-ci.yml
- − .mvn/gitlab-cache/milestones/1005038-artifacts.json
- − .mvn/gitlab-cache/milestones/1005038-issues.json
- − .mvn/gitlab-cache/milestones/1005038.json
- − .mvn/gitlab-cache/milestones/1005048-artifacts.json
- − .mvn/gitlab-cache/milestones/1005048-issues.json
- − .mvn/gitlab-cache/milestones/1005048.json
- − .mvn/gitlab-cache/milestones/1110720-artifacts.json
- − .mvn/gitlab-cache/milestones/1110720-issues.json
- − .mvn/gitlab-cache/milestones/1110720.json
- − .mvn/gitlab-cache/milestones/1115633-artifacts.json
- − .mvn/gitlab-cache/milestones/1115633-issues.json
- − .mvn/gitlab-cache/milestones/1115633.json
- − .mvn/gitlab-cache/milestones/1117003-artifacts.json
- − .mvn/gitlab-cache/milestones/1117003-issues.json
- − .mvn/gitlab-cache/milestones/1117003.json
- − .mvn/gitlab-cache/milestones/268594-artifacts.json
- − .mvn/gitlab-cache/milestones/268594-issues.json
- − .mvn/gitlab-cache/milestones/268594.json
- − .mvn/gitlab-cache/milestones/268595-artifacts.json
- − .mvn/gitlab-cache/milestones/268595-issues.json
- − .mvn/gitlab-cache/milestones/268595.json
- − .mvn/gitlab-cache/milestones/268596-artifacts.json
- − .mvn/gitlab-cache/milestones/268596-issues.json
- − .mvn/gitlab-cache/milestones/268596.json
- − .mvn/gitlab-cache/milestones/268597-artifacts.json
- − .mvn/gitlab-cache/milestones/268597-issues.json
- − .mvn/gitlab-cache/milestones/268597.json
- − .mvn/gitlab-cache/milestones/268598-artifacts.json
The diff was not included because it is too large.
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/aab66d1c38087bb34fe46ec6…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/aab66d1c38087bb34fe46ec6…
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][develop] 6 commits: [jgitflow-maven-plugin]updating poms for 8.0-RC-6 branch with snapshot versions[skip ci]
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
57175249 by tchemit at 2020-04-18T10:46:22+02:00
[jgitflow-maven-plugin]updating poms for 8.0-RC-6 branch with snapshot versions[skip ci]
- - - - -
601da7f3 by tchemit at 2020-04-18T10:47:54+02:00
[jgitflow-maven-plugin]updating poms for branch'release/8.0-RC-6' with non-snapshot versions[skip ci]
- - - - -
3319d524 by tchemit at 2020-04-18T10:55:02+02:00
[jgitflow-maven-plugin]merging 'release/8.0-RC-6' into 'master'
- - - - -
a3a58584 by tchemit at 2020-04-18T10:55:06+02:00
[jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts[skip ci]
- - - - -
470f585a by tchemit at 2020-04-18T10:55:06+02:00
[jgitflow-maven-plugin]merging 'master' into 'develop'
- - - - -
db2683bc by tchemit at 2020-04-18T10:55:07+02:00
[jgitflow-maven-plugin]Updating develop poms back to pre merge state[skip ci]
- - - - -
0 changed files:
Changes:
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/e8b17b90d6b40dd413890f05…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/e8b17b90d6b40dd413890f05…
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][develop-7.x] 2 commits: Do not clean temporary files if root directory does not exist
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe
Commits:
5c69590b by tchemit at 2020-04-18T10:37:12+02:00
Do not clean temporary files if root directory does not exist
- - - - -
c3409a74 by tchemit at 2020-04-18T10:37:14+02:00
Suppression de l'onglet résumé sur les assistants (Report v8 → v7) - Closes #1468
- - - - -
17 changed files:
- client-configuration/src/main/java/fr/ird/observe/client/configuration/ClientConfig.java
- client-core/src/main/i18n/getters/java-enumeration.getter
- client-core/src/main/i18n/getters/java.getter
- client-core/src/main/i18n/getters/jaxx.getter
- client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminStep.java
- client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminTabUIHandler.java
- client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminUIHandler.java
- client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminUIModel.java
- − client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeModel.java
- − client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUI.jaxx
- − client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUI.jcss
- − client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUIHandler.java
- client-core/src/main/java/fr/ird/observe/client/ui/admin/validate/ValidateUIHandler.java
- observe-i18n/src/main/i18n/translations/observe_en_GB.properties
- observe-i18n/src/main/i18n/translations/observe_es_ES.properties
- observe-i18n/src/main/i18n/translations/observe_fr_FR.properties
- services/src/main/java/fr/ird/observe/services/service/CleanTemporaryFilesTask.java
Changes:
=====================================
client-configuration/src/main/java/fr/ird/observe/client/configuration/ClientConfig.java
=====================================
@@ -368,7 +368,7 @@ public class ClientConfig extends GeneratedClientConfig implements NavigationTre
}
public File newBackupDataFile() {
- return new File(getBackupDirectory(), String.format(BACKUP_DB_PATTERN, getBuildVersion(), new Date()));
+ return new File(getBackupDirectory(), String.format(BACKUP_DB_PATTERN, getBuildVersion().toString().replaceAll("\\.", "_"), new Date()));
}
public void saveForUser() {
=====================================
client-core/src/main/i18n/getters/java-enumeration.getter
=====================================
@@ -14,8 +14,6 @@ observe.constant.AdminStep.SAVE_LOCAL
observe.constant.AdminStep.SAVE_LOCAL.description
observe.constant.AdminStep.SELECT_DATA
observe.constant.AdminStep.SELECT_DATA.description
-observe.constant.AdminStep.SHOW_RESUME
-observe.constant.AdminStep.SHOW_RESUME.description
observe.constant.AdminStep.SYNCHRONIZE
observe.constant.AdminStep.SYNCHRONIZE.description
observe.constant.AdminStep.VALIDATE
=====================================
client-core/src/main/i18n/getters/java.getter
=====================================
@@ -247,13 +247,6 @@ observe.actions.validate.validator.message.header
observe.actions.validate.validator.message.header.tip
observe.actions.validate.validator.scope.header
observe.actions.validate.validator.scope.header.tip
-observe.admin.resume.no.operation.done
-observe.admin.resume.operation.canceled
-observe.admin.resume.operation.done
-observe.admin.resume.operation.failed
-observe.admin.resume.operation.need.fix
-observe.admin.resume.operation.not.started
-observe.admin.resume.operation.running
observe.backup.done
observe.backup.start
observe.choice.cancel
=====================================
client-core/src/main/i18n/getters/jaxx.getter
=====================================
@@ -724,7 +724,6 @@ observe.common.directory
observe.common.file
observe.common.global.progression.description
observe.common.ocean
-observe.common.operation.resume
observe.common.resume
observe.common.sizeMeasureType
observe.common.species
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminStep.java
=====================================
@@ -30,7 +30,6 @@ import fr.ird.observe.client.ui.admin.export.ExportModel;
import fr.ird.observe.client.ui.admin.export.ExportUI;
import fr.ird.observe.client.ui.admin.report.ReportModel;
import fr.ird.observe.client.ui.admin.report.ReportUI;
-import fr.ird.observe.client.ui.admin.resume.ShowResumeUI;
import fr.ird.observe.client.ui.admin.save.SaveLocalModel;
import fr.ird.observe.client.ui.admin.save.SaveLocalUI;
import fr.ird.observe.client.ui.admin.synchronize.data.DataSynchroModel;
@@ -218,13 +217,6 @@ public enum AdminStep implements WizardExtStep {
DbMode.USE_LOCAL,
DbMode.USE_REMOTE,
DbMode.USE_SERVER
- ),
-
- /** pour afficher après les opération un ecran de résumé */
- SHOW_RESUME(
- null,
- ShowResumeUI.class,
- false
);
private final String iconName;
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminTabUIHandler.java
=====================================
@@ -24,7 +24,6 @@ package fr.ird.observe.client.ui.admin;
import fr.ird.observe.client.ObserveRunner;
import fr.ird.observe.client.ObserveSwingApplicationContext;
import fr.ird.observe.client.db.ObserveSwingDataSource;
-import fr.ird.observe.client.ui.admin.resume.ShowResumeUI;
import fr.ird.observe.client.ui.content.ref.usage.UsageForDisplayUI;
import fr.ird.observe.client.ui.util.ProgressModel;
import fr.ird.observe.client.ui.util.UIHelper;
@@ -161,13 +160,8 @@ public class AdminTabUIHandler<U extends AdminTabUI> {
}
public void sendMessage(String message) {
-
AdminStep step = ui.getStep();
ui.addMessage(step, message);
- ShowResumeUI resumeUI = (ShowResumeUI) parentUI.getStepUI(AdminStep.SHOW_RESUME);
- if (resumeUI != null) {
- resumeUI.addMessage(step, message);
- }
}
public String getProgressString(int currentStep, int nbStep) {
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminUIHandler.java
=====================================
@@ -28,7 +28,6 @@ import fr.ird.observe.client.ui.admin.config.ConfigUI;
import fr.ird.observe.client.ui.admin.config.SelectDataUI;
import fr.ird.observe.client.ui.admin.consolidate.ConsolidateUI;
import fr.ird.observe.client.ui.admin.export.ExportUI;
-import fr.ird.observe.client.ui.admin.resume.ShowResumeUI;
import fr.ird.observe.client.ui.admin.save.SaveLocalUI;
import fr.ird.observe.client.ui.admin.synchronize.data.DataSynchroUI;
import fr.ird.observe.client.ui.admin.synchronize.referential.legacy.SynchronizeUI;
@@ -36,8 +35,8 @@ import fr.ird.observe.client.ui.admin.synchronize.referential.ng.ReferentialSync
import fr.ird.observe.client.ui.admin.validate.ValidateUI;
import fr.ird.observe.client.ui.util.UIHelper;
import fr.ird.observe.dto.I18nEnumHelper;
-import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import org.nuiton.jaxx.runtime.spi.UIHandler;
import org.nuiton.jaxx.runtime.swing.wizard.WizardUILancher;
import org.nuiton.jaxx.runtime.swing.wizard.ext.WizardExtUtil;
@@ -302,12 +301,6 @@ public class AdminUIHandler implements UIHandler<AdminUI> {
SaveLocalUI tabUI = (SaveLocalUI) ui.getStepUI(AdminStep.SAVE_LOCAL);
tabUI.getHandler().updateText();
}
- if (c != null && c.getStep() == AdminStep.SHOW_RESUME) {
-
- // on met a jour le resumé des opérations
- ShowResumeUI showResumeUI = (ShowResumeUI) ui.getStepUI(AdminStep.SHOW_RESUME);
- showResumeUI.getHandler().updateText();
- }
// selection du nouvel onglet
int index = ui.tabs.indexOfComponent(c);
@@ -386,14 +379,6 @@ public class AdminUIHandler implements UIHandler<AdminUI> {
itr = UIHelper.newTabbedPaneIterator(ui.getTabs());
}
- if (selected != null && selected.getStep() == AdminStep.SHOW_RESUME) {
-
- // rien a faire sur le dernier onglet
- if (log.isDebugEnabled()) {
- log.debug("We are on last step (resume), nothing to do.");
- }
- return;
- }
boolean[] accessibleSteps = ui.getModel().getAccessibleSteps();
if (log.isDebugEnabled()) {
log.debug("Accessibles step : " + Arrays.toString(accessibleSteps));
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/AdminUIModel.java
=====================================
@@ -27,14 +27,13 @@ import fr.ird.observe.client.ui.admin.config.SelectDataModel;
import fr.ird.observe.client.ui.admin.consolidate.ConsolidateModel;
import fr.ird.observe.client.ui.admin.export.ExportModel;
import fr.ird.observe.client.ui.admin.report.ReportModel;
-import fr.ird.observe.client.ui.admin.resume.ShowResumeModel;
import fr.ird.observe.client.ui.admin.save.SaveLocalModel;
import fr.ird.observe.client.ui.admin.synchronize.data.DataSynchroModel;
import fr.ird.observe.client.ui.admin.synchronize.referential.legacy.SynchronizeModel;
import fr.ird.observe.client.ui.admin.synchronize.referential.ng.ReferentialSynchroModel;
import fr.ird.observe.client.ui.admin.validate.ValidateModel;
-import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import org.nuiton.jaxx.runtime.swing.wizard.ext.WizardExtModel;
import org.nuiton.jaxx.runtime.swing.wizard.ext.WizardState;
@@ -68,8 +67,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
protected final SelectDataModel selectDataModel = new SelectDataModel();
- protected final ShowResumeModel showResumeModel = new ShowResumeModel();
-
/** la liste des modes disponibles en entrée */
protected final EnumSet<DbMode> availableIncomingModes;
@@ -158,10 +155,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
return configModel;
}
- public ShowResumeModel getShowResumeModel() {
- return showResumeModel;
- }
-
public SelectDataModel getSelectDataModel() {
return selectDataModel;
}
@@ -402,8 +395,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
return getSynchronizeReferentielModel().validate(this, step);
case SAVE_LOCAL:
return getSaveLocalModel().validate(this, step);
- case SHOW_RESUME:
- return getShowResumeModel().validate(this);
}
return true;
}
@@ -416,8 +407,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
// toujours l'onglet de configuration des opérations
universe.add(AdminStep.CONFIG);
- // pour savoir si on doit ajouter l'onglet de résumé (cas par défaut)
- boolean needResume = true;
if (!operations.isEmpty()) {
if (needSelect()) {
@@ -457,9 +446,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
if (containsOperation(AdminStep.REPORT)) {
universe.add(AdminStep.REPORT);
-
- // pas de page de resume
- needResume = false;
}
updateSaveLocalOperation();
@@ -475,12 +461,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
// ajout de l'onglet de sauvegarde de la base distante
universe.add(AdminStep.EXPORT_DATA);
}
-
- if (needResume) {
-
- // ajout d'un onglet de resume
- universe.add(AdminStep.SHOW_RESUME);
- }
}
return universe.toArray(new AdminStep[0]);
}
@@ -490,6 +470,7 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
for (AdminStep s : operations) {
if (s.isNeedSave()) {
shouldAdd = true;
+ break;
}
}
if (shouldAdd) {
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeModel.java deleted
=====================================
@@ -1,43 +0,0 @@
-package fr.ird.observe.client.ui.admin.resume;
-
-/*-
- * #%L
- * ObServe :: Client core
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-import fr.ird.observe.client.ui.admin.AdminActionModel;
-import fr.ird.observe.client.ui.admin.AdminStep;
-import fr.ird.observe.client.ui.admin.AdminUIModel;
-
-/**
- * Created on 28/11/16.
- *
- * @author Tony Chemit - dev(a)tchemit.fr
- * @since 6.0
- */
-public class ShowResumeModel extends AdminActionModel {
- public ShowResumeModel() {
- super(AdminStep.SHOW_RESUME);
- }
-
- public boolean validate(AdminUIModel uiModel) {
- return true;
- }
-}
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUI.jaxx deleted
=====================================
@@ -1,84 +0,0 @@
-<!--
- #%L
- ObServe :: Client core
- %%
- Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- %%
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public
- License along with this program. If not, see
- <http://www.gnu.org/licenses/gpl-3.0.html>.
- #L%
- -->
-
-<!-- **************************************** -->
-<!-- L'écran de résumé des opérations passées -->
-<!-- **************************************** -->
-
-<fr.ird.observe.client.ui.admin.AdminTabUI>
-
- <import>
- fr.ird.observe.client.ui.util.UIHelper
- fr.ird.observe.client.ui.admin.AdminActionModel
- fr.ird.observe.client.ui.admin.AdminUI
- fr.ird.observe.client.ui.admin.AdminStep
- fr.ird.observe.client.ui.admin.AdminTabUI
-
- java.awt.Dimension
- </import>
-
- <ShowResumeModel id='stepModel' initializer='getModel().getShowResumeModel()'/>
-
- <script><![CDATA[
-
-@Override
-public void destroy() {
- super.destroy();
- globalProgression.setText("");
- resume.setText("");
-}
-
-@Override
-public void addMessage(AdminStep step, String text) {
- getHandler().addMessage(step, text);
-}
-]]>
- </script>
-
- <JPanel id='PENDING_content'>
- <Table constraints='BorderLayout.CENTER' fill='both' weightx='1'
- weighty='1'>
- <row>
- <cell>
- <JScrollPane id='resumePane'>
- <JTextArea id='resume'/>
- </JScrollPane>
- </cell>
- </row>
- <row>
- <cell>
- <JScrollPane id='globalProgressionPane' columnHeaderView='{globalProgressionTop}'>
- <JTextArea id='globalProgression'/>
- <JToolBar id='globalProgressionTop'>
- <JLabel id='globalProgressionTopLabel'/>
- <javax.swing.Box.Filler
- constructorParams='UIHelper.newMinDimension(), UIHelper.newMinDimension(), UIHelper.newMaxXDimension()'/>
- <JButton id="globalProgressionCopyToClipBoard"
- onActionPerformed='UIHelper.copyToClipBoard(globalProgression.getText())'/>
- </JToolBar>
- </JScrollPane>
- </cell>
- </row>
- </Table>
- </JPanel>
-
-</fr.ird.observe.client.ui.admin.AdminTabUI>
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUI.jcss deleted
=====================================
@@ -1,64 +0,0 @@
-/*
- * #%L
- * ObServe :: Client core
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-#PENDING_content {
- layout:{new BorderLayout()};
-}
-
-#resumePane {
- minimumSize:{new Dimension(0,0)};
- horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED};
- columnHeaderView:{UIHelper.newLabel(t("observe.common.operation.resume") ,"wizard-message", 10)};
-}
-
-#resume {
- editable:false;
- focusable:true;
-}
-
-#globalProgressionPane {
- minimumSize:{new Dimension(0,0)};
- horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED};
-}
-
-#globalProgression {
- font-size:10;
- focusable:true;
- lineWrap:false;
- editable:false;
-}
-
-#globalProgressionTop {
- floatable:false;
-}
-
-#globalProgressionTopLabel {
- text:"observe.common.global.progression.description";
- actionIcon:"wizard-message";
-}
-
-#globalProgressionCopyToClipBoard {
- toolTipText:"observe.action.copy.to.clipBoard";
- actionIcon:"report-copy";
- mnemonic:C;
-}
-
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/resume/ShowResumeUIHandler.java deleted
=====================================
@@ -1,91 +0,0 @@
-/*
- * #%L
- * ObServe :: Client core
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-package fr.ird.observe.client.ui.admin.resume;
-
-import fr.ird.observe.client.ui.admin.AdminStep;
-import fr.ird.observe.client.ui.admin.AdminTabUIHandler;
-import fr.ird.observe.client.ui.admin.AdminUIModel;
-import fr.ird.observe.client.ui.util.UIHelper;
-import fr.ird.observe.dto.I18nEnumHelper;
-import org.nuiton.jaxx.runtime.spi.UIHandler;
-import org.nuiton.jaxx.runtime.swing.wizard.ext.WizardState;
-
-import static io.ultreia.java4all.i18n.I18n.t;
-
-/**
- * Le controleur des onglets.
- *
- * @author Tony Chemit - dev(a)tchemit.fr
- * @since 1.4
- */
-public class ShowResumeUIHandler extends AdminTabUIHandler<ShowResumeUI> implements UIHandler<ShowResumeUI> {
-
- @Override
- public void afterInit(ShowResumeUI ui) {
- super.afterInit(ui);
- UIHelper.setLayerUI(ui.getContent(), null);
- }
-
- public void updateText() {
- AdminUIModel model = ui.getModel();
- StringBuilder buffer = new StringBuilder();
- if (!model.isWasStarted()) {
- buffer.append(t("observe.admin.resume.no.operation.done"));
- } else {
- for (AdminStep s : model.getOperations()) {
- WizardState state = model.getStepState(s);
- String stateStr = "";
- switch (state) {
- case CANCELED:
- stateStr = t("observe.admin.resume.operation.canceled");
- break;
- case FAILED:
- stateStr = t("observe.admin.resume.operation.failed");
- break;
- case NEED_FIX:
- stateStr = t("observe.admin.resume.operation.need.fix");
- break;
- case PENDING:
- stateStr = t("observe.admin.resume.operation.not.started");
- break;
- case RUNNING:
- stateStr = t("observe.admin.resume.operation.running");
- break;
- case SUCCESSED:
- stateStr = t("observe.admin.resume.operation.done");
- break;
- }
- buffer.append("\n\n");
- buffer.append(I18nEnumHelper.getLabel(s));
- buffer.append(" : ");
- buffer.append(stateStr);
- buffer.append(".");
- }
- buffer.append("\n\n");
- }
- getUi().getResume().setText(buffer.toString());
- }
-
- public void addMessage(AdminStep step, String text) {
- getUi().getGlobalProgression().append(I18nEnumHelper.getLabel(step) + " - " + text + "\n");
- }
-}
=====================================
client-core/src/main/java/fr/ird/observe/client/ui/admin/validate/ValidateUIHandler.java
=====================================
@@ -475,16 +475,10 @@ public class ValidateUIHandler extends AdminTabUIHandler<ValidateUI> implements
private void generateReportFile(ValidateModel validationModel) throws IOException {
File reportFile = validationModel.getReportFile();
- if (log.isInfoEnabled()) {
- log.info("save report in " + reportFile);
- }
-
+ log.info(String.format("save report in %s", reportFile));
validationModel.setDecoratorService(getDecoratorService());
-
String content = ObserveSwingApplicationContext.get().getTextGenerator().getValidationReport(validationModel);
-
log.debug(content);
- addMessage(AdminStep.SHOW_RESUME, content);
FileUtils.write(reportFile, content, Charsets.UTF_8.name());
}
=====================================
observe-i18n/src/main/i18n/translations/observe_en_GB.properties
=====================================
@@ -319,13 +319,6 @@ observe.actions.validate.validator.message.header=Message
observe.actions.validate.validator.message.header.tip=Message
observe.actions.validate.validator.scope.header=...
observe.actions.validate.validator.scope.header.tip=Type of message
-observe.admin.resume.no.operation.done=No operation done.
-observe.admin.resume.operation.canceled=operation canceled
-observe.admin.resume.operation.done=operation done
-observe.admin.resume.operation.failed=operation failed
-observe.admin.resume.operation.need.fix=operation need fix
-observe.admin.resume.operation.not.started=operation not started
-observe.admin.resume.operation.running=operation is running...
observe.backup.done=[%s] Auto backup done (in %s)
observe.backup.start=[%s] Start auto backup
observe.choice.cancel=Cancel
@@ -1688,7 +1681,6 @@ observe.common.no.unit=No unit
observe.common.nocode=Nocode
observe.common.none=None
observe.common.ocean=Ocean
-observe.common.operation.resume=Summary of operations
observe.common.resume=Summary
observe.common.saveFile.overwrite=file alreayd exists, would you like to overwrite it?
observe.common.saveFile.overwrite.cancel=Cancel
@@ -1829,8 +1821,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Save local database
observe.constant.AdminStep.SAVE_LOCAL.description=Save modifcations on local database
observe.constant.AdminStep.SELECT_DATA=Select data
observe.constant.AdminStep.SELECT_DATA.description=Select data for operations
-observe.constant.AdminStep.SHOW_RESUME=Summary
-observe.constant.AdminStep.SHOW_RESUME.description=Summary of operations
observe.constant.AdminStep.SYNCHRONIZE=Update referential
observe.constant.AdminStep.SYNCHRONIZE.description=Update referential
observe.constant.AdminStep.VALIDATE=Validation
=====================================
observe-i18n/src/main/i18n/translations/observe_es_ES.properties
=====================================
@@ -319,13 +319,6 @@ observe.actions.validate.validator.message.header=Mensaje
observe.actions.validate.validator.message.header.tip=Texto del mensaje
observe.actions.validate.validator.scope.header=...
observe.actions.validate.validator.scope.header.tip=Tipo de mensaje
-observe.admin.resume.no.operation.done=Ninguna operación realizada
-observe.admin.resume.operation.canceled=Operación cancelada
-observe.admin.resume.operation.done=Operación realizada
-observe.admin.resume.operation.failed=Operación no realizada
-observe.admin.resume.operation.need.fix=La operación necesita correcciones
-observe.admin.resume.operation.not.started=Operación no iniciada
-observe.admin.resume.operation.running=Operación en curso...
observe.backup.done=[%s] Copia de seguridad automática realizada (en %s)
observe.backup.start=[%s] Inicio de copia de seguridad automática
observe.choice.cancel=Cancelar
@@ -1688,7 +1681,6 @@ observe.common.no.unit=Sin registros
observe.common.nocode=Código ausente
observe.common.none=Ninguno
observe.common.ocean=Océano
-observe.common.operation.resume=Resumen de operaciones
observe.common.resume=Resumen de la configuración
observe.common.saveFile.overwrite=El archivo ya existe ¿Quiere reemplazarlo?
observe.common.saveFile.overwrite.cancel=Cancelar
@@ -1829,8 +1821,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Copia local de seguridad
observe.constant.AdminStep.SAVE_LOCAL.description=Guardar las modificaciones realizadas en la base original
observe.constant.AdminStep.SELECT_DATA=Selección de datos
observe.constant.AdminStep.SELECT_DATA.description=Selección de los datos para la realización de los operaciones
-observe.constant.AdminStep.SHOW_RESUME=Resumen
-observe.constant.AdminStep.SHOW_RESUME.description=Ver un resumen de los operaciones realizadas
observe.constant.AdminStep.SYNCHRONIZE=Actualización del referencial
observe.constant.AdminStep.SYNCHRONIZE.description=Actualizar el referencial con una base central
observe.constant.AdminStep.VALIDATE=Validación
=====================================
observe-i18n/src/main/i18n/translations/observe_fr_FR.properties
=====================================
@@ -319,13 +319,6 @@ observe.actions.validate.validator.message.header=Message
observe.actions.validate.validator.message.header.tip=Le texte du message
observe.actions.validate.validator.scope.header=...
observe.actions.validate.validator.scope.header.tip=Le type de message
-observe.admin.resume.no.operation.done=Aucune opération réalisée.
-observe.admin.resume.operation.canceled=opération annulée
-observe.admin.resume.operation.done=opération réussie
-observe.admin.resume.operation.failed=opération échouée
-observe.admin.resume.operation.need.fix=opération nécessitant des corrections
-observe.admin.resume.operation.not.started=opération non démarrée
-observe.admin.resume.operation.running=opération en cours...
observe.backup.done=[%s] Fin de la sauvegarde automatique (en %s)
observe.backup.start=[%s] Début de la sauvegarde automatique
observe.choice.cancel=Annuler
@@ -1688,7 +1681,6 @@ observe.common.no.unit=Pas d'unité
observe.common.nocode=code absent
observe.common.none=Aucun
observe.common.ocean=Océan
-observe.common.operation.resume=Résumé des opérations
observe.common.resume=Résumé de la configuration
observe.common.saveFile.overwrite=Le fichier existe déjà. Voulez-vous le remplacer ?
observe.common.saveFile.overwrite.cancel=Annuler
@@ -1829,8 +1821,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Sauvegarde locale
observe.constant.AdminStep.SAVE_LOCAL.description=Sauver les modifications sur votre base source
observe.constant.AdminStep.SELECT_DATA=Sélection des données
observe.constant.AdminStep.SELECT_DATA.description=Sélection des données pour effectuer les opérations
-observe.constant.AdminStep.SHOW_RESUME=Résumé
-observe.constant.AdminStep.SHOW_RESUME.description=Voir un résumé des opérations effectuées
observe.constant.AdminStep.SYNCHRONIZE=Mise à jour du référentiel
observe.constant.AdminStep.SYNCHRONIZE.description=Mettre à jour le référentiel depuis une base centrale
observe.constant.AdminStep.VALIDATE=Validation
=====================================
services/src/main/java/fr/ird/observe/services/service/CleanTemporaryFilesTask.java
=====================================
@@ -63,6 +63,9 @@ public class CleanTemporaryFilesTask extends TimerTask {
public void run() {
Path temporaryDirectory = configuration.getTemporaryDirectory().toPath();
+ if (Files.notExists(temporaryDirectory)) {
+ return;
+ }
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
calendar.add(Calendar.HOUR_OF_DAY, -configuration.getTemporaryFilesTimeout());
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/ab3339953f66c20f7944721b…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/ab3339953f66c20f7944721b…
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][develop] [jgitflow-maven-plugin]updating poms for 8.0-RC-7-SNAPSHOT development[skip ci]
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
e8b17b90 by tchemit at 2020-04-18T10:46:23+02:00
[jgitflow-maven-plugin]updating poms for 8.0-RC-7-SNAPSHOT development[skip ci]
- - - - -
25 changed files:
- client-configuration/pom.xml
- client-core/pom.xml
- client-datasource-actions/pom.xml
- client-datasource-editor-api/pom.xml
- client-datasource-editor-common/pom.xml
- client-datasource-editor-ll/pom.xml
- client-datasource-editor-ps/pom.xml
- client-runner/pom.xml
- dto-spi/pom.xml
- dto/pom.xml
- observe-i18n/pom.xml
- observe/pom.xml
- persistence-spi/pom.xml
- persistence/pom.xml
- pom.xml
- server-configuration/pom.xml
- server-core/pom.xml
- server-runner/pom.xml
- services-client/pom.xml
- services-local/pom.xml
- services-validation/pom.xml
- services/pom.xml
- test-config/pom.xml
- test/pom.xml
- validation/pom.xml
Changes:
=====================================
client-configuration/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-configuration</artifactId>
=====================================
client-core/pom.xml
=====================================
@@ -18,14 +18,13 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-core</artifactId>
=====================================
client-datasource-actions/pom.xml
=====================================
@@ -18,14 +18,13 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-datasource-actions</artifactId>
=====================================
client-datasource-editor-api/pom.xml
=====================================
@@ -18,14 +18,13 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-datasource-editor-api</artifactId>
=====================================
client-datasource-editor-common/pom.xml
=====================================
@@ -18,14 +18,13 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-datasource-editor-common</artifactId>
=====================================
client-datasource-editor-ll/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-datasource-editor-ll</artifactId>
=====================================
client-datasource-editor-ps/pom.xml
=====================================
@@ -18,14 +18,13 @@
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-datasource-editor-ps</artifactId>
=====================================
client-runner/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>client-runner</artifactId>
=====================================
dto-spi/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>dto-spi</artifactId>
=====================================
dto/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>dto</artifactId>
=====================================
observe-i18n/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>observe-i18n</artifactId>
=====================================
observe/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>observe</artifactId>
=====================================
persistence-spi/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>persistence-spi</artifactId>
=====================================
persistence/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>persistence</artifactId>
=====================================
pom.xml
=====================================
@@ -29,7 +29,7 @@
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ObServe :: Pom</name>
=====================================
server-configuration/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>server-configuration</artifactId>
=====================================
server-core/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>server-core</artifactId>
=====================================
server-runner/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>server-runner</artifactId>
=====================================
services-client/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>services-client</artifactId>
=====================================
services-local/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>services-local</artifactId>
=====================================
services-validation/pom.xml
=====================================
@@ -25,7 +25,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>services-validation</artifactId>
=====================================
services/pom.xml
=====================================
@@ -27,7 +27,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>services</artifactId>
=====================================
test-config/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>test-config</artifactId>
=====================================
test/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>test</artifactId>
=====================================
validation/pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>fr.ird.observe</groupId>
<artifactId>ird-observe</artifactId>
- <version>8.0-RC-6-SNAPSHOT</version>
+ <version>8.0-RC-7-SNAPSHOT</version>
</parent>
<artifactId>validation</artifactId>
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/e8b17b90d6b40dd413890f05f…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/e8b17b90d6b40dd413890f05f…
You're receiving this email because of your account on gitlab.com.
1
0
18 Apr '20
Tony CHEMIT pushed new branch release/8.0-RC-6 at ultreiaio / ird-observe
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/tree/release/8.0-RC-6
You're receiving this email because of your account on gitlab.com.
1
0
[Git][ultreiaio/ird-observe][develop] 10 commits: Le nom du fichier de sauvegarde par défaut pourrait être modernisé - Closes #1212
by Tony CHEMIT 18 Apr '20
by Tony CHEMIT 18 Apr '20
18 Apr '20
Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
96793291 by tchemit at 2020-04-18T10:30:21+02:00
Le nom du fichier de sauvegarde par défaut pourrait être modernisé - Closes #1212
- - - - -
0d8ba6ee by tchemit at 2020-04-18T10:30:23+02:00
update pom
- - - - -
5294b6cf by tchemit at 2020-04-18T10:30:23+02:00
Suppression de l'onglet résumé sur les assistants - Closes #1468
- - - - -
0a43816b by tchemit at 2020-04-18T10:30:23+02:00
FOB sans objectOperation fait planter la consolidation des données - See #1469
- - - - -
533b9ed5 by tchemit at 2020-04-18T10:30:23+02:00
Les températures ne sont pas bien restituées... - Closes #1470
- - - - -
4b64cbe7 by tchemit at 2020-04-18T10:30:23+02:00
Remove bad and unusefull code
- - - - -
02f0c544 by tchemit at 2020-04-18T10:30:23+02:00
FOB sans objectOperation fait planter la consolidation des données (Afficher les FOB sans objectOperation) - See #1469
- - - - -
a0cb96f4 by tchemit at 2020-04-18T10:30:23+02:00
Do not clean temporary files if root directory does not exist
- - - - -
49139d70 by tchemit at 2020-04-18T10:30:23+02:00
Utilisation de filtres intelligents pour l'appairement des activités - Closes #1471
- - - - -
1574fb81 by tchemit at 2020-04-18T10:30:23+02:00
Correction de la décoration
- - - - -
28 changed files:
- client-configuration/src/main/java/fr/ird/observe/client/configuration/ClientConfig.java
- client-core/src/main/java/fr/ird/observe/client/datasource/h2/backup/BackupsManager.java
- client-datasource-actions/src/main/i18n/getters/java-enumeration.getter
- client-datasource-actions/src/main/i18n/getters/java.getter
- client-datasource-actions/src/main/i18n/getters/jaxx.getter
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminStep.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminUIHandler.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminUIModel.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/actions/AdminTabUIActionSupport.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/longline/pairing/tree/ActivityLonglinePairingTreeTable.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/longline/pairing/tree/ActivityLonglinePairingTreeTableModel.java
- − client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeModel.java
- − client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUI.jaxx
- − client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUI.jcss
- − client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUIHandler.java
- − client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/actions/CopyResumeToClipBoard.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/synchronize/referential/ng/tree/actions/RegisterTaskActionSupport.java
- client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/validate/actions/SaveReport.java
- client-datasource-editor-api/src/main/java/fr/ird/observe/client/datasource/editor/content/ContentUIInitializer.java
- observe-i18n/src/main/i18n/translations/observe_en_GB.properties
- observe-i18n/src/main/i18n/translations/observe_es_ES.properties
- observe-i18n/src/main/i18n/translations/observe_fr_FR.properties
- − persistence/src/main/java/fr/ird/observe/entities/data/ps/observation/FloatingObjectTopiaDao.java
- pom.xml
- services-local/src/main/java/fr/ird/observe/services/local/service/actions/consolidate/ConsolidateDataServiceLocal.java
- services-local/src/main/java/fr/ird/observe/services/local/service/data/ps/observation/FloatingObjectServiceLocal.java
- services/src/main/java/fr/ird/observe/services/service/CleanTemporaryFilesTask.java
- services/src/main/java/fr/ird/observe/services/service/data/ll/pairing/ActivityLonglinePairingResultItem.java
Changes:
=====================================
client-configuration/src/main/java/fr/ird/observe/client/configuration/ClientConfig.java
=====================================
@@ -115,7 +115,7 @@ public class ClientConfig extends GeneratedClientConfig implements TemplateGener
ClientConfigOption.MAP_LAYER10);
private static final Logger log = LogManager.getLogger(ClientConfig.class);
/** le pattern du fichier de sauvegarde d'une base locale */
- private static final String BACKUP_DB_PATTERN = "obstuna-local-%1$tF--%1$tk-%1$tM-%1$tS.sql.gz";
+ private static final String BACKUP_DB_PATTERN = "observe-v%1$s-%2$tF--%2$tk-%2$tM-%2$tS.sql.gz";
private static final String APPLICATION_VERSION = "application.version";
private static final String VERSION = "version";
@@ -537,7 +537,7 @@ public class ClientConfig extends GeneratedClientConfig implements TemplateGener
}
public File newBackupDataFile() {
- return new File(getBackupDirectory(), String.format(BACKUP_DB_PATTERN, new Date()));
+ return new File(getBackupDirectory(), String.format(BACKUP_DB_PATTERN, getBuildVersion().toString().replaceAll("\\.","_"), new Date()));
}
public void saveForUser() {
=====================================
client-core/src/main/java/fr/ird/observe/client/datasource/h2/backup/BackupsManager.java
=====================================
@@ -74,7 +74,7 @@ public class BackupsManager implements Closeable {
private static final Logger log = LogManager.getLogger(BackupsManager.class);
- private static final Pattern AUTOMATIC_BACKUP_FILENAME_PATTERN = Pattern.compile("obstuna-local-([0-9-]+)\\.sql\\.gz");
+ private static final Pattern AUTOMATIC_BACKUP_FILENAME_PATTERN = Pattern.compile("obs.+-([0-9-]+)\\.sql\\.gz");
private final Path backupsPath;
private final ObserveDataSourcesManager dataSourcesManager;
=====================================
client-datasource-actions/src/main/i18n/getters/java-enumeration.getter
=====================================
@@ -16,8 +16,6 @@ observe.constant.AdminStep.SAVE_LOCAL
observe.constant.AdminStep.SAVE_LOCAL.description
observe.constant.AdminStep.SELECT_DATA
observe.constant.AdminStep.SELECT_DATA.description
-observe.constant.AdminStep.SHOW_RESUME
-observe.constant.AdminStep.SHOW_RESUME.description
observe.constant.AdminStep.SYNCHRONIZE
observe.constant.AdminStep.SYNCHRONIZE.description
observe.constant.AdminStep.VALIDATE
=====================================
client-datasource-actions/src/main/i18n/getters/java.getter
=====================================
@@ -170,13 +170,6 @@ observe.admin.report.no.report.found
observe.admin.report.report.count.found
observe.admin.report.title
observe.admin.report.title.tip
-observe.admin.resume.no.operation.done
-observe.admin.resume.operation.canceled
-observe.admin.resume.operation.done
-observe.admin.resume.operation.failed
-observe.admin.resume.operation.need.fix
-observe.admin.resume.operation.not.started
-observe.admin.resume.operation.running
observe.choice.cancel
observe.choice.confirm.insert
observe.choice.replace
=====================================
client-datasource-actions/src/main/i18n/getters/jaxx.getter
=====================================
@@ -34,7 +34,6 @@ observe.admin.report.variables
observe.common.directory
observe.common.file
observe.common.global.progression.description
-observe.common.operation.resume
observe.common.step.description
observe.info.selected.validators
observe.info.validation.credentials
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminStep.java
=====================================
@@ -32,7 +32,6 @@ import fr.ird.observe.client.datasource.actions.longline.pairing.ActivityLonglin
import fr.ird.observe.client.datasource.actions.longline.pairing.ActivityLonglinePairingUI;
import fr.ird.observe.client.datasource.actions.report.ReportModel;
import fr.ird.observe.client.datasource.actions.report.ReportUI;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeUI;
import fr.ird.observe.client.datasource.actions.save.SaveLocalModel;
import fr.ird.observe.client.datasource.actions.save.SaveLocalUI;
import fr.ird.observe.client.datasource.actions.synchronize.data.DataSynchroModel;
@@ -247,13 +246,6 @@ public enum AdminStep implements WizardExtStep {
DbMode.USE_LOCAL,
DbMode.USE_REMOTE,
DbMode.USE_SERVER
- ),
-
- /** pour afficher après les opération un ecran de résumé */
- SHOW_RESUME(
- null,
- ShowResumeUI.class,
- false
);
private final String iconName;
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminUIHandler.java
=====================================
@@ -27,7 +27,6 @@ import fr.ird.observe.client.datasource.actions.config.SelectDataUI;
import fr.ird.observe.client.datasource.actions.consolidate.ConsolidateUI;
import fr.ird.observe.client.datasource.actions.export.ExportUI;
import fr.ird.observe.client.datasource.actions.longline.pairing.ActivityLonglinePairingUI;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeUI;
import fr.ird.observe.client.datasource.actions.save.SaveLocalUI;
import fr.ird.observe.client.datasource.actions.synchronize.data.DataSynchroUI;
import fr.ird.observe.client.datasource.actions.synchronize.referential.legacy.SynchronizeUI;
@@ -297,12 +296,6 @@ public class AdminUIHandler implements UIHandler<AdminUI>, WithClientUIContext {
SaveLocalUI tabUI = (SaveLocalUI) ui.getStepUI(AdminStep.SAVE_LOCAL);
tabUI.getHandler().updateText();
}
- if (c != null && c.getStep() == AdminStep.SHOW_RESUME) {
-
- // on met a jour le resumé des opérations
- ShowResumeUI showResumeUI = (ShowResumeUI) ui.getStepUI(AdminStep.SHOW_RESUME);
- showResumeUI.getHandler().updateText();
- }
// selection du nouvel onglet
int index = ui.tabs.indexOfComponent(c);
@@ -371,12 +364,6 @@ public class AdminUIHandler implements UIHandler<AdminUI>, WithClientUIContext {
itr = UIHelper.newTabbedPaneIterator(ui.getTabs());
}
- if (selected != null && selected.getStep() == AdminStep.SHOW_RESUME) {
-
- // rien a faire sur le dernier onglet
- log.debug("We are on last step (resume), nothing to do.");
- return;
- }
boolean[] accessibleSteps = ui.getModel().getAccessibleSteps();
log.debug("Accessibles step : " + Arrays.toString(accessibleSteps));
for (; itr.hasNext(); itr.next()) {
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/AdminUIModel.java
=====================================
@@ -28,7 +28,6 @@ import fr.ird.observe.client.datasource.actions.consolidate.ConsolidateModel;
import fr.ird.observe.client.datasource.actions.export.ExportModel;
import fr.ird.observe.client.datasource.actions.longline.pairing.ActivityLonglinePairingModel;
import fr.ird.observe.client.datasource.actions.report.ReportModel;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeModel;
import fr.ird.observe.client.datasource.actions.save.SaveLocalModel;
import fr.ird.observe.client.datasource.actions.synchronize.data.DataSynchroModel;
import fr.ird.observe.client.datasource.actions.synchronize.referential.legacy.SynchronizeModel;
@@ -64,8 +63,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
private final SelectDataModel selectDataModel = new SelectDataModel();
- private final ShowResumeModel showResumeModel = new ShowResumeModel();
-
private final AdminStep adminStep;
private final EnumSet<DbMode> availableIncomingModes;
@@ -152,10 +149,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
return configModel;
}
- public ShowResumeModel getShowResumeModel() {
- return showResumeModel;
- }
-
public SelectDataModel getSelectDataModel() {
return selectDataModel;
}
@@ -397,8 +390,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
return getSynchronizeReferentielModel().validate(this, step);
case SAVE_LOCAL:
return getSaveLocalModel().validate(this, step);
- case SHOW_RESUME:
- return getShowResumeModel().validate(this);
}
return true;
}
@@ -411,8 +402,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
// toujours l'onglet de configuration des opérations
universe.add(AdminStep.CONFIG);
- // pour savoir si on doit ajouter l'onglet de résumé (cas par défaut)
- boolean needResume = true;
if (!operations.isEmpty()) {
if (needSelect()) {
@@ -458,9 +447,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
if (containsOperation(AdminStep.REPORT)) {
universe.add(AdminStep.REPORT);
-
- // pas de page de resume
- needResume = false;
}
updateSaveLocalOperation();
@@ -476,12 +462,6 @@ public class AdminUIModel extends WizardExtModel<AdminStep> {
// ajout de l'onglet de sauvegarde de la base distante
universe.add(AdminStep.EXPORT_DATA);
}
-
- if (needResume) {
-
- // ajout d'un onglet de resume
- universe.add(AdminStep.SHOW_RESUME);
- }
}
return universe.toArray(new AdminStep[0]);
}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/actions/AdminTabUIActionSupport.java
=====================================
@@ -28,7 +28,6 @@ import fr.ird.observe.client.datasource.actions.AdminActionWorker;
import fr.ird.observe.client.datasource.actions.AdminStep;
import fr.ird.observe.client.datasource.actions.AdminTabUI;
import fr.ird.observe.client.datasource.actions.AdminUI;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeUI;
import fr.ird.observe.client.datasource.api.ObserveSwingDataSource;
import fr.ird.observe.client.datasource.editor.content.ref.usage.UsageForDisplayUI;
import fr.ird.observe.client.datasource.editor.content.ref.usage.UsageForDisplayUIHandler;
@@ -98,14 +97,8 @@ public abstract class AdminTabUIActionSupport<U extends AdminTabUI> extends JCom
public String sendMessage(String message) {
-
AdminStep step = ui.getStep();
addMessage(step, message);
- AdminUI parentUI = getParentUI();
- ShowResumeUI resumeUI = (ShowResumeUI) parentUI.getStepUI(AdminStep.SHOW_RESUME);
- if (resumeUI != null) {
- addMessage(resumeUI, step, message);
- }
return message;
}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/longline/pairing/tree/ActivityLonglinePairingTreeTable.java
=====================================
@@ -22,6 +22,7 @@ package fr.ird.observe.client.datasource.actions.longline.pairing.tree;
* #L%
*/
+import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import fr.ird.observe.client.configuration.ClientConfig;
import fr.ird.observe.client.configuration.WithClientConfig;
@@ -46,6 +47,8 @@ import fr.ird.observe.dto.referential.common.ProgramDto;
import fr.ird.observe.dto.referential.common.ProgramReference;
import fr.ird.observe.services.service.data.ll.pairing.ActivityLonglinePairingResultItem;
import fr.ird.observe.services.service.data.ll.pairing.ActivityLonglinePairingResultItemDecorator;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import org.jdesktop.swingx.JXTable;
import org.jdesktop.swingx.JXTreeTable;
import org.jdesktop.swingx.table.ColumnFactory;
@@ -76,6 +79,8 @@ import java.util.function.Supplier;
*/
public class ActivityLonglinePairingTreeTable extends JXTreeTable implements WithDecoratorService, WithClientConfig {
+ private static final Logger log = LogManager.getLogger(ActivityLonglinePairingTreeTable.class);
+
public ActivityLonglinePairingTreeTable(ActivityLonglinePairingTreeTableModel treeModel) {
super(treeModel);
setTreeCellRenderer(new ActivityLonglinePairingTreeTableTreeCellRenderer());
@@ -162,7 +167,7 @@ public class ActivityLonglinePairingTreeTable extends JXTreeTable implements Wit
}
- static class ActivityLonglinePairingTreeTableCellEditor implements TableCellEditor {
+ class ActivityLonglinePairingTreeTableCellEditor implements TableCellEditor {
private final TableCellEditor booleanEditor;
private final BeanFilterableComboBoxCellEditor pairingEditor;
@@ -187,9 +192,14 @@ public class ActivityLonglinePairingTreeTable extends JXTreeTable implements Wit
Objects.requireNonNull(node);
if (column == 1) {
if (node instanceof ActivityLonglinePairingActivityNode) {
- BeanFilterableComboBox component = pairingEditor.getComponent();
+ BeanFilterableComboBox<?> component = pairingEditor.getComponent();
ActivityLonglinePairingActivityNode activityLonglinePairingActivityNode = (ActivityLonglinePairingActivityNode) node;
- UIHelper.fillComboBox(component.getCombobox(), activityLonglinePairingActivityNode.getUserObject().getItems(), activityLonglinePairingActivityNode.getSelectedValue());
+ ImmutableList<ActivityLonglinePairingResultItem> availableActivities = getTreeTableModel().getAvailableActivities(activityLonglinePairingActivityNode);
+ ActivityLonglinePairingResultItem selectedValue = activityLonglinePairingActivityNode.getSelectedValue();
+ if (!availableActivities.contains(selectedValue)) {
+ selectedValue = null;
+ }
+ UIHelper.fillComboBox(component.getCombobox(), availableActivities, selectedValue);
editor = pairingEditor;
}
} else if (column == 2) {
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/longline/pairing/tree/ActivityLonglinePairingTreeTableModel.java
=====================================
@@ -22,14 +22,21 @@ package fr.ird.observe.client.datasource.actions.longline.pairing.tree;
* #L%
*/
+import com.google.common.collect.ImmutableList;
import fr.ird.observe.client.datasource.actions.longline.pairing.ActivityLonglinePairingModel;
import fr.ird.observe.client.datasource.actions.longline.pairing.tree.node.ActivityLonglinePairingActivityNode;
import fr.ird.observe.client.datasource.actions.longline.pairing.tree.node.ActivityLonglinePairingRootNode;
+import fr.ird.observe.services.service.data.ll.pairing.ActivityLonglinePairingResultItem;
import io.ultreia.java4all.i18n.I18n;
import org.jdesktop.swingx.treetable.DefaultTreeTableModel;
+import sun.awt.image.ImageWatched;
import java.util.Arrays;
+import java.util.LinkedList;
+import java.util.List;
import java.util.Objects;
+import java.util.Set;
+import java.util.stream.Collectors;
/**
* Created by tchemit on 20/11/2018.
@@ -79,4 +86,13 @@ public class ActivityLonglinePairingTreeTableModel extends DefaultTreeTableModel
public ActivityLonglinePairingModel getUiModel() {
return uiModel;
}
+
+ public ImmutableList<ActivityLonglinePairingResultItem> getAvailableActivities(ActivityLonglinePairingActivityNode selectedNode) {
+ List<ActivityLonglinePairingActivityNode> selectedNodes = new LinkedList<>(uiModel.getSelectedNodes());
+ selectedNodes.remove(selectedNode);
+ Set<ActivityLonglinePairingResultItem> usedActivities = selectedNodes.stream().map(ActivityLonglinePairingActivityNode::getSelectedValue).collect(Collectors.toSet());
+ List<ActivityLonglinePairingResultItem> availableActivities = new LinkedList<>(selectedNode.getUserObject().getItems());
+ availableActivities.removeAll(usedActivities);
+ return ImmutableList.copyOf(availableActivities);
+ }
}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeModel.java deleted
=====================================
@@ -1,43 +0,0 @@
-package fr.ird.observe.client.datasource.actions.resume;
-
-/*-
- * #%L
- * ObServe :: Client DataSource actions
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-import fr.ird.observe.client.datasource.actions.AdminActionModel;
-import fr.ird.observe.client.datasource.actions.AdminStep;
-import fr.ird.observe.client.datasource.actions.AdminUIModel;
-
-/**
- * Created on 28/11/16.
- *
- * @author Tony Chemit - dev(a)tchemit.fr
- * @since 6.0
- */
-public class ShowResumeModel extends AdminActionModel {
- public ShowResumeModel() {
- super(AdminStep.SHOW_RESUME);
- }
-
- public boolean validate(AdminUIModel uiModel) {
- return true;
- }
-}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUI.jaxx deleted
=====================================
@@ -1,59 +0,0 @@
-<!--
- #%L
- ObServe :: Client DataSource actions
- %%
- Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- %%
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public
- License along with this program. If not, see
- <http://www.gnu.org/licenses/gpl-3.0.html>.
- #L%
- -->
-
-<fr.ird.observe.client.datasource.actions.AdminTabUI>
-
- <import>
- fr.ird.observe.client.util.UIHelper
- fr.ird.observe.client.datasource.actions.AdminUI
- fr.ird.observe.client.datasource.actions.AdminTabUI
-
- java.awt.Dimension
- </import>
-
- <ShowResumeModel id='stepModel' initializer='getModel().getShowResumeModel()'/>
-
- <JPanel id='PENDING_content'>
- <Table constraints='BorderLayout.CENTER' fill='both' weightx='1'
- weighty='1'>
- <row>
- <cell>
- <JScrollPane id='resumePane'>
- <JTextArea id='resume'/>
- </JScrollPane>
- </cell>
- </row>
- <row>
- <cell>
- <JScrollPane id='globalProgressionPane' columnHeaderView='{globalProgressionTop}'>
- <JTextArea id='globalProgression'/>
- <JToolBar id='globalProgressionTop'>
- <JLabel id='globalProgressionTopLabel'/>
- <javax.swing.Box.Filler
- constructorParams='UIHelper.newMinDimension(), UIHelper.newMinDimension(), UIHelper.newMaxXDimension()'/>
- <JButton id="copyToClipBoard"/>
- </JToolBar>
- </JScrollPane>
- </cell>
- </row>
- </Table>
- </JPanel>
-
-</fr.ird.observe.client.datasource.actions.AdminTabUI>
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUI.jcss deleted
=====================================
@@ -1,59 +0,0 @@
-/*
- * #%L
- * ObServe :: Client DataSource actions
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-#PENDING_content {
- layout:{new BorderLayout()};
-}
-
-#resumePane {
- minimumSize:{new Dimension(0,0)};
- horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED};
- columnHeaderView:{UIHelper.newLabel(t("observe.common.operation.resume") ,"wizard-message", 10)};
-}
-
-#resume {
- editable:false;
- focusable:true;
-}
-
-#globalProgressionPane {
- minimumSize:{new Dimension(0,0)};
- horizontalScrollBarPolicy:{JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED};
-}
-
-#globalProgression {
- font-size:10;
- focusable:true;
- lineWrap:false;
- editable:false;
-}
-
-#globalProgressionTop {
- floatable:false;
-}
-
-#globalProgressionTopLabel {
- text:"observe.common.global.progression.description";
- actionIcon:"wizard-message";
-}
-
-
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/ShowResumeUIHandler.java deleted
=====================================
@@ -1,91 +0,0 @@
-/*
- * #%L
- * ObServe :: Client DataSource actions
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-package fr.ird.observe.client.datasource.actions.resume;
-
-import fr.ird.observe.client.datasource.actions.AdminStep;
-import fr.ird.observe.client.datasource.actions.AdminTabUIHandler;
-import fr.ird.observe.client.datasource.actions.AdminUIModel;
-import fr.ird.observe.client.util.UIHelper;
-import fr.ird.observe.dto.I18nEnumHelper;
-import org.nuiton.jaxx.runtime.spi.UIHandler;
-import org.nuiton.jaxx.runtime.swing.wizard.ext.WizardState;
-
-import static io.ultreia.java4all.i18n.I18n.t;
-
-/**
- * Le controleur des onglets.
- *
- * @author Tony Chemit - dev(a)tchemit.fr
- * @since 1.4
- */
-public class ShowResumeUIHandler extends AdminTabUIHandler<ShowResumeUI> implements UIHandler<ShowResumeUI> {
-
- @Override
- public void afterInit(ShowResumeUI ui) {
- super.afterInit(ui);
- UIHelper.setLayerUI(ui.getContent(), null);
- }
-
- public void updateText() {
- AdminUIModel model = ui.getModel();
- StringBuilder buffer = new StringBuilder();
- if (!model.isWasStarted()) {
- buffer.append(t("observe.admin.resume.no.operation.done"));
- } else {
- for (AdminStep s : model.getOperations()) {
- WizardState state = model.getStepState(s);
- String stateStr = "";
- switch (state) {
- case CANCELED:
- stateStr = t("observe.admin.resume.operation.canceled");
- break;
- case FAILED:
- stateStr = t("observe.admin.resume.operation.failed");
- break;
- case NEED_FIX:
- stateStr = t("observe.admin.resume.operation.need.fix");
- break;
- case PENDING:
- stateStr = t("observe.admin.resume.operation.not.started");
- break;
- case RUNNING:
- stateStr = t("observe.admin.resume.operation.running");
- break;
- case SUCCESSED:
- stateStr = t("observe.admin.resume.operation.done");
- break;
- }
- buffer.append("\n\n");
- buffer.append(I18nEnumHelper.getLabel(s));
- buffer.append(" : ");
- buffer.append(stateStr);
- buffer.append(".");
- }
- buffer.append("\n\n");
- }
- getUi().getResume().setText(buffer.toString());
- }
-
- public void addMessage(AdminStep step, String text) {
- getUi().getGlobalProgression().append(I18nEnumHelper.getLabel(step) + " - " + text + "\n");
- }
-}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/resume/actions/CopyResumeToClipBoard.java deleted
=====================================
@@ -1,45 +0,0 @@
-package fr.ird.observe.client.datasource.actions.resume.actions;
-
-/*-
- * #%L
- * ObServe :: Client DataSource actions
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-import fr.ird.observe.client.datasource.actions.actions.AdminTabUIActionSupport;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeUI;
-import fr.ird.observe.client.util.ObserveKeyStrokesSupport;
-import fr.ird.observe.client.util.UIHelper;
-
-import java.awt.event.ActionEvent;
-
-import static io.ultreia.java4all.i18n.I18n.t;
-
-public class CopyResumeToClipBoard extends AdminTabUIActionSupport<ShowResumeUI> {
-
- public CopyResumeToClipBoard() {
- super(t("observe.action.copy.to.clipBoard"), t("observe.action.copy.to.clipBoard"), "report-copy", ObserveKeyStrokesSupport.KEY_STROKE_COPY_TO_CLIPBOARD);
- }
-
- @Override
- protected void doActionPerformed(ActionEvent e, ShowResumeUI ui) {
- UIHelper.copyToClipBoard(ui.getGlobalProgression().getText());
- }
-
-}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/synchronize/referential/ng/tree/actions/RegisterTaskActionSupport.java
=====================================
@@ -27,7 +27,6 @@ import com.google.common.collect.ImmutableSet;
import fr.ird.observe.client.datasource.actions.AdminStep;
import fr.ird.observe.client.datasource.actions.AdminTabUI;
import fr.ird.observe.client.datasource.actions.AdminUI;
-import fr.ird.observe.client.datasource.actions.resume.ShowResumeUI;
import fr.ird.observe.client.datasource.actions.synchronize.referential.ng.ReferentialReplaceUI;
import fr.ird.observe.client.datasource.actions.synchronize.referential.ng.ReferentialReplaceUIHandler;
import fr.ird.observe.client.datasource.actions.synchronize.referential.ng.ReferentialSynchroModel;
@@ -304,14 +303,8 @@ public abstract class RegisterTaskActionSupport extends ReferentialSelectionTree
}
public String sendMessage(String message) {
-
AdminStep step = parentUI.getStep();
addMessage(step, message);
- AdminUI parentUI = getParentUI();
- ShowResumeUI resumeUI = (ShowResumeUI) parentUI.getStepUI(AdminStep.SHOW_RESUME);
- if (resumeUI != null) {
- addMessage(resumeUI, step, message);
- }
return message;
}
=====================================
client-datasource-actions/src/main/java/fr/ird/observe/client/datasource/actions/validate/actions/SaveReport.java
=====================================
@@ -83,7 +83,6 @@ public class SaveReport extends ValidateUIActionSupport {
String content = ValidateModelTemplate.generate(validationModel);
log.debug(content);
- addMessage(AdminStep.SHOW_RESUME, content);
FileUtils.write(reportFile, content, StandardCharsets.UTF_8.name());
}
=====================================
client-datasource-editor-api/src/main/java/fr/ird/observe/client/datasource/editor/content/ContentUIInitializer.java
=====================================
@@ -327,7 +327,7 @@ public class ContentUIInitializer<UI extends ContentUI> implements WithClientCon
if (editor.getBean() != null) {
if (UIHelper.isBindingFromBean(editor)) {
- editor.getModel().addPropertyChangeListener(propertyName, e -> {
+ ((JavaBean)editor.getBean()).addPropertyChangeListener(propertyName, e -> {
Float oldValue = editor.getModel().getTemperature();
Float newValue = (Float) e.getNewValue();
if (!Objects.equals(oldValue, newValue)) {
@@ -342,17 +342,6 @@ public class ContentUIInitializer<UI extends ContentUI> implements WithClientCon
if (StringUtils.isEmpty(editor.getProperty())) {
editor.setProperty(editor.getName());
}
- if (editor.getBean() != null) {
- if (UIHelper.isBindingFromBean(editor)) {
- editor.getModel().addPropertyChangeListener(editor.getProperty(), e -> {
- String oldValue = editor.getText();
- String newValue = (String) e.getNewValue();
- if (!Objects.equals(oldValue, newValue)) {
- editor.setText(newValue);
- }
- });
- }
- }
editor.setMinimumSize(new Dimension(50, 5 * 24));
editor.getTextEditor().setRows(4);
}
@@ -361,36 +350,12 @@ public class ContentUIInitializer<UI extends ContentUI> implements WithClientCon
if (StringUtils.isEmpty(editor.getProperty())) {
editor.setProperty(editor.getName());
}
-
- if (editor.getBean() != null) {
- if (UIHelper.isBindingFromBean(editor)) {
- editor.getModel().addPropertyChangeListener(editor.getProperty(), e -> {
- String oldValue = editor.getText();
- String newValue = (String) e.getNewValue();
- if (!Objects.equals(oldValue, newValue)) {
- editor.setText(newValue);
- }
- });
- }
- }
}
protected void init(UrlEditor editor) {
if (StringUtils.isEmpty(editor.getProperty())) {
editor.setProperty(editor.getName());
}
-
- if (editor.getBean() != null) {
- if (UIHelper.isBindingFromBean(editor)) {
- editor.getModel().addPropertyChangeListener(editor.getProperty(), e -> {
- String oldValue = editor.getText();
- String newValue = (String) e.getNewValue();
- if (!Objects.equals(oldValue, newValue)) {
- editor.setText(newValue);
- }
- });
- }
- }
}
private void init(JLabel editor) {
=====================================
observe-i18n/src/main/i18n/translations/observe_en_GB.properties
=====================================
@@ -374,13 +374,6 @@ observe.admin.report.select.file.tip=Choose file of reports definitions
observe.admin.report.title=Help to generat reports
observe.admin.report.title.tip=Help to generate reports
observe.admin.report.variables=Variables configuration
-observe.admin.resume.no.operation.done=No operation done.
-observe.admin.resume.operation.canceled=operation canceled
-observe.admin.resume.operation.done=operation done
-observe.admin.resume.operation.failed=operation failed
-observe.admin.resume.operation.need.fix=operation need fix
-observe.admin.resume.operation.not.started=operation not started
-observe.admin.resume.operation.running=operation is running...
observe.backup.done=[%s] Auto backup done (in %s)
observe.backup.start=[%s] Start auto backup
observe.choice.cancel=Cancel
@@ -433,7 +426,6 @@ observe.common.gps.gpsPoint=Gps point
observe.common.label=Label
observe.common.lengthWeightFormula=Length weight formula
observe.common.no.unit=No unit
-observe.common.operation.resume=Summary of operations
observe.common.resume=Summary
observe.common.saveFile.overwrite=file alreayd exists, would you like to overwrite it?
observe.common.saveFile.overwrite.cancel=Cancel
@@ -593,8 +585,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Save local database
observe.constant.AdminStep.SAVE_LOCAL.description=Save modifcations on local database
observe.constant.AdminStep.SELECT_DATA=Select data
observe.constant.AdminStep.SELECT_DATA.description=Select data for operations
-observe.constant.AdminStep.SHOW_RESUME=Summary
-observe.constant.AdminStep.SHOW_RESUME.description=Summary of operations
observe.constant.AdminStep.SYNCHRONIZE=Update referential
observe.constant.AdminStep.SYNCHRONIZE.description=Update referential
observe.constant.AdminStep.VALIDATE=Validation
=====================================
observe-i18n/src/main/i18n/translations/observe_es_ES.properties
=====================================
@@ -374,13 +374,6 @@ observe.admin.report.select.file.tip=Elegir el archivo de definición de informe
observe.admin.report.title=Ayuda a la generación de informes
observe.admin.report.title.tip=Ayuda a la generación del informe de fin del embarque
observe.admin.report.variables=Configuración de variables
-observe.admin.resume.no.operation.done=Ninguna operación realizada
-observe.admin.resume.operation.canceled=operación cancelada
-observe.admin.resume.operation.done=operacion realizada
-observe.admin.resume.operation.failed=operación no realizada
-observe.admin.resume.operation.need.fix=la operación necesita correcciones
-observe.admin.resume.operation.not.started=operación no empezada
-observe.admin.resume.operation.running=operación en curso...
observe.backup.done=[%s] Copia de seguridad automática realizada (en %s)
observe.backup.start=[%s] Inicio de copia de seguridad automática
observe.choice.cancel=Cancelar
@@ -433,7 +426,6 @@ observe.common.gps.gpsPoint=Punto GPS
observe.common.label=Texto
observe.common.lengthWeightFormula=Relación de peso
observe.common.no.unit=No unit \#TODO
-observe.common.operation.resume=Resumen de operaciones
observe.common.resume=Resumen de la configuración
observe.common.saveFile.overwrite=El archivo ya existe. Quiere reemplazar lo ?
observe.common.saveFile.overwrite.cancel=Cancelar
@@ -593,8 +585,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Copia local de seguridad
observe.constant.AdminStep.SAVE_LOCAL.description=Guardar las modificaciones realizadas en la base original
observe.constant.AdminStep.SELECT_DATA=Selección de datos
observe.constant.AdminStep.SELECT_DATA.description=Selección de los datos para la realización de los operaciones
-observe.constant.AdminStep.SHOW_RESUME=Resumen
-observe.constant.AdminStep.SHOW_RESUME.description=Ver un resumen de los operaciones realizadas
observe.constant.AdminStep.SYNCHRONIZE=Actualización del referencial
observe.constant.AdminStep.SYNCHRONIZE.description=Actualizar el referencial con una base central
observe.constant.AdminStep.VALIDATE=Validación
=====================================
observe-i18n/src/main/i18n/translations/observe_fr_FR.properties
=====================================
@@ -374,13 +374,6 @@ observe.admin.report.select.file.tip=Choisir le fichier de définition des repor
observe.admin.report.title=Aide à la génération de rapport
observe.admin.report.title.tip=Aide à la génération du rapport de fin d'embarquement
observe.admin.report.variables=Configuration des variables
-observe.admin.resume.no.operation.done=Aucune opération réalisée.
-observe.admin.resume.operation.canceled=opération annulée
-observe.admin.resume.operation.done=opération réussie
-observe.admin.resume.operation.failed=opération échouée
-observe.admin.resume.operation.need.fix=opération nécessitant des corrections
-observe.admin.resume.operation.not.started=opération non démarrée
-observe.admin.resume.operation.running=opération en cours...
observe.backup.done=[%s] Fin de la sauvegarde automatique (en %s)
observe.backup.start=[%s] Début de la sauvegarde automatique
observe.choice.cancel=Annuler
@@ -433,7 +426,6 @@ observe.common.gps.gpsPoint=Point GPS
observe.common.label=Libellé
observe.common.lengthWeightFormula=Relation Poids
observe.common.no.unit=Pas d'unité
-observe.common.operation.resume=Résumé des opérations
observe.common.resume=Résumé de la configuration
observe.common.saveFile.overwrite=Le fichier existe déjà. Voulez-vous le remplacer ?
observe.common.saveFile.overwrite.cancel=Annuler
@@ -593,8 +585,6 @@ observe.constant.AdminStep.SAVE_LOCAL=Sauvegarde locale
observe.constant.AdminStep.SAVE_LOCAL.description=Sauver les modifications sur votre base source
observe.constant.AdminStep.SELECT_DATA=Sélection des données
observe.constant.AdminStep.SELECT_DATA.description=Sélection des données pour effectuer les opérations
-observe.constant.AdminStep.SHOW_RESUME=Résumé
-observe.constant.AdminStep.SHOW_RESUME.description=Voir un résumé des opérations effectuées
observe.constant.AdminStep.SYNCHRONIZE=Mise à jour du référentiel
observe.constant.AdminStep.SYNCHRONIZE.description=Mettre à jour le référentiel depuis une base centrale
observe.constant.AdminStep.VALIDATE=Validation
=====================================
persistence/src/main/java/fr/ird/observe/entities/data/ps/observation/FloatingObjectTopiaDao.java deleted
=====================================
@@ -1,99 +0,0 @@
-package fr.ird.observe.entities.data.ps.observation;
-
-/*
- * #%L
- * ObServe :: Persistence
- * %%
- * Copyright (C) 2008 - 2020 IRD, Code Lutin, Ultreia.io
- * %%
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
- * #L%
- */
-
-import fr.ird.observe.dto.referential.I18nReferentialHelper;
-import fr.ird.observe.entities.referential.ps.common.ObjectOperation;
-import fr.ird.observe.entities.referential.ps.common.ObjectOperationImpl;
-import org.nuiton.topia.persistence.support.TopiaSqlQuery;
-import org.nuiton.topia.persistence.support.TopiaSqlSupport;
-
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.util.List;
-
-public class FloatingObjectTopiaDao extends AbstractFloatingObjectTopiaDao<FloatingObject> {
-
- public List<FloatingObject> findAllStubByActivityId(String activityId, int referenceLocale) {
-
- return StubSqlQuery.findAll(topiaSqlSupport, activityId, referenceLocale);
-
- }
-
- private static class StubSqlQuery extends TopiaSqlQuery<FloatingObject> {
-
- private final String sql;
-
- private final String id;
-
- private final int referenceLocale;
-
- static List<FloatingObject> findAll(TopiaSqlSupport context, String activityId, int referenceLocale) {
-
- String sql = "SELECT" +
- " fo.topiaId," +
- " ot." + I18nReferentialHelper.getPropertyName(referenceLocale) +
- " FROM ps_observation.floatingobject fo, ps_common.objectOperation ot" +
- " WHERE " +
- " fo.activity = ?" +
- " AND fo.objectOperation = ot.topiaid" +
- " ORDER BY ot." + I18nReferentialHelper.getPropertyName(referenceLocale);
-
- StubSqlQuery request = new StubSqlQuery(sql, activityId, referenceLocale);
- return context.findMultipleResult(request);
-
- }
-
- StubSqlQuery(String sql, String id, int referenceLocale) {
- this.sql = sql;
- this.id = id;
- this.referenceLocale = referenceLocale;
- }
-
- @Override
- public PreparedStatement prepareQuery(Connection connection) throws SQLException {
- PreparedStatement preparedStatement = connection.prepareStatement(sql);
- preparedStatement.setString(1, id);
- return preparedStatement;
- }
-
- @Override
- public FloatingObject prepareResult(ResultSet set) throws SQLException {
-
- FloatingObject floatingObject = new FloatingObjectImpl();
- floatingObject.setTopiaId(set.getString(1));
-
- String objectTypeLabel = set.getString(2);
- ObjectOperation objectType = new ObjectOperationImpl();
- I18nReferentialHelper.setLabel(referenceLocale, objectType, objectTypeLabel);
- floatingObject.setObjectOperation(objectType);
-
- return floatingObject;
-
- }
-
- }
-
-}
=====================================
pom.xml
=====================================
@@ -24,7 +24,7 @@
<parent>
<groupId>io.ultreia.maven</groupId>
<artifactId>pom</artifactId>
- <version>2020.18</version>
+ <version>2020.19</version>
</parent>
<groupId>fr.ird.observe</groupId>
@@ -170,7 +170,7 @@
<!-- <lib.version.java4all.topia>1.17</lib.version.java4all.topia>-->
<!--<lib.version.java4all.eugene>3.0<-alpha-22</lib.version.java4all.eugene>-->
-<!-- <lib.version.java4all.jaxx>3.0-alpha-66-SNAPSHOT</lib.version.java4all.jaxx>-->
+<!-- <lib.version.java4all.jaxx>3.0-alpha-67-SNAPSHOT</lib.version.java4all.jaxx>-->
<!--<lib.version.java4all.application-context>1.0.3-SNAPSHOT</lib.version.java4all.application-context>-->
<!--<lib.version.java4all.application-template>1.0.2-SNAPSHOT</lib.version.java4all.application-template>-->
<!--<lib.version.java4all.i18n>4.0-beta-3-SNAPSHOT</lib.version.java4all.i18n>-->
=====================================
services-local/src/main/java/fr/ird/observe/services/local/service/actions/consolidate/ConsolidateDataServiceLocal.java
=====================================
@@ -375,6 +375,12 @@ public class ConsolidateDataServiceLocal extends ObserveServiceLocal implements
private void updateDcp(FloatingObject dcp, ConsolidationActivitySeineDataContext activityContext) {
+ if (dcp.getObjectOperation() == null) {
+ log.warn("**********************");
+ log.warn(String.format("Floating object %s has no object operation....", dcp.getTopiaId()));
+ log.warn("**********************");
+ return;
+ }
FloatingObjectConsolidateEngine floatingObjectConsolidateEngine = activityContext.floatingObjectConsolidateEngine;
ReferentialLocale referentialLocale = getReferentialLocale();
=====================================
services-local/src/main/java/fr/ird/observe/services/local/service/data/ps/observation/FloatingObjectServiceLocal.java
=====================================
@@ -48,7 +48,6 @@ import fr.ird.observe.entities.referential.ps.common.TransmittingBuoyOperation;
import fr.ird.observe.entities.referential.ps.common.TransmittingBuoyOwnership;
import fr.ird.observe.entities.referential.ps.common.TransmittingBuoyType;
import fr.ird.observe.entities.referential.ps.observation.ObjectMaterial;
-import fr.ird.observe.entities.referential.ps.observation.ObjectMaterialTopiaDao;
import fr.ird.observe.entities.referential.ps.observation.ObservedSystem;
import fr.ird.observe.services.local.service.ObserveServiceLocal;
import fr.ird.observe.services.service.data.ps.observation.FloatingObjectService;
@@ -76,16 +75,14 @@ public class FloatingObjectServiceLocal extends ObserveServiceLocal implements F
@Override
public ObjectMaterialHierarchyDto getObjectMaterialHierarchy() {
- ObjectMaterialTopiaDao dao = getTopiaPersistenceContext().getPsObservationObjectMaterialDao();
- List<ObjectMaterial> objectMaterials = dao.findAll();
+ List<ObjectMaterial> objectMaterials = ObjectMaterial.getDao(getTopiaPersistenceContext()).findAll();
objectMaterials.sort(Comparator.comparing(ObjectMaterial::getCode));
return getObjectMaterialHierarchyDtos(objectMaterials).get(0);
}
@Override
public DataDtoReferenceSet<FloatingObjectReference> getFloatingObjectByActivitySeine(String activitySeineId) {
- ReferentialLocale referenceLocale = getReferentialLocale();
- List<FloatingObject> entities = FloatingObject.getDao(getTopiaPersistenceContext()).findAllStubByActivityId(activitySeineId, referenceLocale.ordinal());
+ Set<FloatingObject> entities = Activity.loadEntity(getTopiaPersistenceContext(), activitySeineId).getFloatingObject();
return FloatingObject.toReferenceSet(entities, getReferentialLocale());
}
=====================================
services/src/main/java/fr/ird/observe/services/service/CleanTemporaryFilesTask.java
=====================================
@@ -64,6 +64,9 @@ public class CleanTemporaryFilesTask extends TimerTask {
public void run() {
Path temporaryDirectory = configuration.getTemporaryDirectory().toPath();
+ if (Files.notExists(temporaryDirectory)) {
+ return;
+ }
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
calendar.add(Calendar.HOUR_OF_DAY, -configuration.getTemporaryFilesTimeout());
=====================================
services/src/main/java/fr/ird/observe/services/service/data/ll/pairing/ActivityLonglinePairingResultItem.java
=====================================
@@ -75,7 +75,7 @@ public class ActivityLonglinePairingResultItem implements SimpleDto {
long days = TimeUnit.MINUTES.toDays(computedTime);
long hours = TimeUnit.MINUTES.toHours(computedTime) % 24;
long minutes = TimeUnit.MINUTES.toMinutes(computedTime) % 60;
- computedTimeStr += String.format("%s:%s:%s", days, hours, minutes);
+ computedTimeStr += String.format("%s:%s:%s", Math.abs(days), Math.abs(hours), Math.abs(minutes));
}
return computedTimeStr;
}
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/77b6cb12c26f67f9db87cec8…
--
View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/77b6cb12c26f67f9db87cec8…
You're receiving this email because of your account on gitlab.com.
1
0