Daniel Gasienica
86e48a5713
Implement background migration using index
2018-04-27 16:31:43 -04:00
Daniel Gasienica
9ca6fd6498
Center lightbox navigation controls
2018-04-27 16:31:43 -04:00
Daniel Gasienica
fa45656e8e
Wire up media gallery empty state
2018-04-27 16:31:43 -04:00
Daniel Gasienica
4d01264c09
Fix layout of media gallery
2018-04-27 16:31:43 -04:00
Daniel Gasienica
b284e7c682
Remove unnecessary newline
2018-04-27 16:31:43 -04:00
Daniel Gasienica
78f15b654d
Add EmptyState
component
2018-04-27 16:31:43 -04:00
Daniel Gasienica
ea49f7a3b6
Implement keyboard navigation for Lightbox
2018-04-27 16:31:43 -04:00
Daniel Gasienica
e1b620602d
Display attachments from disk
2018-04-27 16:31:43 -04:00
Daniel Gasienica
407c77395b
Add explicit boolean
2018-04-27 16:31:43 -04:00
Daniel Gasienica
f56dc09d01
Add getAbsoluteAttachmentPath
2018-04-27 16:31:43 -04:00
Daniel Gasienica
e2a2165d9c
Remove lightbox on unload
2018-04-27 16:31:43 -04:00
Daniel Gasienica
9451dc5e41
Define AttachmentSchemaVersion3
2018-04-27 16:31:43 -04:00
Daniel Gasienica
21db2e7182
Use saveURLAsFile
2018-04-27 16:31:43 -04:00
Daniel Gasienica
394d2f0bff
Fix type signature
2018-04-27 16:31:43 -04:00
Daniel Gasienica
36c609c2c3
Persist has*Attachments
properties for incoming messages
2018-04-27 16:31:43 -04:00
Daniel Gasienica
3df8c22e44
Alphabetize Message
properties
2018-04-27 16:31:43 -04:00
Daniel Gasienica
307ab0d3a5
Extract saveURLAsFile
2018-04-27 16:31:43 -04:00
Daniel Gasienica
4c0c55082f
Move navigation controls to the bottom
2018-04-27 16:31:43 -04:00
Daniel Gasienica
fb8d4e2421
Implement basic lightbox with gallery support
2018-04-27 16:31:42 -04:00
Daniel Gasienica
43e19f3b06
Prevent default event on icon button clicks
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b3d0438537
Show hand cursor on media grid items
2018-04-27 16:31:42 -04:00
Daniel Gasienica
45d6c7a5a8
Implement video support in lightbox
2018-04-27 16:31:42 -04:00
Daniel Gasienica
ac04f0648a
Load more documents than media
2018-04-27 16:31:42 -04:00
Daniel Gasienica
6ee56b8445
Remove newlines
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b86f9c0be8
Allow saving of attachments from media gallery lightbox
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b74b761255
Implement click to save for document list
2018-04-27 16:31:42 -04:00
Daniel Gasienica
8ca5a391af
arrayBufferToObjectURL: Ensure data
is ArrayBuffer
2018-04-27 16:31:42 -04:00
Daniel Gasienica
b27fdd1559
Use pointer
cursor for DocumentListItem
2018-04-27 16:31:42 -04:00
Daniel Gasienica
41fe50553f
Replace Backbone saveFile
with Attachment.save
2018-04-27 16:31:42 -04:00
Daniel Gasienica
9a76d4bcf8
Whitelist assert
global for tests
2018-04-27 16:31:42 -04:00
Daniel Gasienica
4a5e61eaf4
Implement Attachment.save
2018-04-27 16:31:42 -04:00
Daniel Gasienica
3727205606
Organize ESLint file list
2018-04-27 16:31:42 -04:00
Daniel Gasienica
954433366e
Load documents for media gallery
2018-04-27 16:31:42 -04:00
Daniel Gasienica
f8119be97b
Include videos in media gallery
2018-04-27 16:31:42 -04:00
Daniel Gasienica
37d73accde
Show ‘Documents’ tab
2018-04-27 16:31:42 -04:00
Daniel Gasienica
96c44094e3
Implement Conversation.fetchFileAttachments
2018-04-27 16:31:42 -04:00
Daniel Gasienica
3a8582ee16
Re-enable media gallery access
2018-04-27 16:31:42 -04:00
Daniel Gasienica
2a5f513ebc
Organize global
s
2018-04-27 16:31:42 -04:00
Scott Nonnenberg
45bf1d5bfc
styleguide: Make filesize/Signal.Util.GoogleChrome available ( #2302 )
...
styleguide: Make filesize and Signal.Util.GoogleChrome available
2018-04-27 09:56:22 -07:00
Scott Nonnenberg
ccf14710a3
styleguide: Make filesize and Signal.Util.GoogleChrome available
2018-04-27 08:51:46 -07:00
Daniel Gasienica
73a0032b75
Remove duplicate entry from .gitignore ( #2271 )
2018-04-26 20:29:45 -04:00
Balázs Keresztury
dac1f69c16
Removed duplicate entry from .gitignore
2018-04-26 20:28:47 -04:00
Scott Nonnenberg
fdd6985a79
Thumbnails for new video attachments and video quotes ( #2293 )
...
Two major changes here:
1. When you attach a video to your message, you see a thumbnail of its first frame in the composition area, instead of a generic file icon
2. When you reply to a message with a video in it, your message will include a thumbnail of that video (we'll also generate thumbnails for video quotes if not provided already)
I also made a change to our quote-loading algorithm, since I noticed that our previous approach had some performance issues now that we support video. Where before, we privileged our ability to make local thumbnails at a higher quality, now we defer to any thumbnail we have saved on the quote. So the algorithm for preparing a quote for display is now:
1. Load thumbnail from disk
2. Check to see if quoted message is in memory already. If it is, and we weren't able to load a thumbnail already, generate it from quoted message.
3. If there is an attachment in quote, and we couldn't find message in memory, and the attachment contentType is either image or video, we will go to the database to find the referenced message and create a thumbnail from it.
Bonus bug-fix: The scroll down button in the bottom right of the conversation no longer has an outline when you click it.
2018-04-26 12:27:05 -07:00
Scott Nonnenberg
1bc8452337
Remove the outline for the scroll down button
...
In the future we'll re-enable this for keyboard navigation. For now,
it's really distracting.
2018-04-26 12:04:34 -07:00
Scott Nonnenberg
84c7a4c293
Move to some of our global utility methods
2018-04-26 12:01:31 -07:00
Scott Nonnenberg
403fb1fd60
Make algorithm for finding thumbnails more efficient
2018-04-26 12:00:57 -07:00
Scott Nonnenberg
27a30b3267
Respond to PR feedback
...
- makeThumbnail -> makeImageThumbnail
- duplicate 'display: flex'
- remove no-longer-applicable comment
2018-04-26 09:50:13 -07:00
Scott Nonnenberg
ac0b50d20f
Generate thumbnails for new video attachments, video quotes
2018-04-25 18:32:46 -07:00
Scott Nonnenberg
0e99ca61a2
eslintify file_input_view.js
2018-04-25 15:06:27 -07:00
Scott Nonnenberg
b9b85a0030
v1.9.0-beta.1
...
Send quoted replies via hover menu on message (#2284 , #2292 )
Fixed: Linking a new iOS device would not initially show iOS theme (#2284 )
Fixed: In iOS theme, narrow images would result in a broken chat bubble (#2273 , #2282 )
Dev:
- Fix beta install instructions in readme for debian-based linux (#2262 )
- Media Gallery: Phase 1 - currently disabled (#2236 )
2018-04-25 13:01:54 -07:00