Closed immomagic closed 1 year ago
Perfect bug report ❤️
Yeah, it is related to this line where this app informs NC that we want 'unsafe-eval' to be true and thus your error would not happen
Uncaught (in promise) EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
but it is affected what and how CSP policies other apps load. I quite haven't yet figured out how CSP works in NC yet, till then drastic fix incoming.
Please try version 0.0.7 and report back. Just uploaded the new version in NC app store, it will take a bit time to propagate. After update clear PHP opcache as changes in app are within backend.
@immomagic ping
Sorry, it is not working on our nextcloud instance 24 - on 25 it works with a bit latency.
Für eventuelle Fragen stehe ich Ihnen jederzeit gern zur Verfügung und verbleibe
mit freundlichen Grüßen
gez. M.A. Martin Burgert
IMMO-MAGIC GmbH D-99084 Erfurt, Pergamentergasse 9
D-99084 Erfurt, Augustinerstrasse 27
Tel.: +49 (361) 60250-117 Mobil: +49 (151) 58253-117 Fax: +49 (361) 60250-20 Mail: @.*** Web: www.immo-magic.dehttp://www.immo-magic.de/
Von: kroko @.> Gesendet: Friday, March 24, 2023 4:38:33 PM An: WARP-LAB/files_3dmodelviewer @.> Cc: immomagic @.>; Mention @.> Betreff: Re: [WARP-LAB/files_3dmodelviewer] IFC not working on nextcloud 24.0.6 (Issue #5)
@immomagichttps://github.com/immomagic ping
— Reply to this email directly, view it on GitHubhttps://github.com/WARP-LAB/files_3dmodelviewer/issues/5#issuecomment-1483010385, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2I5GFEUTNI3IVZERO7RE5TW5W5XTANCNFSM6AAAAAAVOYUFHU. You are receiving this because you were mentioned.Message ID: @.***>
Sorry, it is not working on our nextcloud instance 24
Unfortunately I will not try to make it work in 24 as it will be EOL 2023-05 (in 2 months) anyways
on 25 it works with a bit latency
Expected. IFC is decoded on the fly using JS + WASM web-ifc and that takes time. On desktop duration of double clicking IFC file and BIM VISION showing the contents is not instant, too, isn't it 😉, in browser it will take longer.
Describe the bug
ifc fles, even small ones like 2MB, do not load. other formats do load but they take quite long. Im connected via LAN directly to the server where our nextcloud instance is running
To Reproduce
Steps to reproduce the behavior:
Take a ifc file and try to look at it in the 3DModel Viewer
Expected behavior
The ifc file should load an
I have checked that the files are not corrupted
Yes, using
BIM VISION
.Screenshots
Browser log
How to access your browser console (Click to expand)
### Chrome 1. Press either CTRL + SHIFT + I / CMD + ALT + I or F12 to open the Developer Tools. 2. Click the “console” tab. ### Safari 1. Press CMD + ALT + I to open the Web Inspector. 2. See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.) ### IE 1. Press F12 to open the developer tools. 2. Click the “console” tab. ### Firefox 1. Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs). 2. or, if Firebug is installed (recommended): 1. Press F12 to open Firebug. 2. Click on the “console” tab. ### Opera 1. Press CTRL + SHIFT + I to open Dragonfly. 2. Click on the “console” tab.Installation and configuration
How the app was installed?
App server configuration Parameters
apps_path
parameter is not explicitly configured/customised inconfig/config.php
Versions
Nextcloud
Desktop
Handheld
Additional context
The IFC test files I used: ifcs.zip
**Enabled:
_Disabled: