Page MenuHomePhorge
Feed All Stories

Mar 27 2024

valerio.bozzolan added a comment to D25554: Custom integer fields: fix search by array of possible values.

Small recap:

Mar 27 2024, 09:53

Mar 26 2024

tsc updated the summary of D25558: Initial work.
Mar 26 2024, 19:51 · DeepClone (Extension)
avivey closed T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description as Resolved by committing rP216d308507ed: Fix Project Hovercard rendering @mention.
Mar 26 2024, 18:07 · Affects-Wikimedia, Bug Reports
avivey closed D25562: Fix Project Hovercard rendering @mention.
Mar 26 2024, 18:07
avivey committed rP216d308507ed: Fix Project Hovercard rendering @mention.
Fix Project Hovercard rendering @mention
Mar 26 2024, 18:07
aklapper accepted D25562: Fix Project Hovercard rendering @mention.

I can confirm that the change fixes the exception locally on git master for me. Thanks!

Mar 26 2024, 15:58
aklapper foisted D25269: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 2/2) upon mturdus.
Mar 26 2024, 15:46
aklapper abandoned D25269: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 2/2).

All three changes superseded by D25250 in my understanding. If not, then please reopen. Thanks!

Mar 26 2024, 15:45
aklapper commandeered D25269: Fix PHP 8.2 "strlen(null)" exceptions block rendering Differential Revision page (T15432 - 2/2).
Mar 26 2024, 15:45
avivey requested review of D25562: Fix Project Hovercard rendering @mention.
Mar 26 2024, 15:40
avivey added a revision to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description: D25562: Fix Project Hovercard rendering @mention.
Mar 26 2024, 15:40 · Affects-Wikimedia, Bug Reports
Mormegil awarded rPb445e1d80df9: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML a Like token.
Mar 26 2024, 15:27
avivey added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.

It might not happen on any other card, because we might not be rendering Remarkup on any other card. Interesting....

Mar 26 2024, 10:46 · Affects-Wikimedia, Bug Reports
avivey added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.

So this is quite an edge-case:

  • PhabricatorMentionRemarkupRule wants to give the mention a different color, depending on if the user can view the "context object", in this case the Project.
  • There's an automatic rule, saying a member of a project can always view the project
  • When loading the project for the hovercard, we don't bother loading all the member list
  • When loading the user for the mention, we don't bother loading all its projects
  • so data is not available at the rendering point.
Mar 26 2024, 10:39 · Affects-Wikimedia, Bug Reports
avivey claimed T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Mar 26 2024, 10:23 · Affects-Wikimedia, Bug Reports
valerio.bozzolan closed T15729: Remarkup code blocks: guess the language from the "name" (if available) as Resolved by committing rPb1ae1b1a6789: Remarkup code blocks: guess language from "name=".
Mar 26 2024, 10:20 · User-valerio.bozzolan, Remarkup
valerio.bozzolan closed D25560: Remarkup code blocks: guess language from "name=".
Mar 26 2024, 10:20
valerio.bozzolan committed rPb1ae1b1a6789: Remarkup code blocks: guess language from "name=".
Remarkup code blocks: guess language from "name="
Mar 26 2024, 10:20
avivey accepted D25560: Remarkup code blocks: guess language from "name=".
Mar 26 2024, 10:19
valerio.bozzolan edited the content of Next Up.
Mar 26 2024, 06:31
valerio.bozzolan closed T15763: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way. as Resolved by committing rP27f4b8321a5e: Fix important regression in search engine.
Mar 26 2024, 06:30 · Bug Reports
valerio.bozzolan closed D25561: Fix important regression in search engine.
Mar 26 2024, 06:30
valerio.bozzolan committed rP27f4b8321a5e: Fix important regression in search engine.
Fix important regression in search engine
Mar 26 2024, 06:30
speck accepted D25561: Fix important regression in search engine.

nice, tyty

Mar 26 2024, 01:16

Mar 25 2024

valerio.bozzolan updated the diff for D25561: Fix important regression in search engine.

swap cases - thanks @speck - please double-accept if this is what was suggested :D

Mar 25 2024, 17:38
speck accepted D25561: Fix important regression in search engine.

I prefer to invert the logic and return early, to avoid having the entire function contents inside a nested level - up to you but this looks good.

Mar 25 2024, 17:24
valerio.bozzolan updated the summary of D25561: Fix important regression in search engine.
Mar 25 2024, 12:58
valerio.bozzolan updated the diff for D25561: Fix important regression in search engine.

simplified logic - thanks @speck

Mar 25 2024, 12:56
valerio.bozzolan added a revision to T15763: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way.: D25561: Fix important regression in search engine.
Mar 25 2024, 12:50 · Bug Reports
valerio.bozzolan updated the summary of D25561: Fix important regression in search engine.
Mar 25 2024, 12:50
valerio.bozzolan attached a referenced file: F2036615: image.png.
Mar 25 2024, 12:35 · Bug Reports
valerio.bozzolan attached a referenced file: F2036661: image.png.
Mar 25 2024, 12:35 · Bug Reports
zhe closed Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way. as obsolete.
Mar 25 2024, 12:29 · Phorge, Bug Reports
zhe created T15763: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..
Mar 25 2024, 12:29 · Bug Reports
zhe closed Q122: [Bug] Can't setup Admin account as resolved.
Mar 25 2024, 12:27 · Bug Reports
zhe added a comment to Q122: [Bug] Can't setup Admin account.

DisableUsernameEditEventListener.php is the root cause.

Mar 25 2024, 12:27 · Bug Reports
speck added inline comments to D25561: Fix important regression in search engine.
Mar 25 2024, 11:51
valerio.bozzolan added a comment to T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.

Another good simple candidate GDPR-friendly:

Mar 25 2024, 10:36 · Discussion Needed, Affects-Wikimedia
valerio.bozzolan closed T15031: Track phabricator's changes as Resolved.

I flag this as resolved since Code Differences between Phabricator and Phorge solves the problem at the moment. Also because there are no changes in upstream since 2023.

Mar 25 2024, 10:26
valerio.bozzolan edited the content of Next Up.
Mar 25 2024, 09:50
valerio.bozzolan updated the test plan for D25561: Fix important regression in search engine.
Mar 25 2024, 09:11
valerio.bozzolan requested review of D25561: Fix important regression in search engine.
Mar 25 2024, 09:08
valerio.bozzolan added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

Premising that we may want to rollback 328aee033fbd, probably this line is broken:

Mar 25 2024, 08:59 · Phorge, Bug Reports
valerio.bozzolan added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

Ouch. Probably partially my fault. Feel free to escalate this as Task under Bug Reports - close this as obsolete then

Mar 25 2024, 08:53 · Phorge, Bug Reports
valerio.bozzolan added a member for Trusted Contributors: zhe.
Mar 25 2024, 08:51
avivey added a comment to Q122: [Bug] Can't setup Admin account.

I can't immediately reproduce with that version either. I'll try again later.
In the meanwhile:

  • Try clearing your browser's cache
  • Try updating Phorge to the latest commit
  • Try disabling this extension: assets/DisableUsernameEditEventListener.php
Mar 25 2024, 08:41 · Bug Reports
tsc updated the diff for D25558: Initial work.

Implement the actual deep clone

Mar 25 2024, 08:33 · DeepClone (Extension)
avivey added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

I can reproduce this on master with basically any string search.

Mar 25 2024, 08:30 · Phorge, Bug Reports
zhe added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

https://we.phorge.it just works fine. :L

Mar 25 2024, 08:30 · Phorge, Bug Reports
valerio.bozzolan closed D25559: Update unit test of InterpreterBlockRule for "a {{{a}}}".
Mar 25 2024, 08:28
valerio.bozzolan committed rP9ebe85621919: Update unit test of InterpreterBlockRule for "a {{{a}}}".
Update unit test of InterpreterBlockRule for "a {{{a}}}"
Mar 25 2024, 08:28
avivey accepted D25559: Update unit test of InterpreterBlockRule for "a {{{a}}}".
Mar 25 2024, 08:27
zhe added a comment to Q122: [Bug] Can't setup Admin account.
  1. Phorge installation
Mar 25 2024, 08:26 · Bug Reports
valerio.bozzolan added inline comments to D25560: Remarkup code blocks: guess language from "name=".
Mar 25 2024, 08:18
avivey added inline comments to D25560: Remarkup code blocks: guess language from "name=".
Mar 25 2024, 07:54
valerio.bozzolan claimed T15729: Remarkup code blocks: guess the language from the "name" (if available).
Mar 25 2024, 07:44 · User-valerio.bozzolan, Remarkup
avivey added a comment to Q122: [Bug] Can't setup Admin account.

I can't reproduce this.
Which version of phorge/arc do you have (git log -1)?
How did you install the new Instance?

Mar 25 2024, 07:44 · Bug Reports
valerio.bozzolan requested review of D25560: Remarkup code blocks: guess language from "name=".
Mar 25 2024, 07:42
valerio.bozzolan added a revision to T15729: Remarkup code blocks: guess the language from the "name" (if available): D25560: Remarkup code blocks: guess language from "name=".
Mar 25 2024, 07:42 · User-valerio.bozzolan, Remarkup
valerio.bozzolan awarded Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way. a Yellow Medal token.
Mar 25 2024, 07:25 · Phorge, Bug Reports
valerio.bozzolan added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

Interesting. This cannot be reproduced here in this website https://we.phorge.it? isn't it? I think no

Mar 25 2024, 07:24 · Phorge, Bug Reports
zhe added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

:p

Mar 25 2024, 07:22 · Phorge, Bug Reports
zhe changed the visibility for F2038282: image.png.
Mar 25 2024, 07:22
zhe changed the visibility for F2038291: image.png.
Mar 25 2024, 07:21
valerio.bozzolan added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

(Please edit file Visibility to make them Public :D It's another bug ihih - thanks! <3)

Mar 25 2024, 07:21 · Phorge, Bug Reports
valerio.bozzolan updated the diff for D25559: Update unit test of InterpreterBlockRule for "a {{{a}}}".

remove unrelated stuff

Mar 25 2024, 07:20
zhe added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

The exception throw out when I search text in search bar:

image.png (277×808 px, 26 KB)

Mar 25 2024, 07:20 · Phorge, Bug Reports
valerio.bozzolan requested review of D25559: Update unit test of InterpreterBlockRule for "a {{{a}}}".
Mar 25 2024, 07:18
valerio.bozzolan added a revision to T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php): D25559: Update unit test of InterpreterBlockRule for "a {{{a}}}".
Mar 25 2024, 07:18 · Bug Reports
valerio.bozzolan added a revision to T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php): D25415: Make InterpreterBlockRule regex only match on valid interpreter names.
Mar 25 2024, 07:12 · Bug Reports
valerio.bozzolan added a task to D25415: Make InterpreterBlockRule regex only match on valid interpreter names: T15372: "RuntimeException: Undefined array key" when pasting "a {{{a}}} a" comment (due to regex in PhutilRemarkupInterpreterBlockRule.php).
Mar 25 2024, 07:12
valerio.bozzolan added a comment to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..

Please also include your exact search. I think you are searching by https://foo and that is unfortunately not possible without "doing this"

Mar 25 2024, 06:29 · Phorge, Bug Reports
zhe added projects to Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way.: Bug Reports, Phorge.
Mar 25 2024, 04:50 · Phorge, Bug Reports
zhe asked Q122: [Bug] Can't setup Admin account.
Mar 25 2024, 04:49 · Bug Reports
zhe updated zhe.
Mar 25 2024, 02:05
zhe updated the question details for Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..
Mar 25 2024, 01:19 · Phorge, Bug Reports
zhe asked Q121: [Search Bug] Refusing to redirect to local resource "foo". This URI is not formatted in a recognizable way..
Mar 25 2024, 01:13 · Phorge, Bug Reports

Mar 24 2024

valerio.bozzolan triaged T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description as High priority.

Ouch

Mar 24 2024, 15:46 · Affects-Wikimedia, Bug Reports
valerio.bozzolan edited the content of 2023 week 49.
Mar 24 2024, 15:45

Mar 23 2024

tsc updated the test plan for D25558: Initial work.
Mar 23 2024, 20:39 · DeepClone (Extension)
tsc updated the diff for D25558: Initial work.

update testplan

Mar 23 2024, 20:38 · DeepClone (Extension)
tsc updated the diff for D25558: Initial work.

fix linting issues

Mar 23 2024, 20:32 · DeepClone (Extension)
tsc updated the diff for D25558: Initial work.

Continued work, now using proper transactions and beeing able to copy comments

Mar 23 2024, 17:14 · DeepClone (Extension)
tsc requested review of D25558: Initial work.
Mar 23 2024, 14:00 · DeepClone (Extension)

Mar 22 2024

tsc committed R13:42a1e30fa400: wip.
wip
Mar 22 2024, 15:13
20after4 added Q86: Policy lifecycle of security tasks (Answer 154).
Mar 22 2024, 14:59
20after4 added Q115: How to analyze each member story points data (Answer 153).
Mar 22 2024, 14:57
20after4 added a comment to T15048: Allow awarding Tokens to individual Comments.

So I got this mostly working locally, it's actually fairly trivial to reuse the existing token storage and infrastructure. Actually displaying the tokens might not be the most efficient of operations when there are a lot of comments on a given object. I still need to write an optimized query to fetch all of the token given in one query rather than many and then figure out how to display the tokens inline with the comments.

Mar 22 2024, 14:42 · Comments
reet- added a comment to Q120: What is the intended effect on a revision if the plan 1 fails? (Answer 152).

Thanks for your answer. Yes, the restart item on the Build Plan display is also wrong then.

Mar 22 2024, 14:26
aklapper closed T15755: PHP 7.3: strpos(): Non-string needles will be interpreted as strings (in arcanist/src/utils/PhutilSortVector.php:33) as Resolved by committing rARCef73b12b580e: Fix "strpos(): Non-string needles will be interpreted as strings" in….
Mar 22 2024, 12:35
aklapper closed D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
Mar 22 2024, 12:35
aklapper committed rARCef73b12b580e: Fix "strpos(): Non-string needles will be interpreted as strings" in….
Fix "strpos(): Non-string needles will be interpreted as strings" in…
Mar 22 2024, 12:35
avivey added Q120: What is the intended effect on a revision if the plan 1 fails? (Answer 152).
Mar 22 2024, 12:11
reet- asked Q120: What is the intended effect on a revision if the plan 1 fails?.
Mar 22 2024, 11:40
speck accepted D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
Mar 22 2024, 11:26
valerio.bozzolan accepted D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
$ php --rf strpos
Function [ <internal:standard> function strpos ] {
Mar 22 2024, 10:29
aklapper updated the summary of D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
Mar 22 2024, 10:27
aklapper requested review of D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
Mar 22 2024, 10:26
aklapper added a revision to T15755: PHP 7.3: strpos(): Non-string needles will be interpreted as strings (in arcanist/src/utils/PhutilSortVector.php:33): D25557: Fix "strpos(): Non-string needles will be interpreted as strings" in PhutilSortVector.
Mar 22 2024, 10:26

Mar 21 2024

aklapper updated the task description for T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Mar 21 2024, 22:34 · Affects-Wikimedia, Bug Reports