Page MenuHomePhorge
Feed Advanced Search

Apr 5 2025

aklapper requested review of D25950: Remove PHP APC support and APC references.
Apr 5 2025, 17:04
aklapper updated the diff for D25947: Remove setup check for safe_mode removed in PHP 5.4.

git rebase master

Apr 5 2025, 14:05
aklapper closed D25948: Remove setup check for PHP 7.0.
Apr 5 2025, 14:02
aklapper committed rPadc199eb4abb: Remove setup check for PHP 7.0.
Apr 5 2025, 14:02
aklapper requested review of D25949: Complete session digest migration from SHA1 to SHA256.
Apr 5 2025, 14:00
aklapper added a revision to T16025: Tech Debt: Complete session digest migration from SHA1 to SHA256: D25949: Complete session digest migration from SHA1 to SHA256.
Apr 5 2025, 14:00
aklapper requested review of D25948: Remove setup check for PHP 7.0.
Apr 5 2025, 13:44
aklapper requested review of D25947: Remove setup check for safe_mode removed in PHP 5.4.
Apr 5 2025, 13:39
aklapper requested changes to D25946: Remove support for PHP mysql extension.

Nearly perfect (thanks!), only thing missing is to also update mysql (or mysqli) in src/docs/user/installation_guide.diviner.

Apr 5 2025, 13:12
aklapper created T16025: Tech Debt: Complete session digest migration from SHA1 to SHA256.
Apr 5 2025, 09:50
aklapper added a comment to D25887: Remove use of deprecated E_STRICT PHP constant.

Phorge supports either the old mysql extension or mysqli - and mysql was deprecated in PHP 5.5, and removed in PHP 7.0.

Apr 5 2025, 09:42
aklapper created T16024: Tech Debt: Remove PHP mysql extension related code.
Apr 5 2025, 09:41
aklapper updated the summary of D25886: Remove use of deprecated E_STRICT PHP constant.
Apr 5 2025, 09:24
aklapper updated the summary of D25887: Remove use of deprecated E_STRICT PHP constant.
Apr 5 2025, 09:24
aklapper added a comment to D25887: Remove use of deprecated E_STRICT PHP constant.

I cannot remember how I attempted (and failed) to check a few weeks ago... Thank you both for jumping in and correcting!

Apr 5 2025, 09:21

Apr 2 2025

aklapper updated subscribers of T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated.

Patch based on my understanding of taavi's comments in T15963 (as I fail to set up an LDAP server locally):

diff --git a/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php b/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php
index 14047c1761..e25659a4aa 100644
--- a/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php
+++ b/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php
@@ -305,7 +305,16 @@ final class PhutilLDAPAuthAdapter extends PhutilAuthAdapter {
           'port' => $this->port,
         ));
Apr 2 2025, 21:43 · Deprecation Notice, PHP 8 support
aklapper added a comment to rP67b7181f5226: Facts: Always render YYYY-MM-DD dates with eight digits in chart tooltips.

@valerio.bozzolan Could you remove the concern so this isn't listed on https://we.phorge.it/diffusion/commit/ for me? Thanks :)

Apr 2 2025, 20:19
aklapper edited the content of Welcome to the Phorge Wiki.
Apr 2 2025, 20:17 · Phorge
aklapper closed T15640: Errors when a commit belongs to a numeric git branch: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php as Resolved by committing rP17033a1c70d8: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string()….
Apr 2 2025, 13:09 · Bug Reports, Affects-Wikimedia
aklapper closed D25945: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository).
Apr 2 2025, 13:09
aklapper committed rP17033a1c70d8: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string()….
Apr 2 2025, 13:09
aklapper updated the diff for D25945: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository).

add PHPDoc

Apr 2 2025, 13:07
aklapper requested review of D25945: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository).
Apr 2 2025, 11:55
aklapper added a revision to T15640: Errors when a commit belongs to a numeric git branch: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php: D25945: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository).
Apr 2 2025, 11:55 · Bug Reports, Affects-Wikimedia
aklapper added a comment to T15640: Errors when a commit belongs to a numeric git branch: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.

https://www.php.net/manual/en/language.types.array.php#language.types.array.syntax :

Strings containing valid decimal ints, unless the number is preceded by a + sign, will be cast to the int type.

Apr 2 2025, 00:00 · Bug Reports, Affects-Wikimedia

Apr 1 2025

aklapper closed D25943: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 23:15
aklapper committed rARC93930454c58a: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 23:15
aklapper closed D25944: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 23:15
aklapper committed rPdef09cf442de: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 23:15
aklapper added a project to T15640: Errors when a commit belongs to a numeric git branch: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php: Bug Reports.

The culprit is $map[$branch] = $branch_head; in https://we.phorge.it/source/phorge/browse/master/src/applications/diffusion/data/DiffusionGitBranch.php$105.
Before $branch was a string, afterwards it is an integer.

Apr 1 2025, 17:47 · Bug Reports, Affects-Wikimedia
aklapper updated the summary of D25902: Remove unused code in ManiphestReportController::renderBurn().
Apr 1 2025, 09:52
aklapper requested review of D25944: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 09:02
aklapper requested review of D25943: PHPDoc: Replace non-existing return type phid with string.
Apr 1 2025, 09:01

Mar 31 2025

aklapper requested review of D25942: Herald Transcripts: Use μs instead of us for microseconds.
Mar 31 2025, 21:17
aklapper requested review of D25941: PhabricatorCustomField: Fix a typo in PHPDoc.
Mar 31 2025, 21:01
aklapper closed D25940: PHPDoc: Replace non-existing param type phid with string.
Mar 31 2025, 20:52
aklapper committed rPb302851369f0: PHPDoc: Replace non-existing param type phid with string.
Mar 31 2025, 20:52
aklapper requested review of D25940: PHPDoc: Replace non-existing param type phid with string.
Mar 31 2025, 20:23
aklapper closed D25938: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 20:01
aklapper committed rPabb0d6815a98: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 20:01
aklapper closed D25939: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 20:00
aklapper committed rARCb6210fae9136: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 20:00
aklapper requested review of D25939: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 19:31
aklapper requested review of D25938: PHPDoc: Replace non-existing param type const with string.
Mar 31 2025, 19:29
aklapper accepted D25934: Update TOTP suggestions to open-source applications.

Looks good to me, thanks!

Mar 31 2025, 13:01 · User-Cigaryno, Auth

Mar 30 2025

aklapper added a comment to D25935: Require MFA to uninstall apps if enabled.

Why would a cancel URI be needed?

Mar 30 2025, 22:04 · Security, User-Cigaryno
aklapper requested review of D25937: PHPDoc: Make some parameter types match type in signatures.
Mar 30 2025, 21:06
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.

But so far this is nothing meant to be hidden from users who can't edit the repo.

Mar 30 2025, 20:52 · User-Cigaryno, Diffusion
aklapper added a comment to D25935: Require MFA to uninstall apps if enabled.

Which "an application" exactly?

Any application were canUninstall is not set to false (thus not a required application).

That's what I tested (as the Files application can be uninstalled). Which exact application(s) did you test?
I'm surprised that you did not run into the same problem as I did described in my last comment...maybe it's related to not being an admin?

Mar 30 2025, 20:46 · Security, User-Cigaryno
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.

Tested this locally; technically it looks correct to me.

Mar 30 2025, 20:42 · User-Cigaryno, Diffusion
aklapper updated the test plan for D25926: Make Diffusion repository management accessible to logged-out users.
Mar 30 2025, 20:41 · User-Cigaryno, Diffusion
aklapper renamed T15036: Phorge upstream mail should not use @secure.phorge.dev addresses from Phorge upstream mail should not use @upstream.phorge.dev addresses to Phorge upstream mail should not use @secure.phorge.dev addresses.
Mar 30 2025, 20:23 · phorge.it install
aklapper requested changes to D25935: Require MFA to uninstall apps if enabled.

Clear Test Plans with URIs are welcome - the less others need to think "how/where to do that" the easier gets testing.

Mar 30 2025, 20:13 · Security, User-Cigaryno
aklapper updated the test plan for D25936: Mark Phorge.it Home as non-launchable.
Mar 30 2025, 19:54 · User-Cigaryno, phorge.it install
aklapper added a comment to D25936: Mark Phorge.it Home as non-launchable.

@Cigaryno: Thanks! Could you elaborate why the change in .arcconfig is needed?

Mar 30 2025, 19:53 · User-Cigaryno, phorge.it install
aklapper requested changes to D25934: Update TOTP suggestions to open-source applications.

Should be fine after these two changes :)

Mar 30 2025, 19:11 · User-Cigaryno, Auth
aklapper added inline comments to D25934: Update TOTP suggestions to open-source applications.
Mar 30 2025, 19:11 · User-Cigaryno, Auth
aklapper added a comment to Q166: Support for request header and body in "Make HTTP Request" step in Harbormaster.

There is a downstream patch "Add HTTP Body option in Harbormaster HTTP Build step" in https://github.com/mozilla-conduit/phabricator/commit/9bb9a12079b381ce14af97a8b2c511ae71be389c which might be related and could be lifted?

Mar 30 2025, 15:33 · Almanac/Drydock/Harbormaster

Mar 29 2025

aklapper added a comment to T16018: Update TOTP suggestions to open-source applications.

I'd personally not remove common proprietary software options (as it makes life of users potentially harder if they already have such an app installed) but list FOSS options first.

Mar 29 2025, 13:43 · User-Cigaryno, Auth
aklapper added a comment to D25934: Update TOTP suggestions to open-source applications.

I'd prefer not to remove common proprietary software options but list FOSS options first.

Mar 29 2025, 13:43 · User-Cigaryno, Auth
aklapper closed D25932: PHPDoc: Replace non-existing return type const with string.
Mar 29 2025, 11:38
aklapper committed rPa9c6ea4773ac: PHPDoc: Replace non-existing return type const with string.
Mar 29 2025, 11:38
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.

What is there to "further review"? It's two lines...

Mar 29 2025, 10:12 · User-Cigaryno, Diffusion
aklapper updated the test plan for D25932: PHPDoc: Replace non-existing return type const with string.
Mar 29 2025, 09:54
aklapper requested review of D25933: Remove several unused private functions.
Mar 29 2025, 09:47
aklapper requested review of D25932: PHPDoc: Replace non-existing return type const with string.
Mar 29 2025, 09:28

Mar 28 2025

aklapper edited the content of Next Up.
Mar 28 2025, 10:23
aklapper closed D25921: Fix invalid CSS overflow value for .phui-oi-name.
Mar 28 2025, 10:23
aklapper committed rP06a62b347ac5: Fix invalid CSS overflow value for .phui-oi-name.
Mar 28 2025, 10:23
aklapper updated the diff for D25921: Fix invalid CSS overflow value for .phui-oi-name.

git rebase master

Mar 28 2025, 10:21
aklapper added a comment to D25930: Remove more obsolete IE9 filter CSS syntax.

No problem! I'll send you my crypto wallet address. Once the money has arrived you'll receive your clipboard content as an NFT.

Mar 28 2025, 10:01
aklapper edited the content of Next Up.
Mar 28 2025, 09:58
aklapper closed D25930: Remove more obsolete IE9 filter CSS syntax.
Mar 28 2025, 09:57
aklapper committed rP64044ab8308c: Remove more obsolete IE9 filter CSS syntax.
Mar 28 2025, 09:57
aklapper added a comment to D25930: Remove more obsolete IE9 filter CSS syntax.

My keylogger thanks you! Would you like to know anything else about your online patterns?

Mar 28 2025, 09:56
aklapper added a comment to D25930: Remove more obsolete IE9 filter CSS syntax.

30 seconds for a review?! I think you broke a record.

Mar 28 2025, 09:54
aklapper requested review of D25930: Remove more obsolete IE9 filter CSS syntax.
Mar 28 2025, 09:51
aklapper edited the content of Next Up.
Mar 28 2025, 06:07
aklapper closed D25928: Remove some pre-2013 vendor-prefixed -ms- CSS properties.
Mar 28 2025, 05:57
aklapper committed rP112174b900cb: Remove some pre-2013 vendor-prefixed -ms- CSS properties.
Mar 28 2025, 05:57
aklapper updated the summary of D25928: Remove some pre-2013 vendor-prefixed -ms- CSS properties.
Mar 28 2025, 05:57
aklapper updated the diff for D25928: Remove some pre-2013 vendor-prefixed -ms- CSS properties.

git rebase master

Mar 28 2025, 05:55
aklapper closed D25929: Remove obsolete IE9 filter CSS syntax.
Mar 28 2025, 05:50
aklapper committed rPe38f545743d8: Remove obsolete IE9 filter CSS syntax.
Mar 28 2025, 05:50

Mar 27 2025

aklapper updated the summary of D25929: Remove obsolete IE9 filter CSS syntax.
Mar 27 2025, 19:17
aklapper requested review of D25929: Remove obsolete IE9 filter CSS syntax.
Mar 27 2025, 19:15
aklapper requested review of D25928: Remove some pre-2013 vendor-prefixed -ms- CSS properties.
Mar 27 2025, 18:11
aklapper closed D25927: Remove pre-2016 vendor-prefixed -webkit- CSS properties.
Mar 27 2025, 07:33
aklapper edited the content of Next Up.
Mar 27 2025, 07:33
aklapper committed rP047021649785: Remove pre-2016 vendor-prefixed -webkit- CSS properties.
Mar 27 2025, 07:33

Mar 26 2025

aklapper requested review of D25927: Remove pre-2016 vendor-prefixed -webkit- CSS properties.
Mar 26 2025, 17:05
aklapper closed T16007: Discuss the policy for contributing to prototype applications as Resolved by committing rP29866413d1c7: Diviner: Contributing Code: Update section on Prototype Changes.
Mar 26 2025, 16:15 · Discussion Needed, User-Cigaryno
aklapper committed rP29866413d1c7: Diviner: Contributing Code: Update section on Prototype Changes.
Mar 26 2025, 16:15
aklapper closed D25909: Diviner: Contributing Code: Update section on Prototype Changes.
Mar 26 2025, 16:15
aklapper closed D25912: Apply "Can Bulk Edit Tasks" to "Move Tasks" workboard options.
Mar 26 2025, 13:23
aklapper committed rP97605e6aa95f: Apply "Can Bulk Edit Tasks" to "Move Tasks" workboard options.
Mar 26 2025, 13:23
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.

robots.txt can have the solution for that (see below).
[...]
For search engines, the solution is to add this to robots.txt:

In theory yes if everyone behaved. In practice, robots.txt is ignored and LLM/AI crawlers are ruthless. (For example, GNOME GitLab admins recently installed Anubis to run background checks on your machine.)

Mar 26 2025, 13:02 · User-Cigaryno, Diffusion
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.

Why would a logged-out user (who does not want to or cannot create an account) want to know about Repository management log or Repository limits? I don't see how that's their business (or interest)?

Mar 26 2025, 11:58 · User-Cigaryno, Diffusion
aklapper added a comment to T15999: Make Phorge more accessible to logged-out users.

Some items in the task description make me a bit uncomfortable in my instance. Why does everyone need to see Diffusion sync, pull, and push logs? Why Herald transcripts? Why repo management if you cannot manage? What are actual use cases which outweigh security implications?

Mar 26 2025, 11:57 · User-Cigaryno

Mar 25 2025

aklapper added inline comments to D25912: Apply "Can Bulk Edit Tasks" to "Move Tasks" workboard options.
Mar 25 2025, 16:56