1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 22:40:55 +01:00
phorge-phorge/src/applications/files
epriestley d70ca6b7c8 When file transforms race and lose, accept defeat gracefully
Summary: Fixes T8277. Transforming files can race; resolve the race after we lose.

Test Plan:
  - Added `sleep(10)` near the bottom of the transform controller.
  - Transformed a file in two browser windows at the same time; got something like this (exception corresponds to the loser of the race):

{F412526}

  - Applied patch.
  - Repeated process, got this:

{F412527}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8277

Differential Revision: https://secure.phabricator.com/D12965
2015-05-21 09:42:20 -07:00
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Modularize file transforms and provide a "transforms" UI 2015-05-13 11:38:45 -07:00
applicationpanel Modernize search engine selection 2015-05-20 06:59:59 +10:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
config Fully remove all the public-create-mail settings 2015-05-20 14:21:33 -07:00
controller When file transforms race and lose, accept defeat gracefully 2015-05-21 09:42:20 -07:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
engine Fix a bad call in file chunk destruction 2015-03-24 18:48:51 -07:00
exception Rewrite file documentation to be chunk-aware 2015-03-15 11:37:47 -07:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
lipsum Fix some linter violations 2015-01-03 09:11:41 +11:00
mail Expose all application mail receivers 2015-04-01 11:52:02 -07:00
management Support a file data iteration interface for large files 2015-03-14 08:28:59 -07:00
markup Convert "preview" image transforms to new pathway 2015-05-13 11:38:46 -07:00
phid Make file handles have "/Fxxx" as the URI 2014-08-21 12:21:10 -07:00
query Provide more buildXClause() and buildXClauseParts() on PolicyAwareQuery 2015-04-20 10:06:10 -07:00
storage Various linter fixes 2015-05-20 07:27:41 +10:00
transform Implement a user profile image cache 2015-05-13 11:38:51 -07:00
view Quicksand - make things work correctly with global drag and drop upload 2015-04-23 15:08:35 -07:00
PhabricatorImageTransformer.php Convert inline profile image transforms to new transformations 2015-05-13 11:38:46 -07:00