Page MenuHomePhorge
Feed All Stories

Tue, Apr 16

valerio.bozzolan accepted D25589: Fix PHP 8.1 "strlen(null)" exception for "/bin/search query" without parameter.

yesyes

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

yesyes

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

sgtm

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

lgtm

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

:p

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

I was responding to the previous comment which...

Tue, Apr 16, 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.

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

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 committed R5:6fa25e4097aa: Makes extension usable with configured alternative file domain.
Makes extension usable with configured alternative file domain
Tue, Apr 16, 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.
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)
revi awarded rPd519f75dfdee: (stable) Fix config transaction rendering error on auth page by allowing… a Love token.
Mon, Apr 15, 17:42
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)
avivey added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..

done...

Mon, Apr 15, 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…
Mon, Apr 15, 16:36
aklapper updated the test plan for D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Mon, Apr 15, 15:02
aklapper requested review of D25578: Fix PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Mon, Apr 15, 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.
Mon, Apr 15, 15:00 · PHP 8 support
aklapper created T15786: PHP 8.1 "strlen(null)" exceptions adding an OAuth provider.
Mon, Apr 15, 14:58 · PHP 8 support
aklapper closed D25568: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated text.
Mon, Apr 15, 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….
Mon, Apr 15, 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…
Mon, Apr 15, 14:42
valerio.bozzolan created T15785: Showolder page: "Undefined index: ".
Mon, Apr 15, 14:42 · phorge.it install, Phorge
tsc closed D25576: Improve PHPDoc of id().
Mon, Apr 15, 14:39
tsc committed rARC6718b32a64f2: Improve PHPDoc of id().
Improve PHPDoc of id()
Mon, Apr 15, 14:39
tsc retitled D25576: Improve PHPDoc of id() from provide proper typings for `id` function
Mon, Apr 15, 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()".

Mon, Apr 15, 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.

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

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)
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?

Sun, Apr 14, 12:24 · Auth, Bug Reports
revi updated revi.
Sun, Apr 14, 11:34
bekay updated the question details for Q126: 5 Deprecation Notices in PhabricatorStandardPageView.php.
Sun, Apr 14, 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.
Sun, Apr 14, 09:03 · Deprecation Notice
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)
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?

Sun, Apr 14, 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/!)

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)
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?

Sun, Apr 14, 08:22 · Feature Requests
bekay added a member for Diagrams (Extension): bekay.
Sun, Apr 14, 08:14
bekay asked Q126: 5 Deprecation Notices in PhabricatorStandardPageView.php.
Sun, Apr 14, 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();
Sun, Apr 14, 07:41
bekay added a project to D25577: Makes extension usable with configured alternative file domain: Diagrams (Extension).
Sun, Apr 14, 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?

Sun, Apr 14, 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?

Sun, Apr 14, 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.

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

Sat, Apr 13

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?

Sat, Apr 13, 20:32
tsc changed the visibility for F2142225: CleanShot 2024-04-13 at 22.19.51.png.
Sat, Apr 13, 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.... 🤔

Sat, Apr 13, 20:03 · Diagrams (Extension)
bekay updated the summary of D25577: Makes extension usable with configured alternative file domain.
Sat, Apr 13, 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
Sat, Apr 13, 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?

Sat, Apr 13, 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

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

Sat, Apr 13, 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

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

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)
mturdus committed R5:91dd43de7dee: T15781: arc liberate throws exception.
T15781: arc liberate throws exception
Sat, Apr 13, 15:09
revi added a comment to Q123: [Feature] Phorge integrates with Keycloak.

GitHub/Facebook is already supported as an Login/Registration providers.

Sat, Apr 13, 09:50 · Phorge, Feature Requests

Fri, Apr 12

valerio.bozzolan added a comment to D25576: Improve PHPDoc of id().

I think the purpose is to tell the IDE that the function receives a type and returns that exact type.

Fri, Apr 12, 21:07
speck added a comment to D25576: Improve PHPDoc of id().

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

Fri, Apr 12, 20:53
speck accepted D25568: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated text.

Seems good

Fri, Apr 12, 20:51
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)
tsc requested review of D25576: Improve PHPDoc of id().
Fri, Apr 12, 19:32
avivey closed D25575: Make sure `offset` is an integer.
Fri, Apr 12, 16:28
avivey committed rP0d9ca2589f7c: Make sure `offset` is an integer.
Make sure `offset` is an integer
Fri, Apr 12, 16:28
aklapper added a comment to D25568: Fix PHP 8.1 "addcslashes(null)" exception exporting task list to tab-separated text.

Did my previous comment sufficiently elaborate that this is not a change in behavior? If the comment did not, please speak up before I may merge this. :) Thanks!

Fri, Apr 12, 15:58
aklapper added a comment to D25575: Make sure `offset` is an integer.

(I took the liberty to link the specific change in Git in the commit message)

Fri, Apr 12, 15:52
aklapper updated the summary of D25575: Make sure `offset` is an integer.
Fri, Apr 12, 15:52
valerio.bozzolan accepted D25575: Make sure `offset` is an integer.

(Stupid question :D sorry - clear now)

Fri, Apr 12, 13:56
LSobanski added Q125: "Not In" query operator and searching for project milestones (Answer 158).
Fri, Apr 12, 13:52
avivey added a comment to D25575: Make sure `offset` is an integer.

Where I can document myself about undefined_magic_text? Undetected with grep 🤔

Fri, Apr 12, 13:47
valerio.bozzolan added a comment to D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

I still think that the two Subscriber Rule value should be a list strings should for consistency be Add subscriber rule value should be a list respectively Remove subscriber rule value should be a list.

Fri, Apr 12, 12:28 · Workboard