Page MenuHomePhorge

Diagrams (Extension)Project
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

A draw.io integration in Phorge

Owns R5

Recent Activity

Thu, May 2

bekay added a comment to T15806: Use drawio viewer for rendering of diagrams.

I have a nive working version here, which renders the diagram with the drawio viewer javascript component:

Thu, May 2, 13:40 · Diagrams (Extension)
bekay added a project to D25612: Use more css and phorge standard elements for application view: Diagrams (Extension).
Thu, May 2, 13:33 · Diagrams (Extension)

Wed, May 1

bekay updated subscribers of T15806: Use drawio viewer for rendering of diagrams.
Wed, May 1, 16:09 · Diagrams (Extension)

Tue, Apr 30

bekay created T15806: Use drawio viewer for rendering of diagrams.
Tue, Apr 30, 14:56 · Diagrams (Extension)

Wed, Apr 17

valerio.bozzolan reassigned T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType") from valerio.bozzolan to bekay.

(Credit to bekay indeed)

Wed, Apr 17, 08:05 · Diagrams (Extension)
valerio.bozzolan closed T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType") as Resolved.

Nice :) Thanks

Wed, Apr 17, 08:04 · Diagrams (Extension)
valerio.bozzolan added a member for Diagrams (Extension): valerio.bozzolan.
Wed, Apr 17, 08:01

Tue, Apr 16

bekay added a comment to T15787: Diagrams: avoid double slash in the URL after Saving.

Yeah, there are some malformed URLs we should tackle for sure.

Tue, Apr 16, 20:45 · Diagrams (Extension)
valerio.bozzolan triaged T15787: Diagrams: avoid double slash in the URL after Saving as Low priority.
Tue, Apr 16, 20:21 · Diagrams (Extension)
valerio.bozzolan added a revision to T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType"): D25593: README: run upgrade after installation.
Tue, Apr 16, 20:19 · Diagrams (Extension)
valerio.bozzolan added a comment to T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType").

Thanks! It worked now! As mentioned in the chat, I'm quite sure that point n.3 and n.4 should be swapped in the README

Tue, Apr 16, 20:19 · Diagrams (Extension)
bekay added a comment to T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType").

@valerio.bozzolan Could you try again to install it? There is a readme with new instructions.

Tue, Apr 16, 07:16 · Diagrams (Extension)
bekay closed T15782: Diagrams Extension is not installable/usable in its current form as Resolved by committing R5:6fa25e4097aa: Makes extension usable with configured alternative file domain.
Tue, Apr 16, 07:14 · Diagrams (Extension)
bekay closed D25577: Makes extension usable with configured alternative file domain.
Tue, Apr 16, 07:14 · Diagrams (Extension)
bekay added a revision to T15782: Diagrams Extension is not installable/usable in its current form: D25577: Makes extension usable with configured alternative file domain.
Tue, Apr 16, 07:11 · Diagrams (Extension)
bekay updated the summary of D25577: Makes extension usable with configured alternative file domain.
Tue, Apr 16, 07:11 · Diagrams (Extension)
avivey retitled D25577: Makes extension usable with configured alternative file domain from [WIP] Makes extension usable with configured alternative file domain
Tue, Apr 16, 06:28 · Diagrams (Extension)

Mon, Apr 15

mturdus accepted D25577: Makes extension usable with configured alternative file domain.
Mon, Apr 15, 20:41 · Diagrams (Extension)
bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

Now it's working!

Mon, Apr 15, 19:13 · Diagrams (Extension)
mturdus added a comment to D25577: Makes extension usable with configured alternative file domain.

Now it's working!

Mon, Apr 15, 16:58 · Diagrams (Extension)

Sun, Apr 14

bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

@mturdus right, I don't have the whole picture of the little bit wild codebase 😁 Thanks for the pointer. As far as I can see, this image and the DOMContentLoaded event handler serves no purpose anymore. All is working without. I have renamed the main js and some functions in it for clarity. Would love if you could give it a try.

Sun, Apr 14, 19:00 · Diagrams (Extension)
bekay updated the diff for D25577: Makes extension usable with configured alternative file domain.
  • Renames behavior and some functions and gets rid of unnecessary image proxy
Sun, Apr 14, 18:56 · Diagrams (Extension)
mturdus added a comment to D25577: Makes extension usable with configured alternative file domain.

This is the console log I got when running in Firefox:

Navigated to http://phorge.blackbird.turdus.local/diagram/
diagram-extension behavior called with config: 
Object { loadJsExtensionArgs: (4) […], toolbarCss: "http://phorge.blackbird.turdus.local/res/diagram-resources/35ad6f49/iframe-toolbtn.css", toolbarJs: "http://phorge.blackbird.turdus.local/res/diagram-resources/26d75a35/iframe-toolbtn.js" }
​
loadJsExtensionArgs: Array(4) [ "", "", "", … ]
​​
0: ""
​​
1: ""
​​
2: ""
​​
3: ""
​​
length: 4
​​
<prototype>: Array []
​
toolbarCss: "http://phorge.blackbird.turdus.local/res/diagram-resources/35ad6f49/iframe-toolbtn.css"
​
toolbarJs: "http://phorge.blackbird.turdus.local/res/diagram-resources/26d75a35/iframe-toolbtn.js"
​
<prototype>: Object { … }
phorge_extension.js:8:11
loadJsExtension called with args: <empty string> <empty string> <empty string> <empty string> phorge_extension.js:95:13
Sun, Apr 14, 18:24 · Diagrams (Extension)
bekay closed T15781: arc liberate throws exception as Resolved.

Fixed by R5:91dd43de7dee: T15781: arc liberate throws exception

Sun, Apr 14, 08:59 · Diagrams (Extension)
bekay updated subscribers of T15782: Diagrams Extension is not installable/usable in its current form.
Sun, Apr 14, 08:58 · Diagrams (Extension)
bekay updated subscribers of T15784: Add title and project tags to diagram.
Sun, Apr 14, 08:57 · Diagrams (Extension)
bekay updated subscribers of T15784: Add title and project tags to diagram.
Sun, Apr 14, 08:57 · Diagrams (Extension)
bekay created T15784: Add title and project tags to diagram.
Sun, Apr 14, 08:54 · Diagrams (Extension)
bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

@mturdus I have added some console logs in the js code (so patch and purge the caches on <phorge-base>config/cache/!)

Sun, Apr 14, 08:43 · Diagrams (Extension)
bekay updated the diff for D25577: Makes extension usable with configured alternative file domain.
  • Caches draw.io assets, uses base64 method of diagram and adds some console logs for js debugging
Sun, Apr 14, 08:39 · Diagrams (Extension)
bekay added a member for Diagrams (Extension): bekay.
Sun, Apr 14, 08:14
bekay added a project to D25577: Makes extension usable with configured alternative file domain: Diagrams (Extension).
Sun, Apr 14, 07:39 · Diagrams (Extension)

Sat, Apr 13

bekay added a comment to T15782: Diagrams Extension is not installable/usable in its current form.

@mturdus Just test this if you like. I think this is a first step in the right direction: D25577

Sat, Apr 13, 16:16 · Diagrams (Extension)
bekay added a comment to T15782: Diagrams Extension is not installable/usable in its current form.

Well I have worked the entire day on this (and I see your mentioned issues)... main problem is: extension is not working with security.alternate-file-domain. That I have fixed at least for the creation/editing of diagrams. I have changed pretty much and would love to send a diff.

Sat, Apr 13, 15:49 · Diagrams (Extension)
mturdus added a comment to T15782: Diagrams Extension is not installable/usable in its current form.

The reason why I did not put all the draw.io js and css files in the repo is because

  1. draw.io is a very large repo

and 2) the draw.io people commit a lot (as in more than once a week).

Sat, Apr 13, 15:43 · Diagrams (Extension)

Fri, Apr 12

bekay added a comment to T15782: Diagrams Extension is not installable/usable in its current form.

(Working on fixing it...)

Fri, Apr 12, 20:00 · Diagrams (Extension)

Thu, Apr 11

bekay updated the task description for T15782: Diagrams Extension is not installable/usable in its current form.
Thu, Apr 11, 18:13 · Diagrams (Extension)
bekay created T15782: Diagrams Extension is not installable/usable in its current form.
Thu, Apr 11, 18:08 · Diagrams (Extension)
bekay assigned T15781: arc liberate throws exception to mturdus.
Thu, Apr 11, 16:41 · Diagrams (Extension)
bekay created T15781: arc liberate throws exception.
Thu, Apr 11, 16:40 · Diagrams (Extension)

Feb 28 2024

aklapper added a comment to T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType").

@valerio.bozzolan Are there any prehistoric traces that this extension has been successfully used in the past? :P

Feb 28 2024, 11:08 · Diagrams (Extension)

Feb 27 2024

valerio.bozzolan created T15745: Cannot install extension "Diagrams" (Failed to load symbol "DiagramTransactionType").
Feb 27 2024, 10:52 · Diagrams (Extension)

Jul 4 2023

avivey added a member for Diagrams (Extension): mturdus.
Jul 4 2023, 19:36
avivey edited Description on Diagrams (Extension).
Jul 4 2023, 18:56
avivey set the color for Diagrams (Extension) to Yellow.
Jul 4 2023, 18:56
avivey created Diagrams (Extension).
Jul 4 2023, 18:55