In T15948#21505, @Cigaryno wrote:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Today
Today
20after4 added a comment to T15948: Allow public API access when equivalent public web access exists.
Yesterday
Yesterday
Yeah I was also pretty sure Phab used mysqli? I have had to have it on all my installations, and the Phorge documentation still cites it. https://we.phorge.it/book/contrib/article/database/
Phorge neither uses PHP's mysqli extension nor calls PHP's htmlentities() function.
Are you sure about that? Phorge supports either the old mysql extension or mysqli - and mysql was deprecated in PHP 5.5, and removed in PHP 7.0. Notably, Phorge checks for the existence of mysqli in PhabricatorDatabaseRef, PhabricatorExtensionSetupCheck and PhabricatorPHPConfigSetupCheck.
Cigaryno updated the task description for T15948: Allow public API access when equivalent public web access exists.
Wed, Apr 2
Wed, Apr 2
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, ));
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 :)
Cigaryno added a comment to T15948: Allow public API access when equivalent public web access exists.
In T15948#21503, @Cigaryno wrote:There must be a function that allows Conduit methods to be used by logged-out users. It's just that there are hardly any methods using that function.
Cigaryno updated the task description for T15948: Allow public API access when equivalent public web access exists.
Cigaryno added a comment to T15948: Allow public API access when equivalent public web access exists.
There must be a function that allows Conduit methods to be used by logged-out users. It's just that there are hardly any methods using that function.
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()….
aklapper committed rP17033a1c70d8: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string()….
Fix exception handling a numeric git branch ("Call to phutil_nonempty_string()…
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
valerio.bozzolan accepted D25945: Fix exception handling a numeric git branch ("Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository).
Check if the comments are interesting - thanks for this Phorgi patchi that seems lovely
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).
valerio.bozzolan renamed 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 from Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php to 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.
valerio.bozzolan 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.
I'm still a bit shocked by how PHP is so weird. So:
valerio.bozzolan 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.
Wow. 10 years of PHP, first time that I notice this
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.
Tue, Apr 1
Tue, Apr 1
PHPDoc: Replace non-existing return type phid with string
PHPDoc: Replace non-existing return type phid with string
yuuuuuuup
yuuuup
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.
aklapper updated the summary of D25902: Remove unused code in ManiphestReportController::renderBurn().
Patch approved in 123123121231323μ asd
Mon, Mar 31
Mon, Mar 31
PHPDoc: Replace non-existing param type phid with string
Yup and thanks that somebody already put "PHID" is the inline description.
PHPDoc: Replace non-existing param type const with string
PHPDoc: Replace non-existing param type const with string
Mark Phorge.it Home as non-launchable
Cigaryno closed T16018: Update TOTP suggestions to open-source applications as Resolved by committing rPf6639cc09c3d: Update TOTP suggestions to open-source applications.
Update TOTP suggestions to open-source applications
Looks good to me, thanks!
Looks good, yeah.
Sun, Mar 30
Sun, Mar 30
In D25935#25149, @Cigaryno wrote:Why would a cancel URI be needed?
@avivey does this look good to you?
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.
In D25926#25147, @Cigaryno wrote:But so far this is nothing meant to be hidden from users who can't edit the repo.
In D25935#25135, @aklapper wrote:After these steps I get Unhandled Exception ("Exception"): This transaction group requires MFA to apply, but the Editor was not configured with a Cancel URI. This workflow can not perform an MFA check.
Why would a cancel URI be needed? Do you know a Cancel URI for an app with something that prompts for MFA (ie. exposing Passphrases, empowering users, signing comments with MFA, managing your VCS password and SSH keys)
In D25935#25144, @Cigaryno wrote:In D25935#25135, @aklapper wrote: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?
Cigaryno added a comment to D25926: Make Diffusion repository management accessible to logged-out users.
In D25926#25145, @aklapper wrote:Socially I remain unconvinced about use cases. Implications are for example exposing hidden (or internal?) URIs under URIs or "Working Copy Status" stuff under Basics to the public. I just so far do not think it's a good idea.
aklapper added a comment to D25926: Make Diffusion repository management accessible to logged-out users.
Tested this locally; technically it looks correct to me.
aklapper updated the test plan for D25926: Make Diffusion repository management accessible to logged-out users.
In D25935#25135, @aklapper wrote:Which "an application" exactly?
Any application were canUninstall is not set to false (thus not a required application).
As which type of user?
A user with the Can Configure Application capability (by default admins).
Fix typos reported by @aklapper.
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.
In D25936#25132, @aklapper wrote:@Cigaryno: Thanks! Could you elaborate why the change in .arcconfig is needed?
Clear Test Plans with URIs are welcome - the less others need to think "how/where to do that" the easier gets testing.
@Cigaryno: Thanks! Could you elaborate why the change in .arcconfig is needed?
So, this turns out to be a lot harder than I thought.
Should be fine after these two changes :)
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?
Cigaryno renamed T15059: we.phorge.it doesn't email @outlook.com addresses from Phabricator doesn't email @outlook.com addresses to we.phorge.it doesn't email @outlook.com addresses.
I think it's relevant to have a status site (likely at status.phorge.it). Uptimerobot sounds like a good option and is used by translatewiki.net.
One thing that's optional to have (likely not possible with Uptimerobot) is a Daemon status checker, as @avivey pointed out when they forgot to start the daemons at some point. For this, a custom status checker that calls a daemon that's not for making edits or changes can be used.
Cigaryno added a reviewer for D25936: Mark Phorge.it Home as non-launchable: O1: Blessed Committers.
Thank you both for the conversation here and further thanks @Cigaryno for the patch! :)
Cigaryno updated the test plan for D25027: Allow an infinite number of arcpatch_DXXXX_X branches to be created.
Sat, Mar 29
Sat, Mar 29
I don't know if what I done on D25935 is correct, but as usual, Request Changes if I did it wrong.
I relied on the code on PhabricatorUserEmpowerTransaction to try to make PhabricatorApplicationUninstallTransaction require MFA if enabled.
Make lint happy
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0