Commit Graph

1654 Commits (cd7bc78b1d38089c59a505e4e74b5da9ea165cbd)
 

Author SHA1 Message Date
lilia cd7bc78b1d Refactor delivery receipt processing
Replace the where, forEach, and found pattern with a find.

// FREEBIE
10 years ago
lilia b602533084 Serialize calls to sendSyncMessage
Fixes #679

// FREEBIE
10 years ago
lilia 6154dbb8db Fix debug log growing uncontrollably
Races between adding new log entries and fetching old ones can cause an
overage of more than one entry.

// FREEBIE
10 years ago
lilia a1743e3cc1 Bump to 0.1.12
// FREEBIE
10 years ago
lilia 5100cd392d Remove empty css rule
// FREEBIE
10 years ago
lilia b8602a3b42 Make migrations more robust
Occasionally these will fail if they happen to be executed before the
necessary dependencies (storage, ConversationCollection) are declared.

// FREEBIE
10 years ago
lilia 48626ceafb Remove spurious storage.fetch from migration
This should really only be called once, from background.js.

Calling it twice can cause doubled listeners for the registration_done
event, which in turn leads to duplicate post-registration callbacks,
dual sync requests, and an eventual datastore inconsistency.

Fixes #670

// FREEBIE
10 years ago
lilia df079a7027 Bump to 0.1.11
// FREEBIE
10 years ago
lilia 3ab0097cff Update translations
// FREEBIE
10 years ago
lilia 1f2dfc5ea9 Only update notification on add
Previously, notifications were persistent until explicitly dismissed
from the notification center (a bell icon in the system tray), but that
ui has been removed from chrome*, so now updating on remove is
unexpectedly creating a new notification pop up.

*http://blog.chromium.org/2015/10/streamlining-notifications-on-desktop.html

Fixes #667

// FREEBIE
10 years ago
lilia 4198987723 Display a message when provisioning socket fails
Fixes #464

// FREEBIE
10 years ago
lilia 7e82d1295c Handle attachment upload errors
Adds a new kind of replayable error that handles retry of pre-encryption
failures, e.g., attachment upload.

Fixes #485

// FREEBIE
10 years ago
lilia 910e37649a Let group messages use new Message class
// FREEBIE
10 years ago
lilia 3bffdd96f5 Add sendMessage to handle sending from Message class
// FREEBIE
10 years ago
lilia ecdfa09e97 Create a helper class for constructing messages
// FREEBIE
10 years ago
lilia b73a3aea80 Fix syntax error
// FREEBIE
10 years ago
lilia cee2b3163a Add missing bind in messageReceiver
// FREEBIE
10 years ago
lilia 7dcad67410 Fix handleSentMessage
Missing a bind in 27fe7e3.

// FREEBIE
10 years ago
lilia 6e81a780af Update translations
// FREEBIE
10 years ago
lilia d4760452d1 Add signal agent to server requests
// FREEBIE
10 years ago
lilia 59ac5cb9b1 Remove unused view
// FREEBIE
10 years ago
lilia 7bab669ef0 Rebuild components
// FREEBIE
10 years ago
lilia 27fe7e355e Process end session flags in sync messages
Because remote clients will delete all sessions in response to an end
session message, regardless of which device it came from, when our
linked device sends an end session message, we must also end all
sessions with the destination.

This change moves the end session flag processing to processDecrypted,
which is shared between handlers of sent messages, data messages, and
messages which are re-tried after resolving identity conflicts.

// FREEBIE
10 years ago
lilia fe82e469f2 Make end session consistent with android
Close all the sessions for a number when receiving an end session
message.

// FREEBIE
10 years ago
lilia bf632bfa54 Fix migrations
Migrations should always call next() exactly once.

// FREEBIE
10 years ago
lilia 87ddcef333 Make debug log persistent
Save log entries in indexedDB rather than just in memory. Reload them
whenever the background page is refreshed.

// FREEBIE
10 years ago
lilia 86132a38a8 Log envelopes and session end events
Help debug bad session errors by logging some envelope info about the
message we are about to decrypt. With this, if there is a decryption
error (e.g., bad mac or no session) it is clear from the logs what
number and device message sent the bad message.

Also log when we send and receive end session messages and when we close
sessions for certain devices.

// FREEBIE
10 years ago
lilia d686eb4f68 Update momentjs
// FREEBIE
10 years ago
lilia 682a160b2c Remove unused component
// FREEBIE
10 years ago
lilia 56ee950f1d Update emojijs
// FREEBIE
10 years ago
lilia 3624887d73 Remove unused requires in Gruntfile
Artifacts from the libaxolotl curve25519 compilation task.

// FREEBIE
10 years ago
lilia 4cc8e6d2ff Remove bootstrap
Once upon a time, bootstrap was used to quickly style the registration
page, and then it wasn't. The end.

// FREEBIE
10 years ago
lilia 7c17c5fa54 Update chai
// FREEBIE
10 years ago
Sam Lanning 85d6bc7533 Fix avatar floating over debug log
bug introduced in: 0569d4c

This z-index property was previously to ensure the avatar floated above message
bubbles, but the message bubbles always have enough left margin so this
property is not needed.

fixes #650

// FREEBIE
10 years ago
lilia a33e379c22 Bump to 0.1.10
// FREEBIE
10 years ago
lilia 1ee6a2e43f Rebuild libtextsecure test components w/ new chai
// FREEBIE
10 years ago
lilia 137b992f87 Fix "Delete Messages" not deleting all messages
Since the introduction of infinite scroll, the delete messages function
has only deleted the currently loaded set of messages in a conversation.
To fix this, we should fetch all the messages and then delete them.

Fixes #645

// FREEBIE
10 years ago
lilia 26df196aba Update chai
Level up Chai! New ability unlocked: assert.isBelow(val, limit)

// FREEBIE
10 years ago
lilia 080c233a93 Add timestamp update interval test
Break out delay computation into its own function and add tests,
including a regression test for #646.

// FREEBIE
10 years ago
codedust 9b390baea0 Fix a bug that causes 100% CPU load in timestamp_view.js
When `millis_since` becomes larger than one week, `delay` becomes
negative and is set to Zero. This causes an infinite loop and therefore
100% CPU usage (single thread).

// FREEBIE
10 years ago
lilia f1335d65f5 Fix confirmation dialog z-index
The large avatar icon on conversations was being rendered on top of the
confirmation dialog.

// FREEBIE
10 years ago
lilia b0def76801 Remove unused code
Well that never worked.

Closes #458

// FREEBIE
10 years ago
lilia b59539f23e Remove unused template
// FREEBIE
10 years ago
lilia 5e0709f044 Add tooltip to reload button
Closes #462

// FREEBIE
10 years ago
Lorenz Hübschle-Schneider e876d8f6ed Display relative timestamps in conversation list
This mimicks Signal-Android's relative timestamps.
Previously, only the date was displayed.

Fixes #284
10 years ago
lilia 05f4b559fd Update translations harder
// FREEBIE
10 years ago
lilia 2f03768abb Reduce conversation bottom padding
Revert inadvertent visual change introduced with vertical flex styling
in 0569d4c.

// FREEBIE
10 years ago
Sam Lanning 1360349156 Consolidate .message-list styling
There was some lone .message-list styling that i've brought up to the logical
place in the stylesheet.

// FREEBIE
10 years ago
Sam Lanning 0569d4c889 Replace conversation panel js resizing with flex styling.
// FREEBIE
10 years ago
Sam Lanning 496604a448 Tidied up_conversation.scss a little for the conversation view.
// FREEBIE
10 years ago