Page MenuHomePhorge
Feed All Stories

Apr 10 2024

tsc committed R14:dca9eb02040a: init dev env.
init dev env
Apr 10 2024, 10:15
tsc closed T15776: Initialize Development Environment as Resolved by committing R14:dca9eb02040a: init dev env.
Apr 10 2024, 10:15 · Gantt Charts (Extension)
tsc created T15778: Add configuration for custom fields.
Apr 10 2024, 10:09 · Gantt Charts (Extension)
tsc moved T15776: Initialize Development Environment from Backlog to Doing on the Gantt Charts (Extension) board.
Apr 10 2024, 10:07 · Gantt Charts (Extension)
tsc moved T15777: Integrate Frappe JS from Backlog to ToDo on the Gantt Charts (Extension) board.
Apr 10 2024, 10:07 · Gantt Charts (Extension)
tsc created T15777: Integrate Frappe JS.
Apr 10 2024, 10:06 · Gantt Charts (Extension)
tsc created T15776: Initialize Development Environment.
Apr 10 2024, 10:05 · Gantt Charts (Extension)
avivey closed T15773: Community Project: Gantt Diagrams as Resolved.

Done:

Apr 10 2024, 04:52 · Phactory: Community Projects
avivey removed a hashtag from Gantt Charts (Extension): #gantt_diagrams_extension.
Apr 10 2024, 04:50
avivey renamed Gantt Charts (Extension) from Gantt Diagrams (Extension) to Gantt Charts (Extension).
Apr 10 2024, 04:50
avivey edited Description on Gantt Charts (Extension).
Apr 10 2024, 04:47
avivey created Gantt Charts (Extension).
Apr 10 2024, 04:46
avivey claimed T15773: Community Project: Gantt Diagrams.
Apr 10 2024, 04:45 · Phactory: Community Projects

Apr 9 2024

l2dy created T15775: Add more languages supported by Pygments for syntax highlighting.
Apr 9 2024, 16:12 · Phorge
avivey added Q125: "Not In" query operator and searching for project milestones (Answer 157).
Apr 9 2024, 12:33

Apr 8 2024

Sten added a comment to T15751: Make Libphutil and Linters support modern PHP syntax.

I wonder if xhpast can be ditched. Eg:
For linters, use something off-the-shelf such as phpcs (https://github.com/squizlabs/PHP_CodeSniffer)
For diviner parsing of PHP code, I look at the class documentation (eg https://we.phorge.it/book/libphutil/class/ArcanistConduitCallFuture/) and question as to whether this provides anyone with any benefit.

Apr 8 2024, 15:17 · Phorge Development Tools
LSobanski asked Q125: "Not In" query operator and searching for project milestones.
Apr 8 2024, 12:51
Sten updated the task description for T15751: Make Libphutil and Linters support modern PHP syntax.
Apr 8 2024, 12:08 · Phorge Development Tools
aklapper closed D25572: Correct docs of PhabricatorPHIDType::getAllTypesForApplication().
Apr 8 2024, 11:14
aklapper committed rP5a5c456264af: Correct docs of PhabricatorPHIDType::getAllTypesForApplication().
Correct docs of PhabricatorPHIDType::getAllTypesForApplication()
Apr 8 2024, 11:14
aklapper added a comment to D25546: Warn in comment field if task is closed as duplicate.

and I'm sorry that this is becoming so time expensive

Apr 8 2024, 11:12
aklapper added a comment to D25546: Warn in comment field if task is closed as duplicate.

I guess another question is whether to define an abstract public function getCommentFieldPlaceholderText() in parent PhabricatorEditEngine and then add to all and every child EditEngine a default public function getCommentFieldPlaceholderText($object_phid) { return '' };. Feels cleaner to me.

Apr 8 2024, 11:11
valerio.bozzolan added a comment to D25546: Warn in comment field if task is closed as duplicate.

Ouch I see that receiving the engine was very complicated.

Apr 8 2024, 11:09
aklapper requested review of D25546: Warn in comment field if task is closed as duplicate.
Apr 8 2024, 11:01
aklapper updated the diff for D25546: Warn in comment field if task is closed as duplicate.

Abstract logic: Move application specific conditions to display a comment field placeholder text into the corresponding EditEngine of the object that the comment field is displayed in, by defining a public getCommentFieldPlaceholderText() function.

Apr 8 2024, 11:01
tsc updated the task description for T15773: Community Project: Gantt Diagrams.
Apr 8 2024, 10:35 · Phactory: Community Projects
aklapper added a comment to D25546: Warn in comment field if task is closed as duplicate.

I also don't get if in this part we have access to any thing related to Maniphest, ManiphestEditEngine or this kind of stuff, to just call $something->getCommentPanelPlaceholder() and have the business logic there in the specific application itself.

Apr 8 2024, 10:32
Sten added a comment to T15047: Officially raise minimum required PHP version to 7.2.
In T15047#1308, @speck wrote:
Apr 8 2024, 10:26 · Phorge

Apr 7 2024

valerio.bozzolan accepted D25572: Correct docs of PhabricatorPHIDType::getAllTypesForApplication().

yesyes

Apr 7 2024, 21:01
aklapper requested review of D25572: Correct docs of PhabricatorPHIDType::getAllTypesForApplication().
Apr 7 2024, 20:00
mturdus retitled D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings) from Summary: T15774.
Apr 7 2024, 11:51
mturdus requested review of D25571: T15774: Celerity: javascript minification issue with template literals (backticked strings).
Apr 7 2024, 11:49
mturdus created T15774: Celerity: javascript minification issue with template literals (backticked strings).
Apr 7 2024, 11:41
mturdus added a comment to Q108: Phorge and Mermaid Js (Answer 139).

Sorry for the late reply.
The Diagrams extension (which just references the draw.io codebase) already has something like that in it.
You can use {DIAG1} in remarkup for showing Diagram 1 in e.g. a wiki document.
You can also import Mermaid diagrams in here.

Apr 7 2024, 10:45
tsc created T15773: Community Project: Gantt Diagrams.
Apr 7 2024, 10:42 · Phactory: Community Projects

Apr 6 2024

tsc edited the content of How to Write Extensions.
Apr 6 2024, 20:12 · Extension Development

Apr 5 2024

valerio.bozzolan added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

A weird but... expandable, fast, easy possibility is introducing this syntax:

Apr 5 2024, 20:12
20after4 added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

Also apologies for not testing this locally in the phab ui, I was far too confident in my TDD.

Apr 5 2024, 19:52
20after4 added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

man I didn't even consider that you could actually have a valid project named #0dba11 ... maybe the syntax should be something different. #{00ffff} perhaps?

Apr 5 2024, 19:51
avivey placed T15030: Support a Phorge Extensions ecosystem up for grabs.

Did that Phactory: Hosting Projects Here

Apr 5 2024, 16:36 · Extension Development, Phactory: Community Projects, Phorge
avivey created an object: Phactory: Hosting Projects Here.
Apr 5 2024, 16:34 · Phactory: Community Projects
avivey closed T15760: Community Repo: DeepClone as Resolved.
Apr 5 2024, 16:20 · Phactory: Community Projects
avivey closed D25570: Show rest of task page when graph errors out.
Apr 5 2024, 10:26
avivey committed rPecbef3fdf4b6: Show rest of task page when graph errors out.
Show rest of task page when graph errors out
Apr 5 2024, 10:26
avivey added a comment to T15772: Task with graph issue won't show.

This script can be used to download the entire graph:

Apr 5 2024, 10:05 · Maniphest
valerio.bozzolan edited the content of Next Up.
Apr 5 2024, 09:34
valerio.bozzolan edited the content of Change Log.
Apr 5 2024, 09:33
valerio.bozzolan accepted D25570: Show rest of task page when graph errors out.

Thanks. Tested this in a correct situation and also causing a crash putting an unset($nodes[$current_node]) in ../arcanist/src/utils/AbstractDirectedGraph.php to see the nice exception message

Apr 5 2024, 08:42
valerio.bozzolan updated the task description for T15772: Task with graph issue won't show.
Apr 5 2024, 08:28 · Maniphest
avivey requested review of D25570: Show rest of task page when graph errors out.
Apr 5 2024, 07:33
avivey triaged T15772: Task with graph issue won't show as Normal priority.
Apr 5 2024, 07:28 · Maniphest
avivey added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

It's something to do with the priority - it works if the priority is 150.
Probably one of the other similar rules is interrupting (icon? Object? Maybe it thinks this is a mention of a project?)

Apr 5 2024, 07:15
avivey added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

Doesn't actually work for me either after arc patch:

image.png (317×429 px, 19 KB)

Apr 5 2024, 06:58
valerio.bozzolan added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

...or Pharkdown :D

Apr 5 2024, 06:21
20after4 added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

It's kind of a shame that remarkup wasn't named Pharkup.

Apr 5 2024, 02:01
20after4 updated the diff for D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

Actually add the rule to the remarkup engine.

Apr 5 2024, 02:01
20after4 added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

LOL I only ever tested the unit test case. I forgot to add the rule to PhabricatorMarkupEngine:

Apr 5 2024, 02:00

Apr 4 2024

aklapper removed a subtask for T15223: Fix Phorge PhabricatorFactDaemon::run() in PHP 8.2: Passing null to parameter #1 ($string) of type string is deprecated: T15190: PHP 8.1: strlen() and other scalar-only functions do not accept NULL anymore - understand fix strategies.
Apr 4 2024, 21:39 · PHP 8 support
aklapper removed a parent task for T15190: PHP 8.1: strlen() and other scalar-only functions do not accept NULL anymore - understand fix strategies: T15223: Fix Phorge PhabricatorFactDaemon::run() in PHP 8.2: Passing null to parameter #1 ($string) of type string is deprecated.
Apr 4 2024, 21:39 · Documentation, PHP 8 support, Arcanist, User-valerio.bozzolan
avivey added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

We don't create the links to page$line in most places as hrefs, so this shouldn't be an issue.

  • Don't exist in Diffusion
  • Do exist in Paste
  • Don't exist in Differential
Apr 4 2024, 21:34 · Discussion Needed
aklapper added a comment to D25505: Improve handling queries with "Current Viewer" set while not logged in.

Alternatively, maybe catch the existing exception and show a nice error message + the form?

Apr 4 2024, 21:33
aklapper updated the diff for D25569: Avoid separate per-line URIs in line number column.

+celerity map

Apr 4 2024, 21:22
aklapper requested review of D25569: Avoid separate per-line URIs in line number column.
Apr 4 2024, 21:20
aklapper added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

If it's that easy

Apr 4 2024, 21:02 · Discussion Needed
aklapper closed T15769: Make handling incoming mail a bit more robust/correct as Resolved by committing rP644f179dd27a: Make incoming mail handling more robust / correct.
Apr 4 2024, 20:20
aklapper closed D25565: Make incoming mail handling more robust / correct.
Apr 4 2024, 20:20
aklapper committed rP644f179dd27a: Make incoming mail handling more robust / correct.
Make incoming mail handling more robust / correct
Apr 4 2024, 20:20
aklapper added a comment to D25565: Make incoming mail handling more robust / correct.

FTR I gave this last version another test locally, feeding an mbox file with no subject header (which is accepted now without complaints), and bugging input again (which prints a correct error message instead of misleadingly complaining about a missing subject line)

Apr 4 2024, 20:19
valerio.bozzolan added a comment to D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.

I do not understand why it does not work to me.

Apr 4 2024, 19:34
avivey added a comment to V5: Should we remove the code-generated documents from this instance?.

There's no easy way to do that...
The diviner flow loads code from a repository, creates "cache" files, and then loads them directly to DB. I'm not sure it's even reasonable to try to run it on a different workspace copy.

Apr 4 2024, 18:47 · Diviner
tsc committed R13:987cba72882d: add land config.
add land config
Apr 4 2024, 13:12
tsc closed D25558: Initial work.
Apr 4 2024, 11:03 · DeepClone (Extension)
tsc committed R13:f4aa1dff7e1c: Initial work.
Initial work
Apr 4 2024, 11:03
valerio.bozzolan accepted D25565: Make incoming mail handling more robust / correct.

Go MoreMimeMailParserPeouw

Apr 4 2024, 10:46
tsc added a project to D25558: Initial work: DeepClone (Extension).
Apr 4 2024, 09:26 · DeepClone (Extension)
aklapper updated the diff for D25565: Make incoming mail handling more robust / correct.

Simplify logic (thanks Mukunda!)

Apr 4 2024, 09:05
avivey accepted D25558: Initial work.

You should be able to just arc land this now...

Apr 4 2024, 08:00 · DeepClone (Extension)
avivey added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

I'm guessing $ is used instead of # because (1) a user-agent might not send the # part to the server, and (2) the natural behavior of # ("scroll to this anchor") isn't what the intended behavior ("highlight these lines and scroll to the first one").

Apr 4 2024, 07:10 · Discussion Needed

Apr 3 2024

valerio.bozzolan added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

Ah, also adding a smalll meta "noindex" HTML tag on legacy file.php$123 pages and similar ones, would maybe help a little bit.

Apr 3 2024, 17:17 · Discussion Needed
20after4 added inline comments to D25565: Make incoming mail handling more robust / correct.
Apr 3 2024, 17:12
20after4 added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

Thinking more, I think we'd like to allow the robots to index latest version of the code - these days the big boys know how to handle that. Stopping them from crawling older versions is still important.

Anyway, I vote to revert the change - commit pages can have discussions in.

Apr 3 2024, 17:03 · Discussion Needed
20after4 added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

If it's that easy, then I'm both impressed and surprised it remained this way for so long. I'm actually not quite sure I understand the reasoning for not using # to begin with.

Apr 3 2024, 16:58 · Discussion Needed
20after4 awarded P35 Replace fragments a Mountain of Wealth token.
Apr 3 2024, 16:57
tsc added a reviewer for D25558: Initial work: avivey.
Apr 3 2024, 12:51 · DeepClone (Extension)
tsc added a comment to D25558: Initial work.

(The images aren't public/attached, so I can't see them)

Apr 3 2024, 12:12 · DeepClone (Extension)
speck added a comment to V5: Should we remove the code-generated documents from this instance?.

Are there mechanisms to re-gen the doc after we land changes? If not that might be something we should be able to do with harnormaster, and we can bring the docs back after something like that is set up to ensure they’re always updated

Apr 3 2024, 11:21 · Diviner
avivey added a comment to Q124: [bug] Diffusion Commit History CommandException on git 2.42 (Answer 156).

As a work-around, you can probably add ?offset=0 to the URL.

Apr 3 2024, 11:09
avivey added Q124: [bug] Diffusion Commit History CommandException on git 2.42 (Answer 156).
Apr 3 2024, 11:07
avivey awarded Q124: [bug] Diffusion Commit History CommandException on git 2.42 a Yellow Medal token.
Apr 3 2024, 10:59 · Diffusion
avivey added a comment to D25558: Initial work.

(The images aren't public/attached, so I can't see them)

Apr 3 2024, 10:56 · DeepClone (Extension)
aklapper added inline comments to D25565: Make incoming mail handling more robust / correct.
Apr 3 2024, 10:55
aklapper closed T15770: PHP 8.1 "preg_match(null)" exception exporting task list to CSV, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Apr 3 2024, 09:57 · PHP 8 support
aklapper closed T15770: PHP 8.1 "preg_match(null)" exception exporting task list to CSV as Resolved by committing rPc0bc45340584: Fix PHP 8.1 "preg_match(null)" exception exporting task list to CSV.
Apr 3 2024, 09:57 · PHP 8 support
aklapper closed D25567: Fix PHP 8.1 "preg_match(null)" exception exporting task list to CSV.
Apr 3 2024, 09:57
aklapper committed rPc0bc45340584: Fix PHP 8.1 "preg_match(null)" exception exporting task list to CSV.
Fix PHP 8.1 "preg_match(null)" exception exporting task list to CSV
Apr 3 2024, 09:57
valerio.bozzolan added inline comments to D25565: Make incoming mail handling more robust / correct.
Apr 3 2024, 09:55
valerio.bozzolan added a comment to V5: Should we remove the code-generated documents from this instance?.

Agree with last comment

Apr 3 2024, 09:38 · Diviner
tsc added a comment to D25558: Initial work.

I'm curious about the use-case for copying comments as well - I'm guessing that there's some extra data that's added in the comments?

Apr 3 2024, 09:10 · DeepClone (Extension)
tsc updated the diff for D25558: Initial work.

Add pht to string

Apr 3 2024, 09:04 · DeepClone (Extension)
tsc updated the diff for D25558: Initial work.

Fix linting issues

Apr 3 2024, 09:03 · DeepClone (Extension)