Page MenuHomePhorge
Feed All Stories

Aug 22 2023

aklapper updated the task description for T15623: RuntimeException: min(): Array must contain at least one element at DiffusionBlameController.php:201.
Aug 22 2023, 09:04
aklapper created T15623: RuntimeException: min(): Array must contain at least one element at DiffusionBlameController.php:201.
Aug 22 2023, 08:58
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

go for it.

There may already be a feature somewhere to automatically trigger a re-index because the code changed - I'll try to look for one this week.

edit: looks like it's just "add an autopatch" like resources/sql/autopatches/20191028.uriindex.01.rebuild.php. No worries.

Aug 22 2023, 08:13 · Feature Requests, Diffusion
avivey added a project to T15491: Add config option for default branch name: Good Starter Task.

This might be a Good Starter Task, I think - you'll need to add a class for the config, and pull the config value in diffusion.

Aug 22 2023, 07:28 · Good Starter Task, Feature Requests, Diffusion
avivey added a comment to T15583: Typeahead datasource query for repos should match substrings.

go for it.

Aug 22 2023, 07:13 · Feature Requests, Diffusion
valerio.bozzolan added a comment to D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.

I don't love this, but this is a general fix:

Aug 22 2023, 02:14

Aug 21 2023

bekay updated subscribers of T15583: Typeahead datasource query for repos should match substrings.

Okay, my proposal:

Aug 21 2023, 18:01 · Feature Requests, Diffusion
avivey added a comment to T15583: Typeahead datasource query for repos should match substrings.

a hack that might work: add a field in the document that's called "typeahead-text" or something, and put both title and callsign into it (and maybe number and short-name as well). Then use that field in the Datasource.
Since this is a full-text field, whatever the user types will fit this field...

Aug 21 2023, 17:59 · Feature Requests, Diffusion
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

Okay, I have tried to wrap my head around the ferret engine. Problem is: the repo callsign is not part of the indexed material. So I would have to construct some query like (just a schema): WHERE ferret-query like '%term%' OR callsign like 'term%' - but that is not possible with the phabricator query engine. The ferret query parts are separatly created and every other where clause is merged with AND. I don't think, there is a clean way out of this. You could make TWO queries: The old one and one with the ferret engine. And then merge the results and remove doubles. But I don't know... just doesn't feel right.

Aug 21 2023, 17:07 · Feature Requests, Diffusion
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

I suspect that the code in People is the oldest one - this stuff blames to 2011! and does explicit sql stuff!

Aug 21 2023, 15:36 · Feature Requests, Diffusion
avivey added a comment to T15583: Typeahead datasource query for repos should match substrings.

rP99c9df96b4ffbf7 (2015) is the big "convert to Full Text Search" commit, but looks like it's not about Ferret (2017?).

Aug 21 2023, 15:36 · Feature Requests, Diffusion
avivey added a comment to T15583: Typeahead datasource query for repos should match substrings.

I suspect that the code in People is the oldest one - this stuff blames to 2011! and does explicit sql stuff!

Aug 21 2023, 15:21 · Feature Requests, Diffusion
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

I have searched through the code a little bit and there is another system for typeahaed results. It is token based. So, how does it work?

Aug 21 2023, 14:42 · Feature Requests, Diffusion
roberto.urbani retitled D25416: Replacing the deprecated -moz-outline-style with outline-style from Task ref: T15585
Aug 21 2023, 14:10
roberto.urbani requested review of D25416: Replacing the deprecated -moz-outline-style with outline-style.
Aug 21 2023, 13:18
avivey added a comment to T15583: Typeahead datasource query for repos should match substrings.

Yeah, that's probably good - that's the query for typeaheads and probably global search, but not for other cases.

Aug 21 2023, 11:29 · Feature Requests, Diffusion
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

There is no ferret involved in my fix. I have already implemented it in our company instance and the devs are loving it. The change is in this line: https://we.phorge.it/source/phorge/browse/master/src/applications/repository/query/PhabricatorRepositoryQuery.php$650

Aug 21 2023, 09:23 · Feature Requests, Diffusion
valerio.bozzolan added a comment to T15583: Typeahead datasource query for repos should match substrings.

I also don't fully understand the "Phabricator way" to create full text queries still using indexes. That is my main concern.

Aug 21 2023, 08:56 · Feature Requests, Diffusion
avivey added a project to T15583: Typeahead datasource query for repos should match substrings: Feature Requests.

Yeah, totally reasonable feature request.
Do you think you can implement?
This might involve the Ferret engine (like this thing, or maybe there's a simpler approach for the query (title LIKE %text% in the Query class?).

Aug 21 2023, 08:14 · Feature Requests, Diffusion
bekay added a comment to T15583: Typeahead datasource query for repos should match substrings.

No interest in this? I can send a diff to differential and be mauled there 🦁

Aug 21 2023, 08:03 · Feature Requests, Diffusion
avivey added Q72: Add support for Cloudflare Turnstile (A Captcha alternative)? (Answer 98).
Aug 21 2023, 06:11
avivey updated Q72: Add support for Cloudflare Turnstile (A Captcha alternative)? from Add support for Cloudflare Turnstile? to Add support for Cloudflare Turnstile (A Captcha alternative)?.
Aug 21 2023, 05:58
Lectrician1 updated the question details for Q72: Add support for Cloudflare Turnstile (A Captcha alternative)?.
Aug 21 2023, 03:38
valerio.bozzolan added Q72: Add support for Cloudflare Turnstile (A Captcha alternative)? (Answer 97).
Aug 21 2023, 03:32
Lectrician1 asked Q72: Add support for Cloudflare Turnstile (A Captcha alternative)?.
Aug 21 2023, 03:27

Aug 20 2023

matmarex added inline comments to D25305: Workboard: have thin scrollbars.
Aug 20 2023, 21:07
aklapper updated the diff for D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

Ran arc unit first

Aug 20 2023, 11:25
aklapper updated the diff for D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

Make code more readable

Aug 20 2023, 11:24
aklapper added inline comments to D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.
Aug 20 2023, 11:21
aklapper updated the diff for D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.

Accept whatever stuff is passed as $label as long as it's not null, per last comment

Aug 20 2023, 09:45
avivey added a comment to D25359: Generate more fields in Download Raw Diff.

IDK - this was code was never explicitly about git am - I think it was about patch, which started in the stone age and predates things like "formal specification".

Aug 20 2023, 08:34
avivey added a subtask for T15535: Using Differential with plain Git, without requiring Arc: T15250: Raw use of "git diff" provides insufficient Diff Context.
Aug 20 2023, 08:20 · Feature Requests
avivey added a parent task for T15250: Raw use of "git diff" provides insufficient Diff Context: T15535: Using Differential with plain Git, without requiring Arc.
Aug 20 2023, 08:20 · Affects-FreeBSD, Differential
valerio.bozzolan requested changes to D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.

I will kindly mark this as request changes since unfortunately we have a crash if the $label is an object like PhutilSafeHTML.

Aug 20 2023, 07:48
valerio.bozzolan accepted D25359: Generate more fields in Download Raw Diff.

I noticed that Phorge exports the date in this format:

Date: 2023-08-02 23:23:38 (UTC+2)

While git exports the date in this format:

Thu Jun 29 23:23:28 2023 +0200

Is this known? Should we uniform these?

Aug 20 2023, 07:22
valerio.bozzolan accepted D25358: Let ArcanistBundle print some Git patch headers.

Thanks again \o/

Aug 20 2023, 07:20
valerio.bozzolan added a comment to D25305: Workboard: have thin scrollbars.

OK so if I understand correctly:

Aug 20 2023, 07:06

Aug 19 2023

matmarex updated the diff for D25305: Workboard: have thin scrollbars.

Lint

Aug 19 2023, 21:48
matmarex updated the diff for D25305: Workboard: have thin scrollbars.

Restored the previous selectors, added some code comments to try to explain better why I wrote them this way. I hope this clarifies things. Thanks!

Aug 19 2023, 21:45
aklapper updated the test plan for D25415: Make InterpreterBlockRule regex only match on valid interpreter names.
Aug 19 2023, 18:28
aklapper added a comment to T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php).

FYI I proposed a partial patch in D25415 which makes the issue more contained at least.

Aug 19 2023, 18:22 · Bug Reports
aklapper requested review of D25415: Make InterpreterBlockRule regex only match on valid interpreter names.
Aug 19 2023, 18:22
ajhalili2006 updated ajhalili2006.
Aug 19 2023, 15:07
ajhalili2006 updated ajhalili2006.
Aug 19 2023, 15:05
valerio.bozzolan updated valerio.bozzolan.
Aug 19 2023, 09:49
valerio.bozzolan updated valerio.bozzolan.
Aug 19 2023, 09:49
valerio.bozzolan added a comment to T15619: Calendar: Impossible to import .ics file (Phorge checks for a non-existing remote URI).

I've invested 8 minutes in this and I'm somehow confused about the possible cause and solution :)

Aug 19 2023, 09:24 · Affects-Wikimedia, Bug Reports, Calendar
aklapper closed D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 19 2023, 08:09
aklapper closed T15620: PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Aug 19 2023, 08:09 · PHP 8 support
aklapper closed T15620: PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar as Resolved by committing rP9b105c8e9e54: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 19 2023, 08:09 · PHP 8 support
aklapper added a reverting change for D25061: Fix editing a Calendar import ICS URI: rP9b105c8e9e54: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 19 2023, 08:09
aklapper added a reverting change for rP02a4f8b0c8f1: Fix editing a Calendar import ICS URI: rP9b105c8e9e54: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 19 2023, 08:09
aklapper committed rP9b105c8e9e54: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar
Aug 19 2023, 08:09
aklapper requested review of D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.
Aug 19 2023, 08:07
aklapper added a revision to T15622: PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label: D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.
Aug 19 2023, 08:07 · PHP 8 support
aklapper created T15622: PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.
Aug 19 2023, 08:06 · PHP 8 support
valerio.bozzolan updated the diff for D25413: Show a link to the Phorge homepage.

add noreferrer for privacy reasons

Aug 19 2023, 07:36
taavi renamed Wikimania Hackathon 2023 Singapore from Wikimania Hackaton 2023 Singapore to Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 06:59
avivey closed T15621: PHP 8.2: Diviner's Phorge Technical Documentation not accessible, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Aug 19 2023, 06:36 · PHP 8 support
avivey closed T15621: PHP 8.2: Diviner's Phorge Technical Documentation not accessible as Resolved by committing rPba4b8cb1ae7d: PHP 8 and Diviner Technical Documentation.
Aug 19 2023, 06:36 · PHP 8 support
avivey closed D25412: PHP 8 and Diviner Technical Documentation.
Aug 19 2023, 06:36
avivey committed rPba4b8cb1ae7d: PHP 8 and Diviner Technical Documentation.
PHP 8 and Diviner Technical Documentation
Aug 19 2023, 06:36
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 06:09
valerio.bozzolan attached a referenced file: F337207: image.png.
Aug 19 2023, 05:22
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 05:03
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 05:00
valerio.bozzolan attached a referenced file: F312321: Screenshot 2023-06-20 at 07-27-41 Editing-team (Kanban Board) · Workboard.png.
Aug 19 2023, 04:59
valerio.bozzolan attached a referenced file: F312323: Screenshot 2023-06-20 at 07-32-20 Editing-team (Kanban Board) · Workboard.png.
Aug 19 2023, 04:59
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 04:58
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 04:55
valerio.bozzolan updated the summary of D25413: Show a link to the Phorge homepage.
Aug 19 2023, 04:50
valerio.bozzolan changed the visibility for F337203: Phorge Home with new home link.png.
Aug 19 2023, 04:50
valerio.bozzolan attached a referenced file: F274834: Comments deleted Before D25096.png.
Aug 19 2023, 04:48
valerio.bozzolan attached a referenced file: F274835: Comments deleted After D25096.png.
Aug 19 2023, 04:48
valerio.bozzolan edited the content of Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 04:47
valerio.bozzolan created an object: Wikimania Hackathon 2023 Singapore.
Aug 19 2023, 04:47
valerio.bozzolan added a comment to D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.

Thanks my friend

Aug 19 2023, 04:03
valerio.bozzolan accepted D25393: Fix answer background color when using Dark Mode in Ponder.

You are a good minion, thanks bob

Aug 19 2023, 03:52
valerio.bozzolan resigned from D25305: Workboard: have thin scrollbars.

I will kindly resign since I'm terrible at frontend :) Others: please help here

Aug 19 2023, 03:48
valerio.bozzolan added a comment to D25305: Workboard: have thin scrollbars.

For faster review I would like to try to explain better to others why it was necessary to change so many selectors to change the Workboards scrollbar, but I'm not 100% sure about .phui-flank-view-body and the shadow thing.

Aug 19 2023, 03:41
valerio.bozzolan added a comment to D25400: Fix a PHP 8.1 deprecated use of strlen with a NULL argument.

Can somebody else test this? I need more time, since I have issues with hosted repositories at the moment :(

Aug 19 2023, 02:55
valerio.bozzolan retitled D25400: Fix a PHP 8.1 deprecated use of strlen with a NULL argument from Fix a PHP 8.1/8.2 deprecated use of strlen with a NULL argument
Aug 19 2023, 02:52
valerio.bozzolan accepted D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.

Thanks! Tested locally. This seems separated from the mentioned regression. Indeed the recurrence ID and the instance ISO seems that must be strings, or NULL, and any other value will cause a violent nuclear implosion as usual, and Phorge somehow likes it.

Aug 19 2023, 02:51
valerio.bozzolan triaged T15619: Calendar: Impossible to import .ics file (Phorge checks for a non-existing remote URI) as Normal priority.

Interesting. ICS URI import was fixed in 02a4f8b0c8f1279fc but at the cost of breaking ICS file import.

Aug 19 2023, 02:45 · Affects-Wikimedia, Bug Reports, Calendar
valerio.bozzolan retitled D25413: Show a link to the Phorge homepage from Show a link to the Phorge homepage It seems we were missing a link to the project homepage. Also we set the language of the HTML document.
Aug 19 2023, 02:38
valerio.bozzolan requested review of D25413: Show a link to the Phorge homepage.
Aug 19 2023, 02:37
valerio.bozzolan accepted D25412: PHP 8 and Diviner Technical Documentation.

Tested both cases, thanks

Aug 19 2023, 01:46
valerio.bozzolan updated the summary of D25412: PHP 8 and Diviner Technical Documentation.
Aug 19 2023, 01:45

Aug 18 2023

matmarex added inline comments to D25305: Workboard: have thin scrollbars.
Aug 18 2023, 22:27
mturdus accepted D25412: PHP 8 and Diviner Technical Documentation.
Aug 18 2023, 21:24
avivey requested review of D25412: PHP 8 and Diviner Technical Documentation.
Aug 18 2023, 19:31
avivey added a revision to T15621: PHP 8.2: Diviner's Phorge Technical Documentation not accessible: D25412: PHP 8 and Diviner Technical Documentation.
Aug 18 2023, 19:31 · PHP 8 support
mturdus triaged T15621: PHP 8.2: Diviner's Phorge Technical Documentation not accessible as High priority.
Aug 18 2023, 18:46 · PHP 8 support
aklapper requested review of D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 18 2023, 16:40
aklapper added a reverting change for D25061: Fix editing a Calendar import ICS URI: D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 18 2023, 16:40
aklapper added a reverting change for rP02a4f8b0c8f1: Fix editing a Calendar import ICS URI: D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 18 2023, 16:40
aklapper added a revision to T15620: PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar: D25411: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 18 2023, 16:40 · PHP 8 support
aklapper created T15620: PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar.
Aug 18 2023, 16:39 · PHP 8 support
aklapper added a comment to T15619: Calendar: Impossible to import .ics file (Phorge checks for a non-existing remote URI).

I confirm that there is no problem after running git revert 02a4f8b0c8f1279fc0040ad8077942fd8b0d948b.

Aug 18 2023, 16:22 · Affects-Wikimedia, Bug Reports, Calendar
valerio.bozzolan closed D25410: Documentation: fix unexisting path sshd_config.phabricator.example.
Aug 18 2023, 16:02