Page MenuHomePhorge
Feed All Stories

Thu, Nov 28

aklapper closed D25696: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.
Thu, Nov 28, 11:41
aklapper committed rPa68b8daafde3: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.
Avoid "Unknown Object (????)" for custom Select field values in Herald editor
Thu, Nov 28, 11:41
aklapper added a comment to D25696: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.

Maybe relevant but PhabricatorObjectHandleData seems to do some magic

Thu, Nov 28, 11:40
valerio.bozzolan closed Q158: Is there a way to create a task in Maniphest via a webhook? as resolved.
Thu, Nov 28, 09:01 · Maniphest
arp awarded Q158: Is there a way to create a task in Maniphest via a webhook? a Like token.
Thu, Nov 28, 04:16 · Maniphest
20after4 added a comment to Q158: Is there a way to create a task in Maniphest via a webhook? (Answer 198).

Yes maniphest.edit is the modern way to do it.

Thu, Nov 28, 03:13
20after4 updated the task description for T15961: Should we adopt modern PHP type hints in Phorge source code?.
Thu, Nov 28, 03:10 · Phorge Development Tools, Discussion Needed
20after4 created T15961: Should we adopt modern PHP type hints in Phorge source code?.
Thu, Nov 28, 03:10 · Phorge Development Tools, Discussion Needed

Wed, Nov 27

valerio.bozzolan added a comment to D25696: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.

Maybe relevant but PhabricatorObjectHandleData seems to do some magic about filling PhabricatorObjectHandle with stuff like the name.

Wed, Nov 27, 06:35
valerio.bozzolan accepted D25696: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.

Thanks for the comment

Wed, Nov 27, 06:32

Tue, Nov 26

aklapper updated the task description for T15860: Editing a Herald rule fails to display values of custom field: "Unknown Object (????)".
Tue, Nov 26, 18:39 · Herald
taavi accepted D25839: Fix parsing of incoming mail with UTF-8 encoded headers.

Works on my machine!

Tue, Nov 26, 15:19
aklapper closed T15943: Calendar: Call to a member function format() on null at $this->getQueryDateFrom($query)->getDateTime() as Resolved by committing rP89be7a51d8c8: Validate some user provided calendar query range dates.
Tue, Nov 26, 14:12 · Calendar
aklapper committed rP89be7a51d8c8: Validate some user provided calendar query range dates.
Validate some user provided calendar query range dates
Tue, Nov 26, 14:12
aklapper closed D25825: Validate some user provided calendar query range dates.
Tue, Nov 26, 14:12
valerio.bozzolan accepted D25825: Validate some user provided calendar query range dates.

Thanks :)

Tue, Nov 26, 14:03
aklapper closed D25840: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.
Tue, Nov 26, 14:02
aklapper committed rPb253675917c6: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.
mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4
Tue, Nov 26, 14:02
aklapper updated the diff for D25825: Validate some user provided calendar query range dates.

Also update the PhpDoc accordingly

Tue, Nov 26, 14:01
aklapper updated the diff for D25825: Validate some user provided calendar query range dates.

Ignore PHP 8.3.0's new DateMalformedStringException and stick to generic Exception in all cases instead

Tue, Nov 26, 13:59
valerio.bozzolan accepted D25840: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.

sgtm

Tue, Nov 26, 13:59
aklapper requested review of D25840: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.
Tue, Nov 26, 13:53
aklapper added a comment to T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them.

@taavi: Uhm, thanks! If you have a chance to test D25839 that would be great. :)

Tue, Nov 26, 13:48 · Bug Reports
aklapper requested review of D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Tue, Nov 26, 13:47
aklapper added a revision to T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them: D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Tue, Nov 26, 13:47 · Bug Reports
aklapper edited the content of Next Up.
Tue, Nov 26, 13:12
aklapper closed T15916: Conduit maniphest.gettasktransactions: include metadata and title, a subtask of T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge, as Resolved.
Tue, Nov 26, 13:08 · Discussion Needed, Affects-Wikimedia
aklapper closed T15916: Conduit maniphest.gettasktransactions: include metadata and title as Resolved by committing rP6ec5c88bee24: Make maniphest.gettasktransactions include metadata and title.
Tue, Nov 26, 13:08 · Maniphest, Affects-Wikimedia
aklapper committed rP6ec5c88bee24: Make maniphest.gettasktransactions include metadata and title.
Make maniphest.gettasktransactions include metadata and title
Tue, Nov 26, 13:08
aklapper closed D25777: Make maniphest.gettasktransactions include metadata and title.
Tue, Nov 26, 13:08
avivey awarded T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them a Burninate token.
Tue, Nov 26, 13:08 · Bug Reports
aklapper closed D25827: Allow zooming on pages.
Tue, Nov 26, 13:07
aklapper closed T15945: Allow zooming Phorge pages on mobile as Resolved by committing rP828ea9bca030: Allow zooming on pages.
Tue, Nov 26, 13:07 · Accessibility
aklapper committed rP828ea9bca030: Allow zooming on pages.
Allow zooming on pages
Tue, Nov 26, 13:07
aklapper closed T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Tue, Nov 26, 13:05 · PHP 8 support
aklapper closed T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated as Resolved by committing rP700090917af6: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception.
Tue, Nov 26, 13:05 · Deprecation Notice, PHP 8 support
aklapper closed D25792: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception.
Tue, Nov 26, 13:05
aklapper committed rP700090917af6: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception.
Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception
Tue, Nov 26, 13:05
aklapper requested review of D25835: Strip surrounding whitespace from project and task titles.
Tue, Nov 26, 13:03
aklapper updated the diff for D25835: Strip surrounding whitespace from project and task titles.

Handle whitespace-only task and project titles correctly

Tue, Nov 26, 13:02
aklapper updated the test plan for D25835: Strip surrounding whitespace from project and task titles.
Tue, Nov 26, 13:00
aklapper planned changes to D25835: Strip surrounding whitespace from project and task titles.

This needs rework as the logic currently does not properly handle entering a title consisting of whitespace only. (Outcome gets unpleasant afterwards.)

Tue, Nov 26, 12:52
aklapper closed D25837: Fix a typo in documentation.
Tue, Nov 26, 10:44
aklapper committed rPc0ebc7b405c2: Fix a typo in documentation.
Fix a typo in documentation
Tue, Nov 26, 10:44

Mon, Nov 25

BlankEclair closed T15914: Doing Ctrl+Enter on forms do not cause them to open in a new tab as Resolved by committing rP0ea95d41a67f: Fix submitting forms in a new tab using Ctrl+Return.
Mon, Nov 25, 10:09
BlankEclair closed D25773: Fix submitting forms in a new tab using Ctrl+Return.
Mon, Nov 25, 10:09
BlankEclair committed rP0ea95d41a67f: Fix submitting forms in a new tab using Ctrl+Return.
Fix submitting forms in a new tab using Ctrl+Return
Mon, Nov 25, 10:09
BlankEclair asked Q159: Is MFA requiring all factors intentional?.
Mon, Nov 25, 10:06

Sun, Nov 24

taavi added a project to T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them: Bug Reports.
Sun, Nov 24, 16:54 · Bug Reports
taavi created T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them.
Sun, Nov 24, 16:48 · Bug Reports
avivey accepted D25792: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception.

It might be slightly safer to use PhutilURI, but this is in any case a potentially-unsafe configuration.

Sun, Nov 24, 09:32
l2dy edited the content of Organizations Using Phorge.
Sun, Nov 24, 08:37

Sat, Nov 23

pppery added a comment to D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.

https://devina.io/redos-checker says the new regex is still prone to polynomial backtracking, but that can happen only on extremely contrived input, whereas the old one was exponential on a common case.

Sat, Nov 23, 21:22
pppery claimed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Sat, Nov 23, 21:17 · Bug Reports, Remarkup, Affects-Wikimedia
pppery renamed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing from RuntimeException in preg_replace_callback: Text disappears due to Remarkup parsing to RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Sat, Nov 23, 21:17 · Bug Reports, Remarkup, Affects-Wikimedia
pppery updated the test plan for D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.
Sat, Nov 23, 21:16
pppery updated the diff for D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.

Fix lint

Sat, Nov 23, 21:14
pppery added a revision to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing: D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.
Sat, Nov 23, 21:08 · Bug Reports, Remarkup, Affects-Wikimedia
pppery requested review of D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.
Sat, Nov 23, 21:08
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Digging deeper, the problem is specific to ProjectRemarkupRule::getObjectIDPattern. That returns:

Sat, Nov 23, 20:45 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Step 2: Remove irrelevant character class exclusions:

Sat, Nov 23, 20:33 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Disentangling that monster regex, step 1:

Sat, Nov 23, 20:30 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Indeed https://devina.io/redos-checker says the aformentioned regex is exponential time worst-case

Sat, Nov 23, 20:20 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

I monkeypatched the code to print preg_last_error when the problematic preg_match returns null. The error is "Backtrack limit exhausted".

Sat, Nov 23, 20:18 · Bug Reports, Remarkup, Affects-Wikimedia

Nov 22 2024

meeshu set Timezone to Europe/London on meeshu.
Nov 22 2024, 18:17
valerio.bozzolan added projects to T15959: Modified files not counted in total when attaching files: Bug Reports, Good Starter Task.

Thanks :)

Nov 22 2024, 17:20 · Good Starter Task, Bug Reports, Files
pppery created T15959: Modified files not counted in total when attaching files.
Nov 22 2024, 16:59 · Good Starter Task, Bug Reports, Files
aklapper closed T15935: PHP 8.4 fatal error / exceptions: Implicitly nullable parameter declarations deprecated, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Nov 22 2024, 07:36 · PHP 8 support
aklapper closed T15935: PHP 8.4 fatal error / exceptions: Implicitly nullable parameter declarations deprecated as Resolved.

This should be resolved by now in git master

Nov 22 2024, 07:36 · PHP 8 support
MacFan4000 merged task T15958: PHP8.4 exception: array_fuse(): Implicitly marking parameter $list as nullable is deprecated, the explicit nullable type must be used instead into T15935: PHP 8.4 fatal error / exceptions: Implicitly nullable parameter declarations deprecated.
Nov 22 2024, 01:01 · PHP 8 support
MacFan4000 merged T15958: PHP8.4 exception: array_fuse(): Implicitly marking parameter $list as nullable is deprecated, the explicit nullable type must be used instead into T15935: PHP 8.4 fatal error / exceptions: Implicitly nullable parameter declarations deprecated.
Nov 22 2024, 01:01 · PHP 8 support
valerio.bozzolan added a member for Trusted Contributors: meeshu.
Nov 22 2024, 01:00
MacFan4000 created T15958: PHP8.4 exception: array_fuse(): Implicitly marking parameter $list as nullable is deprecated, the explicit nullable type must be used instead.
Nov 22 2024, 00:57 · PHP 8 support

Nov 21 2024

MacFan4000 renamed T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4 from Make Phorge compatible with PHP 8.1/8.2/8.3 to Make Phorge compatible with PHP 8.1/8.2/8.3/8.4.
Nov 21 2024, 21:23 · PHP 8 support
avivey accepted D25837: Fix a typo in documentation.

Ah, the mythical Platypus Ornithopter!

Nov 21 2024, 07:16

Nov 20 2024

aklapper requested review of D25837: Fix a typo in documentation.
Nov 20 2024, 14:48

Nov 17 2024

valerio.bozzolan accepted D25774: Strike through archived projects in navigation crumbs.

Double-accept

Nov 17 2024, 18:19

Nov 16 2024

valerio.bozzolan added a comment to D25823: arc browse: add support to Subversion repos.

... Conversely, arc browse . works for what I expected a pathless invocation to do, and funny enough that doesn't work on Git repos! So we have feature parity ;)

Nov 16 2024, 16:50
valerio.bozzolan created T15957: 'arc browse .' should work in git.
Nov 16 2024, 16:43 · Bug Reports, Arcanist

Nov 15 2024

keithzg added a comment to D25823: arc browse: add support to Subversion repos.

Hi @keithzg (and any SVN hacker) do you like the new added Subversion support?

Nov 15 2024, 18:25
kat added a comment to T15956: Conpherence Persistent Chat does not attach files to message when pasted.

Yep. I'm up-to-date with master as of filing the issue^^.
This textbox isn't a Remarkup field (it's actually a ConpherenceDurableColumnView, which doesn't even have a metadata field in the first place)
In normal Conpherence views, the "Upload file" button works just fine. (except as mentioned in Z1, where reloading the page erases the metadata field)

Nov 15 2024, 13:00 · Bug Reports
valerio.bozzolan added a comment to T15956: Conpherence Persistent Chat does not attach files to message when pasted.

Thanks. Can you reproduce with "Upload file" button too? If yes, maybe sub-task of: T15106: "Upload file" in remarkup text fields should attach by default

Nov 15 2024, 12:03 · Bug Reports
kat created T15956: Conpherence Persistent Chat does not attach files to message when pasted.
Nov 15 2024, 11:37 · Bug Reports

Nov 13 2024

valerio.bozzolan added a comment to D25823: arc browse: add support to Subversion repos.

@avivey Thanks for the tip about arguments allow-list in getArguments() https://we.phorge.it/source/arcanist/browse/master/src/workflow/ArcanistLintWorkflow.php$67 but I was not able to use that since here it's using getWorkflowArguments() 🤔 So I've just added a warning. It works lol. Check "BRANCH OPTION NOT AVAILABLE"

Nov 13 2024, 18:54
valerio.bozzolan updated the summary of D25823: arc browse: add support to Subversion repos.
Nov 13 2024, 15:08
valerio.bozzolan updated the test plan for D25823: arc browse: add support to Subversion repos.
Nov 13 2024, 14:34
valerio.bozzolan updated the diff for D25823: arc browse: add support to Subversion repos.

found a corner case, fixed

Nov 13 2024, 14:27
valerio.bozzolan updated the test plan for D25823: arc browse: add support to Subversion repos.
Nov 13 2024, 14:26

Nov 12 2024

valerio.bozzolan added a comment to T15955: Comment anchor doesn't work properly due to loading of old comments.

I think that, after the hidden comment is loaded in its bulk, "some more comments" are loaded as context for the hidden comment 🤔 So I guess that extra loading is probably a feature and not a bug.

Nov 12 2024, 21:29 · Comments, Maniphest
valerio.bozzolan awarded T15955: Comment anchor doesn't work properly due to loading of old comments a Grey Medal token.
Nov 12 2024, 21:26 · Comments, Maniphest
Tgr created T15955: Comment anchor doesn't work properly due to loading of old comments.
Nov 12 2024, 19:50 · Comments, Maniphest
valerio.bozzolan accepted D25777: Make maniphest.gettasktransactions include metadata and title.

Wikimedia Foundation has this in production since years. I think it doesn't hurt.

Nov 12 2024, 15:11
valerio.bozzolan added a comment to D25823: arc browse: add support to Subversion repos.

Hi @keithzg (and any SVN hacker) do you like the new added Subversion support?

Nov 12 2024, 15:08
valerio.bozzolan added inline comments to D25825: Validate some user provided calendar query range dates.
Nov 12 2024, 09:07
pppery added a project to T15931: All method search results in Diviner are 404 URIs: Diviner.
Nov 12 2024, 02:27 · Diviner
pppery added a project to T15932: All file search results in Diviner are 404 URIs: Diviner.
Nov 12 2024, 02:26 · Diviner
pppery added a project to T15943: Calendar: Call to a member function format() on null at $this->getQueryDateFrom($query)->getDateTime(): Calendar.
Nov 12 2024, 02:26 · Calendar
pppery added a project to T15903: Logged exceptions/errors should ignore user's language setting and be always in English: Localization.
Nov 12 2024, 02:25 · Localization

Nov 11 2024

NameNoQuality awarded rP7157dd96b34a: T15006: Update .arcconfig to point to we.phorge.it a Love token.
Nov 11 2024, 10:25

Nov 5 2024

valerio.bozzolan closed T15190: PHP 8.1: strlen() and other scalar-only functions do not accept NULL anymore - understand fix strategies, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Wontfix.
Nov 5 2024, 14:25 · PHP 8 support