Daniel Gasienica
a609c31a57
Style attachment section headers
7 years ago
Daniel Gasienica
ae4c74dd5b
Skip metadata initialization for `verified-change` messages
7 years ago
Daniel Gasienica
b0fefdbb98
Implementing grouping messages by date
7 years ago
Daniel Gasienica
dea56c0008
Autoformat TSX files
7 years ago
Daniel Gasienica
424965f876
🎨 Autoformat code
7 years ago
Daniel Gasienica
2fae89f0e8
Add trailing commas to autoformatted code
7 years ago
Daniel Gasienica
347fc8287a
Add `yarn format` to autoformat code
...
Uses Prettier under the hood. Requires opt-in via `@prettier` pragma:
https://prettier.io/docs/en/options.html#require-pragma
7 years ago
Daniel Gasienica
56a5006392
Remove duplicate `@types/lodash` dependency
7 years ago
Daniel Gasienica
8edbd06e43
TSLint: Enforce UNIX line breaks
7 years ago
Daniel Gasienica
a8bca9b8eb
TSLint: Enforce indentation with 2 spaces
...
Not sure if this rule actually works.
7 years ago
Daniel Gasienica
04acdebe48
TSLint: Align various syntax elements
7 years ago
Daniel Gasienica
9858e0e680
Fix translation description
7 years ago
Daniel Gasienica
39d5f3c413
Enable strict type checking features
7 years ago
Daniel Gasienica
99921ed848
Enable strict `null` checks
7 years ago
Daniel Gasienica
3a8c3ccdab
Add `prettier`
7 years ago
Daniel Gasienica
f367a9b059
Move `private` method below `public` ones
7 years ago
Daniel Gasienica
832b6309a2
Limit line length
7 years ago
Daniel Gasienica
cf1d621bce
Allow line breaks in long `import` statements
7 years ago
Daniel Gasienica
3d70e46aea
Calculate dates in UTC
7 years ago
Daniel Gasienica
d7b21ef5dc
Render attachments grouped by date
7 years ago
Daniel Gasienica
e34347f290
Add `groupMessagesByDate`
7 years ago
Daniel Gasienica
9053b6acfc
Remove unused style
7 years ago
Daniel Gasienica
ae419764bf
Use arrow function over `.bind`
7 years ago
Daniel Gasienica
a86a596f34
Add translations for section headers in media gallery
7 years ago
Daniel Gasienica
66516fd36a
Use short format for dates
7 years ago
Daniel Gasienica
923d5ff088
Add `missingCaseError` function
7 years ago
Daniel Gasienica
fc1c3aabf5
Add scaffolding for media gallery
7 years ago
Daniel Gasienica
a8be4f2d8d
Expose Lodash in style guide
7 years ago
Daniel Gasienica
8ef04cb1fd
Move `@types/*` dependencies to `devDependencies`
7 years ago
Daniel Gasienica
10bede85c9
Add `filesize` dependency
7 years ago
Daniel Gasienica
94ef3bab80
Move test file
7 years ago
Daniel Gasienica
272c49c5bf
Use existing `ReactWrapper`
7 years ago
Daniel Gasienica
32a3ef518b
Render media gallery placeholder panel
7 years ago
Daniel Gasienica
f9e4613395
Move TS test for message migration
7 years ago
Daniel Gasienica
5f220a7b2c
Add migration for media gallery indices
7 years ago
Daniel Gasienica
273248d3fd
Wire up ‘View All Media’ menu item
7 years ago
Daniel Gasienica
d14761087a
Add schema version 4: Attachment metadata
7 years ago
Scott Nonnenberg
7d11efc50b
ConversationView: Add 'View All Media' menu item
7 years ago
Daniel Gasienica
867bece952
Add `Message.initializeAttachmentMetadata`
7 years ago
Daniel Gasienica
c5352cf26c
Separate required from optional `Message` keys
7 years ago
Daniel Gasienica
fc12353bb8
Add `Attachment.isVisualMedia`
7 years ago
Daniel Gasienica
47cc701e72
Add `GoogleChrome` module
...
Helps us determine which media we can natively display / play back in Electron.
7 years ago
Daniel Gasienica
9533c09707
Add `@types/lodash`
7 years ago
Daniel Gasienica
6ff82adf0a
Add `MIME.isImage` and `MIME.isVideo`
7 years ago
Daniel Gasienica
df2e6e7864
Port `MIME` module to TypeScript
7 years ago
Daniel Gasienica
6a63e427c8
Use `is` instead of Lodash `is*`
7 years ago
Scott Nonnenberg
4852a9dee0
Fix rendering issue with iOS quote preview ( #2292 )
...
Fix rendering issue with iOS quote preview (in composition mode)
7 years ago
Scott Nonnenberg
7038202a1a
Fix rendering issue with iOS quote preview (in composition mode)
7 years ago
Scott Nonnenberg
adf91ee84c
Enable sending quoted replies, two fixes ( #2284 )
...
Enable sending quoted replies, two fixes
7 years ago
Scott Nonnenberg
9619e5b66d
Fix quote thumbnail flickering issue
...
Turns out that we reload thumbnails for every message when any new
message is added to the conversation. This fix prevents that by actually
checking for the proper sentinel on the message model
7 years ago