Commit Graph

3695 Commits (9ad55c803fa5131fd3a81ed014935b759a7f0287)
 

Author SHA1 Message Date
Scott Nonnenberg 9ad55c803f
Fix handling attachment thumbnails using thumbnail key 7 years ago
Scott Nonnenberg 6413e75f82
iOS: Handle portrait image that doesn't fill message box
It would have rounded corners inside of the bubble, which is not what
we want. This makes the bubble itself have the rounded corners, and then
it cuts off anything that would extend past its edges.
7 years ago
Scott Nonnenberg fce9bb7342
Move to central MIME functions, remove some console.log
And generally address PR feedback.
7 years ago
Scott Nonnenberg f255cbcbe3
Move to white background for ios replies, hairline bottom border 7 years ago
Scott Nonnenberg 32925ed026
Load attachment data for quotedMessages, processMessage on add
Not ideal that it loads it twice, but AttachmentView is so selfish with
its blob and objectUrl!
7 years ago
Scott Nonnenberg d91f40177e
Quote.tsx: Fix tslint errors
I really need to get tslint editor integration in place.
7 years ago
Scott Nonnenberg 557ea55531
Quotes/iOS: Fix bug where large quote content would smoosh icon 7 years ago
Scott Nonnenberg a0b1dea693
Introduce a bit of color to the message/attachment style guide 7 years ago
Scott Nonnenberg c747c55b37
MessageReceiver: Translate from BigNumber to number for quote id 7 years ago
Scott Nonnenberg 0100e279f5
MessageView: Make Quotes resilient to re-renders 7 years ago
Scott Nonnenberg b458c7d449
android-dark: Constrain light play icon to with peer image 7 years ago
Scott Nonnenberg bdaebc24ae
A few tweaks for the android-dark theme 7 years ago
Scott Nonnenberg 087dd0f758
Support for iOS theme 7 years ago
Scott Nonnenberg 644bc9e6fb
Fix problem of squished quote icons and images 7 years ago
Scott Nonnenberg 127a90c4f6
Removed unused aspect ratio mixin 7 years ago
Scott Nonnenberg 5412ce051e
preload.js: Fix quote support, load Quote properly 7 years ago
Scott Nonnenberg fc330ef854
Quote loading: Check for in-memory message until we get one 7 years ago
Scott Nonnenberg 92a89a8e41
Fix MessageView test: p -> div 7 years ago
Scott Nonnenberg 2243e348f1
Wire up fake window.Signal.HTML because it's captured on load 7 years ago
Scott Nonnenberg 0f8dd7e2db
Fix a number of lint failures 7 years ago
Scott Nonnenberg 1cc0633786
Full support for quotations in Android theme 7 years ago
Scott Nonnenberg 47a3acd5c9
Remove models/messages + models/messages from jscs run 7 years ago
Scott Nonnenberg 5602241a0c
Eliminate eslint-generated triple-parents 7 years ago
Scott Nonnenberg 5c2936bdd6
Turns out that we call validateNumber() on group conversations! 7 years ago
Scott Nonnenberg d5043eb9cf
MessageReceiver: Can't use arrow function if it is to be new'd 7 years ago
Scott Nonnenberg e99192dca7
Unleash eslint on models/messages.js
Fun fact: eslint was not running on this file, despite the eslint
directives previously in the file!
7 years ago
Scott Nonnenberg 33ef967dd7
Unleash eslint on models/conversations.js 7 years ago
Scott Nonnenberg 054d3887a1
Quotes: The full pipeline into the database
1. MessageReceiver always pulls down thumbnails included in quotes
2. Message.upgradeSchema has a new schema that puts all thumbnails on
   disk just like happens with full attachments.
3. handleDataMessage pipes quote from dataMessage into the final message
   destined for the database
7 years ago
Scott Nonnenberg e69586200a
Unleash eslint on message_receiver.js - lots of change 7 years ago
Scott Nonnenberg 21bf02c94d
Fixed examples in Quote.md, rough Android visuals 7 years ago
Scott Nonnenberg 6653123671
Move quote-related examples from Message.md to Quote.md 7 years ago
Scott Nonnenberg b4ce79cac0
Reply -> Quote 7 years ago
Scott Nonnenberg 2def6afe45
message_view.js: eslint fixes and a bit of fixup 7 years ago
Scott Nonnenberg 09c3fbc5e2
Style guide: All permutations of text reply to diff. quote types 7 years ago
Scott Nonnenberg ad58799269
Update protos to reflect recent quotation-related updates
Updating to be current with these two comments in libsignal-service-java

2e4aa84896 (diff-c525e47fbed26da2110c8a7c37a37031)

4f07b9e85e (diff-c525e47fbed26da2110c8a7c37a37031)
7 years ago
Scott Nonnenberg ae043bf239
In iOS theme, join attachment bubble with caption bubble 7 years ago
Scott Nonnenberg 3a76c3c86e
Styleguide: Incoming/outgoing attachments of all types 7 years ago
Daniel Gasienica 1206b3c448 Remove Conversation Message Preview After Message Has Expired
- [x] Skip timestamp update for `verified-change` and expiring messages to
      prevent them to bump to the top of the conversation list.
- [x] Skip message preview (`lastMessage`) update for `verified-change` messages
      since they don’t contain any message body.
- [x] Reset last message if conversation is empty.

Fixes https://github.com/signalapp/Signal-Desktop/issues/980.
7 years ago
Daniel Gasienica 5f8148d3da Bind to `Conversation` lazily to prevent style guide errors 7 years ago
Daniel Gasienica 560cc4e149 Set dynamic parameter last 7 years ago
Daniel Gasienica 0daccee209 Enable TSLint Mocha rules 7 years ago
Daniel Gasienica 9d159da79c Add Microsoft contributed TSlint rules: `tslint-microsoft-contrib` 7 years ago
Daniel Gasienica 0902c94093 Reset last message after message has expired
Fixes #980.
7 years ago
Daniel Gasienica ad05efb7a0 Expose `Signal.Types.Conversation` 7 years ago
Daniel Gasienica 44debd123d Add basic implementation of `Conversation.updateFromLastMessage` 7 years ago
Daniel Gasienica cca5db3237 Remove unused import 7 years ago
Daniel Gasienica 1659354f51 Expand `Message` type definitions 7 years ago
Daniel Gasienica b50c55172d Add `MIME` type 7 years ago
Daniel Gasienica 65bf34d1b8 Add basic `Attachment` type definition 7 years ago
Daniel Gasienica fa36e1b7a7 Configure EditorConfig for TypeScript 7 years ago