Page MenuHomePhorge
Feed All Stories

Mar 25 2024

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
aklapper added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.

Also note that we have a similar PhabricatorDataNotAttachedException in PhabricatorRepositoryCommit (via getRepository()) in downstream https://phabricator.wikimedia.org/T360714. It's without reproduction steps but sounds a bit similar.

Mar 21 2024, 20:40 · Affects-Wikimedia, Bug Reports
aklapper updated the task description for T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Mar 21 2024, 20:21 · Affects-Wikimedia, Bug Reports
aklapper created T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Mar 21 2024, 20:19 · Affects-Wikimedia, Bug Reports
aklapper closed T15631: "Map returned omits required key" exception for second result page (cursor) for Maniphest search ordered by custom field as Resolved by committing rPd42b3eb0b17a: Fix "Map omits required key" exception by comparing result order against modern….
Mar 21 2024, 18:26 · Affects-Wikimedia, Bug Reports
aklapper closed D25504: Fix "Map omits required key" exception by comparing result order against modern field keys.
Mar 21 2024, 18:26
aklapper committed rPd42b3eb0b17a: Fix "Map omits required key" exception by comparing result order against modern….
Fix "Map omits required key" exception by comparing result order against modern…
Mar 21 2024, 18:25
aklapper requested review of D25556: Fix PHP 8.1 "strlen(null)" exception querying project tags for autocomplete without additional hashtag slugs defined.
Mar 21 2024, 17:36
aklapper added a revision to T15761: PHP 8.1 "strlen(null)" exception entering autocomplete project tag in task comment: D25556: Fix PHP 8.1 "strlen(null)" exception querying project tags for autocomplete without additional hashtag slugs defined.
Mar 21 2024, 17:36 · PHP 8 support
aklapper created T15761: PHP 8.1 "strlen(null)" exception entering autocomplete project tag in task comment.
Mar 21 2024, 17:30 · PHP 8 support
valerio.bozzolan updated the diff for D25118: Remarkup: make less internal links open in new tabs.
In D25118#14541, @speck wrote:

I forgot I had this requesting changes. Any idea of the performance hit in markup rendering now that PhutilURI is constructed for every link? I think its constructor does a fair amount.

Mar 21 2024, 14:45
valerio.bozzolan changed the visibility for F2013380: D25118-boz-performance-results.png.
Mar 21 2024, 14:32
valerio.bozzolan changed the visibility for F2012609: D25118-boz-performance-results.png.
Mar 21 2024, 11:52

Mar 20 2024

avivey moved T15525: Create repository for Diagrams, a DrawIO integration from Backlog to Pending Projects on the Phactory: Community Projects board.
Mar 20 2024, 12:08 · Phactory: Community Projects
avivey moved T15558: community repo: Semi Structured from Backlog to Pending Projects on the Phactory: Community Projects board.
Mar 20 2024, 12:08 · Semi Structured (Extension), Phactory: Community Projects
avivey moved T15576: Community Repo: QR Code Extension from Backlog to Pending Projects on the Phactory: Community Projects board.
Mar 20 2024, 12:08 · Phactory: Community Projects
avivey claimed T15030: Support a Phorge Extensions ecosystem.

@avivey to do now:

Mar 20 2024, 08:05 · Extension Development, Phactory: Community Projects, Phorge
avivey moved T15567: Phorge extension to print QR stickers from Backlog to Pending Projects on the Phactory: Community Projects board.
Mar 20 2024, 08:03 · Phactory: Community Projects
avivey moved T15760: Community Repo: DeepClone from Backlog to Pending Projects on the Phactory: Community Projects board.
Mar 20 2024, 08:03 · Phactory: Community Projects
avivey added a comment to T15760: Community Repo: DeepClone.

The repo is set to "host" right now, but it can also be set to "observe from" or "mirror to" another repo.

Mar 20 2024, 08:01 · Phactory: Community Projects
avivey changed the edit policy for DeepClone (Extension).
Mar 20 2024, 07:56
avivey added a member for DeepClone (Extension): tsc.
Mar 20 2024, 07:54
avivey created DeepClone (Extension).
Mar 20 2024, 07:54
tsc created T15760: Community Repo: DeepClone.
Mar 20 2024, 07:50 · Phactory: Community Projects

Mar 19 2024

Sten added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

Sorry, I'm not explaining it very well. For the database engine to use index (col1, col2, col3), col1 must be specified somewhere in the WHERE clause, but it's precise location is irrelevant - the database engine will work it out. As to why we need both indexes, there's a good explanation on https://use-the-index-luke.com/sql/where-clause/the-equals-operator/concatenated-keys

Mar 19 2024, 22:35
avivey added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

Interesting, and a little troubling if I understand it correctly; It means that the query ... WHERE dst = $a and type = $b and src = $c will be a full-table-read, but the equivalent query src = $c and type = $b and dst = $a will use the index to resolve quickly?

Mar 19 2024, 22:17
valerio.bozzolan updated the diff for D25118: Remarkup: make less internal links open in new tabs.

minor optimization and unit tests are still happy

Mar 19 2024, 16:43
valerio.bozzolan updated the task description for T15161: Internal resources should avoid to become external links, as default.
Mar 19 2024, 16:41 · User-valerio.bozzolan, Discussion Needed, Remarkup
valerio.bozzolan closed T15182: Simplify the way "internal links" are identified, a subtask of T15161: Internal resources should avoid to become external links, as default, as Resolved.
Mar 19 2024, 16:34 · User-valerio.bozzolan, Discussion Needed, Remarkup
valerio.bozzolan closed T15182: Simplify the way "internal links" are identified as Resolved by committing rP328aee033fbd: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
Mar 19 2024, 16:34 · User-valerio.bozzolan, Remarkup
valerio.bozzolan closed D25555: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
Mar 19 2024, 16:34
valerio.bozzolan committed rP328aee033fbd: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
isSelfURI: fix anchors and relative URIs (that are "self" indeed)
Mar 19 2024, 16:34
Sten added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

@avivey - the order of the keys is irrelevant when it comes to determining uniqueness, but extremely important in other respects. In order for an index to be used when selecting rows, the database must be provided with values for the index fields, in the order specified. Ie you always need to specify a value for the first field, and can get away without successive ones.

Mar 19 2024, 13:50
avivey accepted D25555: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
Mar 19 2024, 11:27
avivey added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

Are the keys actually different? Looks like they have the same fields in different order. Does this makes a difference in the implementation?

Mar 19 2024, 09:02

Mar 18 2024

Sten added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

@valerio.bozzolan agreed - I'm not proposing to remove the (dst, type, src) index, just the uniqueness constraint on that index. Sorry for not making that clear.

Mar 18 2024, 11:19
valerio.bozzolan added a comment to T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.

But in any case, it may have sense to keep a generic index on (dst, type, src) (or maybe just dst, type) in that specific order, since the UNIQUE KEY was probably a "micro-optimization" to achieve such index for queries operating on dst, or also dst and type, but all without src. This is just an opinion from an alien. Better to wait for more answers.

Mar 18 2024, 11:09
Sten created T15759: MySQL edge table error log: 'INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe'.
Mar 18 2024, 10:49
valerio.bozzolan edited the content of Next Up.
Mar 18 2024, 07:19
valerio.bozzolan edited the content of Next Up.
Mar 18 2024, 07:19

Mar 17 2024

valerio.bozzolan added a comment to T15121: Contributor Agreement.

Your email address(es) set by you for your user account in the Phorge Project

That is private data. Nobody can access it.

Mar 17 2024, 18:24 · Phorge
avivey updated the task description for T15758: Monitor PHPMailer security.
Mar 17 2024, 08:56 · Security

Mar 16 2024

avivey added a comment to D25502: Make PhabricatorSearchIntField validate its input.

I'm pretty sure getValueForQuery() should return some value?

Mar 16 2024, 14:13
avivey added a comment to T15121: Contributor Agreement.

I have a problem with this statement:

Mar 16 2024, 08:12 · Phorge