In D25390#11765, @valerio.bozzolan wrote:if (!is_array($value)) { // ←←←←←←←←← May be this needs to be converted to is_string($value) or similar thingThis seems reasonable since it's nonsense to me to decode an integer, or decode a float. Only decoding a string makes sense to me.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Jan 12 2024
Jan 12 2024
aklapper added a comment to D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
aklapper updated the diff for D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
Only call json_decode() in PhabricatorStandardCustomFieldPHIDs.php on string values, instead of not calling setValueFromApplicationTransactions() in PhabricatorCustomFieldEditField.php as proposed by Valerio
valerio.bozzolan added a comment to D25507: Config User Extra Fields: link to the doc (like Maniphest).
Yeah I honestly don't know if uppercase or lowercase.
Tested locally, all in all +1 but capitalization is inconsistent comparing to maniphest.custom-field-definitions: Custom Fields twice and User Profiles once should use lower-case.
valerio.bozzolan accepted D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode.
I sincerely think this is lovely. Thanks. I do not understand how you figure it out all these keywords and in what order and associated to what, but hey, it works.
valerio.bozzolan retitled D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode from Fix remarkup codeblock syntax highlighting when using Dark Mode
I set this to unbreak now just to give extra visibility on the homepage :^)
valerio.bozzolan renamed T15673: Phorge participation at FOSDEM 2024 from Phorge participation at FOSDEM 2024 (Deadline: 10th December) to Phorge participation at FOSDEM 2024.
valerio.bozzolan added a comment to D25478: Use predictable filenames when downloading raw diffs from a revision.
Ah, before landing, please consider an additional line in the comment (like the proposed one)
valerio.bozzolan accepted D25478: Use predictable filenames when downloading raw diffs from a revision.
As far as I can understand, the generated file name here is 100% for commodity purposes: not used for anything on the filesystem, not used as unique key in something, not used to check whenever the file should be created again or not.
I'm testing this. It works and this makes me happy. Please wait Sunday before landing this, so others can give an eye.
valerio.bozzolan added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
Can you try changing this line in your local install?
Probably causing problems with Facebook OAuth
aklapper committed rP8e09dbfee343: Fix PHP 8.1 exception creating task when custom select field configured.
Fix PHP 8.1 exception creating task when custom select field configured
aklapper closed T15687: PHP 8.1 "strlen(null)" exception when custom select field configured, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
aklapper committed rP40d10fbe1ae6: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
Fix PHP 8.1 "strlen(null)" exception when custom select field configured
aklapper updated the diff for D25494: Fix PHP 8.1 exception creating task when custom select field configured.
Use strlen() instead of empty string check
Jan 11 2024
Jan 11 2024
Same comment about keeping strlen. Up to you if you want to switch before landing.
Simplify some code / fix TODOs as proposed by Valerio
ty
Just for the records and bystanders: All expectations described in D25503#14539 are also what the patch currently does.
aklapper updated the diff for D25492: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
Use strlen() instead of empty string check
aklapper added inline comments to D25492: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
Ideally, comments are a general things and should be kept. Also changing Tags and Subscribers etc. is generic and should be kept.
aklapper added a comment to D25494: Fix PHP 8.1 exception creating task when custom select field configured.
Does anyone dare to accept the last revision? :)
aklapper added a comment to D25492: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
The updated one-liner welcomes another review :)
aklapper requested review of D25511: Ellipsize long labels in Add Action area to avoid text overlap.
doommius updated the task description for T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
doommius updated the task description for T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..
sirocyl updated the question details for Q103: Ponder: "New Answer" input box should be hidden for those without permissions..
Noticed a few dangling phacility references in URLs in documentation, which could lead users to grabbing upstream Phabricator versions by mistake:
phorge/src/docs/user/field/xhprof.diviner: $ git clone https://github.com/phacility/xhprof.git phorge/src/docs/user/userguide/arcanist.diviner: some_install_path/ $ git clone https://github.com/phacility/arcanist.git phorge/src/docs/user/userguide/arcanist_quick_start.diviner: somewhere/ $ git clone https://github.com/phacility/arcanist.git
corresponding to:
https://we.phorge.it/book/phorge/article/xhprof/#installing-xhprof
https://we.phorge.it/book/phorge/article/arcanist/#installing-arcanist
https://we.phorge.it/book/phorge/article/arcanist_quick_start/#installing-arcanist
Fix invalid CSS property value
Under the hood branches are already supported by the locate feature. The whole file tree is loaded via AJAX, when you first click in the input field. This tree represents the current selected branch.
fgaz added a comment to Q91: How can I tell phorge to use a different local.json file at runtime? (Answer 114).
did you find a solution for this?
Jan 10 2024
Jan 10 2024
valerio.bozzolan awarded D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode a Love token.
valerio.bozzolan updated the diff for D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode.
Run arc diff from my computer that has Xdebug enabled
mturdus added a comment to D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode.
Can someone explain what these "Code coverage needs to be enabled in php.ini by setting 'xdebug.mode' to 'coverage'" messages mean ?
Are these automated unit tests run on we.phorge.it or on my system ?
avivey awarded T15705: Lower the search ranking of disabled user accounts a Evil Spooky Haunted Tree token.
Completely agree on lowering their ranking as default
avivey updated subscribers of Q91: How can I tell phorge to use a different local.json file at runtime? (Answer 114).
@fgaz - did you find a solution for this?
For the "make Phorge extensions easy to install" feature (which I can't find the ticket for), I have a vague plan of adding another file describing available/installed extensions. I'd like to make packaging harder if I can avoid it, so possibly whatever solves local.json can solve this file too.
I have some containers I put together for development which could provide a place to start
https://github.com/neandrake/phab-dev
Jan 9 2024
Jan 9 2024
In T15566#14934, @valerio.bozzolan wrote:I've just found again this
In T15673#14931, @valerio.bozzolan wrote:OH MY GOD FOR SOME REASONS THEY RE-OPENED OUR PROPOSAL \o/ IT'S HAPPENING!
https://pretalx.fosdem.org/fosdem-2024/talk/review/EXZNAUXQKMJ7HRYYRD7MKFXTTV8JFQDJ
mturdus requested review of D25509: Improve remarkup codeblock syntax highlighting when using Dark Mode.
valerio.bozzolan added a project to T15566: Make is easier to install Phorge in the smallest case: Phorge.
I do not remember who was developing Docker stuff for this. I've just found again this
OH MY GOD FOR SOME REASONS THEY RE-OPENED OUR PROPOSAL \o/ IT'S HAPPENING!
Jan 8 2024
Jan 8 2024
bd808 updated the task description for T15566: Make is easier to install Phorge in the smallest case.
Just discovered this from secure dot, 2017
valerio.bozzolan added a comment to D25494: Fix PHP 8.1 exception creating task when custom select field configured.
This works as long as getFieldValue() never returns an object (that has a toString, that may be empty)
Add support for FIDO2-backed SSH keys
Thanks. Don't take my comments seriously. Probably they have no sense.
This is exactly the same as I've done on the system I patched at my workplace. I apologize for not submitting my own patch, I didn't have access to my work systems during the holidays.
Hoping to be useful I've added you as reviewer in D25508: Add support for FIDO2-backed SSH keys
valerio.bozzolan updated the task description for T15703: Workboard Cover Image: the cropped "Transform" is orphan.
Some possibilities:
valerio.bozzolan requested review of D25507: Config User Extra Fields: link to the doc (like Maniphest).
fix missing Transform entry
Jan 7 2024
Jan 7 2024
Also instead of “Goodie” maybe “Helper” or something. Maybe there’s a similar naming elsewhere in the code base
I forgot I had this requesting changes. Any idea of the performance hit in markup rendering now that PhutilURI is constructed for every link? I think its constructor does a fair amount.
You are doing a nice work.
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