Page MenuHomePhorge
Feed All Stories

Aug 28 2023

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

It seems your "master" branch has (many?) local unexpected commits.

In order to work on this feature, in Phorge, try these:

git status
# you should be on master - please eventually manually delete any local uncommitted change

Then, create another clean branch:

git branch   pippo_feature
git switch   pippo_feature
git reset --hard origin/master

So now you are on a custom branch pippo_feature that is super-clean. From there you can add fresh features and propose whatever patch.

(To switch between branches, just git switch master or git switch pippo_feature ecc.)

Aug 28 2023, 08:54 · 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 28 2023, 08:53 · UX
bob added a comment to D25400: Fix a PHP 8.1 deprecated use of strlen with a NULL argument.

You're right valerio, this sign in is an automatic reflex since my Phorge instance is private ;)

Aug 28 2023, 08:47
bob attached a referenced file: F332921: screenshot-phorge-bug-darkmode-ponder-answer-before.png.
Aug 28 2023, 08:40
bob attached a referenced file: F332922: screenshot-phorge-bug-darkmode-ponder-answer-after.png.
Aug 28 2023, 08:40
bob closed D25393: Fix answer background color when using Dark Mode in Ponder.
Aug 28 2023, 08:39
bob committed rP0ec3291ff4a9: Fix answer background color when using Dark Mode in Ponder.
Fix answer background color when using Dark Mode in Ponder
Aug 28 2023, 08:39
valerio.bozzolan updated subscribers of D25414: Fix PHP 8.1 "strlen(null)" exception rendering PHUISegmentBar without a label.
Aug 28 2023, 08:25
valerio.bozzolan requested changes to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".

It seems your "master" branch has (many?) local unexpected commits.

Aug 28 2023, 08:19 · UX
valerio.bozzolan requested changes to D25420: Improving UX for ignoring timezone conflicts.

I kindly mark this as "request changes" since the author said that it needs an update to reflect the screenshot. Feel free to update with

Aug 28 2023, 08:06
valerio.bozzolan added a comment to T15349: Explicitly cover in "Timezone settings" dialog how to ignore the browser vs profile conflict.

Thanks Roberto, feel free to update D25420 to reflect your lovely screenshot.

Aug 28 2023, 08:05 · Good Starter Task
valerio.bozzolan added a comment to T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized.

Got it! Nice catch!

Aug 28 2023, 07:54 · Bug Reports

Aug 27 2023

avivey added a comment to D25387: Error handling: send Deprecation messages as explicit Event.

I'm thinking of adding similar handling for E_USER_NOTICE and E_USER_WARNING - to allow using them in extension code and in things like T15316 (Right now, we treat those as fatal errors too).

Aug 27 2023, 08:07

Aug 26 2023

Lectrician1 added a comment to Q72: Add support for Cloudflare Turnstile (A Captcha alternative)? (Answer 98).

That works! Thank you!

Aug 26 2023, 20:31
avivey 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?

Not in itself, but we do plan to bump the minimum to 7.1 (in T15047).

Aug 26 2023, 16:59 · Phorge
avivey edited the content of 2022 Week 37.
Aug 26 2023, 16:31
avivey edited the content of 2023 Week 23.
Aug 26 2023, 16:30
avivey edited the content of 2023 Week 17.
Aug 26 2023, 16:30
Juest added a comment to T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized.

Thanks I'm trying to reproduce. Can you please help me in understanding "click to the left next to the up arrow icon"? I probably don't get "click the left"

Aug 26 2023, 15:54 · Bug Reports
valerio.bozzolan accepted D25360: Teach Commit View about Encoding.

Interestingly I tried to open a simple README file and selecting UTF-8.

Aug 26 2023, 10:00
avivey published D25360: Teach Commit View about Encoding for review.
Aug 26 2023, 07:46
valerio.bozzolan added a comment to T15626: [Web] Persistent chat settings should not be clickable or visible when the chat is minimized.

Thanks I'm trying to reproduce. Can you please help me in understanding "click to the left next to the up arrow icon"? I probably don't get "click the left"

Aug 26 2023, 06:20 · Bug Reports
MacFan4000 closed Q68: Diffusion refuses to show a commit in a non-UTF-8 file as resolved.
Aug 26 2023, 05:21 · Diffusion
MacFan4000 closed Q61: Has anyone tried using the `conduit` file uploadchunk method? as resolved.
Aug 26 2023, 05:20
MacFan4000 closed Q48: Escaping elements in remarkup as resolved.
Aug 26 2023, 05:18

Aug 25 2023

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

sometimes i can not reproduce the issue

Aug 25 2023, 19:08 · UX, Bug Reports
aklapper added a comment to T15453: Diffusion: Create Identity form is incomplete.

As this is broken anyway (and creates noisy log spam when someone tries to use the broken Create Identity form), would it make sense in the meantime as a workaround to disable (or hide, but no idea how to do that for a PhabricatorEditEngine) that form for every and any user? A one-line hack would be in P22.

Aug 25 2023, 18:52 · Bug Reports, Diffusion
aklapper created P22 T15453 workaround.
Aug 25 2023, 18:52
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