Commit Graph

123 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 155250286f Add dependency tests
- add `testGraphviz`: request `version` as AsciiArt and search for
  "Installation seems OK. File generation OK"
- irgnore `testGraphviz` inside github workflow tests except for the
  docker container tests, since only in the docker container case
  graphviz is available
- add `testMonacoEditorWebJar`: request `loader.js` and check if the
  server answers with status code 200
- add a note inside the pom where the webjar versions are hard coded
  inside the project
2023-05-19 23:12:22 +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 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
Joel Pearson 4a5e204e16 Adding PDF support #130 2023-02-17 19:43:59 +01: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
Florian deda3c2256 update + restructure pom and add missing javadoc 2021-10-13 12:25:18 +02:00
Florian 098e630a28 update and fix checkstyle and javadoc plugins 2021-10-11 19:22:18 +02:00
Florian 8d5be87f03 update junit test classes and there dependencies 2021-10-11 18:43:18 +02:00
Arnaud Roques 5190a72cc8 Import version 1.2021.12 2021-10-05 19:12:48 +02:00
Arnaud Roques 285d5ebfdf Import version 1.2021.10 2021-08-30 23:08:39 +02:00
Arnaud Roques 6487acdde0 Import version 1.2021.9 2021-07-26 17:21:38 +02:00
Arnaud Roques 32b8d60bf1 Import version 1.2021.8 2021-06-27 18:53:08 +02:00
Arnaud Roques 755b62c885 Import version 1.2021.7 2021-05-24 12:09:03 +02:00
Arnaud Roques c92c4de36a Import version 1.2021.6 2021-05-14 21:25:38 +02:00
Arnaud Roques d4d00ca79e Import version 1.2021.5 2021-04-26 08:47:29 +02:00
Arnaud Roques eae269348f Import version 1.2021.4 2021-04-04 23:18:44 +02:00
Arnaud Roques c4cec58783 Import version 1.2021.3 2021-03-22 22:53:54 +01:00
Arnaud Roques ac05a3c8c5 Import version 1.2021.2 2021-03-07 18:29:34 +01:00
Arnaud Roques aba539f62d Import version 1.2021.1 2021-02-02 11:13:55 +01:00
Arnaud Roques 2f8bd087b8 Import version 1.2021.0 2021-01-10 22:07:55 +01:00
Arnaud Roques a94ab06493 Import version 1.2020.26 2020-12-21 22:35:55 +01:00
Arnaud Roques 6839b93ac2 Import version 1.2020.24 2020-12-19 22:23:00 +01:00
Arnaud Roques 69f55398cb Import version 1.2020.23 2020-12-14 19:32:19 +01:00
Arnaud Roques 51b4286467 Import version 1.2020.22 2020-12-06 22:44:31 +01:00
Arnaud Roques a87a198725 Import version 1.2020.21 2020-12-01 22:50:38 +01:00