Commit Graph

2451 Commits (1775e97bcd64268a9835531cd0156cc31087808a)
 

Author SHA1 Message Date
lilia 819ba8ee74 Support for undefined preKey 8 years ago
haffenloher a768b94471 Remove unregistered group members
Locally remove unregistered users from group membership lists.

Fixes #989
Related to Whispersystems/Signal-Android#6175
Closes #1052

// FREEBIE
8 years ago
haffenloher d2ddfc72e4 Throw UnregisteredUserErrors in getKeysForNumber() 8 years ago
haffenloher e8de2f0c52 Increase image constraints to 6 MB / 4096 px
Matches WhisperSystems/Signal-Android@d2be49af

Closes #1055

// FREEBIE
8 years ago
lilia 053bf20185 Group updates never have body or attachments
Why would they? And group.added isn't used anywhere else.

// FREEBIE
8 years ago
haffenloher 04f0142b23 Ignore missing members in incoming group updates
Previously, updateNumbers would throw an Error, so the whole group
update was discarded.

Signal-Android handles this the same way in
GroupMessageProcessor.handleGroupUpdate().

Closes #1056
8 years ago
beejaygee 76c165a10a Add copy and paste for images
Switch comparison operator to ===

Move to stricter parsing of clipboard items
8 years ago
Blake Griffith 1e498294e0 Add attachment_views_test.js tests 8 years ago
lilia aa55b6a538 Confirm device name with enter key
Use form and submit elements for their built in mouse and keyboard event
handlers.

// FREEBIE
8 years ago
Ikarulus c9939c8da8 Moving the error badge to the right corner in ios theme
// FREEBIE
8 years ago
lilia 4230b11f82 Support future compatibility for new timer options
If some future client ever sends us an arbitrary timer value which we do
not currently support, present it as a duration in seconds in timer
update messages and ui, where we would otherwise have rendered nothing,
e.g., "You set the timer to ."

// FREEBIE
8 years ago
lilia 7e06e014c4 Add debug logging for #1030
// FREEBIE
8 years ago
karissa eb5c95e287 Add a few missing translatable strings to conversation search view 8 years ago
lilia b1a37da68b Add audio to prod build
// FREEBIE
8 years ago
lilia 34eb2fef17 Add bithub badge to readme 8 years ago
Asa Ayers bda0430805 Add an option to play audio notifications 8 years ago
lilia b9c8b4afbb Bump version 8 years ago
lilia c1835f573f Update translations 8 years ago
Bernhard Steindl e2cb45c1da Push picture max edge to 2048 and max size to 4 MB
Closes #1032 and catches up with Android
8 years ago
Thomas Guillet 400313f749 Prevent expiration timer update on group update
It occurs when a message with a different expiration time is received.

The issue report highlights the scenario of a member leaving a group
(group update [quit] sent with expiration time = 0).

Fix https://github.com/WhisperSystems/Signal-Android/issues/5996
Fix https://github.com/WhisperSystems/Signal-iOS/issues/1566
8 years ago
lilia 9ef61d43f4 Update conversation lastMessage from database
Don't set lastMessage, let it update itself as needed, such as when
first rendering a conversation list item, and when its messages are
sent, received, or destroyed.
8 years ago
lilia 6253269d19 Tweak key change advisory insertion
Let received_at be the current time for keychanges. This avoids them
being inserted in the wrong place in the thread.

Use the newmessage event to trigger frontend listeners to add them to
the conversation view if it is open.
8 years ago
lilia a623f909f2 Move key change advisory content to the model
Return this content from a helper method so it can be used to populate
the last message on conversations.
8 years ago
lilia 260f50c104 Add id attr to key change advisory elements
The id attribute is needed to ensure that message elements are inserted
in the correct place in the DOM
8 years ago
lilia 5be5f985fc Lint 8 years ago
lilia 030c5a403f Fix key change advisory style in dark theme
Override the light font color which is the default in dark mode.
For regular android theme this should cause no change.
8 years ago
lilia 41216f1378 Add timestamps to attachment filenames 8 years ago
lilia d2c1e6df27 Fix wrong variable name
Fix potentially setting expiration timeouts more than once.
8 years ago
lilia d7f241ddee Use correct type on timer updates 8 years ago
lilia 05ed7c3822 Merge timer update functions 8 years ago
lilia f2bdafc7e9 Validate/reformat phone numbers in contact syncs
Turns out there's no garauntee that Android will send us contact info
with phone numbers in e164 format. When that happens, we fail to update
the correct contact. Fix by performing validation on the incoming number
before attempting to merge changes to the name, avatar, or color.

Fixes #903
8 years ago
Ikarulus 59c684db8a Removes orange borders glitch (visible in dark design)
FREEBIE
8 years ago
Ikarulus bb5ebf39bd Changed debug log color in dark theme
Fixes #990
8 years ago
lilia cf80557869 Bump version 9 years ago
RiseT 96252a7ee6 Use singular form for per-conversation safety numbers
// FREEBIE
9 years ago
WanderMore 6037d00da3 Add link to iOS build instructions
// FREEBIE
9 years ago
lilia f02491a15c Update translations 9 years ago
lilia 33dc9ca3a3 Make dark theme links lighter and less saturated
10% lighter and 10% lower saturation than traditional signal blue
9 years ago
lilia 46254e3c23 Use shades of gray for left pane focus effect
Also remove extraneous rule. It is repeated further down the stylesheet,
and overruled by !important.
9 years ago
lilia 09b582bb2b Darken material colors in dark theme
Dark theme uses material colors with value 700 from
https://material.google.com/style/color.html
9 years ago
lilia ee334d3fcb Dark theme tweaks
* Fixes hourglasses
* Fix delivered status icon
* Other changes aiming for more consistency of visual structure
  between light and dark themes.
* Restores left pane header focus/transition effect.
9 years ago
Ikarulus 53cd3af78b Added a dark theme
I added a dark theme in order to solve #328.
This may fix #328 at least partially.
9 years ago
lilia 030096bf91 Bump version 9 years ago
lilia ff2c23b26a Update translations 9 years ago
lilia a8468dae28 Reduce load from delivery receipt processing
Add a special type of collection just for retrieving group ids, which
doesn't incur the overhead of initializing a conversation model along
with all its group members.
9 years ago
lilia 0854b19371 Revert "Don't load group contacts unnecessarily"
This reverts commit 6699571910.

Not quite ready for primetime.
9 years ago
lilia 6699571910 Don't load group contacts unnecessarily
There are some cases when we want to initialize a group object without
loading its contacts, such as while processing delivery receipts. We
really only need to load the contacts for a group/convo when we are
rendering it, so let the front end handle those cases (which most of
them do already).
9 years ago
lilia ae6174c511 Update translations / Fixes #963 9 years ago
lilia 791f59f41b Bump version 9 years ago
lilia 65072d8e03 Update libphonenumber 9 years ago