pawelrojek / nextcloud-drawio Goto Github PK
View Code? Open in Web Editor NEWDraw.io intergration app
Home Page: https://apps.nextcloud.com/apps/drawio
License: GNU Affero General Public License v3.0
Draw.io intergration app
Home Page: https://apps.nextcloud.com/apps/drawio
License: GNU Affero General Public License v3.0
Hi,
there is a problem with the actual drawio on nextcloud 13.
All groups (or subgroups) will be displayed seperatly, not grouped by parents. (For example the main group AWS doesn't show up but rather its childs in format AWS / Analytics or AWS / Database ...)
Thanks.
draw.io is able to load and save diagrams as SVG with embedded XML. It would be very nice if this would also be possible with this app, as the SVG format has the advantage that it can also be imported by other applications. Although I was able to add a mime type so that such SVGs are opened correctly, saving always converts a file to XML (in contrast to the usual behavior of draw.io).
Is this app tested on nextcloud 13?
No errors in logs.
Errors in log:
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist",
Operating system: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64
Webserver: Caddy/0.11.1 (fpm-fcgi)
Database: mariadb 10.1.37
PHP version:
7.2.12
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, readline, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, exif, gd, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 14.0.4 - 14.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install: updated
Where did you install Nextcloud from: Docker
Array
(
)
Enabled:
- accessibility: 1.0.1
- activity: 2.7.0
- admin_audit: 1.4.0
- announcementcenter: 3.3.1
- apporder: 0.6.0
- audioplayer: 2.4.1
- bruteforcesettings: 1.2.0
- calendar: 1.6.4
- camerarawpreviews: 0.6.1
- checksum: 0.4.1
- circles: 0.15.2
- cloud_federation_api: 0.0.1
- comments: 1.4.0
- contacts: 2.1.7
- dav: 1.6.0
- deck: 0.5.0
- drawio: 0.9.1
- dropit: 0.1.3
- external: 3.1.0
- federatedfilesharing: 1.4.0
- federation: 1.4.0
- files: 1.9.0
- files_downloadactivity: 1.3.0
- files_external: 1.5.0
- files_linkeditor: 1.0.7
- files_markdown: 2.0.5
- files_pdfviewer: 1.3.2
- files_retention: 1.3.0
- files_rightclick: 0.8.4
- files_sharing: 1.6.2
- files_texteditor: 2.6.0
- files_trashbin: 1.4.1
- files_versions: 1.7.1
- files_videoplayer: 1.3.0
- firstrunwizard: 2.3.0
- flowupload: 0.0.8
- gallery: 18.1.0
- groupfolders: 1.3.3
- impersonate: 1.1.0
- issuetemplate: 0.4.0
- logreader: 2.0.0
- lookup_server_connector: 1.2.0
- mail: 0.11.0
- metadata: 0.8.0
- mindmaps: 0.1.0
- music: 0.9.2
- nextcloud_announcements: 1.3.0
- notes: 2.5.0
- notifications: 2.2.1
- oauth2: 1.2.1
- onlyoffice: 2.0.4
- ownpad: 0.6.8
- password_policy: 1.4.0
- polls: 0.8.3
- previewgenerator: 2.0.0
- provisioning_api: 1.4.0
- quota_warning: 1.3.0
- ransomware_protection: 1.2.0
- richdocuments: 3.0.5
- serverinfo: 1.4.0
- sharebymail: 1.4.0
- socialsharing_email: 1.0.4
- spreed: 4.0.1
- systemtags: 1.4.0
- tasks: 0.9.8
- theming: 1.5.0
- twofactor_backupcodes: 1.3.1
- twofactor_gateway: 0.11.0
- twofactor_totp: 1.5.0
- twofactor_u2f: 1.6.1
- twofactor_yubikey: 0.4.0
- updatenotification: 1.4.1
- workflowengine: 1.4.0
Disabled:
- encryption
- files_accesscontrol
- files_automatedtagging
- files_reader
- keeweb
- support
- survey_client
- user_external
- user_ldap
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "14.0.4.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"forcessl": true,
"logtimezone": "Europe\/Berlin",
"log_rotate_size": 104857600,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtpauthtype": "LOGIN",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpsecure": "ssl",
"htaccess.RewriteBase": "\/",
"htaccess.IgnoreFrontController": true,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "",
"auth.bruteforce.protection.enabled": true,
"check_for_working_webdav": true,
"maintenance": false,
"loglevel": 0,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"updater.release.channel": "stable",
"preview_max_x": 400,
"preview_max_y": 200
}
Are you using external storage, if yes which one: no
Are you using encryption:
Are you using an external user-backend, if yes which one: no
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Operating system: Windows 10 64bit
{
"reqId": "FAZsB85dPJFaf0vLa2dW",
"level": 1,
"time": "2018-11-28T21:11:02+01:00",
"remoteAddr": "***REMOVED SENSITIVE VALUE***",
"user": "SimJoSt",
"app": "no app in context",
"method": "GET",
"url": "\/settings\/admin\/additional",
"message": {
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist",
"Code": 0,
"Trace": [{
"file": "\/var\/www\/html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php",
"line": 119,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": ["OCA\\Drawio\\Settings\\AdminSettings"]
}, {
"file": "\/var\/www\/html\/lib\/private\/ServerContainer.php",
"line": 132,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": ["OCA\\Drawio\\Settings\\AdminSettings"]
}, {
"file": "\/var\/www\/html\/lib\/private\/Settings\/Manager.php",
"line": 216,
"function": "query",
"class": "OC\\ServerContainer",
"type": "->",
"args": ["OCA\\Drawio\\Settings\\AdminSettings"]
}, {
"file": "\/var\/www\/html\/lib\/private\/Settings\/Manager.php",
"line": 342,
"function": "getSettings",
"class": "OC\\Settings\\Manager",
"type": "->",
"args": ["admin", "additional"]
}, {
"file": "\/var\/www\/html\/settings\/Controller\/AdminSettingsController.php",
"line": 73,
"function": "getAdminSettings",
"class": "OC\\Settings\\Manager",
"type": "->",
"args": ["additional"]
}, {
"file": "\/var\/www\/html\/settings\/Controller\/CommonSettingsTrait.php",
"line": 126,
"function": "getSettings",
"class": "OC\\Settings\\Controller\\AdminSettingsController",
"type": "->",
"args": ["additional"]
}, {
"file": "\/var\/www\/html\/settings\/Controller\/AdminSettingsController.php",
"line": 65,
"function": "getIndexResponse",
"class": "OC\\Settings\\Controller\\AdminSettingsController",
"type": "->",
"args": ["admin", "additional"]
}, {
"file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
"line": 166,
"function": "index",
"class": "OC\\Settings\\Controller\\AdminSettingsController",
"type": "->",
"args": ["additional"]
}, {
"file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
"line": 99,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [{
"__class__": "OC\\Settings\\Controller\\AdminSettingsController"
}, "index"]
}, {
"file": "\/var\/www\/html\/lib\/private\/AppFramework\/App.php",
"line": 118,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [{
"__class__": "OC\\Settings\\Controller\\AdminSettingsController"
}, "index"]
}, {
"file": "\/var\/www\/html\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php",
"line": 47,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": ["OC\\Settings\\Controller\\AdminSettingsController", "index", {
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
}, {
"section": "additional",
"_route": "settings.AdminSettings.index"
}]
}, {
"function": "__invoke",
"class": "OC\\AppFramework\\Routing\\RouteActionHandler",
"type": "->",
"args": [{
"section": "additional",
"_route": "settings.AdminSettings.index"
}]
}, {
"file": "\/var\/www\/html\/lib\/private\/Route\/Router.php",
"line": 297,
"function": "call_user_func",
"args": [{
"__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
}, {
"section": "additional",
"_route": "settings.AdminSettings.index"
}]
}, {
"file": "\/var\/www\/html\/lib\/base.php",
"line": 987,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": ["\/settings\/admin\/additional"]
}, {
"file": "\/var\/www\/html\/index.php",
"line": 42,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}],
"File": "\/var\/www\/html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php",
"Line": 104,
"CustomMessage": "--"
},
"userAgent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/70.0.3538.110 Safari\/537.36",
"version": "14.0.4.2"
}
I have installed it with a local instance of draw.io on my Nextcloud 11.0.0.
It works fine to create a new .xml via the + button, but afterwards there is no association with draw.io of the xml files and also no menu button to start draw.io directly.
The .xml files also do not get a nice logo in the files app (but the nice logo is displayed under the + menu)
The setting for associating the xml files is activated but doesn't seem to do anything.
I am guessing that I need to modify the mimetype file similar to the gpx plugin? See:
https://gitlab.com/eneiluj/gpxedit-oc/wikis/admindoc
What would I need to write in that file and which icon image do I need to move?
In addition to #14 :
It would be really nice if you could share a link with a third person and collaborative editig a diagram. At the moment, a shared link can only download the diagram although i allowed editing using that sharelink.
?
In the latest (14.0.3) version of nextcloud, drawio is wrongly marked as incompatible. I fixed it temporarily (until the next update at least) with a hack by removing the 'disabled' attribute of the 'Enable' button in the browser and then just clicking on it. It now works fine, but probably there is somewhere where the compatibility settings need to be changed. That is all, thanks so much for porting it to Nextcloud, it is really usefull.
Hi,
we noticed that opening the drawio nextcloud app in IE11, the screen loads but the loading icon keeps rotating. Using Firefox in Windows, all seem to work ok. When directly browsing to www . draw .io in IE11, everything seems to be working as expected.
Is there a solution/workaround for this problem?
greetings,
Tom
When trying to open the details pane on a draw.io file in the web interface, the file is automatically opened. This is undesirable, when trying to adjust sharing, see versions, etc.
I think it has something to do with preview loading. After a few moments, it loads full.
It seems like there is an option to add Webdav support to draw.io,
see: https://github.com/jgraph/drawio-webdav
Maybe that would be a way to allow users to directly save to their Nextcloud instead of downloading exported images?
Hey,
first i'd like to THANK YOU for this integration 👍
I've encounterd a issue with Specialchars in Nextcloud Folder path.
In my special case its a &
that get html encoded to &
and this gets url encoded to %26amp%3B
.
e.g. https://my-awesome-nexcloud-instace/remote.php/webdav/cloud/folder1/folder2/topic1&topic2/awesome-drawio-chart.xml
sould be: https://my-awesome-nexcloud-instace/remote.php/webdav/cloud/folder1/folder2/topic1%26topic2/awesome-drawio-chart.xml
but becomes: https://my-awesome-nexcloud-instace/remote.php/webdav/cloud/folder1/folder2/topic1%26amp%3Btopic2/awesome-drawio-chart.xml
Sadly I've no time to check the sources and mark the specific lines or send you a merge request... maybe I'll find some time in the next months to do so but.... I'm realy sure you know about this "everytime busy" thing nearly every developer facing with...
THANK YOU IN ADVANCE & BEST REGARDS
When having special characters in the WebDAV path, the XML file cannot be loaded and results in an endless loading screen.
Chrome debug console:
https://my.cloud.com/remote.php/webdav/Phil%26%23039%3Bs%20Lab/Planned%20Lab%20Physical%20Overview.xml
404 (Not Found)`
It seems like it translates the special character ' into the htmlentity.
Would be great to be able to import files directly from NextCloud store files. Is there a way to achieve this without modifying draw.io?
A similar functionality would be to open importable files directly from NextCloud, I tried to do this by declaring a new mimetype "vsdx": ["application/x-drawio"]
but of course it was not enough. Maybe there is some way to make this work by automatically creating a blank .drawio or .xml file with the same name and directly call the import function from it.
Hi
Here is my scenario:
Queries/Concerns :
I hope I'm able to explain my concern coz if it uploading on public draw.io instance or somewhere else on public network.. its a serious security and information leak..
Thanks
As of version 0.89 Draw.io uses the extension ".xml". There is also an option to connect ".xml" with Draw.io.
However - since ".xml" is a very generic extension and Draw.io itself does not require to use this extension, it would be nice to have a more specific file type - e.g. ".drawio" and "application/x-drawio" as MIME type, so not all XML files get treated as diagram but you still can open diagrams with a simple click on the file. Also see Collabora which automatically opens files with the extensions ".odt", ".ods", ".docx", ".xlsx" etc..
BTW: how can a Nextcloud application can register it's own file types?
Does nextcloud-drawio need internet access?
What exactly does the setting Draw.io URL do?
We have a Nextcloud within a private network. It is only allowed internet access for updates.
Is it possible to use drawio so it does not connect to internet on the client browser side?
I guess the URL option has something to do with this.
That will make it easier to start developing or running the latest version from git.
You can then just clone the repo directly to your Nextclouds app folder.
Hi
I'm getting following error while trying to serve both over https using reverse proxy nginx here both nextcloud and drawio are hosted and served over nginx
Content: The page at 'https://my-domain.net/nextcloud/index.php/apps/drawio/468' was loaded over HTTPS, but requested an insecure resource 'http://my-domain.net/draw/?embed=1&ui=atlas&lang=en&spin=1&proto=json'. This request has been blocked; the content must be served over HTTPS.
Any idea to resolve this issue
I'm totally desperate. :(
I did update my Nextcloud to 15.0.0. Now it does not work anymore with Draw.io. What do I have to do to make Draw.io work again?
Please help me. Thank you.
mxgraph is the library behind draw.io. It should be possible to use the app inside nextcloud without having draw.io as an external dependency. That way the data would stay private and will not be sent to an external service.
There is also some example code available at:
Nextcloud displays a preview of the selected file at the top of the right pane of the file browser view.
As the drawio file is an xml file it shows the code in this preview.
This is not helpful at all. Adding to that it is only one line so there's hardly any information shown.
If a diagram gets bigger the preview takes longer and longer. For example I've got an xml-file of ~10MB. After closing the drawio app it takes quite some time for the preview to update. During this time nextcloud is not responding.
My suggestion would be to replace the preview with an image of the diagram, like the small outline window shows within drawio.
I just updated to 0.8.8 on Nextcloud 12. Without activating it.
Accessing /settings/admin throws an internal error.
In the logs I have:
"app":"index","method":"GET","url":"\/nextcloud\/settings\/admin","message":"Exception: {\"Exception\":\"OCP\\\\AutoloadNotAllowedException\",\"Message\":\"Autoload path not allowed: \\\/srv\\\/www\\\/nextcloud\\\/apps.installed\\\/drawio\\\/lib\\\/adminsettings.php\",\"Code\":0,\"Trace\":\"#0 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/autoloader.php(158): OC\\\\Autoloader->isValidPath('\\\/srv\\\/www\\\/nextcl...')\\n#1 [internal function]: OC\\\\Autoloader->load('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#2 [internal function]: spl_autoload_call('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#3 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Utility\\\/SimpleContainer.php(94): ReflectionClass->__construct('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#4 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Utility\\\/SimpleContainer.php(117): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->resolve('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#5 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/ServerContainer.php(132): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->query('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#6 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Settings\\\/Manager.php(261): OC\\\\ServerContainer->query('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#7 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Settings\\\/Manager.php(352): OC\\\\Settings\\\\Manager->query('OCA\\\\\\\\Drawio\\\\\\\\Admi...')\\n#8 \\\/srv\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/AdminSettingsController.php(138): OC\\\\Settings\\\\Manager->getAdminSettings('server')\\n#9 \\\/srv\\\/www\\\/nextcloud\\\/settings\\\/Controller\\\/AdminSettingsController.php(72): OC\\\\Settings\\\\Controller\\\\AdminSettingsController->getNavigationParameters('server')\\n#10 [internal function]: OC\\\\Settings\\\\Controller\\\\AdminSettingsController->index('server')\\n#11 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#12 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OC\\\\Settings\\\\Controller\\\\AdminSettingsController), 'index')\\n#13 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(114): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OC\\\\Settings\\\\Controller\\\\AdminSettingsController), 'index')\\n#14 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OC\\\\\\\\Settings\\\\\\\\Con...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#15 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#16 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(299): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#17 \\\/srv\\\/www\\\/nextcloud\\\/lib\\\/base.php(1000): OC\\\\Route\\\\Router->match('\\\/settings\\\/admin')\\n#18 \\\/srv\\\/www\\\/nextcloud\\\/index.php(40): OC::handleRequest()\\n#19 {main}\",\"File\":\"\\\/srv\\\/www\\\/nextcloud\\\/lib\\\/autoloader.php\",\"Line\":134}"
If activated there is no issue.
The draw.io online editor doesn't start if you share (a folder within) a draw.io xml file via public link. Instead it will just want to be downloaded.
I'm having a problem where the Icon is not visible even though it is enabled.
https://www.youtube.com/watch?v=UiVh1EjSfWM
I am using Nextcloud 12.0.3
Thanks.
Jay
CompuMatter
Thanks for your effort and the possibility to use the app also on OwnCloud10. 😃
The app works fine, but only the admin menu does not work anymore, where there is apparently a difference between NextCloud and OwnCloud. I already try to fix the problem, but you may see the issue more quickly than I do.
Thanks!
Thank you for such a nice app.
I found a minor bug in settings. I see the draw.io
part both in admin
(settings root) as well as in admin/additional
.
Operating system: Linux 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64
Web server: nginx/1.13.0 (fpm-fcgi)
Database: pgsql PostgreSQL 9.6.2 on x86_64-pc-linux-gnu, compiled by gcc (Alpine 6.2.1) 6.2.1 20160822, 64-bit
PHP version: 7.1.4
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, gd, hash, iconv, json, mbstring, SPL, PDO, pdo_sqlite, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, exif, ftp, gmp, intl, ldap, mcrypt, mysqli, pcntl, pdo_mysql, pdo_pgsql, pgsql, zip, redis, smbclient, libsmbclient, Zend OPcache
Nextcloud version: 11.0.3 (daily) Build:2017-05-01T21:01:27+00:00 398013b1a5827818e5fa4f55b574f8d85b95f00a - 11.0.3.2
Are you using encryption: no
Browser: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Operating system: Fedora Rawhide
Row. 32 "You do not have enough permissions ..." should end with a comma. It doesn't and that cause "json error code 4" in the logs.
There is a new Nextcloud Mindmaps app by @splitt3r based on visjs that could pair really nicely with Draw.io as mentioned in this related request #47. This pairing could benefit your issue #14 for adding Collaborative Editing and add a different way to create flow charts compatible with both apps. Here are some mockups I made of the same flow chart in both apps:
Hi,
as you may have already seen, we have entered the beta phase for the release of Nextcloud 14. We usually try to keep up compatibility with previous app versions, but in some cases apps need some adjustments to properly work on new Nextcloud releases. With Nextcloud 14 there have been quite some changes in that regard:
You can find a list of all critical changes for app developers and admins at nextcloud/server#7827. You can run occ app:check-code to validate that there are no issues with deprecated or private message calls.
One critical change is the overall restructuring of the main template (nextcloud/server#9982) that might require some adjustments in your app.
We would be very pleased if you can make your app compatible with Nextcloud 14 and release a new version to the app store, so that users can properly test it and the upgrade experience to Nextcloud 14 will be even better than before.
Feel free to ask, if you have any questions regarding making your app compatible with Nextcloud 14.
Thanks for being part of the Nextcloud community and for all the effort you put into providing this app 🚀 .
I accidentally closed my tab with a keyboard shortcut today (while editing draw.io file)...
There should be a confirmation dialog when closing tab. Especially, if there are unsaved changes.
Hi out there!
First, thanks a lot for this great plugin, this tool often makes my day!!!
One small thing I observed:
My configuration:
please let me know if you need more information.
thanks a lot
chris
Hi,
I would like to install Draw.io on Nextcloud 14, but this app isn't available on official store https://apps.nextcloud.com/apps/drawio
Nextcloud 14 stable was released on 2018-Sep-06. How could I get Draw.io available for Nextcloud 14?
Thanks in advance.
Hi,
I've added the MIME type to /config/mimetypemapping.json
, as per the instructions, however files with the .drawio extension are still being sent to the browser for download. There is also no option to open the file with draw.io via the context menu.
I've also tried adding "application/x-drawio" to /etc/apache2/mods-enabled/mime.conf
& reloading Apache, however it made no difference.
Have I missed something?
v0.9.1 (NC 13.06)
For full disclosure, there's also an external reverse proxy (nginx) that sits between the client & the internal webserver, however I don't think should make a difference. It's the internal webserver/Nextcloud which should be directing the client to draw.io...
Cheers
The Beta of Nextcloud 15 has started. It would be great if this draw.io app would be released for Nextcloud 15.
is it possible add this feature?
Draw.io currently offers 4 different themes but only are available in the NextCloud app configuration.
https://about.draw.io/pick-your-favorite-draw-io-theme-kennedy-atlas-dark-or-minimal/
Just need to add the missing "Minimal" and "Dark" themes.
Hi,
on the main page for nextcloud-drawio you write
To proceed, just copy /resources/config/mimetypemapping.dist.json to /config/mimetypemapping.json (in the config/ folder at Nextcloud’s root directory; the file should be stored next to the config.php file). Afterwards add the two following line just after the “_comment” lines.
"drawio": ["application/x-drawio"],
Is there a line for the mime type mapping file missing or is it only one which needs to be added?
BR Alex
After selecting a new shape category with "More Shapes.." the shapes are listed in the left sidebar.
Now edit/save/close the current document and open it again.
The previously additionally selected shapes are gone from the menu.
Is it possible that the custom selection of shapes stays permanently?
Thank you very much,
Peter
PS: Nextcloud v11.0.3 nextcloud-drawio 0.8.6
Thanks for your work on this app!
Is it possible for collaborative editing to be enabled? Or is that something that must be raised with draw.io themselves? If it could be done, what sort of work would that entail?
When I try to export a file and then download it, nothing happens. Ideally, an exported image should be stored in the same folder as the original xml file.
Otherwise, it's a great add-on!
Hello, I test te app in IE and work fine, in the last version of firefox, opera, not working. some help please.
thanks.
We have users complaining to us (draw.io) that the default war we provide makes calls to external sites when they run it with NextCloud. It would be useful if the admin screen had a tickbox called something like "private mode" that added the appropriate URL parameters to the draw.io URL to switch off external connections. I think that's stealth=1, but need to double check.
We're happy to sponsor this work (pay for it).
When you save the chart, it displays an error- "Connection to the server is lost", and does not save the document.
It's not really an issue, but there's nowhere else to put it. If any major contributers (which is probably just Pawel at this point) wanted to go to a NextCloud meetups like https://nextcloud.com/blog/join-us-at-our-next-contributor-week/, we're happy to sponsor that (i.e. paid salary and travel).
My company created a server for draw so we could integrate it with our Nextcloud instance.
The application loads great when you connect directly but the issue is when trying to open a saved .xml file from Nextcloud.
Once you click the icon for the file, a tab opens and the page only loads the banner with all options grayed out except File and Help. The loading icon also hangs in the center and does not advance.
Where should we look to correct this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.