Page MenuHomePhorge
Feed All Stories

Aug 25 2023

Juest added a comment to T15627: Clicking on meme then cancel causes redirection to homepage and dialog does not disappear.

Chrome 109 on Windows 7
No JS errors in console

Aug 25 2023, 18:36 · UX, Bug Reports
Juest removed a project from T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized: Phorge.
Aug 25 2023, 18:33 · Bug Reports
avivey removed a project from T15627: Clicking on meme then cancel causes redirection to homepage and dialog does not disappear: Phorge.

Does not reproduce to me.
Which browser are you using? Are there any javascript errors?

Aug 25 2023, 18:31 · UX, Bug Reports
Juest created T15627: Clicking on meme then cancel causes redirection to homepage and dialog does not disappear.
Aug 25 2023, 18:23 · UX, Bug Reports
Juest updated Juest.
Aug 25 2023, 18:18
Juest created T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized.
Aug 25 2023, 18:13 · Bug Reports
avivey added a member for Trusted Contributors: Juest.
Aug 25 2023, 17:58
Juest added a comment to T15554: Handling PHP deprecations: convert to Setup Issues.

Would taking care of the depreciations bump the minimum PHP version required to run Phorge?
looks good to me otherwise

Aug 25 2023, 17:43 · Phorge
avivey added a comment to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict.

Yeah, the dialog looks better then the extra notification...

Aug 25 2023, 15:24 · Good Starter Task
valerio.bozzolan attached a referenced file: F341415: adjust-timezone-dialog.png.
Aug 25 2023, 14:15
valerio.bozzolan updated the summary of D25420: Improving UX for ignoring timezone conflicts.
Aug 25 2023, 14:15
valerio.bozzolan added a comment to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict.

I like so much this popup, thanks Roberto

Aug 25 2023, 14:15 · Good Starter Task
roberto.urbani added a comment to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict.

I don't know how to add a third button in a modal, but I would agree on that approach.

Aug 25 2023, 13:45 · Good Starter Task
avivey edited the content of Change Log.
Aug 25 2023, 11:58
avivey edited the content of 2023 Week 32.
Aug 25 2023, 11:57
avivey committed rARCb5140eed542a: Promote 2023.32 to Stable.
Promote 2023.32 to Stable
Aug 25 2023, 11:55
avivey committed rP56789a2fa681: Replace dedicated Commit Field with an existing one.
Replace dedicated Commit Field with an existing one
Aug 25 2023, 11:54
avivey committed rP11424ffbe664: Promote 2023.32 to Stable.
Promote 2023.32 to Stable
Aug 25 2023, 11:54
roberto.urbani added a comment to D25416: Replacing the deprecated -moz-outline-style with outline-style.

Tested, seems good to me

To land, please do this from your side:

arc patch D25416
arc land

Thank you!

Aug 25 2023, 08:37

Aug 24 2023

bd808 updated bd808.
Aug 24 2023, 21:56
bd808 awarded T15034: Show confirmation dialog when closing a modal if form contents have been changed a Love token.
Aug 24 2023, 21:34 · Maniphest, UX
valerio.bozzolan added a comment to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict.

I don't know how to add a third button in a modal, but I would agree on that approach.

Aug 24 2023, 18:39 · Good Starter Task
valerio.bozzolan added a revision to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict: D25420: Improving UX for ignoring timezone conflicts.
Aug 24 2023, 18:37 · Good Starter Task
valerio.bozzolan retitled D25420: Improving UX for ignoring timezone conflicts from Improving UX for ignoring timezone conflicts Fix ref T15349
Aug 24 2023, 18:37
valerio.bozzolan accepted D25416: Replacing the deprecated -moz-outline-style with outline-style.

Tested, seems good to me

Aug 24 2023, 18:33
valerio.bozzolan added a revision to T15585: Replace or remove deprecated "-moz-outline-style" CSS property: D25416: Replacing the deprecated -moz-outline-style with outline-style.
Aug 24 2023, 18:29 · Good Starter Task
valerio.bozzolan updated the summary of D25416: Replacing the deprecated -moz-outline-style with outline-style.
Aug 24 2023, 18:29
valerio.bozzolan added a comment to D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

Please fix unit errors

Aug 24 2023, 18:26
valerio.bozzolan updated the diff for D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

fix lint

Aug 24 2023, 18:25
valerio.bozzolan accepted D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider.

This seems the exact backward-compatible thing to me

Aug 24 2023, 18:24
valerio.bozzolan added a comment to D25420: Improving UX for ignoring timezone conflicts.

Maybe we can improve the current popup from current:

Aug 24 2023, 18:19
avivey added a comment to D25420: Improving UX for ignoring timezone conflicts.

But it adds another notification, and now the user will have to pick between 2 buttons that say "solve conflict".
It's also not the common path - in the common case, we expect users to actually approve the timezone offered by the dialog (which should be the one detected from the browser).

Aug 24 2023, 15:47
avivey added a comment to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

0. Welcome!

  1. This diff is based of a commit that's not in master - some local changes that make it not-apply
  2. the space should be on the inside of the pht(), not attached to it.
  3. even better, find whatever is calling describeAutomaticCapability(), and if it accepts an array (some implementations return array, some return string), have the caller add a space between each element of the array - solving this once for all callers...
Aug 24 2023, 15:46 · UX
roberto.urbani added a comment to D25420: Improving UX for ignoring timezone conflicts.

Adding another notification will only make this more annoying.

Why not just improve the current dialog to make it easier to ignore the conflict?

Aug 24 2023, 15:45
avivey added a comment to D25420: Improving UX for ignoring timezone conflicts.

Adding another notification will only make this more annoying.

Aug 24 2023, 15:43
roberto.urbani requested review of D25420: Improving UX for ignoring timezone conflicts.
Aug 24 2023, 15:37
aklapper added a comment to T15316: PHUITagView and similar: it's unclear whenever 'href' should be just a string.

Argh, sorry for my comment. I missed that rPbcfcd9acfc12fdf8ca3bf0e2c89651ba6d159b17 removed that noise already! (Anyway, I cannot share a stack trace when no stack trace is printed anyway.)

Aug 24 2023, 13:01 · PHP 8 support
valerio.bozzolan added a comment to T15316: PHUITagView and similar: it's unclear whenever 'href' should be just a string.

@aklapper Can you please share your stack trace?

Aug 24 2023, 12:25 · PHP 8 support
aklapper added a comment to T15316: PHUITagView and similar: it's unclear whenever 'href' should be just a string.

@valerio.bozzolan: This is now spamming our error logs. Any recommendations how to proceed?

Aug 24 2023, 10:46 · PHP 8 support

Aug 23 2023

valerio.bozzolan added a comment to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

Thanks. I would like to help in reviewing but I don't get the difference. Can you describe the inline change?

Aug 23 2023, 12:45 · UX
roberto.urbani updated the diff for D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

Updating D25419: Fix the whitespace issue in the message "Access Denied: Restricted File"

Aug 23 2023, 11:36 · UX
roberto.urbani updated the diff for D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

Updating D25419: Fix the whitespace issue in the message "Access Denied: Restricted File"

Aug 23 2023, 11:11 · UX
roberto.urbani abandoned D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
Aug 23 2023, 07:56 · UX
roberto.urbani requested review of D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
Aug 23 2023, 07:49 · UX

Aug 22 2023

aklapper updated the diff for D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

fix a typo

Aug 22 2023, 17:27
aklapper added a comment to D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.

Please do note that this patch is untested as I am unaware of reproduction steps.

Aug 22 2023, 17:25
aklapper requested review of D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.
Aug 22 2023, 17:24
aklapper added a revision to T15624: RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73: D25418: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.
Aug 22 2023, 17:24
aklapper updated the task description for T15624: RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.
Aug 22 2023, 17:22
aklapper created T15624: RuntimeException: mb_convert_encoding(): Illegal character encoding specified at PhabricatorTextDocumentEngine.php:73.
Aug 22 2023, 17:21
aklapper closed T15623: RuntimeException: min(): Array must contain at least one element at DiffusionBlameController.php:201 as Resolved by committing rPbeec08e01913: Fix RuntimeException: min(): Array must contain at least one element.
Aug 22 2023, 16:31
aklapper closed D25417: Fix RuntimeException: min(): Array must contain at least one element.
Aug 22 2023, 16:31
aklapper committed rPbeec08e01913: Fix RuntimeException: min(): Array must contain at least one element.
Fix RuntimeException: min(): Array must contain at least one element
Aug 22 2023, 16:31
valerio.bozzolan added a comment to T15497: Exception when viewing incoming Chat room messages, when not in Participants.

Hi @bekay, I think that D25408 fixes this problem

Aug 22 2023, 12:18 · Conpherence
avivey added a comment to D25417: Fix RuntimeException: min(): Array must contain at least one element.

whatcouldgowrong

Aug 22 2023, 09:27
avivey accepted D25417: Fix RuntimeException: min(): Array must contain at least one element.
Aug 22 2023, 09:27
aklapper updated the diff for D25417: Fix RuntimeException: min(): Array must contain at least one element.

shrug

Aug 22 2023, 09:20
aklapper updated the diff for D25417: Fix RuntimeException: min(): Array must contain at least one element.

Try again, after an rm and arc liberate on master, and then a git rebase master on this branch

Aug 22 2023, 09:17
aklapper added a comment to D25417: Fix RuntimeException: min(): Array must contain at least one element.

and that's now wrong because src/__phutil_library_map__.php includes a non-existing file though I had ran git stash. I love git...

Aug 22 2023, 09:15
aklapper updated the diff for D25417: Fix RuntimeException: min(): Array must contain at least one element.

Obviously not a clean tree, sorry. Thus ran arc liberate, now arc asked whether to include unstaged changes in src/__phutil_library_map__.php (yes)

Aug 22 2023, 09:13
aklapper requested review of D25417: Fix RuntimeException: min(): Array must contain at least one element.
Aug 22 2023, 09:09
aklapper added a revision to T15623: RuntimeException: min(): Array must contain at least one element at DiffusionBlameController.php:201: D25417: Fix RuntimeException: min(): Array must contain at least one element.
Aug 22 2023, 09:09
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 · Differential
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 · Differential, 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 · Differential
valerio.bozzolan accepted D25358: Let ArcanistBundle print some Git patch headers.

Thanks again \o/

Aug 20 2023, 07:20 · Arcanist
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