Page MenuHomePhorge
Feed All Stories

Jun 11 2024

valerio.bozzolan accepted D25642: Initialize $cache_key variable in CelerityResourceController.php.

Thanks. Moreover, looking at PhutilKeyValueCache it seems that setKey(null) has no sense. So thanks also for that extra care you already set.

Jun 11 2024, 10:58
aklapper requested review of D25690: Fix "Undefined offset: 1" exception in Diviner when @task value in PHPDoc is a single word.
Jun 11 2024, 09:40
aklapper added a revision to T15854: "Undefined array key 1" exception when @task in PHPDoc is a single string: D25690: Fix "Undefined offset: 1" exception in Diviner when @task value in PHPDoc is a single word.
Jun 11 2024, 09:40 · Diviner
aklapper created T15854: "Undefined array key 1" exception when @task in PHPDoc is a single string.
Jun 11 2024, 09:38 · Diviner
aklapper accepted D25619: Fix overflowing of AphrontSideNavFilterView on small screens and tidy up nav bar styles.

Hi bekay, thanks for looking into this, very appreciated!

Jun 11 2024, 08:50
aklapper retitled D25689: Fix PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block from Fix PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has single @task block
Jun 11 2024, 05:56
aklapper renamed T15853: PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block from PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has single @task block to PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block.
Jun 11 2024, 05:55 · PHP 8 support

Jun 10 2024

aklapper requested review of D25689: Fix PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block.
Jun 10 2024, 23:18
aklapper added a revision to T15853: PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block: D25689: Fix PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block.
Jun 10 2024, 23:18 · PHP 8 support
aklapper created T15853: PHP 8.1 "strlen(null)" exception in Diviner when PHPDoc has no @task block.
Jun 10 2024, 23:17 · PHP 8 support
aklapper requested review of D25688: Fix broken URIs on "Rendering HTML" Diviner page.
Jun 10 2024, 23:13
aklapper closed T15852: PHP 8.1 "preg_match(null)"/"strlen(null)" exceptions importing ics file with no attendee names into calendar as Resolved by committing rP10cb2521630a: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Jun 10 2024, 22:54
aklapper closed D25686: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Jun 10 2024, 22:54
aklapper committed rP10cb2521630a: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Fix PHP 8.1 exceptions importing ICS file without attendee names
Jun 10 2024, 22:54
aklapper abandoned D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

There is no reason to expose "Manage" for admins only. I'm abandoning this in favor of D25687.

Jun 10 2024, 22:46
aklapper requested review of D25687: Display same items in mobile menu on User Profile page as on desktop.
Jun 10 2024, 22:46
aklapper added a revision to T15224: Mobile hamburger menu in User Profile page contains only useless stuff: D25687: Display same items in mobile menu on User Profile page as on desktop.
Jun 10 2024, 22:46 · User-valerio.bozzolan, People, User-Cigaryno, Mobile
valerio.bozzolan accepted D25686: Fix PHP 8.1 exceptions importing ICS file without attendee names.

I will then need a rebase for D25363

Jun 10 2024, 22:20
aklapper updated the summary of D25686: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Jun 10 2024, 18:29
aklapper requested review of D25686: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Jun 10 2024, 17:13
aklapper added a revision to T15852: PHP 8.1 "preg_match(null)"/"strlen(null)" exceptions importing ics file with no attendee names into calendar: D25686: Fix PHP 8.1 exceptions importing ICS file without attendee names.
Jun 10 2024, 17:13
aklapper created T15852: PHP 8.1 "preg_match(null)"/"strlen(null)" exceptions importing ics file with no attendee names into calendar.
Jun 10 2024, 17:08
aklapper added a comment to D25363: Calendar Import: calendar uploader is not anymore an alien.

Could you clarify if this is only supposed to work for import an .ics URI and not for importing a single event via an .ics file? Maybe I'm overcomplicating things, what I tried:

Jun 10 2024, 16:13
aklapper added a comment to D25363: Calendar Import: calendar uploader is not anymore an alien.

I admit I am quite interested in the changes in src/applications/people/query/PhabricatorPeopleUserEmailQuery.php adding $userPhids and $isVerified as I have a downstream use case for them.
Would be lovely to get them in, nevertheless where the actual calendar feature request is going.

Jun 10 2024, 16:13
aklapper created P42 D25363.ics testcase.
Jun 10 2024, 16:08
aklapper updated the diff for D25668: Add Open Graph protocol meta tags to Maniphest task pages.

Use PhabricatorMarkupEngine::summarizeSentence() instead of mb_substr().

Jun 10 2024, 15:13
valerio.bozzolan added inline comments to D25668: Add Open Graph protocol meta tags to Maniphest task pages.
Jun 10 2024, 14:59
Wikivu accepted D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

thanks you

Jun 10 2024, 09:05

Jun 9 2024

valerio.bozzolan added a comment to D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

To me it makes sense thanks. Maybe just add a comment somewhere to say that the menu should be automatically generated - T15224

Jun 9 2024, 09:18
aklapper added a comment to D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

So the "right" fix is to find what creates the current side-menu and make sure we call that, or figuring out why they're different here and normally the same.

Jun 9 2024, 08:57
avivey added a comment to T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated.

So PHP, very wow

Jun 9 2024, 06:54 · PHP 8 support

Jun 8 2024

pppery added a project to T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated: PHP 8 support.
Jun 8 2024, 23:59 · PHP 8 support
pppery added a project to T15757: Arcanist Test Result Parser Updates: Arcanist.
Jun 8 2024, 23:58 · Arcanist
pppery added a project to T15772: Task with graph issue won't show: Maniphest.
Jun 8 2024, 23:58 · Maniphest
pppery added projects to T15790: Exception creating a "Diffusion Raw Commits" Dashboard query panel: Dashboards, Diffusion.
Jun 8 2024, 23:58 · Diffusion, Dashboards
pppery added a project to T15811: Search exception when AM/PM string is localized in Calendar application: Calendar.
Jun 8 2024, 23:57 · Calendar
pppery added a project to T15843: Allow collapse and expand of workboard columns in mobile view: Workboard.
Jun 8 2024, 23:56 · Workboard
aklapper closed D25683: Only display "Calendar" entry in user profile page menu on mobile when Calendar application is installed.
Jun 8 2024, 08:02
aklapper committed rPa83ba95445e1: Only display "Calendar" entry in user profile page menu on mobile when Calendar….
Only display "Calendar" entry in user profile page menu on mobile when Calendar…
Jun 8 2024, 08:02

Jun 7 2024

valerio.bozzolan added a comment to D25622: Transformed Pictures: make them non-orphan.

Test plan: I finished my ideas. It seems it just works 🤔

Jun 7 2024, 20:34
valerio.bozzolan added a comment to D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

this menu should have the same content as the side-menu on non-mobile view; And in most places, the framework handles that, by actually moving that menu.
So the "right" fix is to find what creates the current side-menu and make sure we call that, or figuring out why they're different here and normally the same.

Jun 7 2024, 20:13
avivey added a comment to D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

As T15224 suggest, this menu should have the same content as the side-menu on non-mobile view; And in most places, the framework handles that, by actually moving that menu.
So the "right" fix is to find what creates the current side-menu and make sure we call that, or figuring out why they're different here and normally the same.

Jun 7 2024, 19:58
valerio.bozzolan accepted D25685: Allow admins to access "Manage" page from user profile page menu on mobile.
Jun 7 2024, 19:33
valerio.bozzolan added a comment to D25685: Allow admins to access "Manage" page from user profile page menu on mobile.

Better than before.

Jun 7 2024, 19:33
valerio.bozzolan accepted D25683: Only display "Calendar" entry in user profile page menu on mobile when Calendar application is installed.

all those tears shed by devastated users after clicking the Calendar menu item

Jun 7 2024, 19:31
pppery closed D25684: Remove PhutilPhtTestCase::getDateTranslations().
Jun 7 2024, 19:10
pppery committed rARCf7fcf31c7e23: Remove PhutilPhtTestCase::getDateTranslations().
Remove PhutilPhtTestCase::getDateTranslations()
Jun 7 2024, 19:10
aklapper accepted D25684: Remove PhutilPhtTestCase::getDateTranslations().

Ah, thanks.

Jun 7 2024, 19:04
pppery added a comment to D25684: Remove PhutilPhtTestCase::getDateTranslations().

No, it never was called anywhere. Read the HTML comment this commit deletes.

Jun 7 2024, 18:56
aklapper added a comment to D25684: Remove PhutilPhtTestCase::getDateTranslations().

I cannot find getDateTranslations anywhere so I'm having the (probably very stupid) question where this function was called once upon a time (edit: oh well, I now realize it's a test case so I guess this just gets executed when running tests. sigh.).

Jun 7 2024, 18:46
aklapper closed D25644: Fix call to non-existing getTransactionCommentForSave() in PhabricatorInlineComment.
Jun 7 2024, 17:28
aklapper committed rPd2bca2f32da0: Fix call to non-existing getTransactionCommentForSave() in….
Fix call to non-existing getTransactionCommentForSave() in…
Jun 7 2024, 17:28
aklapper updated the diff for D25644: Fix call to non-existing getTransactionCommentForSave() in PhabricatorInlineComment.

Add minimal PHPDoc

Jun 7 2024, 17:18
aklapper added a comment to T15224: Mobile hamburger menu in User Profile page contains only useless stuff.

I proposed two related patches in D25683 and D25685, both of them obsoleted by: D25687.

Jun 7 2024, 17:13 · User-valerio.bozzolan, People, User-Cigaryno, Mobile
aklapper retitled D25685: Allow admins to access "Manage" page from user profile page menu on mobile from Allow to access "Manage" page from user profile page menu on mobile
Jun 7 2024, 17:12
aklapper requested review of D25685: Allow admins to access "Manage" page from user profile page menu on mobile.
Jun 7 2024, 17:12
pppery updated the summary of D25684: Remove PhutilPhtTestCase::getDateTranslations().
Jun 7 2024, 16:57
pppery requested review of D25684: Remove PhutilPhtTestCase::getDateTranslations().
Jun 7 2024, 16:55
aklapper requested review of D25683: Only display "Calendar" entry in user profile page menu on mobile when Calendar application is installed.
Jun 7 2024, 16:53
valerio.bozzolan added inline comments to D25618: Avoid search exception for calendar events when using localized time formats.
Jun 7 2024, 15:43
valerio.bozzolan added inline comments to D25618: Avoid search exception for calendar events when using localized time formats.
Jun 7 2024, 15:42
valerio.bozzolan accepted D25644: Fix call to non-existing getTransactionCommentForSave() in PhabricatorInlineComment.
Jun 7 2024, 15:10
valerio.bozzolan added a comment to D25644: Fix call to non-existing getTransactionCommentForSave() in PhabricatorInlineComment.

Maybe a good moment for minimal PHPDoc with

Jun 7 2024, 15:10
valerio.bozzolan awarded Q138: SAML 2.0 support a Yellow Medal token.
Jun 7 2024, 14:45 · Feature Requests
tedi asked Q138: SAML 2.0 support.
Jun 7 2024, 13:29 · Feature Requests
valerio.bozzolan added a comment to D25675: Drydock and Almanac: add welcome pages.

I will update the screenshots. Let's wait another +1 on strings.

Jun 7 2024, 12:23
valerio.bozzolan updated the diff for D25675: Drydock and Almanac: add welcome pages.

Tried to re-phrase a bit, thanks to feedback from Italian coworkers and Andrè. lol

Jun 7 2024, 12:18
aklapper closed T15791: PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel with no query defined, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Jun 7 2024, 11:32 · PHP 8 support
aklapper closed T15791: PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel with no query defined as Resolved by committing rP17b568b94f11: Fix PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel….
Jun 7 2024, 11:32 · PHP 8 support
aklapper closed D25596: Fix PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel with no query defined.
Jun 7 2024, 11:32
aklapper committed rP17b568b94f11: Fix PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel….
Fix PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel…
Jun 7 2024, 11:32
aklapper closed D25655: Fix call to non-existing newWorkCommands() in NuanceItemType.
Jun 7 2024, 11:30
aklapper committed rP3349c3be17c7: Fix call to non-existing newWorkCommands() in NuanceItemType.
Fix call to non-existing newWorkCommands() in NuanceItemType
Jun 7 2024, 11:30
aklapper closed D25653: Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine.php.
Jun 7 2024, 11:30
aklapper committed rPcb5a72b5e6d1: Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine..
Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine.
Jun 7 2024, 11:30
valerio.bozzolan accepted D25653: Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine.php.

sgtm

Jun 7 2024, 11:03
valerio.bozzolan accepted D25596: Fix PHP 8.1 "strlen(null)" exceptions editing existing Dashboard query panel with no query defined.

sgtm

Jun 7 2024, 09:13
valerio.bozzolan awarded D25655: Fix call to non-existing newWorkCommands() in NuanceItemType a Like token.
Jun 7 2024, 08:11
valerio.bozzolan accepted D25655: Fix call to non-existing newWorkCommands() in NuanceItemType.

sgtm

Jun 7 2024, 08:11
pppery added a comment to T15815: Make i18n string extraction ignore strings in test cases.

... but it turns out by concidence most of the date elements that are worth translating are already translatable from other references in the code:

Jun 7 2024, 04:33 · Localization
pppery added a comment to T15815: Make i18n string extraction ignore strings in test cases.
// The only purpose of this function is to provide a static list of
// translations which can come from PhutilTranslator::translateDate() to
// allow translation extractor getting them.

I seem to have a bad habit of doing things and realizing they were stupid or I had missed something weeks to months later.

Jun 7 2024, 03:12 · Localization

Jun 6 2024

RhinosF1 added a comment to T15848: newOAuth1Future doesn't set a User-Agent.

That would probably be a better User-Agent

Jun 6 2024, 15:00 · Auth
pppery closed T15850: Typo in auth message when unlinking accounts as Resolved by committing rPd8cd959622da: Fix a leftover misspelled "Phabricator" reference.
Jun 6 2024, 14:37
pppery closed D25682: Fix a leftover misspelled "Phabricator" reference.
Jun 6 2024, 14:37
pppery committed rPd8cd959622da: Fix a leftover misspelled "Phabricator" reference.
Fix a leftover misspelled "Phabricator" reference
Jun 6 2024, 14:37
aklapper added a comment to T15849: Add a "description" or "label" field for Conduit API Tokens.

/settings/panel/multifactor/ requires users to add a custom Name so there is likely code to adapt/reuse for /settings/panel/apitokens/

Jun 6 2024, 11:08 · Feature Requests, Conduit, Auth
aklapper added a comment to T15848: newOAuth1Future doesn't set a User-Agent.

https://we.phorge.it/source/phorge/browse/master/src/applications/auth/adapter/PhutilGitHubAuthAdapter.php$57-58 uses a boring
$future->addHeader('User-Agent', __CLASS__); for this.

Jun 6 2024, 10:53 · Auth
aklapper updated the diff for D25672: Allow collapsing/expanding workboard column content by clicking its header.

Use consistent CSS scopes. Tested. And really really last change for now. I think.

Jun 6 2024, 10:15
avivey accepted D25682: Fix a leftover misspelled "Phabricator" reference.

There may be some room for extra clarity for users in complex organization setups, but this is a rare enough operation (outside of dev) that it's probably not worth worrying about.

Jun 6 2024, 06:52
pppery added a project to T15851: Support proper pluralization in mock task activity: Bug Reports.
Jun 6 2024, 05:39 · Bug Reports
pppery renamed T15851: Support proper pluralization in mock task activity from Support proper PLURAL syntax in mocks to Support proper pluralization in mock task activity.
Jun 6 2024, 05:39 · Bug Reports
pppery created T15851: Support proper pluralization in mock task activity.
Jun 6 2024, 05:37 · Bug Reports
pppery added a comment to D25682: Fix a leftover misspelled "Phabricator" reference.

I would be find with turning this into "your PlatformSymbols::getPlatformServerName() account" instead if that's seen as clearer but I'm not convinced the platform is necessary here at all. Opinions on that welcome.

Jun 6 2024, 02:34
pppery requested review of D25682: Fix a leftover misspelled "Phabricator" reference.
Jun 6 2024, 02:27
pppery added a revision to T15850: Typo in auth message when unlinking accounts: D25682: Fix a leftover misspelled "Phabricator" reference.
Jun 6 2024, 02:27
pppery claimed T15850: Typo in auth message when unlinking accounts.
Jun 6 2024, 01:39
pppery updated the task description for T15850: Typo in auth message when unlinking accounts.
Jun 6 2024, 01:24
pppery created T15850: Typo in auth message when unlinking accounts.
Jun 6 2024, 01:24

Jun 5 2024

bd808 added a project to T15849: Add a "description" or "label" field for Conduit API Tokens: Feature Requests.
Jun 5 2024, 22:36 · Feature Requests, Conduit, Auth
bd808 created T15849: Add a "description" or "label" field for Conduit API Tokens.
Jun 5 2024, 22:33 · Feature Requests, Conduit, Auth