Page MenuHomePhabricator
Feed Advanced Search

Jun 30 2016

epriestley added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.
In T11242#183007, @chad wrote:

{F1706803}

Jun 30 2016, 8:29 PM · Files, Bug Report
bjshively added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.

Thanks for the ridiculously fast triage. Not an urgent issue for us, just wanted to make sure you were aware of it.

Jun 30 2016, 8:19 PM · Files, Bug Report
chad added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.

{F1706803}

Jun 30 2016, 8:16 PM · Files, Bug Report
chad added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.

Appears to only occur when a file needs chunked. Small files work fine.

Jun 30 2016, 8:14 PM · Files, Bug Report
epriestley renamed T11242: MIME type detection does not run on files large enough to activate the chunking engine from Loss of mime type when file is uploaded via drag-and-drop uploader to MIME type detection does not run on files large enough to activate the chunking engine.
Jun 30 2016, 8:13 PM · Files, Bug Report

Jun 25 2016

asherkin added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 25 2016, 12:12 PM · Prioritized, Files
chad removed a revision from T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 25 2016, 4:02 AM · Prioritized, Files

Jun 22 2016

epriestley added a subtask for T7789: Support Git Large File Storage: T11195: Drydock's working copy should run "git lfs fetch && git lfs checkout" for repositories known to use Git LFS.
Jun 22 2016, 5:23 PM · Customer Impact, Restricted Project, Files, Diffusion

Jun 17 2016

epriestley closed T5187: Make "Upload File" dialog have a vanilla file upload control as Resolved.

I believe this is resolved and accounted for, let us know if anyone is hitting issues.

Jun 17 2016, 1:47 AM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia

Jun 16 2016

epriestley moved T11140: Support at-rest encryption in Files from The Queue to Paused on the Prioritized board.

I've deployed this and configured this server to use AES-256-CBC, although I haven't retroactively migrated existing data.

Jun 16 2016, 3:27 PM · Prioritized, Files
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 16 2016, 2:45 AM · Prioritized, Files

Jun 15 2016

epriestley added a comment to T11140: Support at-rest encryption in Files.

I'm planning to do this:

Jun 15 2016, 11:56 PM · Prioritized, Files
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 15 2016, 6:28 PM · Prioritized, Files
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 15 2016, 4:44 PM · Prioritized, Files
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 15 2016, 4:27 PM · Prioritized, Files
epriestley moved T11140: Support at-rest encryption in Files from Preflight to The Queue on the Prioritized board.
Jun 15 2016, 4:21 PM · Prioritized, Files

Jun 14 2016

epriestley added a comment to T11140: Support at-rest encryption in Files.

My tentative plan is to define keys in local config with some sort of structure like:

Jun 14 2016, 12:50 PM · Prioritized, Files
avivey added a comment to T11140: Support at-rest encryption in Files.

One thing I've seen people do is something like an encrypted ssh key (For SSL certs):

Jun 14 2016, 12:12 AM · Prioritized, Files

Jun 13 2016

epriestley moved T11140: Support at-rest encryption in Files from Backlog to Preflight on the Prioritized board.
Jun 13 2016, 7:15 PM · Prioritized, Files
epriestley created T11140: Support at-rest encryption in Files.
Jun 13 2016, 6:57 PM · Prioritized, Files

Jun 8 2016

epriestley closed T10262: Scramble file secrets when attached objects change their view policies as Resolved.

This has been live for a while and appears to be working properly. If anyone is still seeing specific, reproducible problems with cache strategies, feel free to file a new issue detailing them.

Jun 8 2016, 6:03 PM · Restricted Project, Restricted Project, Wikimedia, Files
jayvdb closed T9642: Unable to download images on Android as Resolved.

I tested on 4.4.2 and it worked.

Jun 8 2016, 1:56 PM · Android, Files

Jun 7 2016

epriestley merged task T6674: Support video MIME types and distinguish between audio and video OGG files into T6916: Allow video embed in remarkup.
Jun 7 2016, 6:06 PM · Files
epriestley added a comment to T6674: Support video MIME types and distinguish between audio and video OGG files.

I'm going to merge this into T6916. That implements a reasonable behavior for application/ogg (assume video by default, allow users to embed as audio instead with media="audio") and browser seem to do fine when audio is embedded with <video /> anyway, so I suspect we'll be in reasonable shape after that and not need to try to determine the contents of OGG containers in a more sophisticated way.

Jun 7 2016, 6:06 PM · Files

May 24 2016

cspeckmim added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.

We managed to solve this on our server setup using Linux ACL (I had help from someone in IT). Here are roughly the steps we took

May 24 2016, 4:15 PM · Files

May 20 2016

epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from The Queue to Paused on the Prioritized board.

This is in master and live on this install. Let me know if you hit issues with it, especially on mobile. Seems fine on my iPhone 4 but I don't have a ton of devices on hand for testing.

May 20 2016, 11:41 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
eadler added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

quick note: even on systems with 'normal' windowing systems many users
dislike or can't use drag-and-drop workflows. I'm mostly mentioning this so
that the non-D&D workflow isn't entirely treated as a second class citizen.

May 20 2016, 2:40 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

D15953 played out more or less as described above. I'm not going to land it before cutting stable this week since it touches Workflow in a couple of ways that might have unforseen consequences, but I expect it to be available in master some time later tonight or tomorrow.

May 20 2016, 2:37 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a revision to T5187: Make "Upload File" dialog have a vanilla file upload control: Restricted Differential Revision.
May 20 2016, 2:36 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

After D12066, we have an upload workflow which gracefully accommodates very large files (progress bars, resumable uploads, no server host needs to handle more than 4MB of data on disk or in memory at once). This flow is activated when you drag-and-drop, and we've successfully used it to transfer reasonably-sized cluster import/export files (1-2GB) for the better part of a year now.

May 20 2016, 1:12 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia

May 13 2016

epriestley created T10968: File write failure during daemon operations caused daemons to populate a few too many diffs.
May 13 2016, 10:29 PM · Files, Differential, Diffusion, Daemons
csilvers added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.

Oh, I see I already made that suggestion! I am nothing if not consistent.

May 13 2016, 10:18 PM · Files
csilvers added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.

In the meantime, we could maybe do the following:

May 13 2016, 10:18 PM · Files
epriestley merged T10962: Click to upload files in addition to drag and drop in all places where files can be uploaded into T5187: Make "Upload File" dialog have a vanilla file upload control.
May 13 2016, 12:07 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia

May 12 2016

epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from Preflight to The Queue on the Prioritized board.
May 12 2016, 7:31 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from Backlog to Preflight on the Prioritized board.
May 12 2016, 4:51 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a project to T5187: Make "Upload File" dialog have a vanilla file upload control: Prioritized.
May 12 2016, 4:51 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
brion added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

Sure. I'd estimate this is 1-2 hours of work if we develop a patch ourselves and 2-3 hours of work if we work with @matmarex to make his patch suitable for inclusion and maintenance in the upstream. Which would you prefer?

See Paid Prioritization and L34 Phacility Prioritization Service Agreement for specifics, if you haven't run across them yet.

You're behind T10917 and T10939 in the queue (see the Prioritized workboard) and some other things which are wrapping up, so it will probably be about a week before we can pursue this. If that sounds reasonable, we can get this into the queue now and confirm with you before starting work.

May 12 2016, 4:48 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

Sure. I'd estimate this is 1-2 hours of work if we develop a patch ourselves and 2-3 hours of work if we work with @matmarex to make his patch suitable for inclusion and maintenance in the upstream. Which would you prefer?

May 12 2016, 4:42 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
brion added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

@epriestley I'm happy to try to pay you to review the patch if that'll help.

May 12 2016, 4:32 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

(If that answer isn't particularly satisfying, maybe see discussion starting here: T7820#172877.)

May 12 2016, 4:31 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
epriestley added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

We haven't seen much interest in this from outside WMF, so there are probably several hundred tasks ahead of it on our natural roadmap.

May 12 2016, 4:25 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia
brion added a comment to T5187: Make "Upload File" dialog have a vanilla file upload control.

This is still a big problem for Wikimedia's Phabricator installation, making it unnecessarily difficult to file or amend bug reports about mobile issues.

May 12 2016, 4:18 PM · Prioritized, FreeBSD, User Delight, Remarkup, Files, Wikimedia

May 10 2016

• StrikeForceZero moved T9642: Unable to download images on Android from Icebox to Backlog on the Android board.
May 10 2016, 8:27 AM · Android, Files
• StrikeForceZero moved T9642: Unable to download images on Android from Backlog to Icebox on the Android board.
May 10 2016, 8:27 AM · Android, Files

May 7 2016

epriestley renamed T4752: Daemons may not have permission to remove files from local disk storage engine from Daemons may have permission to remove files from local disk storage engine to Daemons may not have permission to remove files from local disk storage engine.
May 7 2016, 1:17 PM · Files
epriestley removed a project from T7593: Allow administrators to disable files to prevent "l33t w4r3z" abuse cases: Facebook.
May 7 2016, 1:15 PM · Abuse, Files
epriestley renamed T8788: Allow querying for files by name from / Allow querying for files by ø to Allow querying for files by name.
May 7 2016, 1:15 PM · Contributor Onboarding, Files
• rubenriverae updated the task description for T4752: Daemons may not have permission to remove files from local disk storage engine.
May 7 2016, 1:13 PM · Files
• rubenriverae updated the task description for T6445: Rendering SVG images.
May 7 2016, 1:10 PM · Wikimedia, Restricted Project, Files
• rubenriverae renamed T4752: Daemons may not have permission to remove files from local disk storage engine from Daemons may not have permission to remove files from local disk storage engine to Daemons may have permission to remove files from local disk storage engine.
May 7 2016, 1:08 PM · Files
• rubenriverae added a project to T7593: Allow administrators to disable files to prevent "l33t w4r3z" abuse cases: Facebook.
May 7 2016, 1:03 PM · Abuse, Files

Apr 29 2016

epriestley added a comment to T7789: Support Git Large File Storage.

Great, I'm glad to hear things are working for you. Thanks for your help testing this out!

Apr 29 2016, 1:14 AM · Customer Impact, Restricted Project, Files, Diffusion

Apr 28 2016

benjumanji added a comment to T7789: Support Git Large File Storage.

Can confirm that on latest stable my lfs-test repository now succeeds with both jars and jpegs. Huzzah!

Apr 28 2016, 3:35 PM · Customer Impact, Restricted Project, Files, Diffusion

Apr 22 2016

salvian added a comment to T7789: Support Git Large File Storage.

Thanks!
Yes, we will consider setting up alternate file domain

Apr 22 2016, 11:58 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

I think D15784 should fix the issue. It should land in master later today and be available in stable in about 24 hours. Let me know if you're still seeing issues once you update past that.

Apr 22 2016, 11:47 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a revision to T7789: Support Git Large File Storage: Restricted Differential Revision.
Apr 22 2016, 11:45 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

I think I know what's going on, although I'm unsure why the <2MB files would work, unless you happened to push those to a public ("Visible To: Public (No Login Required)") repository and pushed the large files to a private repository?

Apr 22 2016, 11:17 AM · Customer Impact, Restricted Project, Files, Diffusion
salvian added a comment to T7789: Support Git Large File Storage.
  1. It's not configured
  2. Yes
  3. I'm not sure, these are my install versions (stable branch) :
    • phabricator f75b1cf562c0c3646324864851d693ef1069a068 (Mon, Apr 18)
    • arcanist 01b6fe8bb0239a4bce03f58d6288a3a52ad83a91 (Sat, Apr 16)
    • phutil b8c65df2a910a7028d39bec602d181428b6ce01f (Sat, Apr 16)

(edit, it has rP37b93f4)

Apr 22 2016, 11:13 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.
  • Is security.alternate-file-domain configured on your install?
  • When you say "redirect to the correct file", do you mean you get taken to the file detail page /F1234?
  • Also, do you have rP37b93f4 locally (April 7)? (You can grab the hashes in Config → Versions if you aren't immediately sure and I can figure it out from there.)
Apr 22 2016, 11:08 AM · Customer Impact, Restricted Project, Files, Diffusion
salvian added a comment to T7789: Support Git Large File Storage.

Ah, is the auth token (first [shortened]) same for every user? It is in my case

  1. If I visit the URI while being logged in to the app, the browser redirects to the correct file, the download link works
  2. The download URI is the same as the logged URI
  3. Visiting the URI with private window returns normal 404 page
Apr 22 2016, 11:03 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

You shouldn't need to configure diffusion.allow-http-auth -- the auth token is basically the first [shortened] in the URI, so that appears to be working properly.

Apr 22 2016, 10:51 AM · Customer Impact, Restricted Project, Files, Diffusion
salvian added a comment to T7789: Support Git Large File Storage.

I'm using S3 as Files storage backend, phabricator runs behind nginx, and the diffusion is hosted over SSH (diffusion.allow-http-auth=false, HTTP is not configured anyway). I'm having an issue:

  • pushing and pulling small files (<2MB) tracked as LFS -> works flawlessly
  • pushing 11x 1 GB files works, but can't do git clone / git lfs fetch (got the same issue as @benjumanji, the lfs_trace log is similar, 404 errors when getting the lfs-* files)
  • pushing a 11GB file, doesn't work. forgot the error message, will add it later if needed
Apr 22 2016, 9:03 AM · Customer Impact, Restricted Project, Files, Diffusion

Apr 18 2016

epriestley added a comment to T10828: File deletion should be queued up and run by daemons.

T4752 is the detail on that.

Apr 18 2016, 11:46 PM · Contributor Onboarding, Daemons, Files, Bug Report
avivey added a comment to T10828: File deletion should be queued up and run by daemons.

When using local disk storage, the file is owned by the web-server user, not the daemon user.

Apr 18 2016, 11:45 PM · Contributor Onboarding, Daemons, Files, Bug Report
thoughtpolice added a revision to T10828: File deletion should be queued up and run by daemons: Restricted Differential Revision.
Apr 18 2016, 12:41 AM · Contributor Onboarding, Daemons, Files, Bug Report
thoughtpolice claimed T10828: File deletion should be queued up and run by daemons.
Apr 18 2016, 12:18 AM · Contributor Onboarding, Daemons, Files, Bug Report

Apr 17 2016

epriestley added a comment to T10828: File deletion should be queued up and run by daemons.

Kicking this to the daemons should be like 20 lines of code, but we probably also need to flag the file as "queued for deletion" in the UI in the meantime and prevent you from interacting with it, which touches a few other interfaces, so this isn't completely trivial.

Apr 17 2016, 1:35 AM · Contributor Onboarding, Daemons, Files, Bug Report
thoughtpolice created T10828: File deletion should be queued up and run by daemons.
Apr 17 2016, 1:32 AM · Contributor Onboarding, Daemons, Files, Bug Report

Apr 8 2016

CodeMouse92 created T10750: Cannot Edit Comment on Files.
Apr 8 2016, 6:15 PM · Files, Bug Report

Apr 7 2016

epriestley added a revision to T7789: Support Git Large File Storage: Restricted Differential Revision.
Apr 7 2016, 3:50 PM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

Hmm, odd. That definitely isn't the POST issue (although I suspect that may be an issue in some cases). The behavior will hopefully be more clear once master promotes, and definitely easier to debug. I'll dig into it a bit on my side in the meantime, I have a few ideas of things to try now. Thanks for your help!

Apr 7 2016, 11:32 AM · Customer Impact, Restricted Project, Files, Diffusion
benjumanji added a comment to T7789: Support Git Large File Storage.

Unfortunately, no dice. I removed the jar file, and added a jpeg. I have attached a trace of running GIT_TRACE=1 git lfs fetch origin.

Apr 7 2016, 11:26 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

Oh, I think I might know what's wrong. If you repeat the same process with a viewable file (like a JPEG or PNG) does that work?

Apr 7 2016, 11:06 AM · Customer Impact, Restricted Project, Files, Diffusion
benjumanji added a comment to T7789: Support Git Large File Storage.

Can confirm that navigating to the file in diffusion will let me download it, and it really does give me back the right file.

Apr 7 2016, 10:59 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

Hmm, I'm not immediately sure -- that all looks correct on your side to me. Let me add some kind of basic LFS administration page that shows Phabricator's view of LFS objects in the repository -- hopefully that will shed some light on where things are breaking down.

Apr 7 2016, 10:52 AM · Customer Impact, Restricted Project, Files, Diffusion
benjumanji added a comment to T7789: Support Git Large File Storage.

As an addendum, I can definitely find the zip file on the box...

Apr 7 2016, 10:34 AM · Customer Impact, Restricted Project, Files, Diffusion
benjumanji added a comment to T7789: Support Git Large File Storage.

I'm on latest stable (fea2389), and I just tried the following

$ git clone ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git                                                                     [10:54:36]
Cloning into 'lfs-test'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.                                                                                                                       
$ cd lfs-test/                                                                                                                                  [10:56:39]
$ git lfs install                                                                                                                               [10:56:42]
Updated pre-push hook.
Git LFS initialized.                                                                                                         
$ git lfs track "*.jar"                                                                                                                         [10:57:05]
Tracking *.jar                                                                                                  
$ cp ../some/path/antlr-3.2.jar .                                                                                                               [10:57:19]
$ ls                                                                                                                                            [10:57:52]
antlr-3.2.jar                                                                                                       
$ git add antlr-3.2.jar                                                                                                                         [10:57:54]
$ git commit -m "testing"                                                                                                                       [10:57:57]
[master (root-commit) 2690d02] testing
 1 file changed, 3 insertions(+)
 create mode 100644 antlr-3.2.jar
$ git push -u origin master                                                                                                                     [10:58:04]
Git LFS: (1 of 1 files) 1.84 MB / 1.84 MB                                                                                                                
Counting objects: 3, done.
Delta compression using up to 6 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 329 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.

so far so good. however...

$ cd ..                                                                                                                                         [10:58:18]
$ rm -rf lfs-test/                                                                                                                              [10:59:45]
$ git clone ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git                                                                     [10:59:50]
Cloning into 'lfs-test'...
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.                                                                                                                     
$ cd lfs-test/                                                                                                                                  [11:00:15]
$ ls                                                                                                                                            [11:00:19]
antlr-3.2.jar
$ cat antlr-3.2.jar                                                                                                                             [11:00:45]
version https://git-lfs.github.com/spec/v1
oid sha256:4c8737014e7ca0d2c85171edf37f5a26b2d8d8237c283357b81a3269b6848d38
size 1928009                                                                                         
$ git lfs fetch origin                                                                                                                          [11:05:19]
Fetching master
Git LFS: (2 of 1 files) 0 B / 1.84 MB                                                                                                                    
Repository or object not found: http://phabricator.example.com/file/data/w5mihitt7ijile3b7n44/PHID-FILE-kbhl75cnfm6nwks7ojmf/dosd5iqevvn3rune/lfs-4c8737014e7ca0d2c85171edf37f5a26b2d8d8237c283357b81a3269b6848d38
Check that it exists and that you have proper access to it
Warning: errors occurred                 
Apr 7 2016, 10:24 AM · Customer Impact, Restricted Project, Files, Diffusion

Apr 6 2016

epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
Apr 6 2016, 11:20 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

Chrome is free to send more "If-Modified-Since" headers when you press reload than when you navigate. I have no idea what its exact behaviors are.

Apr 6 2016, 10:52 PM · Restricted Project, Restricted Project, Wikimedia, Files
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.

I'm using the reload button next to the URL field indeed. I'm not sure this trashes the cache because if that was the case, there would be no 304s, right?

Apr 6 2016, 10:43 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

I can't reproduce that unless I actually use the "reload" command to reload the page, which looks like it makes Chrome dump caches on my system.

Apr 6 2016, 10:35 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
Apr 6 2016, 10:32 PM · Restricted Project, Restricted Project, Wikimedia, Files
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.

Thanks @epriestley, much looking forward to have this deployed to Phacility.

Apr 6 2016, 10:06 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

Those changes are live on this server now, let us know if you run into issues.

Apr 6 2016, 9:28 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

D15642 has additional details, but the new header/cache behavior is:

Apr 6 2016, 8:52 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
Apr 6 2016, 8:42 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

On this:

Apr 6 2016, 7:56 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

D15641 has the technical details, but here's the behavior I've implemented:

Apr 6 2016, 7:30 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
Apr 6 2016, 7:28 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley renamed T10262: Scramble file secrets when attached objects change their view policies from Paranoid file URL security mode causes nearly universal performance problems to Scramble file secrets when attached objects change their view policies.
Apr 6 2016, 6:51 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

If the unique url hash changed whenever the visibility policy changed, that would be fine.

Apr 6 2016, 6:49 PM · Restricted Project, Restricted Project, Wikimedia, Files
csteipp added a comment to T10262: Scramble file secrets when attached objects change their view policies.

Let me explain the WMF use case a little more. We have lots of users create public tasks, often with pictures attached, which should be private (security/privacy issues, legal issues, etc). We push notifications of new tasks to our public irc channels, and a lot of our users subscribe to huge numbers of projects. So once the task is created, the content is widely dispersed. And we need the ability to make that as private as possible.

Apr 6 2016, 6:44 PM · Restricted Project, Restricted Project, Wikimedia, Files
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.

I'm on my laptop using tethering on T-Mobile right now and I just noticed the user profile photos in the workboards are not being cached. Whenever I reload the page (Chrome 49.0.2623.110 on OS X 10.11.4), these photos reload from scratch. Here are the headers as reported by the Chrome inspector:

Apr 6 2016, 3:59 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T7789: Support Git Large File Storage.

(This is paused since we're waiting on feedback -- if you give it a shot, let us know how things go.)

Apr 6 2016, 12:17 PM · Customer Impact, Restricted Project, Files, Diffusion
epriestley moved T7789: Support Git Large File Storage from Backlog to Paused on the Prioritized board.
Apr 6 2016, 12:16 PM · Customer Impact, Restricted Project, Files, Diffusion

Mar 31 2016

swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.

When I said "user images" above, I meant to say "user uploaded images" like what you drag & drop in Pholio, Phriction, Maniphest, etc... i.e. explicitly not Phab built-in images which are indeed cached. Sorry if that was confused with "user profile images". There are no performance problems here. In general I have observed no performance issues with Phacility outside of the matter tracked by this very task.

Mar 31 2016, 5:34 PM · Restricted Project, Restricted Project, Wikimedia, Files
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.

User profile images should be getting cached. For example, your profile image here:

Mar 31 2016, 5:28 PM · Restricted Project, Restricted Project, Wikimedia, Files
20after4 added a comment to T10262: Scramble file secrets when attached objects change their view policies.

I've really never experienced any poor performance when using phabricator. It's not blazing fast but that is mostly due to the complexity of the server side php bits. I have literally never seen slowness in loading static resources.

Mar 31 2016, 5:24 PM · Restricted Project, Restricted Project, Wikimedia, Files
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.

Here's another big problem (IMHO) I just realized: using Phab on mobile or through tethering on your laptop is terrible: the fact user images don't get cached, kills usability: it takes forever to load / reload anything with user images.

Mar 31 2016, 5:11 PM · Restricted Project, Restricted Project, Wikimedia, Files