Commit Graph

18 Commits

Author SHA1 Message Date
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
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
Joel Pearson
4a5e204e16 Adding PDF support #130 2023-02-17 19:43:59 +01:00
Florian
9cb9cec6ca update jetty and tomcat to latest version 2021-10-17 18:46:03 +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
Tri Nguyen
18d461a38a Set compiler version for jsp servlet to 1.7 2019-03-14 15:04:11 -04:00
Arnaud Roques
7ad8b8033d Add Base64 support 2018-03-19 22:28:19 +01:00
Jesse Tan
7f6a69ccbd Register eps servlets 2017-06-28 12:58:46 +02:00
Arnaud Roques
94fb4cd383 HTTP redirect after POST 2016-05-18 22:45:58 +02:00
maximesinclair
9ca32c8d22 [FEATURE] Draft of the Check Syntax service 2014-02-15 19:20:34 +01:00
Maxime Sinclair
f0493c581c [FEATURE] PNG added to the url format
The old URL format http://server/plantuml/img/... is now relaced by
http://server/plantuml/png/...
2013-12-18 19:17:47 +01:00
maximesinclair
7c8f361826 [FEATURE] Proxy redesign, first step 2013-11-25 22:35:58 +01:00
Maxime Sinclair
45eb47839d [TASK] JEE 5 upgrade
JEE5 Servlet2.5 JSP2.1 JSTL1.2
2013-10-17 16:45:15 +02:00
Maxime Sinclair
97f00051f0 [FEATURE] Stub implementation of the new map service 2013-07-17 10:11:03 +02:00
Maxime Sinclair
d7ecaaa992 Refactoring of the Proxy service 2013-07-09 15:44:36 +02:00
Pablo Lalloni
e489e631eb Restore previous welcome servlet path to serve static resources
correctly.

Add jetty default servlet parameter to allow "servlet welcome files".
2011-11-12 20:54:15 -03: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