Page MenuHomePhorge
Feed Advanced Search

Wed, May 15

valerio.bozzolan added a comment to T15110: File reference not removed when file is deleted.

Relevant old upstream comment (from an unrelated task) that describes this problem as "ghosts in the UI":

Wed, May 15, 00:21 · Files, Bug Reports

Tue, May 14

revi created T15830: files upload page cannot handle chunked upload.
Tue, May 14, 18:00 · Files, Bug Reports

Thu, May 9

valerio.bozzolan accepted D25051: Destroy file attachments when file is deleted, or object is deleted.

Thanks again. My only concern is that, if somebody has a 1 trillion file(s) then the patch may lock the involved tables for an unexpected long amount of time, and you cannot really undo, without causing a massive implicit rollback.

Thu, May 9, 15:40 · Files
valerio.bozzolan retitled D25051: Destroy file attachments when file is deleted, or object is deleted from Destroy file attachments when file is deleted
Thu, May 9, 15:21 · Files
valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Thu, May 9, 15:04 · Files
valerio.bozzolan updated the diff for D25051: Destroy file attachments when file is deleted, or object is deleted.

git rebase master

Thu, May 9, 11:32 · Files
valerio.bozzolan added a comment to D25051: Destroy file attachments when file is deleted, or object is deleted.

Just as clarification for myself (maybe already obvious to others):

Thu, May 9, 11:27 · Files

Mon, May 6

valerio.bozzolan added a subtask for T15768: Better tracking tools for Files: T15814: Files: reduce number of orphan transformed files.
Mon, May 6, 15:40 · Files

Sun, May 5

valerio.bozzolan attached a referenced file: F2179138: image.png.
Sun, May 5, 11:10 · UX, Good Starter Task, Files
valerio.bozzolan attached a referenced file: F2179135: image.png.
Sun, May 5, 11:09 · UX, Good Starter Task, Files
waldyrious updated the task description for T15270: "Access Denied: Restricted File" strings concatenated without whitespace.
Sun, May 5, 11:08 · UX, Good Starter Task, Files
valerio.bozzolan updated the task description for T15270: "Access Denied: Restricted File" strings concatenated without whitespace.
Sun, May 5, 11:05 · UX, Good Starter Task, Files
valerio.bozzolan closed T15270: "Access Denied: Restricted File" strings concatenated without whitespace as Resolved by committing rPc8fb5046909c: Fix the whitespace issue in the message "Access Denied: Restricted File".
Sun, May 5, 11:02 · UX, Good Starter Task, Files
valerio.bozzolan added a revision to T15270: "Access Denied: Restricted File" strings concatenated without whitespace: D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
Sun, May 5, 11:02 · UX, Good Starter Task, Files

Mon, Apr 29

valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

Minor clarification.

Mon, Apr 29, 05:48 · Files, Remarkup

Apr 11 2024

avivey raised the priority of T15106: "Upload file" in remarkup text fields should attach by default from Normal to High.
Apr 11 2024, 10:41 · Files, Remarkup

Apr 3 2024

avivey added a comment to T15768: Better tracking tools for Files.

See also note in https://we.phorge.it/D25475#inline-3542 - looks like "creating a transformation" is done in many places.

Apr 3 2024, 06:41 · Files

Apr 2 2024

valerio.bozzolan added a project to T15768: Better tracking tools for Files: Files.
Apr 2 2024, 13:09 · Files

Mar 14 2024

avivey added a comment to D25051: Destroy file attachments when file is deleted, or object is deleted.

I'm a little worried about this migration; Do we have garbage collector for this? it would be safer to let it run.

You are concerned for performance reasons because it doesn't limit the results. Right?

Mar 14 2024, 08:34 · Files

Mar 11 2024

valerio.bozzolan added a comment to D25051: Destroy file attachments when file is deleted, or object is deleted.

I'm a little worried about this migration; Do we have garbage collector for this? it would be safer to let it run.

Mar 11 2024, 08:42 · Files

Feb 29 2024

valerio.bozzolan closed T15293: Try to avoid message: Transaction (of type "core:file") has no effect as Resolved by committing rP6df26b98c104: Comments: avoid confusing warning about "core:file".
Feb 29 2024, 08:17 · Files, Remarkup
valerio.bozzolan closed T15293: Try to avoid message: Transaction (of type "core:file") has no effect, a subtask of T15106: "Upload file" in remarkup text fields should attach by default , as Resolved.
Feb 29 2024, 08:17 · Files, Remarkup

Feb 28 2024

valerio.bozzolan added a revision to T15293: Try to avoid message: Transaction (of type "core:file") has no effect: D25544: Comments: avoid confusing warning about "core:file".
Feb 28 2024, 15:49 · Files, Remarkup
valerio.bozzolan claimed T15293: Try to avoid message: Transaction (of type "core:file") has no effect.

Gotcha. Probably this is generating the attachment transactions but should be "ignored on no effects":

Feb 28 2024, 15:23 · Files, Remarkup
valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

This feature is not complete also for Conpherence AFAIK

Feb 28 2024, 15:02 · Files, Remarkup

Jan 23 2024

aklapper closed T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring() as Resolved by committing rP7a86040f8a46: Avoid exception setting project profile image when GD not installed.
Jan 23 2024, 14:11 · Files, PHP 8 support

Jan 13 2024

aklapper added a revision to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring(): D25515: Avoid exception setting project profile image when GD not installed.
Jan 13 2024, 20:54 · Files, PHP 8 support
aklapper updated the task description for T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().
Jan 13 2024, 14:32 · Files, PHP 8 support

Dec 15 2023

waldyrious added a project to T15270: "Access Denied: Restricted File" strings concatenated without whitespace: UX.
Dec 15 2023, 08:49 · UX, Good Starter Task, Files

Nov 22 2023

valerio.bozzolan closed T15674: Image Transforms should reflect policy of parent Image as Invalid.

My steps to reproduce are wrong / unclear / not always happening.

Nov 22 2023, 13:08 · Files, User-valerio.bozzolan
valerio.bozzolan triaged T15674: Image Transforms should reflect policy of parent Image as Normal priority.
Nov 22 2023, 13:04 · Files, User-valerio.bozzolan

Nov 20 2023

valerio.bozzolan added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.

Other edges have probably been eliminated in the past. For example this one:

Nov 20 2023, 10:17 · Affects-Wikimedia, Files, Bug Reports

Oct 25 2023

speck added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

I had communicated these upstream (almost exactly a year ago~) and some helpful information was provided

Oct 25 2023, 21:33 · Files, Remarkup

Sep 25 2023

Dylsss added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 25 2023, 10:55 · Files

Sep 22 2023

waldyrious added a comment to T15270: "Access Denied: Restricted File" strings concatenated without whitespace.

For others reading this thread: there's some discussion going on in the thread of the patch linked above, D25419.

Sep 22 2023, 22:26 · UX, Good Starter Task, Files

Sep 19 2023

valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 19 2023, 11:03 · Files

Sep 18 2023

Dylsss updated the diff for D25051: Destroy file attachments when file is deleted, or object is deleted.

PhabricatorFileAttachmentQuery seems to eagerly load the object relation, however since the DestructionEngine extensions run after the object is already deleted, this fails and nothing is returned in the query. Changed to LiskDAO loadAllWhere, which also seems to use less queries in general (due to not eagerly loading), so changed the query in PhabricatorFile as well. Changed mpull to foreach per suggestion.

Sep 18 2023, 20:18 · Files
Dylsss added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 18 2023, 19:24 · Files
Ekubischta added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 18 2023, 17:44 · Files
valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 18 2023, 08:07 · Files
avivey added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 18 2023, 07:47 · Files

Sep 17 2023

Dylsss updated the summary of D25051: Destroy file attachments when file is deleted, or object is deleted.
Sep 17 2023, 23:33 · Files
Dylsss merged T15618: Lots of "Unknown Object"s referenced from revisions into T15110: File reference not removed when file is deleted.
Sep 17 2023, 23:32 · Files, Bug Reports
Dylsss edited projects for D25051: Destroy file attachments when file is deleted, or object is deleted, added: Files; removed Files (archived).
Sep 17 2023, 23:31 · Files

Jul 20 2023

valerio.bozzolan added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.

Please share the output of this:

Jul 20 2023, 15:07 · Affects-Wikimedia, Files, Bug Reports

Jul 5 2023

aklapper added a comment to T15498: PHP 8.2 "strlen(null)" exception when viewing image details.

OK I can reproduce now. I was missing the php-gd extension for some reasons.

Jul 5 2023, 17:45 · Files, PHP 8 support
aklapper closed T15498: PHP 8.2 "strlen(null)" exception when viewing image details as Resolved by committing rPf45d6421a13c: Fix PHP 8.1 "strlen(null)" exception opening a File overlay (Lightbox comment….
Jul 5 2023, 17:38 · Files, PHP 8 support
valerio.bozzolan added a comment to T15498: PHP 8.2 "strlen(null)" exception when viewing image details.

OK I can reproduce now. I was missing the php-gd extension for some reasons.

Jul 5 2023, 12:42 · Files, PHP 8 support
valerio.bozzolan added a comment to T15498: PHP 8.2 "strlen(null)" exception when viewing image details.

I'm trying to reproduce this, but in my local installation I do not have any allowed file formats. I also do not remember how to make that list available.

Jul 5 2023, 11:38 · Files, PHP 8 support

Jul 1 2023

20after4 added a project to Q49: File uploads - default permissions: Files.
Jul 1 2023, 21:42 · Files
20after4 added a project to Q62: Extension: how to use PhabricatorFile::newFromFileData(): Files.
Jul 1 2023, 21:41 · Files

Jun 30 2023

aklapper added a comment to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().

Do you mean PHP 8.0 or PHP 8.1? I'm confused.

Jun 30 2023, 10:16 · Files, PHP 8 support
Cigaryno added a project to T15498: PHP 8.2 "strlen(null)" exception when viewing image details: Files.
Jun 30 2023, 07:31 · Files, PHP 8 support
Cigaryno moved T15125: Unknown edge constant "26"! when deleting a file with old attachment edges from Backlog to Bug Reports on the Affects-Wikimedia board.
Jun 30 2023, 07:24 · Affects-Wikimedia, Files, Bug Reports

Jun 29 2023

Cigaryno added a comment to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().

Do you mean PHP 8.0 or PHP 8.1? I'm confused.

Jun 29 2023, 20:41 · Files, PHP 8 support

Jun 17 2023

valerio.bozzolan triaged T15270: "Access Denied: Restricted File" strings concatenated without whitespace as Low priority.
Jun 17 2023, 15:22 · UX, Good Starter Task, Files

Jun 8 2023

aklapper added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.

For the records, I had the same experience when deleting a repository via ./bin/remove destroy rESHP for Unknown edge constant "25" (not 26 as mentioned in the task title) in downstream https://phabricator.wikimedia.org/T119588

Jun 8 2023, 16:46 · Affects-Wikimedia, Files, Bug Reports

May 29 2023

valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

Another use case: Drag & Drop on a new Object description, even if the Object is not already created, should attach by default to it.

May 29 2023, 10:11 · Files, Remarkup

May 9 2023

aklapper added a project to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges: Affects-Wikimedia.
May 9 2023, 17:18 · Affects-Wikimedia, Files, Bug Reports
avivey removed a project from T15273: Cannot Attach Restricted files to Phame Posts: Phame (archived).
May 9 2023, 10:51 · Files

May 6 2023

aklapper closed T15342: PHP 8.1 "strlen(null)" exception blocks rendering a File page when Alt Text was altered as Resolved by committing rP651e3f7263b5: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a File page when….
May 6 2023, 02:08 · Files, PHP 8 support
aklapper closed T15341: PHP 8.1 "strlen(null)" exceptions block rendering page of a File as Resolved by committing rP6c692ddbbba8: Fix PHP 8.1 "strlen(null)" exceptions which block rendering page of a File.
May 6 2023, 02:07 · Files, PHP 8 support

May 4 2023

valerio.bozzolan updated the task description for T15293: Try to avoid message: Transaction (of type "core:file") has no effect.
May 4 2023, 16:38 · Files, Remarkup
valerio.bozzolan updated the task description for T15293: Try to avoid message: Transaction (of type "core:file") has no effect.
May 4 2023, 15:48 · Files, Remarkup
valerio.bozzolan updated the task description for T15106: "Upload file" in remarkup text fields should attach by default .
May 4 2023, 15:18 · Files, Remarkup
aklapper added a revision to T15342: PHP 8.1 "strlen(null)" exception blocks rendering a File page when Alt Text was altered: D25187: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a File page when Alt Text was altered.
May 4 2023, 12:01 · Files, PHP 8 support
aklapper created T15342: PHP 8.1 "strlen(null)" exception blocks rendering a File page when Alt Text was altered.
May 4 2023, 12:00 · Files, PHP 8 support
aklapper added a revision to T15341: PHP 8.1 "strlen(null)" exceptions block rendering page of a File: D25186: Fix PHP 8.1 "strlen(null)" exceptions which block rendering page of a File.
May 4 2023, 11:41 · Files, PHP 8 support
aklapper created T15341: PHP 8.1 "strlen(null)" exceptions block rendering page of a File.
May 4 2023, 11:40 · Files, PHP 8 support
aklapper added a comment to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().

Also, trying to Upload Picture in a user Profile, not having php-gd installed leads to a confusing error message not listing any file formats:
This server only supports these image formats: .

May 4 2023, 10:58 · Files, PHP 8 support

May 3 2023

aklapper added a comment to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().

I just realized that src/applications/config/check/PhabricatorGDSetupCheck.php exists. Thus please ignore my last comment. Still, things should fail gracefully instead of showing an exception.

May 3 2023, 16:46 · Files, PHP 8 support

May 2 2023

aklapper added a comment to T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().

Pseudo code, not tested as other exceptions block me from testing:

May 2 2023, 14:22 · Files, PHP 8 support

May 1 2023

aklapper renamed T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring() from PHP 8.0 without GD installed: Unhandled Exception setting a project profile image to PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().
May 1 2023, 22:35 · Files, PHP 8 support
aklapper created T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring().
May 1 2023, 22:35 · Files, PHP 8 support
Ekubischta added a comment to T15273: Cannot Attach Restricted files to Phame Posts.

Just some notes for later

May 1 2023, 20:00 · Files

Apr 29 2023

valerio.bozzolan updated subscribers of T15293: Try to avoid message: Transaction (of type "core:file") has no effect.

Hi @Dylsss thanks again for your improvement. Have you any idea about why that message happens?

Apr 29 2023, 09:58 · Files, Remarkup
valerio.bozzolan triaged T15293: Try to avoid message: Transaction (of type "core:file") has no effect as Normal priority.
Apr 29 2023, 09:57 · Files, Remarkup

Apr 26 2023

Ekubischta added a comment to T15273: Cannot Attach Restricted files to Phame Posts.

No errors in the console..

Apr 26 2023, 22:34 · Files
valerio.bozzolan closed T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()! as Resolved by committing rP7bd4089a2694: Drag & Drop: fix JavaScript error related to JX.$(undefined).
Apr 26 2023, 07:51 · Files, Remarkup
valerio.bozzolan closed T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()!, a subtask of T15106: "Upload file" in remarkup text fields should attach by default , as Resolved.
Apr 26 2023, 07:51 · Files, Remarkup

Apr 25 2023

valerio.bozzolan added a comment to T15273: Cannot Attach Restricted files to Phame Posts.

By the way I understand that manually putting something like {F123} in the article should allow to manually attach that file to the Phame Post object. So, I see and agree this is a separated problem related to Phame.

Apr 25 2023, 20:47 · Files
valerio.bozzolan added a comment to T15273: Cannot Attach Restricted files to Phame Posts.

Can I ask you if you are on latest version? If yes, can I ask you if you have errors in your console? if yes, see this:

Apr 25 2023, 20:33 · Files
Ekubischta renamed T15273: Cannot Attach Restricted files to Phame Posts from Cannot Attach Restrictred files to Phame Posts to Cannot Attach Restricted files to Phame Posts.
Apr 25 2023, 20:29 · Files
Ekubischta created T15273: Cannot Attach Restricted files to Phame Posts.
Apr 25 2023, 20:29 · Files
valerio.bozzolan claimed T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()!.
Apr 25 2023, 14:51 · Files, Remarkup
valerio.bozzolan added a revision to T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()!: D25134: Drag & Drop: fix JavaScript error related to JX.$(undefined).
Apr 25 2023, 14:24 · Files, Remarkup
valerio.bozzolan updated the task description for T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()!.
Apr 25 2023, 14:12 · Files, Remarkup
valerio.bozzolan renamed T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()! from Error: Empty ID passed to JX.$()! to RemarkupMetadata.js - Error: Empty ID passed to JX.$()!.
Apr 25 2023, 14:05 · Files, Remarkup
valerio.bozzolan triaged T15272: RemarkupMetadata.js - Error: Empty ID passed to JX.$()! as High priority.
Apr 25 2023, 14:00 · Files, Remarkup
aklapper created T15270: "Access Denied: Restricted File" strings concatenated without whitespace.
Apr 25 2023, 09:51 · UX, Good Starter Task, Files

Apr 21 2023

loziniak added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.

I encountered this, when upgrading from Phabricator, during last step, ./bin/cache purge --all:

Apr 21 2023, 13:00 · Affects-Wikimedia, Files, Bug Reports

Apr 20 2023

valerio.bozzolan triaged T15106: "Upload file" in remarkup text fields should attach by default as Normal priority.

I start triaging this to Normal priority since this problem creates situations that don't happen with many proprietary weird alternatives like Trello, Asana etc., where their Drag & Drop "just works" since their file are always visible to all members and so it's considered as "working" for their end-users (well, thanks to the fact that Trello etc. have a terrible permission management system, thousand years back from Phorge, and they really have no concept of "single file permission", and so they win easy in these confrontations where the user expects something basic and it doesn't happen as default by some of our "attach to something" corner cases).

Apr 20 2023, 13:55 · Files, Remarkup

Apr 6 2023

valerio.bozzolan edited projects for T15110: File reference not removed when file is deleted, added: Files; removed Files (archived).
Apr 6 2023, 12:00 · Files, Bug Reports
valerio.bozzolan edited projects for T15125: Unknown edge constant "26"! when deleting a file with old attachment edges, added: Files; removed Files (archived).
Apr 6 2023, 12:00 · Affects-Wikimedia, Files, Bug Reports
valerio.bozzolan edited projects for T15167: Complete i18n in FileUpload.js, added: Files; removed Files (archived).
Apr 6 2023, 12:00 · Files, User-valerio.bozzolan
valerio.bozzolan edited projects for T15165: Drag & Drop: popup link should be a File page (not its hotlink), added: Files; removed Files (archived).
Apr 6 2023, 12:00 · Files, User-valerio.bozzolan
valerio.bozzolan edited projects for T15172: Drag & Drop: avoid to lose Edits when clicking on the Success popup, added: Files; removed Files (archived).
Apr 6 2023, 11:59 · Files, User-valerio.bozzolan, UX
valerio.bozzolan edited projects for T15106: "Upload file" in remarkup text fields should attach by default , added: Files; removed Files (archived).
Apr 6 2023, 11:59 · Files, Remarkup
valerio.bozzolan created Files.
Apr 6 2023, 11:59