Page MenuHomePhorge

FilesProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Collection of stuff related to the Files component.

That is, the core component allowing you to upload a File in your Phorge.

Not related to whatever thing is a normal file on a file system.

Recent Activity

Today

Cigaryno moved T15972: Add config option for maximum file size from Backlog to Feature Requests on the Discussion Needed board.
Fri, Jan 17, 11:08 · Feature Requests, Config, Discussion Needed, Files
Cigaryno added a project to T15972: Add config option for maximum file size: Feature Requests.
Fri, Jan 17, 11:08 · Feature Requests, Config, Discussion Needed, Files

Tue, Jan 14

Cigaryno added a project to D25622: Transformed Pictures: make them non-orphan: Files.
Tue, Jan 14, 15:03 · Files

Sun, Dec 29

Cigaryno added projects to D25853: Add configuration option for maximum file size: Config, Files.
Sun, Dec 29, 15:55 · Files, Config

Thu, Dec 26

Cigaryno added a project to T15972: Add config option for maximum file size: Config.
Thu, Dec 26, 14:19 · Feature Requests, Config, Discussion Needed, Files
Cigaryno moved T15959: Modified files not counted in total when attaching files from Backlog to Bug Reports on the Good Starter Task board.
Thu, Dec 26, 09:10 · Good Starter Task, Bug Reports, Files

Tue, Dec 24

Cigaryno moved T15125: Unknown edge constant "26"! when deleting a file with old attachment edges from Backlog to Bug Reports on the Files board.
Tue, Dec 24, 10:02 · Affects-Wikimedia, Files, Bug Reports
Cigaryno moved T15830: files upload page cannot handle chunked upload from Backlog to Bug Reports on the Files board.
Tue, Dec 24, 10:02 · Files, Bug Reports
Cigaryno moved T15959: Modified files not counted in total when attaching files from Backlog to Bug Reports on the Files board.
Tue, Dec 24, 10:02 · Good Starter Task, Bug Reports, Files

Dec 16 2024

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

The current workaround I'm proposing is just:

Dec 16 2024, 07:54 · Affects-Wikimedia, Files, Bug Reports

Dec 11 2024

BlankEclair added a revision to T15972: Add config option for maximum file size: D25853: Add configuration option for maximum file size.
Dec 11 2024, 07:50 · Feature Requests, Config, Discussion Needed, Files
avivey added a comment to T15972: Add config option for maximum file size.

(we can probably keep this ticket open, so that we have the 2nd part on the backlog. I'm pretty sure we want it to happen "eventually".)

Dec 11 2024, 07:20 · Feature Requests, Config, Discussion Needed, Files
valerio.bozzolan added a comment to T15972: Add config option for maximum file size.

Feel free to show something early :) That would attract more attention than the Discussion Needed tag I bet

Dec 11 2024, 07:13 · Feature Requests, Config, Discussion Needed, Files
BlankEclair added a comment to T15972: Add config option for maximum file size.

Wrote the code for the first phase :p

Dec 11 2024, 07:01 · Feature Requests, Config, Discussion Needed, Files
BlankEclair added a comment to T15972: Add config option for maximum file size.

Sounds good to me :p

Dec 11 2024, 04:32 · Feature Requests, Config, Discussion Needed, Files

Dec 9 2024

valerio.bozzolan added a comment to T15972: Add config option for maximum file size.

We can also ship this feature in two phases, so, first, adding the option files.maximum-file-size, and then the second one when it's ready or requested lol

Dec 9 2024, 16:03 · Feature Requests, Config, Discussion Needed, Files
BlankEclair added a comment to T15972: Add config option for maximum file size.

Yeah, I agree, though I would then only work on implementing files.maximum-file-size because we don't really care that much about adding exceptions to the rule (as far as I know lol)

Dec 9 2024, 14:16 · Feature Requests, Config, Discussion Needed, Files
valerio.bozzolan added a comment to T15972: Add config option for maximum file size.

Uh, that would be so good. So you can say "When the moon is full".

Dec 9 2024, 08:36 · Feature Requests, Config, Discussion Needed, Files
avivey added a comment to T15972: Add config option for maximum file size.

Sounds reasonable.

Dec 9 2024, 08:12 · Feature Requests, Config, Discussion Needed, Files

Dec 8 2024

valerio.bozzolan added a project to T15972: Add config option for maximum file size: Discussion Needed.

I like your option names. I like to specify PHIDs and not numeric IDs so it's more portable against import/exports 👍 Let's add Discussion Needed to attract some +1 or nice suggestions.

Dec 8 2024, 18:11 · Feature Requests, Config, Discussion Needed, Files
BlankEclair created T15972: Add config option for maximum file size.
Dec 8 2024, 12:43 · Feature Requests, Config, Discussion Needed, Files

Nov 22 2024

valerio.bozzolan added projects to T15959: Modified files not counted in total when attaching files: Bug Reports, Good Starter Task.

Thanks :)

Nov 22 2024, 17:20 · Good Starter Task, Bug Reports, Files
pppery created T15959: Modified files not counted in total when attaching files.
Nov 22 2024, 16:59 · Good Starter Task, Bug Reports, Files

Sep 6 2024

keithzg closed Q150: Any way to set default visibility on file uploads to Conpherence? as resolved.
Sep 6 2024, 21:51 · Files, Conpherence

Sep 5 2024

keithzg asked Q150: Any way to set default visibility on file uploads to Conpherence?.
Sep 5 2024, 22:37 · Files, Conpherence

Aug 10 2024

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

Just for the glory of the archive. I've tested this feature in production before landing.

Aug 10 2024, 20:45 · Files
valerio.bozzolan closed D25051: Destroy file attachments when file is deleted, or object is deleted.
Aug 10 2024, 20:17 · Files
valerio.bozzolan closed T15110: File reference not removed when file is deleted as Resolved by committing rP2b7c0ec92f6c: Destroy file attachments when file is deleted, or object is deleted.
Aug 10 2024, 20:17 · Files, Bug Reports
valerio.bozzolan closed T15896: Explore How-To Permanently Destroy Things in Phorge, a subtask of T15110: File reference not removed when file is deleted, as Resolved.
Aug 10 2024, 20:14 · Files, Bug Reports

Aug 2 2024

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

Yep. In all cases it's at least a full-table-scan on file_attachment. Probably a bit more RAM-efficient with the NOT EXISTS thing since it does not need to have all file PHIDs in memory.

Aug 2 2024, 09:59 · Files, Bug Reports

Jul 30 2024

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

Tested again. Double-accept.

Jul 30 2024, 17:14 · Files

Jul 29 2024

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

We can take inspiration from Phame (?)

Jul 29 2024, 20:29 · Files

Jul 19 2024

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
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

Jul 1 2024

valerio.bozzolan removed a revision from T15106: "Upload file" in remarkup text fields should attach by default : D25710: [STUB] Fix missing file attachment in Conpherence.
Jul 1 2024, 12:14 · Files, Remarkup
valerio.bozzolan added a revision to T15106: "Upload file" in remarkup text fields should attach by default : D25710: [STUB] Fix missing file attachment in Conpherence.
Jul 1 2024, 12:07 · Files, Remarkup
valerio.bozzolan added a revision to T15106: "Upload file" in remarkup text fields should attach by default : D25709: Fix missing file attachment in Conpherence.
Jul 1 2024, 11:58 · Files, Remarkup

Jun 29 2024

mturdus added a revision to T15106: "Upload file" in remarkup text fields should attach by default : D25705: Fix missing file attachment in Phriction.
Jun 29 2024, 18:11 · Files, Remarkup

Jun 20 2024

valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Jun 20 2024, 23:39 · Files
valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Jun 20 2024, 23:37 · Files
valerio.bozzolan updated the diff for D25051: Destroy file attachments when file is deleted, or object is deleted.

git rebase master

Jun 20 2024, 23:30 · Files
speck added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
Jun 20 2024, 21:26 · Files
valerio.bozzolan assigned T15110: File reference not removed when file is deleted to Dylsss.
Jun 20 2024, 20:36 · Files, Bug Reports

Jun 5 2024

valerio.bozzolan accepted D25051: Destroy file attachments when file is deleted, or object is deleted.
Jun 5 2024, 08:31 · Files
valerio.bozzolan triaged T15110: File reference not removed when file is deleted as High priority.

A bit more than Normal, since it reflects on a database with orphan elements that creates "ghosts in the UI".

Jun 5 2024, 07:59 · Files, Bug Reports

May 15 2024

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":

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

May 14 2024

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

May 9 2024

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.

May 9 2024, 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
May 9 2024, 15:21 · Files
valerio.bozzolan added inline comments to D25051: Destroy file attachments when file is deleted, or object is deleted.
May 9 2024, 15:04 · Files