Page MenuHomePhorge
Feed All Stories

Apr 16 2024

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

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

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

Apr 12 2024

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.

Apr 12 2024, 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?

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

Seems good

Apr 12 2024, 20:51
bekay added a comment to T15782: Diagrams Extension is not installable/usable in its current form.

(Working on fixing it...)

Apr 12 2024, 20:00 · Diagrams (Extension)
tsc requested review of D25576: Improve PHPDoc of id().
Apr 12 2024, 19:32
avivey closed D25575: Make sure `offset` is an integer.
Apr 12 2024, 16:28
avivey committed rP0d9ca2589f7c: Make sure `offset` is an integer.
Make sure `offset` is an integer
Apr 12 2024, 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!

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

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

(Stupid question :D sorry - clear now)

Apr 12 2024, 13:56
LSobanski added Q125: "Not In" query operator and searching for project milestones (Answer 158).
Apr 12 2024, 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 🤔

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

Apr 12 2024, 12:28 · Workboard
valerio.bozzolan added a comment to D25575: Make sure `offset` is an integer.

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

Apr 12 2024, 11:06
aklapper added a comment to Q124: [bug] Diffusion Commit History CommandException on git 2.42 (Answer 156).

That's due to https://git.kernel.org/pub/scm/git/git.git/commit/revision.c?id=71a1e94821666909b7b2bd62a36244c601f8430e

Apr 12 2024, 09:50
aklapper 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.

Apr 12 2024, 09:27 · Workboard
avivey added a comment to Q124: [bug] Diffusion Commit History CommandException on git 2.42 (Answer 156).

I've created D25575 for this case, and filed T15783 for the broader issue.

Apr 12 2024, 08:33
avivey requested review of D25575: Make sure `offset` is an integer.
Apr 12 2024, 08:32
avivey triaged T15783: Conduit doesn't validate missing params as Normal priority.
Apr 12 2024, 08:20 · Conduit

Apr 11 2024

valerio.bozzolan updated the diff for D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

fix red color for removal (like in PhabricatorProjectTriggerRemoveProjectsRule)

Apr 11 2024, 23:36 · Workboard
valerio.bozzolan updated the diff for D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

follow code review - thanks

Apr 11 2024, 23:20 · Workboard
revi updated revi.
Apr 11 2024, 18:20
bekay updated the task description for T15782: Diagrams Extension is not installable/usable in its current form.
Apr 11 2024, 18:13 · Diagrams (Extension)
bekay created T15782: Diagrams Extension is not installable/usable in its current form.
Apr 11 2024, 18:08 · Diagrams (Extension)
revi added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

Probably my somewhat 10 cents at a broader level;

Apr 11 2024, 17:58 · Diffusion, Discussion Needed
revi added a comment to D25573: Fix phacility link for arcanist guides.

Thanks! Definitely way more correct :) Feel free to arc land

Apr 11 2024, 17:45
revi closed D25573: Fix phacility link for arcanist guides.
Apr 11 2024, 17:38
revi committed rP603c877fa043: Fix phacility link for arcanist guides.
Fix phacility link for arcanist guides
Apr 11 2024, 17:38
bekay assigned T15781: arc liberate throws exception to mturdus.
Apr 11 2024, 16:41 · Diagrams (Extension)
bekay created T15781: arc liberate throws exception.
Apr 11 2024, 16:40 · Diagrams (Extension)
aklapper added a comment to D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

UI wise this seems to work as expected, and I think there's no way to move stuff on a workboard via Conduit. Just needs some smaller string adjustments.

Apr 11 2024, 15:20 · Workboard
aklapper added a comment to D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

Small capitalization nitpick, seems all other options use sentence case instead of title case:

Screenshot from 2024-04-11 17-09-44.png (472×564 px, 37 KB)

Apr 11 2024, 15:14 · Workboard
aklapper updated the diff for D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers.

git rebase master

Apr 11 2024, 14:58 · Workboard
aklapper updated the diff for D25574: Expose only canonical Clone URI for external repo and Differential uninstalled.

Make lint happy

Apr 11 2024, 12:17
aklapper requested review of D25574: Expose only canonical Clone URI for external repo and Differential uninstalled.
Apr 11 2024, 12:13
aklapper added a revision to T15780: Expose only canonical Clone URI in Diffusion when repo hosted externally and Differential uninstalled: D25574: Expose only canonical Clone URI for external repo and Differential uninstalled.
Apr 11 2024, 12:13