Page MenuHomePhorge
Feed All Stories

Nov 20 2023

valerio.bozzolan awarded Q86: Policy lifecycle of security tasks a Love token.
Nov 20 2023, 22:15 · Discussion Needed
valerio.bozzolan added a project to Q86: Policy lifecycle of security tasks: Discussion Needed.
Nov 20 2023, 22:15 · Discussion Needed
bob added a comment to D25400: Fix a PHP 8.1 deprecated use of strlen with a NULL argument.

Great, I'm a little bit busy, professionally speaking but, I'll try to land it this week !

Nov 20 2023, 21:15
valerio.bozzolan moved T15672: Allow to tune "Invite Users" policy from Backlog to Code Sprint Candidate on the User-valerio.bozzolan board.
Nov 20 2023, 18:53 · User-valerio.bozzolan, Policy, People
valerio.bozzolan updated the task description for T15672: Allow to tune "Invite Users" policy.
Nov 20 2023, 18:50 · User-valerio.bozzolan, Policy, People
valerio.bozzolan triaged T15672: Allow to tune "Invite Users" policy as Low priority.
Nov 20 2023, 18:48 · User-valerio.bozzolan, Policy, People
valerio.bozzolan updated the task description for T15671: Allow to import Picture from Gravatar.
Nov 20 2023, 18:37 · User-valerio.bozzolan, People
valerio.bozzolan triaged T15671: Allow to import Picture from Gravatar as Wishlist priority.
Nov 20 2023, 17:01 · User-valerio.bozzolan, People
valerio.bozzolan lowered the priority of T15407: People: profile picture should be editable by their author (not by "No one") from High to Normal.
Nov 20 2023, 16:58 · User-valerio.bozzolan, People
valerio.bozzolan accepted D25400: Fix a PHP 8.1 deprecated use of strlen with a NULL argument.

Nobody replied for months. I basically like the disclaimer and I basically trust your test in your production. Thanks.

Nov 20 2023, 16:38
valerio.bozzolan added a comment to D25079: Trigger: Add Sound "Coin".

I suggest to accept with "whatcouldgowrong" \o/

Nov 20 2023, 16:25
valerio.bozzolan accepted D25423: Fix a PHP 8.1 deprecated use of strlen with a NULL argument in commit parser.

Thanks bob. Just to say that I care about your code proposals and sorry if this needed extra time.

Nov 20 2023, 16:21
valerio.bozzolan requested changes to D25439: Fix strlen(null) errors for projects with integer fields under PHP 8.1.
Nov 20 2023, 16:05
valerio.bozzolan added a comment to D25439: Fix strlen(null) errors for projects with integer fields under PHP 8.1.

(Indeed I agree we cannot bulk edit things - PHP 8.1 is a nightmare - see T15190)

Nov 20 2023, 16:04
valerio.bozzolan added a comment to D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

Interestingly, Gerrit does similar things, and does not mention the problematic URI value in case it's somehow already clear:

Nov 20 2023, 14:42
aklapper added a comment to T15055: Import translations from translatewiki.net.

Probably this was moved?

Nov 20 2023, 12:44 · Localization, Affects-Wikimedia, Phorge
waldyrious renamed Why Migrate from Phabricator to Phorge from Why Migrating from Phabricator to Phorge to Why Migrate from Phabricator to Phorge.
Nov 20 2023, 11:38
valerio.bozzolan added a project to T15055: Import translations from translatewiki.net: Affects-Wikimedia.

Cool. Two things:

Nov 20 2023, 11:12 · Localization, Affects-Wikimedia, Phorge
valerio.bozzolan added a comment to T15073: /status should be always allowed in anonymous mode.

(maybe this happens if you have just one provider and it's an OAuth)

Nov 20 2023, 10:59
valerio.bozzolan added a comment to T15073: /status should be always allowed in anonymous mode.

Interestingly this cannot be reproduced in any public Phorge:

Nov 20 2023, 10:58
valerio.bozzolan added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.

Other edges have probably been eliminated in the past. For example this one:

Nov 20 2023, 10:17 · Affects-Wikimedia, Files, Bug Reports
valerio.bozzolan edited the content of Code Differences between Phabricator and Phorge.
Nov 20 2023, 10:10
valerio.bozzolan added a comment to T15450: Configure another Ponder Question status "Closed, Graduated".

I sincerely thought that "Obsolete" was the good one semantically.

Nov 20 2023, 10:02 · Ponder, phorge.it install
valerio.bozzolan added a comment to T15237: Conpherence: allow "announcement" style channel.

I think a dedicated policy for "Can send messages" would be better, to cover more cases. It would be strange that all participants must also be allowed to edit all settings.

Nov 20 2023, 09:53 · Feature Requests, Conpherence
valerio.bozzolan triaged T15504: If registration is disabled, show the button as disabled as Low priority.
Nov 20 2023, 09:49 · Good Starter Task, UX
valerio.bozzolan added a comment to T15612: Missing "Authored on" commit date for Subversion commits.

Is this only related to the "Authored on ..." field, as far as you can see?

Nov 20 2023, 09:47 · User-valerio.bozzolan, Diffusion, Bug Reports
valerio.bozzolan closed T15627: Clicking on meme then cancel causes redirection to homepage and dialog does not disappear as Resolved.

I cannot reproduce anymore. This does not happen anymore in latest master.

Nov 20 2023, 09:46 · UX, Bug Reports
valerio.bozzolan requested changes to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

Sorry if I've found two additional interesting things:

Nov 20 2023, 09:24
valerio.bozzolan awarded T15660: Generate a Table of Content for Diffusion browse as Remarkup (?as=remarkup) a Love token.
Nov 20 2023, 09:15 · Feature Requests
valerio.bozzolan renamed T15660: Generate a Table of Content for Diffusion browse as Remarkup (?as=remarkup) from No TOC generated for diffusion browse ?as=remarkup to Generate a Table of Content for Diffusion browse as Remarkup (?as=remarkup).
Nov 20 2023, 09:15 · Feature Requests
valerio.bozzolan moved T15163: The Task Cover Image is visible only to the uploader (invisible to Task participants) from Code Sprint Candidate to PingDeath 🌚 on the User-valerio.bozzolan board.
Nov 20 2023, 09:09 · Affects-Wikimedia, Maniphest, User-valerio.bozzolan, Cover Image, Workboard
valerio.bozzolan requested review of D25475: Drag & Drop Task Cover Image: also attach.
Nov 20 2023, 09:06
valerio.bozzolan added a revision to T15163: The Task Cover Image is visible only to the uploader (invisible to Task participants): D25475: Drag & Drop Task Cover Image: also attach.
Nov 20 2023, 09:06 · Affects-Wikimedia, Maniphest, User-valerio.bozzolan, Cover Image, Workboard
valerio.bozzolan claimed T15163: The Task Cover Image is visible only to the uploader (invisible to Task participants).
Nov 20 2023, 08:54 · Affects-Wikimedia, Maniphest, User-valerio.bozzolan, Cover Image, Workboard

Nov 19 2023

avivey reopened T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers as "Open".
Nov 19 2023, 09:14 · Discussion Needed
avivey added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

From a product POV, I agree with @valerio.bozzolan - there is (sometimes) some information on commits that would be nice to index in a search engine - comments, mostly.

Nov 19 2023, 09:01 · Discussion Needed
speck added a comment to D25474: Disallow webcrawlers to index Diffusion commits.

I don’t think revert I’d needed but the comment should probably be removed or updated. I’d like to understand why it was deemed hard to do but the solution here doesn’t seem that hard. Maybe it’s more difficult than it appears, or was robots.txt standard later updated in a way that makes this easier, or maybe Phab URLs changed in a way that made this easier but this was never updated, etc.

Nov 19 2023, 00:07

Nov 18 2023

waldyrious closed D25473: Change some instances of "phabricator" to "phorge".
Nov 18 2023, 22:14
waldyrious committed rPa741f5d65c10: Change some instances of "phabricator" to "phorge".
Change some instances of "phabricator" to "phorge"
Nov 18 2023, 22:14
valerio.bozzolan added a comment to D25474: Disallow webcrawlers to index Diffusion commits.

I'm not an important stakeholder, but I would like to share that in my installation https://gitpull.it I would like to have commits indexed as default as it happened as default and as it happens in GitHub and GitLab. So I'm now sincerely trying to understand how to restore the old behavior without keeping my own fork of Phorge if needed.

Nov 18 2023, 16:50
valerio.bozzolan accepted D25473: Change some instances of "phabricator" to "phorge".

Thanks for the deep inspection! Tested and I agree

Nov 18 2023, 16:41
waldyrious added inline comments to D25473: Change some instances of "phabricator" to "phorge".
Nov 18 2023, 08:59
waldyrious updated the diff for D25473: Change some instances of "phabricator" to "phorge".
  • Remove extra <tt> in bulk job dialog
Nov 18 2023, 08:57
waldyrious added a comment to D25473: Change some instances of "phabricator" to "phorge".

So this is the only blocking Test that is failing:

Visit /maniphest/, shift+click on at least 1 Task, click on Bulk Edit Selected, Continue, see the popup

Nov 18 2023, 08:55
aklapper added a comment to D25474: Disallow webcrawlers to index Diffusion commits.

If someone strongly feels that I should revert, please say so - thanks! :)

Nov 18 2023, 08:31
aklapper added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

Valerio: Uhm, I'm sorry, I had not seen your comment here before I landed the patch (as I had checked my Differential page instead of my notifications).

Nov 18 2023, 08:29 · Discussion Needed

Nov 17 2023

speck added inline comments to D25474: Disallow webcrawlers to index Diffusion commits.
Nov 17 2023, 18:15
valerio.bozzolan added inline comments to D25474: Disallow webcrawlers to index Diffusion commits.
Nov 17 2023, 15:25
aklapper closed T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers as Resolved by committing rP05f4d5071fdc: Disallow webcrawlers to index Diffusion commits.
Nov 17 2023, 07:45 · Discussion Needed
aklapper closed D25474: Disallow webcrawlers to index Diffusion commits.
Nov 17 2023, 07:45
aklapper committed rP05f4d5071fdc: Disallow webcrawlers to index Diffusion commits.
Disallow webcrawlers to index Diffusion commits
Nov 17 2023, 07:45

Nov 16 2023

speck accepted D25474: Disallow webcrawlers to index Diffusion commits.
Nov 16 2023, 23:27
valerio.bozzolan accepted D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

Side note, we are introducing the possibility to share this kind of very creative and confusing URLs (that are safe from the point of view of XSS but) that could be an attracting point for lamers to generate confusing user messages inside Phorge itself, like:

Nov 16 2023, 14:29
aklapper updated the diff for D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

Thanks for the additional debugging and finding steps to reproduce! In this case, I'd prefer not to log the issue and to only show a message to the user explaining what's the issue, including their requested bogus encoding.

Nov 16 2023, 11:01
aklapper added a comment to T15624: RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

Heh, very good catch! I can confirm, yes.

Nov 16 2023, 11:00
aklapper updated the test plan for D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.
Nov 16 2023, 10:48
valerio.bozzolan added a comment to D25461: Disallow webcrawlers to follow Paste line number anchor links.

Thanks for landing!

Nov 16 2023, 10:30
valerio.bozzolan awarded D25474: Disallow webcrawlers to index Diffusion commits a Evil Spooky Haunted Tree token.
Nov 16 2023, 10:24
valerio.bozzolan added a project to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers: Discussion Needed.

This is something that may be not appreciated by some people.

Nov 16 2023, 10:23 · Discussion Needed
aklapper retitled D25474: Disallow webcrawlers to index Diffusion commits from Disallow webcrawlers to follow Paste line number anchor links
Nov 16 2023, 10:12
aklapper requested review of D25474: Disallow webcrawlers to index Diffusion commits.
Nov 16 2023, 10:11
aklapper added a revision to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers: D25474: Disallow webcrawlers to index Diffusion commits.
Nov 16 2023, 10:11 · Discussion Needed
aklapper closed T15662: Disallow webcrawlers to follow Paste line number anchor links as Resolved by committing rP76ed0c7ff7be: Disallow webcrawlers to follow Paste line number anchor links.
Nov 16 2023, 10:00
aklapper closed D25461: Disallow webcrawlers to follow Paste line number anchor links.
Nov 16 2023, 10:00
aklapper committed rP76ed0c7ff7be: Disallow webcrawlers to follow Paste line number anchor links.
Disallow webcrawlers to follow Paste line number anchor links
Nov 16 2023, 10:00
aklapper created T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.
Nov 16 2023, 09:55 · Discussion Needed
valerio.bozzolan added a comment to D25441: Fix possible array to string conversion renaming Pholio Mockup image.

Happy you fixed!

Nov 16 2023, 09:47
aklapper closed T15646: Renaming several Pholio Mockup images creates neverending daemon task (PhutilProxyException due to Array to string conversion) as Resolved by committing rPf42dd5819e98: Fix possible array to string conversion renaming Pholio Mockup image.
Nov 16 2023, 09:42 · Affects-Wikimedia, Bug Reports
aklapper closed D25441: Fix possible array to string conversion renaming Pholio Mockup image.
Nov 16 2023, 09:42
aklapper committed rPf42dd5819e98: Fix possible array to string conversion renaming Pholio Mockup image.
Fix possible array to string conversion renaming Pholio Mockup image
Nov 16 2023, 09:42
aklapper added a comment to D25441: Fix possible array to string conversion renaming Pholio Mockup image.

Thanks for the deeper investigation! I can confirm that with the last version and following my original steps to reproduce, no stuck daemon task about the mock looping due to an exception on http://phorge.localhost/daemon/ anymore, so I'm going to land this.

Nov 16 2023, 09:40

Nov 15 2023

Sten added a comment to T15501: Voluntary Usage Survey App.

One of my favourite updates in my workplace was to store counts of feature usage per month in a table. Move forward 3 years, and whenever we need to update some code in a feature, we check for it in the table, and if it's not been used in 3 years we just scrap the feature.

Nov 15 2023, 18:14 · Discussion Needed
Sten updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

Skip lint (javelinsymbols)

Nov 15 2023, 17:49
Sten updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

Great suggestions

  • Implemented celerity_generate_unique_node_id()
  • Implemented .collapsible-content > ul.remarkup-list CSS

Loved the comment, as otherwise I wouldn't have understood what was going on in the CSS. I've reworded it - hope that's OK.

Nov 15 2023, 17:49
valerio.bozzolan added a comment to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

JavaScript: ✅ I damn like your proposal and I think it is very OK, non-plus-ultra

Nov 15 2023, 16:29
valerio.bozzolan updated the name of F399268: Before.png from "image.png" to "Before.png".
Nov 15 2023, 15:44
valerio.bozzolan updated the name of F399270: After.png from "image.png" to "After.png".
Nov 15 2023, 15:44
Sten added a comment to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

I am quite happy with this now. Spent way too long on it, so I hope you like it too!

Nov 15 2023, 15:25
Sten updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
  • Refactored the PHP code to build the collapsible button & div into buildCollapsibleIndex()
  • Define the javelin call config first, then refer to it - saves defining the variables independently!
  • Create an icon field in the button, allowing for open and close icons to be set
  • Make both the icon and the text optional in the collapsible javascript - if you just want an icon, fine. Just text, also fine. Neither - sure!
Nov 15 2023, 15:23
valerio.bozzolan requested changes to D25473: Change some instances of "phabricator" to "phorge".

So this is the only blocking Test that is failing:

Nov 15 2023, 13:23
valerio.bozzolan updated the test plan for D25473: Change some instances of "phabricator" to "phorge".
Nov 15 2023, 13:19
valerio.bozzolan added a comment to D25473: Change some instances of "phabricator" to "phorge".

We have just a minor issue but with a potentially working fix, and it's ready to land

Nov 15 2023, 13:18
valerio.bozzolan edited the content of Next Up.
Nov 15 2023, 12:58
valerio.bozzolan closed T15528: Diffusion commit Feed: avoid to show the author twice (Authored by xxx) as Resolved by committing rP775d141fe6bf: Audit Feed: less verbose when the author is the committer.
Nov 15 2023, 12:57 · UX, User-valerio.bozzolan, Diffusion
valerio.bozzolan closed D25421: Audit Feed: less verbose when the author is the committer.
Nov 15 2023, 12:57
valerio.bozzolan committed rP775d141fe6bf: Audit Feed: less verbose when the author is the committer.
Audit Feed: less verbose when the author is the committer
Nov 15 2023, 12:57
speck accepted D25421: Audit Feed: less verbose when the author is the committer.
Nov 15 2023, 12:49
valerio.bozzolan added a revision to T15006: Re-brand Phorge: D25473: Change some instances of "phabricator" to "phorge".
Nov 15 2023, 12:17 · Phorge
valerio.bozzolan updated the summary of D25473: Change some instances of "phabricator" to "phorge".
Nov 15 2023, 12:17
valerio.bozzolan added a comment to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

I don't know. Let's see :)

Nov 15 2023, 11:49
Sten added a comment to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

The problem there is that by requiring collapsiblejx to have knowledge of the 'collapsible-toggler-label', we introduce tight coupling to it's caller. (see how adding 'jx' on to the end of collapsiblejx has made it uniquely identifiable?)
A better solution would be to have the collapsiblejx config contain 'btn_open_icon' and 'btn_close_icon' icons. I'll have a go...

Nov 15 2023, 09:52
valerio.bozzolan added inline comments to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
Nov 15 2023, 09:32
valerio.bozzolan updated the diff for D25421: Audit Feed: less verbose when the author is the committer.

avoid micro-optimizations that make this unreadable

Nov 15 2023, 08:41
valerio.bozzolan added inline comments to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
Nov 15 2023, 08:28
Sten updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
  • move duplicated button text into a variable
  • improve formatting
Nov 15 2023, 08:24
Sten updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
  • Renamed button/div IDs to remove spaces
  • Renamed diffusion-collapsible-container to collapsiblejx
  • Added margin-top: 10px; in the collapsible content - this overrides the higher up margin-top: 0px
  • Moved webroot/rsrc/js/application/diffusion/collapsible-container.js to webroot/rsrc/js/core/behavior-collapsiblejx.js
  • Renamed the JX from diffusion-collapsible-container to collapsiblejx - the single word collapsible was a bit too common if you 'git grep' for it.
Nov 15 2023, 08:14
valerio.bozzolan added inline comments to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
Nov 15 2023, 07:46
valerio.bozzolan added a comment to D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.

As already noted we were affected by this margin-top: 0; that was making the TOC a bit too much attached to the button:

Nov 15 2023, 07:34
valerio.bozzolan updated the name of F398751: Margins highlited.png from "Screenshot_2023_11_15_080423.png" to "Margins highlited.png".
Nov 15 2023, 07:33
valerio.bozzolan updated the diff for D25457: Update diffusion browse to generate Table of Contents when viewed as remarkup.
  • sorry if I introduced an ID for just the label: now replace with a non-unique Javelin Sigil
  • tried to fix the margin-top thing
Nov 15 2023, 07:33