1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-11 04:32:25 +00:00
Commit Graph

87 Commits

Author SHA1 Message Date
Florian
e6566b58bd revert missing tests + small fixes
- revert the 4 missing tests, e.g. proxy test from commit 20468f5
- add virtual host name `test.localhost` to embedded jetty server
  (JUnit Tests) since localhost and IP-Addresses are no longer
  supported by the proxy and use this address inside proxy `src`
- add `test-localhost` support for the docker tests. To support
  this the docker hostname need to be set to test.localhost by:
  `--hostname=test.localhost` (only for the docker tests)
- proxy: add file format support for PDF
- proxy: add error messages on "bad request" response
- proxy: remove dead code
- old proxy: add error messages on "bad request" response
- fix incorrect README link to docs
- add `HTTP_PROXY_READ_TIMEOUT` option -- close #240
2023-05-04 18:30:58 -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
Florian
763976abdd add servlet to encode and decode diagrams
.
2023-04-18 23:07:59 +02:00
Arnaud Roques
ebece93726 Update to version 1.2023.5 2023-04-10 16:26:56 +02:00
Florian Heinrich
638724925e Refactoring relative paths PR#209.
- use html `base` tag containing the context path once instead inside
every single URL/link.
- update and enhance `nginx-contextpath` example
- export javascript code into separated file
- Add TODO note to javascript clipboard check (from PR#250) since
Firefox and Safari do not support the current implementation
2023-03-21 14:14:09 +01:00
Florian
99f85c0c9b Use relative paths as far as possible.
Switch from absolute paths `hostpath` to relative paths `contextpath`.
Unfortunately, for the url input javascript is necessary to resolve the
relative url.
Also see Issue #205.
2023-02-24 09:26:48 +01:00
Joel Pearson
4a5e204e16 Adding PDF support #130 2023-02-17 19:43:59 +01:00
Arnaud Roques
20468f5bd9 Temporary remove tests 2022-12-06 19:18:43 +01:00
Arnaud Roques
df9c10604a improve tests 2022-12-06 19:06:00 +01:00
Arnaud Roques
0154160c7d Improve tests 2022-12-06 18:52:30 +01:00
Arnaud Roques
4d65def8bb Improve proxy management 2022-12-06 18:42:54 +01: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
2d011e233e The ProxyServlet should handle maps too. 2022-06-29 23:35:41 +02:00
aadrian
dcc06f9afc CORS should work for imagemaps too. 2022-06-29 23:35:41 +02:00
Arnaud Roques
c94711c2d5 code formatting 2022-01-22 13:08:43 +01:00
Arnaud Roques
b995dcdb61 Code formatting 2022-01-22 13:07:01 +01:00
Arnaud Roques
494dfba063 textarea improvement 2022-01-22 13:03:15 +01: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
Florian
8d5be87f03 update junit test classes and there dependencies 2021-10-11 18:43: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
Arnaud Roques
e98937d0b3 ALLOW_PLANTUML_INCLUDE 2019-05-20 20:12:41 +02:00
Carlo Sciolla
887a5055f2
New servlet to expose the language tokens of the PlantUML engine
Same as `java -jar plantum.jar -language`, a new servlet is added to
expose the tokens supported by the current version of the PlantUML engine.
Useful to support tools relying on a running PlantUML server to support
syntax highlight.
2019-05-20 15:06:38 +02:00
Norbert.Nogacki@tomtom.com
a53416b4da Added support for Authorization header 2019-05-17 16:24:27 +02:00
Arnaud Roques
bd49d5cf7f version 1.2019.4 2019-03-29 21:53:36 +01: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
7293235cd6 Update documentation 2017-06-28 13:01:01 +02:00
Jesse Tan
68b819844d Add eps format to proxy 2017-06-28 12:59:27 +02:00
Jesse Tan
77244844e4 Set Eps mime type 2017-06-28 12:59:09 +02:00
Jesse Tan
7befd01a7f Add EpsServlet and EpsTextServlet 2017-06-28 12:55:38 +02:00
Arnaud Roques
09140bb9d8 version 1.2017.14 2017-06-05 13:32:25 +02:00
Arnaud Roques
d7a8a7e698 Running PlantUML as ROOT.war 2017-04-21 22:38:08 +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
Arnaud Roques
8be5f6284e HTTP redirect after POST 2016-05-18 22:57:56 +02:00
Arnaud Roques
8737cea8e6 HTTP redirect after POST 2016-05-18 22:55:16 +02:00
Arnaud Roques
85699130d0 HTTP redirect after POST 2016-05-18 22:49:58 +02:00
Arnaud Roques
94fb4cd383 HTTP redirect after POST 2016-05-18 22:45:58 +02:00
arnaudroques
e7ed068417 Fix format management 2015-12-10 19:38:37 +01:00
Maxime Sinclair
d3e42fd17a Parameter 'format' changed to 'fmt'
and System.out deletion
2015-12-10 16:43:56 +01:00
Shane McCarron
d21bb445f8 Added support for specifying format to proxy
The proxy servlet only could generate PNG. Should be possible to
proxy the other supported formats too.
2015-12-07 09:49:17 -06:00