Commit Graph

29 Commits

Author SHA1 Message Date
HeinrichAD 98dfd1763a create parent pom to improve the maintanace 2023-06-09 17:31:19 +02:00
Arnaud Roques 4cbefc3dcc Import version 1.2023.8 2023-05-22 18:03:58 +02:00
Florian 478ef3bce7 front-end code refactoring
Since the front-end received much more code (features) than first expected, the files became much too large. For this reason, the JS and CSS code has now been split by component and thus into several small files. However, since there are now many small files, a JS and CSS bundle tool had to come :D.
2023-05-19 13:55:18 +02:00
Arnaud Roques 6c2bae2f8a chore: update to version 1.2023.7 2023-05-15 18:38:27 +02:00
Florian ec7b9f9b1a Add `metadata` Servlet
- add new servlet to get meta data from PlantUML diagram
- meta data get not only be requested as text but also as json if you set the `Accept`-header to json
- add `metadata` servlet tests
- GET: like the Proxy where you can pass a URL which the servlet will use to fetch the diagram image
- POST: file upload
2023-05-11 21:34:32 +02:00
Florian 6538be2047 fix: PDF servlet
Since the update of `bastik` the PDF servlet didn't work anymore.

Problems:
- No PDF UnitTest existed
- Pom dependency `org.apache.xmlgraphics.batik-all` change nearly every dependency to `optional` starting with version `1.15`, hence some important dependencies like the SVG converter were missing
- `DiagramResponse.CONTENT_TYPE` had no mime type value for PDF

Changes:
- add PDF UnitTest
- remove `batik-all` dependency and only include the dependencies PlantUML requires for the PDF generation:
  * batik-dom
  * batik-svgrasterizer (includes batik-dom)
  * batik-svggen
  * fop
- remove own `DiagramResponse.CONTENT_TYPE` mapping and use `FileFormat.getMimeType()`
2023-05-09 19:45:21 +02:00
Florian 323aad1525 JDK8 problem checkstyle
no JDK8 support starting version 10.0.0
https://checkstyle.org/releasenotes.html#Release_10.0
2023-05-05 17:33:39 -04:00
Florian e5d11fb89a update all dependencies (maven artifacts)
- PDF dependency was missing in the pom file the JDK8
  * We should think about creating a parent pom - in that case all plantuml dependencies could be in the parent pom and we would only the mantain one pom file.
    (It is also possible to drop the Java 8 support.)
  * Why do we not have any PDF tests?
- add rule to ignore version update hint with `-dev` followed by a dot and date (e.g. `0.37.0-dev.20230308`)
- migration from JUnit4 to JUnit5
2023-05-05 17:33:39 -04:00
Florian f727c6dd13 frontend 2.0: initial version
- auto refresh function
- light and dark theme
- monaco editor (vscode) with "apex" as syntax highlighting language
  * apex seems to work quite fine (better than no highlighting)
  * future possibility: own plantuml language syntax support
  * future possibility: autocomplete (to much work but maybe partial)
    - implemented example for `!theme ...`
    - implemented example for `<&icon>`
  * future possibility: code validation
    - implemented example for `@start...` and `@end...`:
      * should be the first or last command
      * should be of the some type (e.g. `@startyaml` and @endyaml)
      * should be used exactly once per document/diagram
- editor and preview is splitable into two windows like the
  "Extract window" functionality on
  (plantuml.com)[https://www.plantuml.com/plantuml]
- multi index / multi paging diagram support
- diagram can be displayed/rended as PNG, SVG, ASCII Art or PDF
- Ctrl+s download the PlantUML Code as code file (diagram.puml)
- Ctrl+, opens the settings and Esc closes the settings
2023-05-03 13:23:47 -04:00
Arnaud Roques 3ef176edae chore: update to 1.2023.6 2023-04-18 22:46:32 +02:00
Arnaud Roques ebece93726 Update to version 1.2023.5 2023-04-10 16:26:56 +02:00
Arnaud Roques 8cb5ca0daf Version 1.2023.1 2023-01-29 23:48:19 +01:00
Arnaud Roques 823b506900 Import version 1.2023.0 2023-01-12 20:01:23 +01:00
Arnaud Roques b458bfad19 Version 1.2022.14 2022-12-07 22:51:38 +01:00
Arnaud Roques efd53664f2 Import version 1.2022.13 2022-11-20 10:37:51 +01:00
Arnaud Roques 052a7ea96f Import version 1.2022.12 2022-11-05 13:05:40 +01:00
Arnaud Roques b8cb1e2ff0 Version 1.2022.7 2022-08-23 19:20:37 +02:00
Arnaud Roques dd028e9579 Import version 1.2022.6 2022-06-22 09:42:33 +02:00
Arnaud Roques 94678b720e Import version 1.2022.5 2022-05-26 10:15:44 +02:00
Arnaud Roques ba6af87b2d Import version 1.2022.4 2022-04-10 23:09:48 +02:00
Arnaud Roques 249163e149 Import version 1.2022.3 2022-03-30 17:52:44 +02:00
Arnaud Roques cebca916fe Import version 1.2022.2 2022-03-07 21:57:53 +01:00
Arnaud Roques 5e0ccaf328 Import version 1.2022.0 2022-01-12 19:43:56 +01:00
Arnaud Roques 54016d325d Fully remove log4j use 2021-12-12 15:01:14 +01:00
Arnaud Roques e5cb82ef2c Import version 1.2021.16 2021-12-08 21:49:32 +01:00
Arnaud Roques 7c578c482f Import version 1.2021.15 2021-11-30 23:33:33 +01:00
Arnaud Roques d99366a33d Import version 1.2021.14 2021-11-12 18:36:59 +01:00
Arnaud Roques aea068abed Update version 2021-11-11 12:19:51 +01:00
Florian 9cb9cec6ca update jetty and tomcat to latest version 2021-10-17 18:46:03 +02:00