1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-01 08:00:48 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
HeinrichAD
09a7ce4973 add security features + java property support
- set `ALLOW_PLANTUML_INCLUDE` only once and decentralized inside the `DiagramResponse` class and call this init method after initializing the server
- set `PLANTUML_SECURITY_PROFILE` to `INTERNET` by default (BREAKING CHANGES)
- add possibility to set PlantUML system properties over a file with `PLANTUML_PROPERTY_FILE`
- adjust documentation
- add "Breaking changes" hint to README
2023-06-13 22:57:07 +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
Arnaud Roques
ebece93726 Update to version 1.2023.5 2023-04-10 16:26:56 +02:00
Thomas Mons
cf717eff0c Introduced parameter PLANTUML_CONFIG_FILE, that allows to specify a PlantUML config file. 2022-07-29 12:49:22 +02:00
aadrian
dcc06f9afc CORS should work for imagemaps too. 2022-06-29 23:35:41 +02:00
Florian
3763ee737e Improve multipage (index) handling 2021-10-18 15:40:40 +02: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
Arnaud Roques
9bc56edca6 Fix security #122 2019-09-26 19:13:07 +02:00
Arnaud Roques
83138142c5 Fix security #122 2019-09-26 19:08:48 +02:00
Arnaud Roques
2b4fbe2452 version 1.2019.6 2019-05-25 13:10:30 +02:00
Rob Oxspring
5ef45f643d Extracted reusable doDiagramResponse() method 2018-04-19 12:39:09 +01:00
Rob Oxspring
ad09f193f4 Add POST support 2018-04-18 23:30:33 +01:00
Arnaud Roques
263bbf59da add Access-Control-Allow-Origin 2018-03-20 19:13:37 +01:00
Arnaud Roques
7ad8b8033d Add Base64 support 2018-03-19 22:28:19 +01:00
Arnaud Roques
353b089904 version 1.2018.2 2018-03-09 22:51:16 +01:00
Arnaud Roques
b9bb9c71c5 Fix "map" issue that was broken 2017-12-12 17:53:04 +01:00
Jesse Tan
77244844e4 Set Eps mime type 2017-06-28 12:59:09 +02:00
Arnaud Roques
09140bb9d8 version 1.2017.14 2017-06-05 13:32:25 +02:00
Arnaud Roques
f37bbe9d41 version 2017.11 2017-04-19 21:41:42 +02:00
Arnaud Roques
67e9aeb992 version 2017.09 2017-04-05 21:57:35 +02:00
maximesinclair
9ca32c8d22 [FEATURE] Draft of the Check Syntax service 2014-02-15 19:20:34 +01:00
maximesinclair
9401ab4a61 [FEATURE] Checkstyle violations fail the Build 2014-02-15 19:20:32 +01:00
Maxime Sinclair
fd2b6e7c02 [TASK] Checkstyle report and mvn site configuration 2014-02-06 18:28:06 +01:00
maximesinclair
ac9d0e02ca [BUGFIX] Trick to avoid a lot of IllegalStateException 2013-10-31 22:54:53 +01:00
Maxime Sinclair
0495ccdfc2 [TASK] Remove useless flush 2013-09-24 12:36:05 +02:00
maximesinclair
beb8c490b0 [BUGFIX] Text/plain outputs always in unicode 2013-09-13 19:55:07 +02:00
Maxime Sinclair
13ac55e09e [FEATURE] Map service totally implemented 2013-08-19 16:07:38 +02:00
Maxime Sinclair
bedc5b49ce [FEATURE] Design evolution of the map service
Map implementation is still an empty stub
2013-08-14 09:44:19 +02:00
Maxime Sinclair
ce168633ad [TASK] Full coding style clean up 2013-07-10 17:07:24 +02:00
Pablo Lalloni
89c4d91b41 Project fully mavenized with functionality exceeding previous Ant build.xml implemented (except deployment to servlet container, which can be easily added).
Improved unit tests to be independent of externally running servlet container, now every test runs its own embedded jetty server (and stops it afterward).

Removed all eclipse artifacts (.project, .classpath, .settings, etc.) and added to .gitignore to be independent of development environment (can be autogenerated by maven, or better yet use m2eclipse).

Removed embedded dependency jars since they are handled automatically by maven.
2011-11-02 19:11:52 -03:00