Page MenuHomePhorge
Feed All Stories

Jul 21 2024

valerio.bozzolan renamed T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers from Diffusion repository commits: avoid to be a black hoile for webcrawlers to Diffusion repository commits: avoid to be a black hole for webcrawlers.
Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan renamed T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers from Disallow webcrawlers to index Diffusion repository commits to Diffusion repository commits: avoid to be a black hoile for webcrawlers.
Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan added a comment to T15670: Diffusion repository commits: avoid to be a black hole for webcrawlers.

(Trying to make this task a bit more about the root problem, and less about the proposed solution)

Jul 21 2024, 08:39 · Discussion Needed
valerio.bozzolan added a subtask for T15886: Archived Projects: make them "more Archived" : T15882: When archiving a project, reset its default menu item to Profile.
Jul 21 2024, 08:33 · Projects
valerio.bozzolan added a parent task for T15882: When archiving a project, reset its default menu item to Profile: T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan removed a subtask for T15882: When archiving a project, reset its default menu item to Profile: T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan removed a parent task for T15886: Archived Projects: make them "more Archived" : T15882: When archiving a project, reset its default menu item to Profile.
Jul 21 2024, 08:33 · Projects
valerio.bozzolan added a parent task for T15886: Archived Projects: make them "more Archived" : T15882: When archiving a project, reset its default menu item to Profile.
Jul 21 2024, 08:33 · Projects
valerio.bozzolan added a subtask for T15882: When archiving a project, reset its default menu item to Profile: T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan created T15886: Archived Projects: make them "more Archived" .
Jul 21 2024, 08:33 · Projects
valerio.bozzolan added a comment to T15882: When archiving a project, reset its default menu item to Profile.

I mean. See this archived Project (archived Milestone), that is linked from our changelogs:

Jul 21 2024, 08:24 · Discussion Needed, Feature Requests, Projects

Jul 20 2024

aklapper closed T15878: Update embedded phpqrcode from version 1.1.4 to 1.9.9 as Resolved by committing rP2aecae4ede9d: Update phpqrcode from version 1.1.4 to 1.9.9.
Jul 20 2024, 10:11
aklapper closed D25725: Update phpqrcode from version 1.1.4 to 1.9.9.
Jul 20 2024, 10:11
aklapper committed rP2aecae4ede9d: Update phpqrcode from version 1.1.4 to 1.9.9.
Update phpqrcode from version 1.1.4 to 1.9.9
Jul 20 2024, 10:11
aklapper added inline comments to D25734: Remove call to undefined method DoorkeeperDAO::getObjectKey().
Jul 20 2024, 09:59
aklapper closed D25717: Removed unused renderStatus() from PhabricatorProjectSubprojectsController.
Jul 20 2024, 09:55
aklapper committed rPc3aa581f8440: Removed unused renderStatus() from PhabricatorProjectSubprojectsController.
Removed unused renderStatus() from PhabricatorProjectSubprojectsController
Jul 20 2024, 09:55
aklapper added a comment to T15882: When archiving a project, reset its default menu item to Profile.

For example, some people then may ask "why my default view was changed?" and they will start manually "rollbacking" this to their desired view (e.g. showing closed tasks, from the Workboard, with a filter "Show all tasks").

Jul 20 2024, 09:27 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan added a project to T15882: When archiving a project, reset its default menu item to Profile: Discussion Needed.

Premising that I like the implementation but I think it's not the desired solution.

Jul 20 2024, 08:50 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan updated the summary of D25721: Remove call to non-existing AphrontTypeaheadTemplateView::renderToken().
Jul 20 2024, 08:40
valerio.bozzolan accepted D25721: Remove call to non-existing AphrontTypeaheadTemplateView::renderToken().

Additional consideration under control: an external class may have extended AphrontTypeaheadTemplateView and defining a renderToken() there, and making this snippet operative (I'm not saying that it's a good practice, I'm saying that it would work). But this extreme corner case is not the case.

Jul 20 2024, 08:40
valerio.bozzolan accepted D25717: Removed unused renderStatus() from PhabricatorProjectSubprojectsController.

lgtm

Jul 20 2024, 08:27
valerio.bozzolan accepted D25735: Log Herald rules with invalid keys via phlog().

sgtm

Jul 20 2024, 08:22

Jul 19 2024

aklapper added a comment to D25735: Log Herald rules with invalid keys via phlog().

I personally don't see value in sharing a stacktrace in this case. YMMV :)

Jul 19 2024, 16:36
valerio.bozzolan awarded D25735: Log Herald rules with invalid keys via phlog() a Yellow Medal token.
Jul 19 2024, 16:19
valerio.bozzolan added a comment to D25735: Log Herald rules with invalid keys via phlog().

Seems super nice. Minor comment. If we do this, the stack trace is NOT shared:

Jul 19 2024, 16:18
valerio.bozzolan resigned from D25735: Log Herald rules with invalid keys via phlog().

Strip block

Jul 19 2024, 16:15
aklapper added a comment to T15869: Herald rule referring to a disabled rule silently fails.

Uhmm, transcripts at http://phorge.localhost/herald/transcript/33065/ never ever render a Herald rule condition (disabled or not) within another rule, it seems

Jul 19 2024, 16:05 · Herald
aklapper added a comment to T15110: File reference not removed when file is deleted.

I'd be worried about DB performance running such a query as our DB has dozens of millions of files... (This is basically SELECT COUNT(*) FROM file_attachment fa WHERE fa.filePHID NOT IN (SELECT f.phid FROM file); in my understanding?)

Jul 19 2024, 15:30 · Files, Bug Reports
aklapper added a comment to D25735: Log Herald rules with invalid keys via phlog().

Hmm I guess now my patch title is too narrow as it logs any Herald exceptions? :D

Jul 19 2024, 14:58
aklapper updated the diff for D25735: Log Herald rules with invalid keys via phlog().

Per Valerio's previous comments

Jul 19 2024, 14:54
valerio.bozzolan awarded T15866: Aphront400Response when editing a task a Yellow Medal token.
Jul 19 2024, 14:15
valerio.bozzolan requested changes to D25735: Log Herald rules with invalid keys via phlog().

Marking as "probably something different should be done"

Jul 19 2024, 13:49
valerio.bozzolan added a comment to D25735: Log Herald rules with invalid keys via phlog().

In short, requireFieldImplementation seems correct in their legacy version, and something is not ideal in the consumer, that has a try catch. That try-catch should be edited.

Jul 19 2024, 13:32
valerio.bozzolan added a comment to D25735: Log Herald rules with invalid keys via phlog().

Note that every unmanaged exception is logged. So if you don't see a log, something is already managing this.

Jul 19 2024, 13:31
aklapper requested review of D25735: Log Herald rules with invalid keys via phlog().
Jul 19 2024, 13:29
aklapper added a revision to T15885: Herald rule referring to an invalid key silently fails: D25735: Log Herald rules with invalid keys via phlog().
Jul 19 2024, 13:29 · Herald
aklapper created T15885: Herald rule referring to an invalid key silently fails.
Jul 19 2024, 13:23 · Herald
valerio.bozzolan added a comment to T15110: File reference not removed when file is deleted.

Unrelated but @aklapper I'm curious about the situation in WMF. If you can maybe report something like this:

Jul 19 2024, 13:18 · Files, Bug Reports
valerio.bozzolan added inline comments to D25734: Remove call to undefined method DoorkeeperDAO::getObjectKey().
Jul 19 2024, 13:14
aklapper updated the summary of D25734: Remove call to undefined method DoorkeeperDAO::getObjectKey().
Jul 19 2024, 11:44
aklapper requested review of D25734: Remove call to undefined method DoorkeeperDAO::getObjectKey().
Jul 19 2024, 11:43

Jul 18 2024

pppery added a comment to D25618: Avoid search exception for calendar events when using localized time formats.

I think the behavior of not setting the timezone is probably correct, actually. GetFormattedDateFromParts below already constructs a date object again with the timezone set. So I think the timezone offset is being applied twice here.

Jul 18 2024, 18:28
valerio.bozzolan edited the content of Next Up.
Jul 18 2024, 07:35

Jul 17 2024

valerio.bozzolan edited the content of Next Up.
Jul 17 2024, 16:52
aklapper edited the content of Next Up.
Jul 17 2024, 13:48
aklapper edited the content of Next Up.
Jul 17 2024, 13:48
aklapper closed T15843: Allow collapse and expand of workboard columns in mobile view as Resolved by committing rPfec00256be1f: Allow collapsing/expanding workboard column content by clicking its header.
Jul 17 2024, 13:44 · Workboard
aklapper closed D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jul 17 2024, 13:44
aklapper committed rPfec00256be1f: Allow collapsing/expanding workboard column content by clicking its header.
Allow collapsing/expanding workboard column content by clicking its header
Jul 17 2024, 13:44
aklapper added a comment to T15884: "Uncaught TypeError: spec is undefined" and no hovercard over task link in Aphlict notification.

Still happens after backing out rP2295bcda14e71948516752f8fbada6601b9f0bde thus not a recent regression.

Jul 17 2024, 07:58
aklapper updated the task description for T15884: "Uncaught TypeError: spec is undefined" and no hovercard over task link in Aphlict notification.
Jul 17 2024, 06:52

Jul 16 2024

aklapper created T15884: "Uncaught TypeError: spec is undefined" and no hovercard over task link in Aphlict notification.
Jul 16 2024, 19:10

Jul 15 2024

aklapper added a comment to D25733: Do not throw Aphront400Response when editing a task.

I guess I just do not enjoy a good number of HTTP 400 errors in our error logs when literally nothing went wrong at all.

Jul 15 2024, 16:17
aklapper requested review of D25733: Do not throw Aphront400Response when editing a task.
Jul 15 2024, 16:13
aklapper added a revision to T15866: Aphront400Response when editing a task: D25733: Do not throw Aphront400Response when editing a task.
Jul 15 2024, 16:13
aklapper added a comment to T15866: Aphront400Response when editing a task.

The other option would be including "__form__":"1" in that call to avoid the 400.

Jul 15 2024, 16:12
aklapper updated the summary of D25672: Allow collapsing/expanding workboard column content by clicking its header.
Jul 15 2024, 15:41
avivey accepted D25672: Allow collapsing/expanding workboard column content by clicking its header.

👍👍

Jul 15 2024, 09:06
aklapper closed D25718: Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine.
Jul 15 2024, 06:28
aklapper committed rP03092ca42202: Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine.
Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine
Jul 15 2024, 06:28
valerio.bozzolan added inline comments to D25569: Avoid separate per-line URIs in line number column.
Jul 15 2024, 06:10
valerio.bozzolan requested changes to D25569: Avoid separate per-line URIs in line number column.
Jul 15 2024, 06:00
valerio.bozzolan accepted D25718: Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine.

sgtm

Jul 15 2024, 05:05

Jul 14 2024

aklapper closed T15865: [Regression] Incorrect mail subject header [Updated] instead of [Created] as Resolved by committing rP5a454cef8a98: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Jul 14 2024, 22:45
aklapper closed D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Jul 14 2024, 22:45
aklapper committed rP5a454cef8a98: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE
Jul 14 2024, 22:45
aklapper added a comment to D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Jul 14 2024, 22:44
valerio.bozzolan accepted D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
  • was this improving the situation? rPf4d9d6920bcd: The feed "created this task" should be the first one seems yes, accordingly to your comments
  • was PhabricatorTransactions::TYPE_CREATE needing a nice action name? yes
  • Am I confused about newActionStrengthSortVector? Yes. I don't know why it works, but it works. But this deserves further discussion.
Jul 14 2024, 21:33
TylerMS887 updated TylerMS887.
Jul 14 2024, 17:44

Jul 13 2024

aklapper requested review of D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Jul 13 2024, 15:47
aklapper added a revision to T15865: [Regression] Incorrect mail subject header [Updated] instead of [Created]: D25732: Set ActionName to "Created" for PhabricatorTransactions::TYPE_CREATE.
Jul 13 2024, 15:47
aklapper added a comment to T15865: [Regression] Incorrect mail subject header [Updated] instead of [Created].

Applying the debug patch in P45, output when creating a new task shows that Updated (defined in https://we.phorge.it/source/phorge/browse/master/src/applications/transactions/storage/PhabricatorApplicationTransaction.php;877ac8a873f979f418064eb2f36f1148c9838694$1611-1612) wins over Created (defined in https://we.phorge.it/source/phorge/browse/master/src/applications/maniphest/xaction/ManiphestTaskTitleTransaction.php;877ac8a873f979f418064eb2f36f1148c9838694$24) as ActionName, likely due to rPf4d9d6920bcdcafedd6a05f34c28642589b3c285 :

[0]
PHLOG: 'PATE: TransactionType: core:create' at [/var/www/html/phorge/phorge/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1625]
PHLOG: 'PAT: TA Type: core:create' at [/var/www/html/phorge/phorge/src/applications/transactions/storage/PhabricatorApplicationTransaction.php:1601]
PHLOG: 'PATE: ActionName:      Updated' at [/var/www/html/phorge/phorge/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1626]
PHLOG: 'PATE: ActionStrength:  140' at [/var/www/html/phorge/phorge/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1627]
Jul 13 2024, 15:41
aklapper created P45 T15865 debug.
Jul 13 2024, 15:41
mturdus committed R5:f1a92c669931: Remarkup documentation added.
Remarkup documentation added
Jul 13 2024, 07:15
mturdus committed R5:41270a2e9664: Remarkup documentation added.
Remarkup documentation added
Jul 13 2024, 07:08

Jul 12 2024

valerio.bozzolan closed T15883: Column "Move to Project": make it working for Milestones (instead of "You must choose a project with a workboard") as Invalid.

OK I'm stupid. I just need to visit the Milestone and create a Workboard.

Jul 12 2024, 13:15 · User-valerio.bozzolan, Projects
valerio.bozzolan updated the task description for T15883: Column "Move to Project": make it working for Milestones (instead of "You must choose a project with a workboard").
Jul 12 2024, 13:13 · User-valerio.bozzolan, Projects
valerio.bozzolan created T15883: Column "Move to Project": make it working for Milestones (instead of "You must choose a project with a workboard").
Jul 12 2024, 13:10 · User-valerio.bozzolan, Projects
aklapper closed D25715: Fix property name typo in PhabricatorPDFIterator.
Jul 12 2024, 10:20
aklapper committed rP877ac8a873f9: Fix property name typo in PhabricatorPDFIterator.
Fix property name typo in PhabricatorPDFIterator
Jul 12 2024, 10:20
valerio.bozzolan added inline comments to D25502: Make PhabricatorSearchIntField validate its input.
Jul 12 2024, 10:10
valerio.bozzolan added inline comments to D25502: Make PhabricatorSearchIntField validate its input.
Jul 12 2024, 10:07
valerio.bozzolan accepted D25715: Fix property name typo in PhabricatorPDFIterator.

Seems that nothing internally accessed that method, and probably nothing externally. But we should probably keep that method since it's public. Thanks.

Jul 12 2024, 09:50
valerio.bozzolan accepted D25725: Update phpqrcode from version 1.1.4 to 1.9.9.

I was still able to generate QR codes, and I verified with alternative application "Barcode Scanner" that the desired URL is read.

Jul 12 2024, 09:46
valerio.bozzolan edited the content of Next Up.
Jul 12 2024, 07:02
valerio.bozzolan added a comment to T15882: When archiving a project, reset its default menu item to Profile.

Premising that the root problem is that it's difficult to understand if a project is archived just looking at other parts.

Jul 12 2024, 06:52 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan triaged T15882: When archiving a project, reset its default menu item to Profile as Wishlist priority.
Jul 12 2024, 06:51 · Discussion Needed, Feature Requests, Projects
valerio.bozzolan accepted D25731: Set default menu item to Project Details when archiving a project.

Thanks. Feature makes sense and implementation seems good (but I have untested).

Jul 12 2024, 06:48

Jul 11 2024

aklapper updated the task description for T15882: When archiving a project, reset its default menu item to Profile.
Jul 11 2024, 23:12 · Discussion Needed, Feature Requests, Projects
aklapper requested review of D25731: Set default menu item to Project Details when archiving a project.
Jul 11 2024, 23:07
aklapper added a revision to T15882: When archiving a project, reset its default menu item to Profile: D25731: Set default menu item to Project Details when archiving a project.
Jul 11 2024, 23:07 · Discussion Needed, Feature Requests, Projects
aklapper created T15882: When archiving a project, reset its default menu item to Profile.
Jul 11 2024, 22:49 · Discussion Needed, Feature Requests, Projects
aklapper requested review of D25730: Avoid PhabricatorApplicationTransactionStructureException on editors not supporting Mute Notifications.
Jul 11 2024, 10:08
aklapper added a revision to T15378: PhabricatorApplicationTransactionStructureException trying to mute File notifications: "Attempting to apply a transaction which has not been constructed correctly": D25730: Avoid PhabricatorApplicationTransactionStructureException on editors not supporting Mute Notifications.
Jul 11 2024, 10:08 · Bug Reports
s.quinn closed Q143: Upgrading from Phabricator as resolved.
Jul 11 2024, 08:14
avivey removed a project from T15705: Lower the search ranking of disabled user accounts: Discussion Needed.

I think we're all aligned here...

Jul 11 2024, 07:35 · UX
aklapper closed T15881: PHP 8.1 "strlen(null)" exception rendering AphrontStackTraceView, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Jul 11 2024, 05:25 · PHP 8 support
aklapper closed T15881: PHP 8.1 "strlen(null)" exception rendering AphrontStackTraceView as Resolved by committing rP59428f64ca2c: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Jul 11 2024, 05:25 · PHP 8 support
aklapper closed D25728: Fix PHP 8.1 "file_exists(null)" exception rendering AphrontStackTraceView.
Jul 11 2024, 05:25