Page MenuHomePhorge
Feed All Stories

Dec 3 2024

aklapper accepted D25844: Add first unit test for mimemailparser headers.

Thanks. Confirming that this works as expected (after manually changing test_accents.mbox to make the arc unit output fail)

Dec 3 2024, 22:24
aklapper updated the test plan for D25844: Add first unit test for mimemailparser headers.
Dec 3 2024, 21:20
taavi added a comment to D25844: Add first unit test for mimemailparser headers.

I hope you won't send me a lawyer

do you really think I could afford one

Dec 3 2024, 17:18
MacFan4000 edited reviewers for D25839: Fix parsing of incoming mail with UTF-8 encoded headers, added: O1: Blessed Committers, taavi, valerio.bozzolan; removed: Blessed Committers.
Dec 3 2024, 17:14
MacFan4000 edited reviewers for D25839: Fix parsing of incoming mail with UTF-8 encoded headers, added: Blessed Committers; removed: 3tayesh.
Dec 3 2024, 17:13
MacFan4000 changed the author of D25839: Fix parsing of incoming mail with UTF-8 encoded headers from 3tayesh to aklapper.
Dec 3 2024, 17:12
avivey changed the visibility for D25043: Upload compressed logo, update HTML.
Dec 3 2024, 16:22
avivey changed the visibility for D25041: Home Page.
Dec 3 2024, 16:21
avivey added a comment to D25839: Fix parsing of incoming mail with UTF-8 encoded headers.

@3tayesh Please don't do that again.

Dec 3 2024, 16:17
avivey changed the visibility for D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Dec 3 2024, 16:17
Policy changed the edit policy for D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Dec 3 2024, 16:16
Policy changed the visibility for D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Dec 3 2024, 16:16
valerio.bozzolan updated the test plan for D25844: Add first unit test for mimemailparser headers.
Dec 3 2024, 15:53
valerio.bozzolan updated the diff for D25844: Add first unit test for mimemailparser headers.

git rebase origin/master

Dec 3 2024, 15:52
valerio.bozzolan added a comment to D25844: Add first unit test for mimemailparser headers.

lol @taavi I've stolen some of your "ä" for the example file test_accents.mbox, I hope you won't send me a lawyer

Dec 3 2024, 15:48
valerio.bozzolan updated the summary of D25844: Add first unit test for mimemailparser headers.
Dec 3 2024, 15:47
valerio.bozzolan requested review of D25844: Add first unit test for mimemailparser headers.
Dec 3 2024, 15:44
valerio.bozzolan added a revision to T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them: D25844: Add first unit test for mimemailparser headers.
Dec 3 2024, 15:44 · Bug Reports
3tayesh commandeered D25839: Fix parsing of incoming mail with UTF-8 encoded headers from aklapper.
Dec 3 2024, 15:09
aklapper closed T15960: Incoming mail parsing fails if specific headers have UTF-8 encoded text in them as Resolved by committing rPc589529155d6: Fix parsing of incoming mail with UTF-8 encoded headers.
Dec 3 2024, 12:39 · Bug Reports
aklapper closed D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Dec 3 2024, 12:39
aklapper committed rPc589529155d6: Fix parsing of incoming mail with UTF-8 encoded headers.
Fix parsing of incoming mail with UTF-8 encoded headers
Dec 3 2024, 12:39
valerio.bozzolan accepted D25839: Fix parsing of incoming mail with UTF-8 encoded headers.

I tried to prepare a unit test but it's not working. But yes the patch itself seems to work thanks

Dec 3 2024, 12:01
valerio.bozzolan added a comment to D25839: Fix parsing of incoming mail with UTF-8 encoded headers.

(Sorry I cannot test now) Does the test plan work with just this?

Dec 3 2024, 11:24
valerio.bozzolan added a comment to D25843: Delete Repository button: disable if not admin, but show popup to all.

Nice question avivey. We could always disable this but maybe "newcomer admins" may not try to click it, so with more confusion from the other (Dark) Side.

Dec 3 2024, 05:52

Dec 2 2024

avivey accepted D25843: Delete Repository button: disable if not admin, but show popup to all.

Since the button doesn't do anything in any case except say why it doesn't do anything, it might always be disabled? Do we have any other similar buttons?
I'm never sure if users discover that disabled buttons are actually clickable (and try to explain why they're disabled). It's a UI feature I really like, but I don't think I've seen it anywhere else.

Dec 2 2024, 21:24
valerio.bozzolan requested review of D25843: Delete Repository button: disable if not admin, but show popup to all.
Dec 2 2024, 20:19
valerio.bozzolan added a revision to T15964: "Delete Repository" button: it's a bit scaring (always active): D25843: Delete Repository button: disable if not admin, but show popup to all.
Dec 2 2024, 20:19 · UX, Diffusion
valerio.bozzolan added a project to T15964: "Delete Repository" button: it's a bit scaring (always active): UX.
Dec 2 2024, 20:15 · UX, Diffusion
valerio.bozzolan created T15964: "Delete Repository" button: it's a bit scaring (always active).
Dec 2 2024, 20:13 · UX, Diffusion
aklapper closed D25841: Account registration: Restrict Real Name length.
Dec 2 2024, 19:36
aklapper closed T15962: Account registration: Handle too long Real Name more gracefully as Resolved by committing rPeb380f922c9a: Account registration: Restrict Real Name length.
Dec 2 2024, 19:36
aklapper committed rPeb380f922c9a: Account registration: Restrict Real Name length.
Account registration: Restrict Real Name length
Dec 2 2024, 19:36
valerio.bozzolan added a project to T15742: When creating a Diffusion Repo, add helpful text to each field: UX.
Dec 2 2024, 17:37 · UX, Diffusion
l2dy added a comment to T15062: Introducing Phixator 2.

Is the extension still maintained? While there is no extension store yet, it's possible to host repositories here. https://we.phorge.it/w/docs/extensions/phactory/

Dec 2 2024, 13:58 · Phactory: Community Projects
aklapper reopened 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 Open.
Dec 2 2024, 09:28 · PHP 8 support
aklapper reopened T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated as Open by committing rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Dec 2 2024, 09:28 · Deprecation Notice, PHP 8 support
aklapper closed T15963: LDAP over TLS is broken as Resolved by committing rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Dec 2 2024, 09:28 · Bug Reports, Auth
aklapper closed D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 09:28
aklapper added a reverting change for D25792: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception: rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Dec 2 2024, 09:28
aklapper committed rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"…
Dec 2 2024, 09:28
aklapper added a reverting change for rP700090917af6: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception: rP0bfdcaa005b1: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated"….
Dec 2 2024, 09:28
valerio.bozzolan added a revision to T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated: D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 06:48 · Deprecation Notice, PHP 8 support
valerio.bozzolan updated the summary of D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 06:48
valerio.bozzolan accepted D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 06:47
aklapper requested review of D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 00:28
aklapper added a reverting change for rP700090917af6: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception: D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 00:28
aklapper added a reverting change for D25792: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception: D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 00:28
aklapper added a revision to T15963: LDAP over TLS is broken: D25842: Revert "Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception".
Dec 2 2024, 00:28 · Bug Reports, Auth

Dec 1 2024

pppery updated the diff for D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.

Add the newlline

Dec 1 2024, 20:37
taavi added a project to T15963: LDAP over TLS is broken: Bug Reports.
Dec 1 2024, 14:11 · Bug Reports, Auth
taavi added a comment to D25792: Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception.

this unfortunately caused T15963: LDAP over TLS is broken :/

Dec 1 2024, 14:08
taavi created T15963: LDAP over TLS is broken.
Dec 1 2024, 14:08 · Bug Reports, Auth
valerio.bozzolan added a comment to D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.

(I still need to understand the old intentions on the old regex, and the new one, but it seems much magically readable, thanks)

Dec 1 2024, 11:21

Nov 30 2024

valerio.bozzolan accepted D25841: Account registration: Restrict Real Name length.

Double slam accept

Nov 30 2024, 13:01
aklapper updated the diff for D25841: Account registration: Restrict Real Name length.

Simplify return of validateRealName() as proposed by Valerio

Nov 30 2024, 12:17

Nov 29 2024

valerio.bozzolan triaged T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php as Normal priority.
Nov 29 2024, 18:47 · Affects-Wikimedia
valerio.bozzolan updated the task description for T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
Nov 29 2024, 18:47 · Affects-Wikimedia
valerio.bozzolan added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.

BTW I think the page is reached by a crawler that is visiting a branch root on a specific commit:

Nov 29 2024, 18:42 · Affects-Wikimedia
valerio.bozzolan added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.

Wow. Assuming the line is the one with phutil_nonempty_string($branch), why branch "main" is considered a number?

Nov 29 2024, 18:36 · Affects-Wikimedia
valerio.bozzolan accepted D25841: Account registration: Restrict Real Name length.

sgtm. Thanks :) just that comment

Nov 29 2024, 18:11
aklapper updated the diff for D25841: Account registration: Restrict Real Name length.

Thanks for catching that! Amend in new PhutilNumber()

Nov 29 2024, 14:33
aklapper updated the summary of D25841: Account registration: Restrict Real Name length.
Nov 29 2024, 14:30
l2dy added inline comments to D25841: Account registration: Restrict Real Name length.
Nov 29 2024, 14:29
aklapper requested review of D25841: Account registration: Restrict Real Name length.
Nov 29 2024, 14:22
aklapper added a revision to T15962: Account registration: Handle too long Real Name more gracefully: D25841: Account registration: Restrict Real Name length.
Nov 29 2024, 14:22
aklapper created T15962: Account registration: Handle too long Real Name more gracefully.
Nov 29 2024, 13:54
aklapper added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.

Finally got a reproducer URI in downstream:

Nov 29 2024, 12:36 · Affects-Wikimedia
Siz3r303 awarded F2660661: profile a Pirate Logo token.
Nov 29 2024, 01:45

Nov 28 2024

aklapper awarded T15961: Should we adopt modern PHP type hints in Phorge source code? a Like token.
Nov 28 2024, 16:55 · Phorge Development Tools, Discussion Needed
valerio.bozzolan awarded T15961: Should we adopt modern PHP type hints in Phorge source code? a Like token.
Nov 28 2024, 14:34 · Phorge Development Tools, Discussion Needed
aklapper closed T15860: Editing a Herald rule fails to display values of custom field: "Unknown Object (????)" as Resolved by committing rPa68b8daafde3: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.
Nov 28 2024, 11:41 · Herald
aklapper closed D25696: Avoid "Unknown Object (????)" for custom Select field values in Herald editor.
Nov 28 2024, 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
Nov 28 2024, 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

Nov 28 2024, 11:40
valerio.bozzolan closed Q158: Is there a way to create a task in Maniphest via a webhook? as resolved.
Nov 28 2024, 09:01 · Maniphest
arp awarded Q158: Is there a way to create a task in Maniphest via a webhook? a Like token.
Nov 28 2024, 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.

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

Nov 27 2024

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.

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

Thanks for the comment

Nov 27 2024, 06:32

Nov 26 2024

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

Works on my machine!

Nov 26 2024, 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.
Nov 26 2024, 14:12 · Calendar
aklapper committed rP89be7a51d8c8: Validate some user provided calendar query range dates.
Validate some user provided calendar query range dates
Nov 26 2024, 14:12
aklapper closed D25825: Validate some user provided calendar query range dates.
Nov 26 2024, 14:12
valerio.bozzolan accepted D25825: Validate some user provided calendar query range dates.

Thanks :)

Nov 26 2024, 14:03
aklapper closed D25840: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.
Nov 26 2024, 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
Nov 26 2024, 14:02
aklapper updated the diff for D25825: Validate some user provided calendar query range dates.

Also update the PhpDoc accordingly

Nov 26 2024, 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

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

sgtm

Nov 26 2024, 13:59
aklapper requested review of D25840: mimemailparser: Fix implicitly nullable parameter declarations for PHP 8.4.
Nov 26 2024, 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. :)

Nov 26 2024, 13:48 · Bug Reports
aklapper requested review of D25839: Fix parsing of incoming mail with UTF-8 encoded headers.
Nov 26 2024, 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.
Nov 26 2024, 13:47 · Bug Reports
aklapper edited the content of Next Up.
Nov 26 2024, 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.
Nov 26 2024, 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.
Nov 26 2024, 13:08 · Maniphest, Affects-Wikimedia