Page MenuHomePhorge
Feed All Stories

Apr 16 2024

bekay updated the answer details for Q108: Phorge and Mermaid Js (Answer 139).
Apr 16 2024, 18:28
valerio.bozzolan accepted D25581: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance update" without parameter.

yesyes

Apr 16 2024, 16:55
valerio.bozzolan accepted D25582: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth unlimit" without parameter.

yesyes

Apr 16 2024, 16:55
valerio.bozzolan accepted D25584: Fix PHP 8.1 "strlen(null)" exception for "/bin/conduit call" without parameter.

yesyes

Apr 16 2024, 16:55
valerio.bozzolan accepted D25585: Fix PHP 8.1 "strlen(null)" exception for "/bin/herald rule" without parameter.

yesyes

Apr 16 2024, 16:54
valerio.bozzolan accepted D25579: Fix PHP 8.1 "strlen(null)" exception for "/bin/files generate-key" without parameter.

yesyes

Apr 16 2024, 13:05
valerio.bozzolan accepted D25580: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance import" without parameter.

yesyes

Apr 16 2024, 13:05
valerio.bozzolan accepted D25583: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth refresh" without parameter.

yesyes

Apr 16 2024, 13:02
aklapper added a comment to T15749: Display warning about commenting on a task which is closed as a duplicate.

Maybe put the warning above the box, so it catches all actions, not just comments?

Apr 16 2024, 10:44 · Feature Requests
aklapper merged T15785: Showolder page: "Undefined index: " into T15638: RuntimeException: "Undefined index" when left diff does not exist in DifferentialRevisionTimelineEngine.php.
Apr 16 2024, 09:28
aklapper merged task T15785: Showolder page: "Undefined index: " into T15638: RuntimeException: "Undefined index" when left diff does not exist in DifferentialRevisionTimelineEngine.php.
Apr 16 2024, 09:28 · phorge.it install, Phorge
aklapper updated the task description for T15638: RuntimeException: "Undefined index" when left diff does not exist in DifferentialRevisionTimelineEngine.php.
Apr 16 2024, 09:27
valerio.bozzolan accepted D25586: Fix PHP 8.1 "strlen(null)" exception for "/bin/herald test" without parameter.

yesyes

Apr 16 2024, 09:27
aklapper reopened T15638: RuntimeException: "Undefined index" when left diff does not exist in DifferentialRevisionTimelineEngine.php as "Open".

Seems to happen in upstream per duplicate, thus reopening

Apr 16 2024, 09:26
valerio.bozzolan accepted D25587: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth cache-pkcs8" without parameter.

yesyes

Apr 16 2024, 09:26
valerio.bozzolan accepted D25588: Fix PHP 8.1 "strlen(null)" exception for "/bin/bulk export --query --format" without parameter.

yesyes

Apr 16 2024, 09:26
valerio.bozzolan accepted D25589: Fix PHP 8.1 "strlen(null)" exception for "/bin/search query" without parameter.

yesyes

Apr 16 2024, 09:25
valerio.bozzolan accepted D25590: Fix PHP 8.1 "strlen(null)" exception for "/bin/aphlict notify" without parameter.

yesyes

Apr 16 2024, 09:24
valerio.bozzolan accepted D25591: Fix PHP 8.1 "strlen(null)" exception for "/bin/almanac register" without parameter.

sgtm

Apr 16 2024, 09:23
valerio.bozzolan accepted D25592: Fix PHP 8.1 "strlen(null)" exception for "/bin/storage renamespace" without parameter.

lgtm

Apr 16 2024, 09:22
zhe added a comment to Q123: [Feature] Phorge integrates with Keycloak.

:p

Apr 16 2024, 09:11 · Phorge, Feature Requests
revi added a comment to Q123: [Feature] Phorge integrates with Keycloak.

I was responding to the previous comment which...

Apr 16 2024, 09:09 · Phorge, Feature Requests
zhe added a comment to Q123: [Feature] Phorge integrates with Keycloak.

Our company uses the Phorge, and we use Keycloak as IAM. Keycloak is a very popular OAuth2/SAML provider now.

Apr 16 2024, 09:06 · Phorge, Feature Requests
aklapper requested review of D25592: Fix PHP 8.1 "strlen(null)" exception for "/bin/storage renamespace" without parameter.
Apr 16 2024, 09:05
aklapper requested review of D25591: Fix PHP 8.1 "strlen(null)" exception for "/bin/almanac register" without parameter.
Apr 16 2024, 09:03
aklapper requested review of D25590: Fix PHP 8.1 "strlen(null)" exception for "/bin/aphlict notify" without parameter.
Apr 16 2024, 08:59
aklapper requested review of D25589: Fix PHP 8.1 "strlen(null)" exception for "/bin/search query" without parameter.
Apr 16 2024, 08:57
aklapper requested review of D25588: Fix PHP 8.1 "strlen(null)" exception for "/bin/bulk export --query --format" without parameter.
Apr 16 2024, 08:55
aklapper requested review of D25587: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth cache-pkcs8" without parameter.
Apr 16 2024, 08:50
aklapper requested review of D25586: Fix PHP 8.1 "strlen(null)" exception for "/bin/herald test" without parameter.
Apr 16 2024, 08:48
aklapper requested review of D25585: Fix PHP 8.1 "strlen(null)" exception for "/bin/herald rule" without parameter.
Apr 16 2024, 08:45
aklapper requested review of D25584: Fix PHP 8.1 "strlen(null)" exception for "/bin/conduit call" without parameter.
Apr 16 2024, 08:41
aklapper requested review of D25583: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth refresh" without parameter.
Apr 16 2024, 08:36
aklapper updated the test plan for D25582: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth unlimit" without parameter.
Apr 16 2024, 08:31
aklapper requested review of D25582: Fix PHP 8.1 "strlen(null)" exception for "/bin/auth unlimit" without parameter.
Apr 16 2024, 08:29
aklapper requested review of D25581: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance update" without parameter.
Apr 16 2024, 08:25
aklapper requested review of D25580: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance import" without parameter.
Apr 16 2024, 08:23
aklapper requested review of D25579: Fix PHP 8.1 "strlen(null)" exception for "/bin/files generate-key" without parameter.
Apr 16 2024, 08:15
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.

Apr 16 2024, 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.
Apr 16 2024, 07:14 · Diagrams (Extension)
bekay closed D25577: Makes extension usable with configured alternative file domain.
Apr 16 2024, 07:14 · Diagrams (Extension)
bekay committed R5:6fa25e4097aa: Makes extension usable with configured alternative file domain.
Makes extension usable with configured alternative file domain
Apr 16 2024, 07:14
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.
Apr 16 2024, 07:11 · Diagrams (Extension)
bekay updated the summary of D25577: Makes extension usable with configured alternative file domain.
Apr 16 2024, 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
Apr 16 2024, 06:28 · Diagrams (Extension)

Apr 15 2024

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

Now it's working!

Apr 15 2024, 19:13 · Diagrams (Extension)
revi awarded rPd519f75dfdee: (stable) Fix config transaction rendering error on auth page by allowing… a Love token.
Apr 15 2024, 17:42
mturdus added a comment to D25577: Makes extension usable with configured alternative file domain.

Now it's working!

Apr 15 2024, 16:58 · Diagrams (Extension)
avivey added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..

done...

Apr 15 2024, 16:36 · Auth, Bug Reports
avivey committed rPd519f75dfdee: (stable) Fix config transaction rendering error on auth page by allowing… (authored by doommius).
(stable) Fix config transaction rendering error on auth page by allowing…
Apr 15 2024, 16:36
aklapper updated the test plan for D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Apr 15 2024, 15:02
aklapper requested review of D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Apr 15 2024, 15:00
aklapper added a revision to T15786: PHP 8.1 "strlen(null)" exceptions adding an OAuth provider: D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Apr 15 2024, 15:00 · PHP 8 support
aklapper created T15786: PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Apr 15 2024, 14:58 · PHP 8 support
aklapper closed D25568: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated text.
Apr 15 2024, 14:42
aklapper closed T15771: PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated text as Resolved by committing rP79464882da14: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated….
Apr 15 2024, 14:42
aklapper committed rP79464882da14: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated….
Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated…
Apr 15 2024, 14:42
valerio.bozzolan created T15785: Showolder page: "Undefined index: ".
Apr 15 2024, 14:42 · phorge.it install, Phorge
tsc closed D25576: Improve PHPDoc of id().
Apr 15 2024, 14:39
tsc committed rARC6718b32a64f2: Improve PHPDoc of id().
Improve PHPDoc of id()
Apr 15 2024, 14:39
tsc retitled D25576: Improve PHPDoc of id() from provide proper typings for `id` function
Apr 15 2024, 14:12
valerio.bozzolan accepted D25576: Improve PHPDoc of id().

Premising I've already seen this syntax in Java but not in PHP, I'm happy that now your IDE says something useful. Maybe a better title is "Improve PHPDoc of id()".

Apr 15 2024, 13:09
avivey added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..

Yeah, probably. I'll try to do it tonight.

Apr 15 2024, 08:31 · Auth, Bug Reports

Apr 14 2024

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

@mturdus right, I don't have the whole picture of this 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 it. I have renamed the main js and some functions in it for clarity. Would love if you could give it a try.

Apr 14 2024, 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
Apr 14 2024, 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
Apr 14 2024, 18:24 · Diagrams (Extension)
revi added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..

Can this (I mean rPb445e1d80df9 )be backported into stable?

Apr 14 2024, 12:24 · Auth, Bug Reports
revi updated revi.
Apr 14 2024, 11:34
bekay updated the question details for Q126: 5 Deprecation Notices in PhabricatorStandardPageView.php.
Apr 14 2024, 09:34 · Deprecation Notice
bekay updated Q126: 5 Deprecation Notices in PhabricatorStandardPageView.php from 5 Deprecation Notices PhabricatorStandardPageView to 5 Deprecation Notices in PhabricatorStandardPageView.php.
Apr 14 2024, 09:03 · Deprecation Notice
bekay closed T15781: arc liberate throws exception as Resolved.

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

Apr 14 2024, 08:59 · Diagrams (Extension)
bekay updated subscribers of T15782: Diagrams Extension is not installable/usable in its current form.
Apr 14 2024, 08:58 · Diagrams (Extension)
bekay updated subscribers of T15784: Add title and project tags to diagram.
Apr 14 2024, 08:57 · Diagrams (Extension)
bekay updated subscribers of T15784: Add title and project tags to diagram.
Apr 14 2024, 08:57 · Diagrams (Extension)
bekay created T15784: Add title and project tags to diagram.
Apr 14 2024, 08:54 · Diagrams (Extension)
tsc added a comment to D25576: Improve PHPDoc of id().

Unless we can come up with a better/more common notation to show this information, I'm +1 on this - I like static type information, and this one looks fine to me.
I'm not familiar with many PHP tools - is there another notation somewhere?

Apr 14 2024, 08:45
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/!)

Apr 14 2024, 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
Apr 14 2024, 08:39 · Diagrams (Extension)
avivey added a comment to T15749: Display warning about commenting on a task which is closed as a duplicate.

Maybe put the warning above the box, so it catches all actions, not just comments?

Apr 14 2024, 08:22 · Feature Requests
bekay added a member for Diagrams (Extension): bekay.
Apr 14 2024, 08:14
bekay asked Q126: 5 Deprecation Notices in PhabricatorStandardPageView.php.
Apr 14 2024, 08:13 · Deprecation Notice
aklapper added a comment to D25546: Warn in comment field if task is closed as duplicate.

Maybe we can add our dependency:

(new PhabricatorApplicationTransactionCommentView())
  ->setEngine($engine)
  ->render();
Apr 14 2024, 07:41
bekay added a project to D25577: Makes extension usable with configured alternative file domain: Diagrams (Extension).
Apr 14 2024, 07:39 · Diagrams (Extension)
bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

Firefox does work for me. Does Chrome work for you?

Apr 14 2024, 07:36 · Diagrams (Extension)
avivey added a comment to D25576: Improve PHPDoc of id().

Unless we can come up with a better/more common notation to show this information, I'm +1 on this - I like static type information, and this one looks fine to me.
I'm not familiar with many PHP tools - is there another notation somewhere?

Apr 14 2024, 07:01
mturdus added a comment to D25577: Makes extension usable with configured alternative file domain.

I'm on branch arcpatch-D25577 now but I still have an empty screen.

Apr 14 2024, 06:43 · Diagrams (Extension)
mturdus updated the test plan for D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).
Apr 14 2024, 05:39

Apr 13 2024

tsc added a comment to D25576: Improve PHPDoc of id().
In D25576#16575, @speck wrote:

I don’t believe this style of doc annotation is used elsewhere. What’s the purpose of this?

Apr 13 2024, 20:32
tsc changed the visibility for F2142225: CleanShot 2024-04-13 at 22.19.51.png.
Apr 13 2024, 20:32
bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

@mturdus You don't have to download the diff, you can do an arc patch D25577 (and you should, because I have changed something again). Mh, but I don't know why it should not work.... 🤔

Apr 13 2024, 20:03 · Diagrams (Extension)
bekay updated the summary of D25577: Makes extension usable with configured alternative file domain.
Apr 13 2024, 19:56 · Diagrams (Extension)
bekay updated the diff for D25577: Makes extension usable with configured alternative file domain.
  • Dumps base64 image data directly while remarkup rendering and adds js/css files for remarkup object rule
Apr 13 2024, 19:54 · Diagrams (Extension)
bekay added a comment to D25577: Makes extension usable with configured alternative file domain.

@mturdus Is the phorge_extension.js file loaded?

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

I might be doing something wrong.
When I open Diagrams, I see an empty screen with only the application's title "Diagram" and its corresponding icon on top

Apr 13 2024, 18:28 · Diagrams (Extension)
aklapper added a comment to D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).

Write Phorge application extension which uses backticked strings containing spaces.

Apr 13 2024, 17:46
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

Apr 13 2024, 16:16 · Diagrams (Extension)
bekay requested review of D25577: Makes extension usable with configured alternative file domain.
Apr 13 2024, 16:13 · 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.

Apr 13 2024, 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).

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