1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
Commit Graph

1903 Commits

Author SHA1 Message Date
Brett Sun
edeec39548 Small fixes for upload error behaviour
* Change error dialog text slightly
* Only show global notification on first error
* Only create the S3 blob if the response is successful
2015-12-08 20:25:18 +01:00
Brett Sun
5250427ce0 Use FileStatus in UploadButton, register form 2015-12-08 18:29:26 +01:00
Brett Sun
5bc447ecc8 Allow warnings to be set from inside properties to change appearance 2015-12-08 18:23:02 +01:00
Brett Sun
79780cfb3a Add FileDragAndDropError 2015-12-08 18:22:11 +01:00
Brett Sun
04d7e6951a Don't render fileDragAndDropDialog if it's not needed 2015-12-08 18:16:11 +01:00
Brett Sun
a0db6d3037 Shuffle uploader props to be more readable 2015-12-08 18:09:24 +01:00
Brett Sun
9b54a75e27 Bind ErrorQueueStore to ErrorQueueActions 2015-11-29 16:57:29 +01:00
Brett Sun
0d6b3710f7 Fix bugs in ErrorQueueStore and deepMatchObject() 2015-11-25 18:58:56 +01:00
Brett Sun
4821e36189 Update FineUploader utils to use FileStatus 2015-11-25 18:58:49 +01:00
Brett Sun
01e3fd5fcd Add error queue store
Allows errors to be queued for showing to the user, such as in the
uploader’s error states.
2015-11-25 16:30:17 +01:00
Brett Sun
dff180ff87 Use FineUploader status constants as opposed to strings 2015-11-25 16:27:32 +01:00
Brett Sun
4b91b58adf Merge branch 'AD-1313-Attach-thumbnail-to-piece-in-register-form' into AD-1360-show-common-upload-errors-to-user 2015-11-25 10:18:40 +01:00
Tim Daubenschütz
809ca6f40a Restructure thumbnail creation functionality
- Add function in Property and Form for creating refs
- Change `handleSelectFiles` to `handleChangedFile`
- Add `setThumbnailForFile` method to `ReactS3Fineuploader`
2015-11-23 17:59:20 +01:00
Brett Sun
3e28d6f421 Add functionality to match known errors
Implemented as part of AD-1360 and AD-1378 as a way to match an error
situation to a known class of errors so that we can modify behaviour or
show pretty text to the user.
2015-11-23 17:12:47 +01:00
Tim Daubenschütz
59244f208a Fix detachment of DOM <-> browser state 2015-11-23 13:59:07 +01:00
Tim Daubenschütz
56d8268ceb Add remove button for thumbnail creation dialog 2015-11-23 12:31:53 +01:00
Tim Daubenschütz
e134db8915 minor layouting optimizations 2015-11-23 11:05:02 +01:00
Tim Daubenschütz
943d62dd8c Fix vertical centering of FileDragAndDrop previews and replace glyphicon checkmark 2015-11-20 17:59:26 +01:00
Tim Daubenschütz
62d7a5863a Merge branch 'master' into AD-1313-Attach-thumbnail-to-piece-in-register-form 2015-11-20 16:20:24 +01:00
Tim Daubenschütz
bccfc0906f Revert super funny-"Important minor fix"
We better want this not to go live

This reverts commit b77fefb55c.

Conflicts:
	js/constants/application_constants.js
2015-11-20 16:17:08 +01:00
Tim Daubenschütz
f14a2f375e Remove feature_list.md as it is super outdated 2015-11-20 15:49:41 +01:00
Tim Daubenschütz
496998a471 Cleanup images 2015-11-20 15:47:17 +01:00
Tim Daubenschütz
12b6407cd2 Cleanup fonts 2015-11-20 15:44:09 +01:00
Tim Daubenschütz
46872a9cc5 Add checkmark glyph to project 2015-11-20 15:40:58 +01:00
Tim Daubenschütz
efcc24ab96 Make overall upload progress percentage more visible 2015-11-20 15:24:14 +01:00
Tim Daubenschütz
465bed94a2 Use overallProgress bar all the time 2015-11-20 15:14:25 +01:00
Tim Daubenschütz
96ad05cef4 Unknot (and maybe reknot) layouting for FileDragAndDrop 2015-11-20 15:02:39 +01:00
Tim Daubenschütz
1cf8ac2f31 Various small changes for FileDragAndDrop
Changed:
  - If only one file submitted: hide file-specific progress bar + filename extension
  - Fix bug for when uploaded file is deleteable (avoid error)
  - Add checkmark for when file was actually submitted
2015-11-20 14:30:24 +01:00
Tim Daubenschütz
e4479dc95b qMerge branch 'master' into AD-1313-Attach-thumbnail-to-piece-in-register-form 2015-11-20 14:00:36 +01:00
Tim Daubenschütz
0946ddc0b3 Minor fix 2015-11-20 14:00:10 +01:00
Tim Daubenschütz
f4f89bba43 Merge branch 'master' into AD-1313-Attach-thumbnail-to-piece-in-register-form 2015-11-20 13:53:03 +01:00
Tim Daubenschütz
3a234e42ec Merge branch 'master' of github.com:ascribe/onion 2015-11-20 10:21:35 +01:00
Tim Daubenschütz
b77fefb55c Important minor fix 2015-11-20 10:21:21 +01:00
Tim Daubenschütz
0842f3c5bc Merge pull request #31 from ascribe/AD-1347-Help-text-for-buttons-is-missing-transfe
transfer added
2015-11-20 09:59:58 +01:00
Cevo
63a32d949a transfer added 2015-11-19 19:47:33 +01:00
Tim Daubenschütz
c0f5351645 Fix badly indentation 2015-11-19 18:09:42 +01:00
Tim Daubenschütz
24f5d4de2b Merge branch 'master' of github.com:ascribe/onion 2015-11-19 17:51:27 +01:00
Tim Daubenschütz
446ed311ea Fix upload/hashing button in FileDragAndDropDialog 2015-11-19 17:51:17 +01:00
Tim Daubenschütz
1318bf5413 Fix indentation fail 2015-11-19 17:36:47 +01:00
diminator
c1f1573f27 change impressum to imprint 2015-11-19 17:35:25 +01:00
Tim Daubenschütz
2aab5d2d0d Fix bug in RegisterPieceForm when defining no editions 2015-11-19 16:16:25 +01:00
Tim Daubenschütz
6d08540d8b Sync thumbnail uploader to digitalWork uploader in RegisterPieceForm 2015-11-19 11:45:29 +01:00
Tim Daubenschütz
2dcd375850 Add functionality for displaying file name upon uploading single file 2015-11-19 10:43:40 +01:00
Tim Daubenschütz
399f670bed Add variety of supported file formats & fix bug when parsing mime type 2015-11-18 17:55:27 +01:00
Tim Daubenschütz
43c6ee929b Remove PropertyCollapsible 2015-11-18 16:32:07 +01:00
Tim Daubenschütz
25372a3edf Include PropertyCollapsible's functionality into Property 2015-11-18 16:31:37 +01:00
Tim Daubenschütz
6d828ac959 Remove hidden prop from Property 2015-11-17 16:14:20 +01:00
Tim Daubenschütz
1ac2fe7f96 Remove all occurences of 'hidden' prop usage for Property 2015-11-17 15:52:40 +01:00
Tim Daubenschütz
971d42b36d Add file-format-specific call to action for thumbnail generation 2015-11-17 15:46:46 +01:00
Tim Daubenschütz
60bf4b12f5 Merge pull request #29 from ascribe/AD-1281-if-contract-was-appended-to-loan
Add contract link to loan history
2015-11-17 14:58:09 +01:00