Commit Graph

334 Commits (f6b1b7e39ef7b1dcadfa3b8f50ad226aa7c7854e)

Author SHA1 Message Date
Scott Nonnenberg b08c10a547 FileInputView: Event on attachment change to hide/show microphone 7 years ago
Scott Nonnenberg 6eb8f5680c Preserve links with embedded emoji 7 years ago
Scott Nonnenberg f9ea7be61f Reintroduce single attachment limit 7 years ago
Scott Nonnenberg 985b1d6aa6 New staged attachments UI, multiple image attachments per message 7 years ago
Scott Nonnenberg e4babdaef0 Updates to backup infrastructure 7 years ago
Scott Nonnenberg 47f834cf5c Encrypt device name on account create, on first launch if needed 7 years ago
Scott Nonnenberg f45f8b190d Remove unused lint exceptions 7 years ago
Scott Nonnenberg 822ea9ae53 Improve sealed sender icon display logic 7 years ago
Scott Nonnenberg 313d08344a Request configuration sync on startup of new version 7 years ago
Scott Nonnenberg f5954db711 Ensure that multi-video lightbox scrolling changes video 7 years ago
Scott Nonnenberg 9f1f4bf441 Lint fixes 7 years ago
Scott Nonnenberg bdec2d4781 Update icon-gen for Electron v3 compatibility 7 years ago
Scott Nonnenberg fc48b91efa Lint fixes 7 years ago
Scott Nonnenberg 79a861a870 Typing Indicators 7 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 7 years ago
Scott Nonnenberg 4610b63fb7 Lint fixes 7 years ago
Scott Nonnenberg 2d48daa7b6 Refine Sealed Sender behaviors 7 years ago
Scott Nonnenberg fb670ad6b9 Remove IndexedDB files after removing IndexedDB database 7 years ago
Scott Nonnenberg 1755e0adfd Move all remaining stores to SQLCipher 7 years ago
Scott Nonnenberg a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
7 years ago
Scott Nonnenberg 6656469f5f Update lint exceptions 7 years ago
Scott Nonnenberg 7789beec64 Calculate warning properly for all methods of attachment download 7 years ago
Scott Nonnenberg 2b5f6d8b5e Ensure that blue group avatars are preserved in dark theme 7 years ago
Scott Nonnenberg fbaef50c4a Android theme: Incoming quotes take color from containing message 7 years ago
Scott Nonnenberg f21f83a163 Conversations have blue avatar backgrounds if no image provided 7 years ago
Scott Nonnenberg 4514152320 Fix lint errors 7 years ago
Scott Nonnenberg 10bd12d622 Lint fixes 7 years ago
Scott Nonnenberg bc0ec92ad2 Tests and increase consistency for isFileDangerous calls 7 years ago
Scott Nonnenberg 0850dc368a Lint fixes 7 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 7 years ago
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 7 years ago
Scott Nonnenberg 37822d2ef4 Update lint exceptions 7 years ago
Scott Nonnenberg a8e12d0771 Add user's avatar to the top left of the screen 7 years ago
Scott Nonnenberg 8f3e3b7aaf Update to new design for avatars: individual/group icons/colors
And two initials.
7 years ago
Scott Nonnenberg cf16ced91c Unread badge is now attached to avatar in left pane 7 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 7 years ago
Scott Nonnenberg cd60bdd08a Move conversations to SQLCipher 7 years ago
Scott Nonnenberg c13b91a790 Update linter exceptions after update 7 years ago
Scott Nonnenberg ecb126e74c
Custom linter to check code quality (#2753) 7 years ago
Scott Nonnenberg 9c399624cc Support for blocking groups on mobile, via group/blocked syncs 7 years ago
Scott Nonnenberg 8290146721 Show generic attachment for non-loading/too-large images/videos 7 years ago
Scott Nonnenberg 006700f9a2 Properly style countdown icon in iOS light/dark themes 7 years ago
Scott Nonnenberg 37f3054976 Both UI timer and database timer will remove expired message 7 years ago
Scott Nonnenberg b3d56276a8 Conversations now better take advantage of wide screens 7 years ago
Scott Nonnenberg fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 7 years ago
Scott Nonnenberg 727925a266 Clean up old messages, better handle errors from sending 7 years ago
Scott Nonnenberg b0b1e9b8e3 Message: video/image attachment borders inline, on top of image
Otherwise, its transparency will result in a distracting line between it
and its attached message bubble
7 years ago
Scott Nonnenberg 3b7ee3e2ce A couple copy changes: Show -> View, New Number -> Safety Number 7 years ago
Scott Nonnenberg 19ff050b3a Show 'Off' text when disappearing messages are turned off 7 years ago
Scott Nonnenberg 3105b77475 Migrate to SQLCipher for messages/cache
Quite a few other fixes, including:
  - Sending to contact with no avatar yet (not synced from mobile)
  - Left pane doesn't update quickly or at all on new message
  - Left pane doesn't show sent or error status

Also:
 - Contributing.md: Ensure set of linux dev dependencies is complete
7 years ago
Scott Nonnenberg 8b92e6112c Add dir='auto' to Message and Quote body for RTL languages 7 years ago
Scott Nonnenberg f38647dfa5 ContactListItem: Add spacing above and below (for 'show members') 7 years ago
Scott Nonnenberg f39a96bc76 Move to centralized message/cache data layer
Also, ensure that conversation.messageCollection has nothing in it
unless it has an associated ConversationView.
7 years ago
Scott Nonnenberg e80857562a Disappearing messages: show 'disabled' instead of 'set to off' 7 years ago
Scott Nonnenberg 7dd931fb7e ConversationHeader: centered title, ConvoListItem: unbold name 7 years ago
Scott Nonnenberg 3a07e9ae73 Ensure that color mapping matches the spreadsheet 7 years ago
Scott Nonnenberg 5933a34a18 Use window.log in browser context, turn on console eslint rule 7 years ago
Scott Nonnenberg 643739f65d
Responding to feedback on the updated visuals (#2549)
* Conversation List Item: timestamp bold only when convo has unread

* Preserve the positioning of overlays on re-entry into convo

* ConversationListItem: Handle missing and broken thumbnails

* Shorten timestamp in left pane for better Android consistency

* Update convo last updated if last was expire timer change

But not if it was from a sync instead of from you or from a contact.

* Make links in quotes the same color as the text

* MediaGridItem: Update placeholder icon colors for dark theme

* Ensure turning off timer shows 'Timer set to off' in left pane

* ConversationListItem: Show unread count in blue circle

* Add one pixel margin to blue indicator for text alignment

* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg 2384988b0a ConversationHeader: Ensure that profile has tilde before it 7 years ago
Scott Nonnenberg fa18e2ba77 LightBox: tslint exception for play() call which returns promise 7 years ago
Scott Nonnenberg 4fa6a785f4 Remove unused code 7 years ago
Scott Nonnenberg e90355dab5 Lightbox: Play video on open, play/pause on click of video itself 7 years ago
Scott Nonnenberg 66bd6c826d Fix MediaGallery handling of videos - show thumbnail and overlay 7 years ago
Scott Nonnenberg 0b9b738c88 Remove empty file: colorSVG.ts 7 years ago
Scott Nonnenberg 95976b10e7 Timestamp: Eliminate 'Invalid date' from potential output 7 years ago
Scott Nonnenberg 675e34fc8d New React component: ConversationListItem, installed in left pane
When collecting a conversation's last message, we grab that message's
status as well (if outgoing) and show it.
7 years ago
Scott Nonnenberg 7e2d7b5e60 Media Gallery: Support for dark theme 7 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg 43a44793c5 Remove jshint - move everything over to eslint
Also removed all hints of previous linters
7 years ago
Scott Nonnenberg dc11db92f9 New React component: Message
Also: Use react to render contects on the 'show group members' screen
7 years ago
Scott Nonnenberg fc5c52fbdf Remove iOS theme in favor of plain light/dark themes 7 years ago
Scott Nonnenberg 445839770b
Fix width of message detail screen (#2478) 7 years ago
Scott Nonnenberg 951ae6d52c Disable inline rendering of SVG attachments
Like TIFF, they are now treated as binary files.
7 years ago
Scott Nonnenberg 925e02e397 Fix lint error in OS.ts 8 years ago
Scott Nonnenberg 34f423b52c Remove unused code; move signal.js to js/modules for eslint
(noticed as I was doing this that signal.js doesn't get eslint coverage)
8 years ago
Scott Nonnenberg 9dedda84e2 Add style guide examples for ContactName and ConversationTitle 8 years ago
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
8 years ago
Scott Nonnenberg 23586be6b0 Add emojification to contact names shown in quotes 8 years ago
Scott Nonnenberg 548c8e69cf Emojification now all done with react via a few new components
Three locations were changed:
  1. a group update, which lists a set of contacts
  2. the contact name in the left pane
  3. the conversation title

Three new components were added to window.Signal.Components to support
these scenarios, respectively:
  1. Emojify
  2. ContactName
  3. ConversationTitle

Note that there are a number of other places in the app that should be
emojified, but never have been before. Essentially any place that a
contact name might be shown. A non-exhaustive list:
  - Show group members
  - Show safety number
  - Verified change notification
  - Disappearing timer change notification
  - Contact verification notification
  - Quote contact name
8 years ago
Scott Nonnenberg d9e5338dff Refactor link/emoji/newline components for composability 8 years ago
Scott Nonnenberg a5416e42c4 Refactor all emoji utility methods into window.Signal.Emoji 8 years ago
Scott Nonnenberg a328a70ba2
Update React-based emoji handling to fix skin tone modifiers (#2399) 8 years ago
jython234 84759d813e Modify OS.isWindows to check platform before version (#2407)
* Modify OS.isWindows to check if OS is Windows first before checking version.

Previously OS.isWindows checked if the windows version matched the one required. This worked fine, except for the fact that it would end up comparing a linux kernel version to a windows version as it didn't check if the platform was Windows in the first place before.

This caused issues as it would throw an error when comparing with non-semver linux kernels (such as Fedora). Now it checks if the current platform is Windows first, and if not, immediately returns false.

Resolves: #2396

* Fix formatting for OS.ts
8 years ago
Scott Nonnenberg 4e5c8965ff Move to react for newlines, emoji, and links in message body 8 years ago
Scott Nonnenberg 8f934251ae Fix a few types: relax contact, Email->Phone 8 years ago
Scott Nonnenberg 80b069e9b6 Move phone number format/parse into ts/types/PhoneNumber 8 years ago
Scott Nonnenberg aa13a2c6f7 Parse phone numbers into e164 as part of schema upgrade 8 years ago
Scott Nonnenberg 8cb1f1f532 Fall back on givenName/familyName if no displayName/organization 8 years ago
Scott Nonnenberg eafa038ba4 Use backup labels if custom contact type labels are missing 8 years ago
Daniel Gasienica 3bf8a8966a Notification improvements
- Remove on read, on focus, and on exit.
- Show multi-message notifications like '5 new messages'.
8 years ago
Daniel Gasienica d349dd903d Add `AttachmentSection` to style guide 8 years ago
Daniel Gasienica 121bb0ecef Style guide: Fix empty state 8 years ago
Daniel Gasienica f19e6ea93d Wrap JSX siblings in container 8 years ago
Daniel Gasienica a8cd0b782e Rename `DocumentListItem::isLast` to `shouldShowSeparator` 8 years ago
Daniel Gasienica 05f67dc04a Hide separator for last document list entry 8 years ago
Daniel Gasienica fd883b2896 Fix `LightboxGallery` style guide entry 8 years ago
Daniel Gasienica bfe7eb7d5e Consolidate styles 8 years ago
Daniel Gasienica 90329a2764 Display icon for unsupported file formats
Still allows users to download media.
8 years ago
Daniel Gasienica 623bdd9284 Port `colorSVG` from Sass to TypeScript (React) 8 years ago