Page MenuHomePhorge
Feed Advanced Search

Jun 8 2023

speck accepted D25264: Fix some PHP 8.1 "strlen(null)" exceptions on Differential Revision page.
Jun 8 2023, 11:08
speck accepted D25265: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after renaming default branch.

These are likely fine. The reason for preferring null check instead is if there’s uncertainty that the values could ever be anything besides null or string. The nonemepty string check might reject something that was previously accepted, where an object that overrides __toString would have strlen and friends operate on the toString function but the object itself is still used/passed. In this case I think it’s likely fine.

Jun 8 2023, 11:08
speck accepted D25263: Fix PHP 8.1 "preg_match(null)" exception on "Create Revision" page in Differential when not entering data.
Jun 8 2023, 11:06
speck accepted D25191: Auto-subscription: little less verbose.
Jun 8 2023, 01:11 · UX
speck accepted D25120: Mobile: hide unuseful "Persistent Chat" checkbox.
Jun 8 2023, 01:01
speck accepted D25176: Fix PHP 8.1 "strlen(null)" exception which blocks creating a project with an empty Description field.
Jun 8 2023, 01:00
speck requested changes to D25239: Fix PHP 8.1 exceptions which block rendering Drydock's Create Blueprint page.
Jun 8 2023, 00:59
speck requested changes to D25240: Fix PHP 8.1 "strlen(null)" exception which blocks rendering errors on Create Blueprint page.
Jun 8 2023, 00:51
speck requested changes to D25258: Fix PHP 8.1 "base64_decode(null)" exception calling Conduit's file.upload with no data passed.
Jun 8 2023, 00:49
speck requested changes to D25259: Fix PHP 8.1 "trim(null)" exception which blocks rendering Conduit's harbormaster.sendmessage page.
Jun 8 2023, 00:38
speck requested changes to D25263: Fix PHP 8.1 "preg_match(null)" exception on "Create Revision" page in Differential when not entering data.
Jun 8 2023, 00:36
speck requested changes to D25264: Fix some PHP 8.1 "strlen(null)" exceptions on Differential Revision page.
Jun 8 2023, 00:34
speck requested changes to D25265: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after renaming default branch.
Jun 8 2023, 00:33
speck added inline comments to D25265: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after renaming default branch.
Jun 8 2023, 00:33
speck accepted D25267: Fix PHP 8.2 "trim(null)" exception which causes Conduit's user.whoami to fail.
Jun 8 2023, 00:32
speck requested changes to D25268: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 1/2).
Jun 8 2023, 00:32
speck requested changes to D25271: Fix PHP 8.1 "strlen(null)" exceptions creating a Diffusion Identity without entering assignee.
Jun 8 2023, 00:29
speck accepted D25273: Fix PHP 8.1 "strlen(null)" exception setting a Diffusion repo URI when diffusion.ssh-host is null.
Jun 8 2023, 00:28
speck accepted D25277: PHP 8.1 "strlen(null)" exception on SVN History page after changing "Import Only".
Jun 8 2023, 00:27
speck accepted D25278: Fix PHP 8.1 "strlen(null)" exception on SVN repo page with no branches.
Jun 8 2023, 00:26
speck accepted D25279: Fix PHP 8.1 "strlen(null)" exception viewing branches of non-existing Hg repo.

oop

Jun 8 2023, 00:25
speck requested changes to D25279: Fix PHP 8.1 "strlen(null)" exception viewing branches of non-existing Hg repo.
Jun 8 2023, 00:25

Jun 7 2023

smith awarded T15453: Diffusion: Create Identity form is incomplete a Like token.
Jun 7 2023, 18:04 · Bug Reports, Diffusion
speck added a comment to T15443: Add Diffusion policy capability "Can Edit and View Identities".

The "Create Identity" button on /diffusion/identity/ should be guarded by this new policy access, though currently that form is not functional - see T15453

Jun 7 2023, 18:03 · Diffusion, Policy
speck added a comment to T15440: PHP 8.1 strlen(null) and mb_detect_encoding(null) exceptions creating a Diffusion Identity without entering assignee.

Split to T15453

Jun 7 2023, 17:59 · PHP 8 support
speck created T15453: Diffusion: Create Identity form is incomplete.
Jun 7 2023, 17:59 · Bug Reports, Diffusion
speck added a comment to T15440: PHP 8.1 strlen(null) and mb_detect_encoding(null) exceptions creating a Diffusion Identity without entering assignee.

I mentioned in the diff but the "Create Identity" page appears to be incomplete and the issues here and while it uncovers some additional PHP-8 issues after addressing them the functionality of this form would still be incorrect.

Jun 7 2023, 02:16 · PHP 8 support

Jun 6 2023

speck added a comment to D25271: Fix PHP 8.1 "strlen(null)" exceptions creating a Diffusion Identity without entering assignee.

I think there's another issue here. I don't think this functionality is fleshed out and not an issue with PHP 8.1/2. On this install and others I get 502 gateway when trying to use the Create Identity form. I tried playing around with updating PhabricatorRepositoryEditEngine::newEditableObject() so that it assigns the authorPHID (the field I initially see being reported as not allowed to be null) so it's the current viewer. After doing that I got another error about the identity hash not being allowed to be null. Because of this I don't think we should update getUTF8StringFromStorage() here and just expect this form to blow up for the time being.

Jun 6 2023, 01:37
speck added inline comments to D25268: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 1/2).
Jun 6 2023, 00:33

Jun 5 2023

speck added inline comments to D25058: Fix broken file PHID extraction that causes Pholio uploads to crash.
Jun 5 2023, 17:38 · Pholio
speck updated subscribers of T15322: Footer: specify a default Libre license for Phorge contents.

What is being referred to as "Public Contents"? Wiki documentation? Diviner documentation? Ponder questions/answers? Other than those I'm not sure that should apply.

Jun 5 2023, 16:16 · Discussion Needed, Governance
valerio.bozzolan awarded T15289: Update Figlet implementation to be PHP8 compatible a Love token.
Jun 5 2023, 13:20 · PHP 8 support
valerio.bozzolan awarded D25142: Update Figlet implementation to be PHP8 compatible a Love token.
Jun 5 2023, 13:20
speck closed T15289: Update Figlet implementation to be PHP8 compatible, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Jun 5 2023, 13:17 · PHP 8 support
speck closed T15289: Update Figlet implementation to be PHP8 compatible as Resolved by committing rP71e4eee275f5: Update Figlet implementation to be PHP8 compatible.
Jun 5 2023, 13:17 · PHP 8 support
speck closed D25142: Update Figlet implementation to be PHP8 compatible.
Jun 5 2023, 13:17
speck committed rP71e4eee275f5: Update Figlet implementation to be PHP8 compatible (authored by valerio.bozzolan).
Update Figlet implementation to be PHP8 compatible
Jun 5 2023, 13:17

Jun 3 2023

speck added a comment to T15045: Support SSL/TLS for MariaDB connections.

Taking a stab at what it would look like in D25276: Add support for secure connections to the database. It's not tested at all yet but I think that's roughly the shape it would take. I haven't looked into how this would affect cluster environments but I think that is covered.

Jun 3 2023, 21:35 · Security
speck added inline comments to D25275: fix strlen in PhabricatorMailManagementShowOutboundWorkflow.
Jun 3 2023, 19:01 · PHP 8 support
speck added a comment to D25270: Dashboards: add capability who can create Dashboards.

Is a database migration needed to update existing installs or will the default just apply?

Jun 3 2023, 18:58
speck accepted D25274: Teach `./bin/celerity` about sprite maps.
Jun 3 2023, 16:48
speck added a comment to T15091: Possible to find whether an email is attached to an account.

Yes. The trade off would be user experience. I have absolutely spent 15+ minutes waiting for a reset email on sites after having either typo’d or put in a different email address from the one I signed up with.

Jun 3 2023, 16:08 · People, Security
speck added a comment to T15443: Add Diffusion policy capability "Can Edit and View Identities".

As an approach this seems good to me. Would it make sense to put creating identities behind the existing Edit policy of the repository?

Jun 3 2023, 15:59 · Diffusion, Policy
speck added inline comments to D25274: Teach `./bin/celerity` about sprite maps.
Jun 3 2023, 15:48

Jun 2 2023

speck added a comment to T15135: Unable to set 'Can Browse User Directory' to public.

I wonder if this is related to not being able to use the Diffusion repository file auto-complete when not logged in even though the repo is publicly accessible.

Jun 2 2023, 03:53 · People, Policy, Bug Reports, User-Cigaryno
speck added a comment to T15265: Exception when importing Mercurial repository with non-UTF-8 characters in filenames.

Could you check whether your install is running with this change? https://secure.phabricator.com/D21676

Jun 2 2023, 03:48 · Diffusion
speck added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

Arcanist internally generates a diff that includes a similar suggested parameter to account for the entire file contents being present in the resulting diff.

Jun 2 2023, 03:44 · Affects-FreeBSD, Differential

Jun 1 2023

speck added inline comments to D25268: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 1/2).
Jun 1 2023, 21:10
speck added inline comments to D25268: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 1/2).
Jun 1 2023, 20:31
speck added inline comments to D25268: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 1/2).
Jun 1 2023, 20:27
speck added a comment to Q52: How to set the Pull Time Limit for Mercurial repos?.

From the exception

STDERR
waiting for lock on working directory of /var/repo/8 held by process '112297' on host 'ec6149cd0a0b/f000037a'

It sounds like another hg process is operating on that repo at the time.

Jun 1 2023, 20:18 · Diffusion

May 29 2023

speck added a comment to D25247: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a Diffusion repository page.

Oh I completely misread your question, my mistake. I’m not actually sure what the data source query is.

May 29 2023, 23:19
speck added a comment to D25247: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a Diffusion repository page.

Looks like create a brand new repository then navigate to it in Diffusion. I ran across this same issue.

May 29 2023, 20:16
speck added inline comments to rP96ae4ba13acb: PHP 8.1: fixes for strlen() not accepting NULL anymore, part 2.
May 29 2023, 19:41
speck added a comment to D25205: Fix PHP 8.1 "strpos(null)" exception from PhutilCommandString which blocks arc patch.

I don't think this is an appropriate change, instead passing null into PhutilCommandString should be fixed. From the trace on T15367 it looks like a more appropriate fix might be updating ArcanistGitAPI::hasLocalCommit() to return false if $commit is null, or possibly updating ArcanistDifferentialDependencyGraph::loadEdges to check for null. I'm not sure under what circumstances it would end up with a null value though. In some basic testing the query it's doing does not return null for me.

May 29 2023, 19:16
speck added a comment to T15188: arc lint: "Function utf8_decode() is deprecated" in PHP 8.2.

It looks like upstream just straight-up removed the call to utf8_decode() in the master branch: https://secure.phabricator.com/diffusion/ARC/browse/master/src/utils/utf8.php$290-292

May 29 2023, 13:29 · PHP 8 support, Arcanist, User-valerio.bozzolan

May 23 2023

speck added inline comments to D25142: Update Figlet implementation to be PHP8 compatible.
May 23 2023, 20:40
speck added inline comments to D25142: Update Figlet implementation to be PHP8 compatible.
May 23 2023, 20:16

May 22 2023

speck added a comment to T15410: Discussion: stacked diffs / dependent revisions.

There is some support for this today, I have worked with dependent revisions in the past. There are some gaps but it’s possible today. I’ll look through my notes but I think this requires a fair amount of additional state tracking as commits change on local machines. I haven’t fully thought through it all but I think an ideal solution would be something like mercurial’s “evolve”, but that is likely a ton of work.

May 22 2023, 02:31 · Differential

May 18 2023

speck added a comment to T15401: Make the Remarkup Help Page Extensible.

There’s possibly other reasons why they left it undocumented but it was a while back and I haven’t gone digging in the upstream for details.

May 18 2023, 21:42 · Documentation, Remarkup
speck added a comment to T15401: Make the Remarkup Help Page Extensible.

Historically the reason why these aren’t documented is that they originally required installing 3rd party tools on the server. They were documented in tasks upstream but there was a security issue found with using graphviz so at that time out of caution they reimplemented figlet and cowsay in php rather than passing arguments to a 3rd party executable. After the implementation change documentation was never updated.

May 18 2023, 21:40 · Documentation, Remarkup
speck added a comment to D25142: Update Figlet implementation to be PHP8 compatible.

Oh I didn't realize it wasn't documented.

May 18 2023, 14:57
speck added a comment to D25142: Update Figlet implementation to be PHP8 compatible.

For a basic test additional compressed figlet font files have to be installed. I think it’s under src/support/figlet or src/resources/figlet or similar - pretty sure there’s a readme file in the location indicating it goes there. Then in a comment use remarkup to use figlet and verify it’s using the font you installed. For the zip check presumably you’d need to update php.ini to disable the zip extension.

May 18 2023, 12:08
speck added a comment to D25143: Update the arc-hg.py extension to work with mercurial 6.4.

We really need to turn on T15042 so diffs can be landed from the webpage

May 18 2023, 00:44
speck closed T15288: Mercurial 6.4: fix support in arc-hg.py extension as Resolved by committing rARC5cdafa4002d8: Update the arc-hg.py extension to work with mercurial 6.4.
May 18 2023, 00:44
speck closed D25143: Update the arc-hg.py extension to work with mercurial 6.4.
May 18 2023, 00:44
speck committed rARC5cdafa4002d8: Update the arc-hg.py extension to work with mercurial 6.4.
Update the arc-hg.py extension to work with mercurial 6.4
May 18 2023, 00:44

May 8 2023

speck added a comment to T15351: Create repository for Conduit API client in Rust.

One other thing we’ll need to address is the current code sharing between arcanist and phorge. I’m not sure the full scope of what Phorge relies on from arcanist but I think there’sa fair amount. We can probably get an idea by looking at the libphutil repo which was the shared library between the two which was eventually merged into arcanist

May 8 2023, 17:38 · Phactory: Community Projects
speck added a comment to T15351: Create repository for Conduit API client in Rust.

I was similarly looking at lua for the same reason as it's used by neovim 😆 . There are a few libraries for lua in rust but the one that seems recently active is mlua, which doesn't implement lua execution in rust but binds to lua binary/library. If we go the route of binding to another library/binary then our build/package would have to include the lua library file too (though it may be possible to embed it?). Something like Rhai (or there's also Rune and a few others), are implemented fully in Rust so there's less to worry about during the build/package process. I wasn't sold one way or the other but wanted to check out Lua along with some of the others to see how well they turn out.

May 8 2023, 01:52 · Phactory: Community Projects

May 7 2023

speck added a comment to T15351: Create repository for Conduit API client in Rust.

I’m fully aware of the friction that comes up trying to get developers using arcanist, the difficulties with PHP, the complexity in not understanding what’s going on, etc. and also familiar with the benefits of a compiled binary solution.

May 7 2023, 23:29 · Phactory: Community Projects
speck added a comment to T15351: Create repository for Conduit API client in Rust.

Hah this has been something spinning in the back of my mind for a while. One thing that will be difficult to support in something like Rust (not sure about Go) is that the PHP arcanist allows for very easily extending by dropping in your own PHP files to the extensions folder.

May 7 2023, 20:16 · Phactory: Community Projects
speck added a comment to T15281: $HOME missing from commands issued by ExecFuture.

In upstream phabricator I worked with Evan to update the Mercurial API in a way that all mercurial commands/futures are executed through a common path and allow making modifications to only those executions. For this we should look at something similar so that we're only passing $HOME to git commands and not to others.

May 7 2023, 19:31 · User-valerio.bozzolan, Arcanist
speck added a comment to T15121: Contributor Agreement.

Many people, myself included, contribute to open source projects under the assumption that my contributions will help serve a project which continues to be open source in perpetuity, and a CLA provides a means for the project maintainers to circumvent that.

Assumption here is key. The entire purpose of a CLA is to remove this assumption and clarify how contributions are managed. This post and disposition is based entirely around the organization receiving contributions will behave in an adversarial manner in the future. If the organization doesn't earn your trust then why trust them with your contributions?

May 7 2023, 16:37 · Phorge

Apr 29 2023

speck added a comment to T15281: $HOME missing from commands issued by ExecFuture.

Could you check the server configuration of php.ini for the value of variable_orders? This open task on phab suggests that on servers it should enforce including E causing phab's environment to be passed to sub-commands, but does not want to mess with it on users' machines.

Apr 29 2023, 13:58 · User-valerio.bozzolan, Arcanist
speck added a comment to D25143: Update the arc-hg.py extension to work with mercurial 6.4.

Thanks for the thorough review

Apr 29 2023, 13:32
speck added inline comments to D25142: Update Figlet implementation to be PHP8 compatible.
Apr 29 2023, 13:27
speck added a comment to D25142: Update Figlet implementation to be PHP8 compatible.

Thank you for making the update. I'll do some testing and likely submit this upstream as well.

Apr 29 2023, 13:26
speck added a comment to T15047: Officially raise minimum required PHP version to 7.2.

I did some digging yesterday around PHP versions.

Apr 29 2023, 13:25 · Phorge
speck added a comment to T15011: Build a Phorge Developer Environment.

I've got a docker-compose setup working which runs mariadb and phabricator/phorge against shared/mounted phabricator/arcanist folders to allow easy local-modifications+. The readme outlines basic steps to get running. I've tried to keep it as minimal as possible while also making sure standard/default configurations are made so you can get up and running as soon as possible. Currently it's setup with php 7.4 but I'll be looking to update to 8.1 or 8.2. There are probably other minor things that I'll need to update with it as I use it more but I think this should generally work.

Apr 29 2023, 05:27 · Extension Development
speck added a comment to D25142: Update Figlet implementation to be PHP8 compatible.

We have not migrated to using Phorge of Phabricator, so issues that crop up which are critical will be updates I submit upstream.

Apr 29 2023, 00:46

Apr 21 2023

speck added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

I wanted to set up some docker/compose file or possibly a VM but didn’t get far since neither of those are great solutions on windows, primarily for getting local code into the container/vm. My goal would be to get a quick setup time with a rapid dev/test cycle. For me to make progress I’ll likely have to switch to mac or Linux.

Apr 21 2023, 01:44 · Affects-FreeBSD, Differential

Apr 19 2023

speck added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

Getting set up with a development environment (including database~) along with configuring the local instance and populating it with sample data is extremely daunting and is frankly why I haven’t done much contributing. I lost my dev environment a few years ago and have tried only once to get set back up, spent a few hours and never came back to it. It doesn’t help that arcanist’s self linter isn’t usable on windows systems.

Apr 19 2023, 23:55 · Affects-FreeBSD, Differential

Apr 9 2023

speck accepted D25107: Mobile: show Homepage contents and avoid duplicate menus.

Okay real accept

Apr 9 2023, 16:16 · UX, Mobile
speck requested changes to D25107: Mobile: show Homepage contents and avoid duplicate menus.
Apr 9 2023, 16:15 · UX, Mobile
speck accepted D25107: Mobile: show Homepage contents and avoid duplicate menus.

Thank you for investigating! I think this is reasonable to land, given the investigation and testing there aren’t any immediate issues that seem to crop up on mobile.

Apr 9 2023, 16:13 · UX, Mobile
speck added a comment to D25107: Mobile: show Homepage contents and avoid duplicate menus.

From a usability perspective this feels nice to be immediately at something more useful. I would just try to find why the dashboard page works as expected but the main landing page doesn’t. If this change is still the underlying reason it seems good to me.

Apr 9 2023, 03:01 · UX, Mobile
speck added a comment to D25107: Mobile: show Homepage contents and avoid duplicate menus.

Does this change anything other than the landing page? When using mobile the first thing I do is click the link to dashboard and it shows properly there. Any idea why the home page behaves differently from the dashboard page?

Apr 9 2023, 03:00 · UX, Mobile

Sep 21 2022

speck created T15121: Contributor Agreement.
Sep 21 2022, 13:03 · Phorge

Aug 23 2022

speck added a comment to T15108: Rework the URL to Phame posts.

Somewhat related - see T15050

Aug 23 2022, 19:40
speck created T15111: Create a pathway for security-related issues to be reported.
Aug 23 2022, 19:14

Aug 22 2022

speck accepted D25048: Update default wordmark and logo.
Aug 22 2022, 19:57
speck added a comment to D25048: Update default wordmark and logo.

Could it be cached?

Aug 22 2022, 19:15

Aug 21 2022

speck added a comment to T15108: Rework the URL to Phame posts.

Could you elaborate on what this would help with? I recall reading something in Phabricator’s past that the current url scheme is intentional as opposed to using the monogram/slug. I did a quick search and couldn’t find much, though in this change release
https://secure.phabricator.com/w/changelog/2015.51/

Removed dedicated titles/slugs. Phame posts now automatically generate readable URIs, but the slugs are no longer semantic.

We should investigate the history related to the current URL scheme before making a change. My suspicion is that it has to do with phase posts being “public” or published where having a url with part of the title is very common for linking across other content.

Aug 21 2022, 16:51

Aug 20 2022

speck accepted D25046: Rebrand: Change Server name.
Aug 20 2022, 19:05
speck accepted D25047: Rebrand: Rename library and update "version" logic.
Aug 20 2022, 14:18
speck added inline comments to D25046: Rebrand: Change Server name.
Aug 20 2022, 13:51

Jul 26 2022

speck committed rARCf0a2b699ba62: Update arc-hg to support mercurial 6.1.
Update arc-hg to support mercurial 6.1
Jul 26 2022, 15:04
speck committed rARCa028291f8e5e: Make corrections to the "arc amend" workflow in Mercurial repositories to be….
Make corrections to the "arc amend" workflow in Mercurial repositories to be…
Jul 26 2022, 15:04
speck committed rARCd246a0656259: Update ArcanistMercurialAPI to support getting the current commit ref.
Update ArcanistMercurialAPI to support getting the current commit ref
Jul 26 2022, 15:04
speck committed rARCcd17e8441214: Update "arc liberate" to fix error with PHP 8 and add "--verbose" argument to….
Update "arc liberate" to fix error with PHP 8 and add "--verbose" argument to…
Jul 26 2022, 15:04