Skip to content

Commit

Permalink
Update Web App Drawio
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamaster committed Oct 5, 2024
1 parent 530b558 commit 3182c05
Show file tree
Hide file tree
Showing 3,242 changed files with 1,444,814 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions app/web-app/drawio/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

32 changes: 32 additions & 0 deletions app/web-app/drawio/WEB-INF/appengine-web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">

<threadsafe>true</threadsafe>
<sessions-enabled>false</sessions-enabled>
<runtime>java8</runtime>

<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>

<!-- Path patterns not supported in production -->
<static-files>
<include path="/**">
<http-header name="Referrer-Policy" value="strict-origin"/>
<http-header name="Access-Control-Allow-Origin" value="*"/>
<http-header name="X-XSS-Protection" value="1; mode=block"/>
<http-header name="X-Content-Type-Options" value="nosniff"/>
</include>
</static-files>

<!-- App engine has conflicting interfaces for javax.cache.CacheManager -->
<class-loader-config>
<priority-specifier filename="cache-api-1.1.1.jar"/>
</class-loader-config>

<instance-class>F1</instance-class>
<automatic-scaling>
<max-idle-instances>1</max-idle-instances>
</automatic-scaling>
</appengine-web-app>
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/cloud_convert_api_key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_cloud_convert_api_key
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/dropbox_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_dropbox_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/dropbox_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_dropbox_client_secret
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/github_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_github_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/github_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_github_client_secret
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/gitlab_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_gitlab_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/gitlab_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_gitlab_client_secret
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/google_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_google_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/google_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_google_client_secret
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/iconfinder_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_iconfinder_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/iconfinder_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_iconfinder_client_secret
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/web-app/drawio/WEB-INF/lib/ehcache-3.8.1.jar
Binary file not shown.
Binary file added app/web-app/drawio/WEB-INF/lib/gae-stub-1.0.9.jar
Binary file not shown.
Binary file added app/web-app/drawio/WEB-INF/lib/gson-2.8.9.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/web-app/drawio/WEB-INF/lib/servlet-api.jar
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions app/web-app/drawio/WEB-INF/logging.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set the default logging level for all loggers to WARNING
.level = CONFIG
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/msgraph_client_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_microsoft_graph_client_id
1 change: 1 addition & 0 deletions app/web-app/drawio/WEB-INF/msgraph_client_secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace_with_your_own_microsoft_graph_client_secret
4 changes: 4 additions & 0 deletions app/web-app/drawio/WEB-INF/pusher_properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
app_id=Replace_with_your_pusher_app_id
key=Replace_with_your_pusher_key
secret=Replace_with_your_pusher_secret
cluster=Replace_with_your_pusher_cluster
144 changes: 144 additions & 0 deletions app/web-app/drawio/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<description/>
<display-name>ProxyServlet</display-name>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>com.mxgraph.online.ProxyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>/proxy</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>EmbedServlet</display-name>
<servlet-name>EmbedServlet</servlet-name>
<servlet-class>com.mxgraph.online.EmbedServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>EmbedServlet</servlet-name>
<url-pattern>/embed.js</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>EmbedServlet2</display-name>
<servlet-name>EmbedServlet2</servlet-name>
<servlet-class>com.mxgraph.online.EmbedServlet2</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>EmbedServlet2</servlet-name>
<url-pattern>/embed2.js</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>ImgurRedirect</display-name>
<servlet-name>ImgurRedirect</servlet-name>
<servlet-class>com.mxgraph.online.ImgurRedirectServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ImgurRedirect</servlet-name>
<url-pattern>/i/*</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>GitHubAuthServlet</display-name>
<servlet-name>GitHubAuthServlet</servlet-name>
<servlet-class>com.mxgraph.online.GitHubAuthServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GitHubAuthServlet</servlet-name>
<url-pattern>/github2</url-pattern>
</servlet-mapping>
<servlet>
<display-name>LogServlet</display-name>
<servlet-name>LogServlet</servlet-name>
<servlet-class>com.mxgraph.online.LogServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LogServlet</servlet-name>
<url-pattern>/log</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>MSGraphAuthServlet</display-name>
<servlet-name>MSGraphAuthServlet</servlet-name>
<servlet-class>com.mxgraph.online.MSGraphAuthServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MSGraphAuthServlet</servlet-name>
<url-pattern>/microsoft</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>GoogleAuthServlet</display-name>
<servlet-name>GoogleAuthServlet</servlet-name>
<servlet-class>com.mxgraph.online.GoogleAuthServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GoogleAuthServlet</servlet-name>
<url-pattern>/google</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>ConverterServlet</display-name>
<servlet-name>ConverterServlet</servlet-name>
<servlet-class>com.mxgraph.online.ConverterServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ConverterServlet</servlet-name>
<url-pattern>/convert</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>ExportProxyServlet</display-name>
<servlet-name>ExportProxyServlet</servlet-name>
<servlet-class>com.mxgraph.online.ExportProxyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ExportProxyServlet</servlet-name>
<url-pattern>/export</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ExportProxyServlet</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>GitlabAuthServlet</display-name>
<servlet-name>GitlabAuthServlet</servlet-name>
<servlet-class>com.mxgraph.online.GitlabAuthServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GitlabAuthServlet</servlet-name>
<url-pattern>/gitlab</url-pattern>
</servlet-mapping>
<servlet>
<description/>
<display-name>DropboxAuthServlet</display-name>
<servlet-name>DropboxAuthServlet</servlet-name>
<servlet-class>com.mxgraph.online.DropboxAuthServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DropboxAuthServlet</servlet-name>
<url-pattern>/dropbox</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
<mime-mapping>
<extension>manifest</extension>
<mime-type>text/cache-manifest</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mjs</extension>
<mime-type>text/javascript</mime-type>
</mime-mapping>
</web-app>
13 changes: 13 additions & 0 deletions app/web-app/drawio/clear.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Clear diagrams.net Cache</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body style="font-size: large;">
<script src="js/app.min.js"></script>
<script src="js/clear.js"></script>
</body>
</html>
Loading

0 comments on commit 3182c05

Please sign in to comment.