Scott Nonnenberg
ad8cb870d9
libtextsecure.js catch-up
...
FREEBIE
8 years ago
Scott Nonnenberg
ec70170829
ConversationView.unload: Add ability to provide reason for logging
...
FREEBIE
8 years ago
Scott Nonnenberg
c0f8812f9b
ConversationView: when windows are closed, call unload()
...
Anyway, unload() is a more comprehensive method for doing what the close
handler was trying to do before.
FREEBIE
8 years ago
Scott Nonnenberg
6f1a2a9b3e
Conversation.markRead() - wait for all database saves are complete
...
FREEBIE
8 years ago
Scott Nonnenberg
b4f6721846
Fix manfest.css, libtextsecure.js catch-up
...
FREEBIE
8 years ago
Scott Nonnenberg
65283d2794
Unload conversations and old messages every half-hour
...
FREEBIE
8 years ago
Scott Nonnenberg
4ea457a01c
Fix second fetchConversation call if unread > 0
...
FREEBIE
8 years ago
Scott Nonnenberg
8c231d9830
MessageReceiver: Flow promises back properly in decrypt error case
...
FREEBIE
8 years ago
Scott Nonnenberg
31d7e652fe
Dismiss the app loading screen if we failed to connect to socket
...
FREEBIE
8 years ago
Scott Nonnenberg
af2ce56c8d
Reset MessageReciever queue whenever possible
...
(like we do with the conversation queue already)
FREEBIE
8 years ago
Scott Nonnenberg
305bd6b3b8
App loading screen: show messages processed so far
...
Also, show the same loading screen on index.js before we've bootstrapped
the app.
FREEBIE
8 years ago
Scott Nonnenberg
e36aa524c9
background.js: Flow promises properly in error case
...
FREEBIE
8 years ago
Scott Nonnenberg
39795170c1
Handle the 'extension loaded, reopen window' scenario
...
Not sure exactly how to think about Chrome app lifetimes, so we're
being conservative. We only show the full-application loading screen
once, on first display of the inbox.
FREEBIE
8 years ago
Scott Nonnenberg
53f2bfbb57
Animated loading screens on startup and first conversation load
...
FREEBIE
8 years ago
Scott Nonnenberg
3e8b34f3d0
findOrCreateById instead of private-specific method
...
Anyway, findOrCreateById with no type didn't succeed, because the
conversation didn't validate.
FREEBIE
8 years ago
Scott Nonnenberg
ef3431af1b
isUntrusted: Return false if firstUse is true
...
Because users will see this upon first trying to communicate with a new
contact if they're quick about it.
FREEBIE
8 years ago
Scott Nonnenberg
f38d715250
Read receipts: Log sender and timestamp when related msg not found
...
FREEBIE
8 years ago
Scott Nonnenberg
c6bc167975
Increase log length to 5000, since we're logging so much now
...
FREEBIE
8 years ago
Scott Nonnenberg
82c0b4aaa6
Add return to onContractReceived for consistency
...
FREEBIE
8 years ago
Scott Nonnenberg
9dc406dc8d
Apply reliable trigger to Backbone.Collection as well
...
FREEBIE
8 years ago
Scott Nonnenberg
3e0fa995dd
When finding all groups involving a number, load from DB not memory
...
FREEBIE
8 years ago
Scott Nonnenberg
0adc398a6f
Fetch conversation before saving in all sync handlers
...
FREEBIE
8 years ago
Scott Nonnenberg
9db0a58260
Whenever adding something to a queue, include a timeout
...
No more wedged queues!
FREEBIE
8 years ago
Scott Nonnenberg
cc2c3edaa6
Override Backbone's trigger with one that catches exceptions
...
Model operations are vulnerable to exceptions thrown by event handlers.
Because this can interrupt really important data operations, it's better
to let the operation continue and log the error. In all likelihood it's
a view-related problem, and that shouldn't cause any data operation to
fail.
FREEBIE
8 years ago
Scott Nonnenberg
700272cf85
Add a pure copy from backbone into reliable_trigger.js for diff
...
FREEBIE
8 years ago
Scott Nonnenberg
b985228160
Last seen indicator/scroll down button - defensive removal
...
FREEBIE
8 years ago
Scott Nonnenberg
4f90cefd4f
More bullet-proofing - reject surrounding promise if save() fails
...
FREEBIE
8 years ago
Scott Nonnenberg
1eb450ca35
Conversation: Start w/DEFAULT verified state, avoid null timestamp
...
Fix too-aggressive verification notifications on startup by starting a
conversation with the right initial verified state, and then making sure
to fetch() before setting a new verified state.
FREEBIE
8 years ago
Scott Nonnenberg
bd0050b6c6
Cache messages on receipt, remove from cache when processed
...
FREEBIE
8 years ago
Scott Nonnenberg
e6859a3684
Ensure that promises always resolve, or that rejections are okay
8 years ago
Scott Nonnenberg
4da1722ee8
Bullet-proof _setVerified and handleDataMessage against rejections
...
And the weird behavior we get from $.Deferred.
FREEBIE
8 years ago
Scott Nonnenberg
5da324103a
Throttle calls to getProfile when opening conversation
...
We don't want to throttle other calls to getProfile, so we localize this
to the fetch we do when we first open a conversation.
FREEBIE
8 years ago
Scott Nonnenberg
aa80cdd74d
ConfirmationDialogView: Make showCancel an explicit option
...
Also, don't call resolve/reject callbacks if they weren't provided.
FREEBIE
8 years ago
Scott Nonnenberg
14765599f3
Delete individual message
...
FREEBIE
8 years ago
Scott Nonnenberg
80a2a01e37
Remove jitter on verifying/unverifying safety number
...
On every click, even when sub-panes were open, we were calling
markRead(), which would save the conversation model with the new
unreadCount. The KeyVerificationPanelView was wired up to the change
event on conversation, so it would render with the results of that
update, then finally the user's intended update.
FREEBIE
8 years ago
Scott Nonnenberg
12b2674bde
Show size of files even if size not precomputed for attachment
...
FREEBIE
8 years ago
Scott Nonnenberg
9ba5aaa54d
Verification sync logging: include whether it was from contact sync
...
FREEBIE
8 years ago
Scott Nonnenberg
4124d5cb9b
Show 'Message not sent' only if 'Some recipients failed' not showing
...
Also switch up the visual style for 'Some recipients failed' text to
match the more-visible 'Message not sent' text and the 'Resend' link.
FREEBIE
8 years ago
Scott Nonnenberg
25243ad9de
Send warning: Show single problematic group member, not group name
...
FREEBIE
8 years ago
Scott Nonnenberg
697079cf9b
Add else handlers with logging in toggleVerified catch handler
...
FREEBIE
8 years ago
Scott Nonnenberg
8112cd220a
Show warning when we discover key change on verify
...
FREEBIE
8 years ago
Scott Nonnenberg
91f50c028f
Unify processVerifiedMessage with Java implementation
...
This removes our support for the New Key/DEFAULT case, which iOS will
sync to us. Why? Because it ensures that in out of date scenarios, we
don't lose the higher-security state we were in previously.
FREEBIE
8 years ago
Scott Nonnenberg
5bba6d3f17
setTrusted() -> setApproved() to dismiss the five-second warning
...
This change makes sense, since there was already a reference in the code
to the then-nonexistent setApproved()!
FREEBIE
8 years ago
Scott Nonnenberg
23a806a6b1
removeAllSessions: properly reject in failure cases
...
FREEBIE
8 years ago
Scott Nonnenberg
7ab20f09cc
Fix focus issues with identity key send view
...
Tabbing right after entering the view would cause everythign to go crazy
as focus went back to the pane you were just on. This change both sets
the proper focus on load of that view (on the cancel button) and hides
other panes when they aren't active, only making them visible again when
they are once again the 'top' pane.
FREEBIE
8 years ago
Scott Nonnenberg
ff4fde651c
Make it clear in conversation just some recipients failed
...
FREEBIE
8 years ago
Scott Nonnenberg
12914307f1
Improve experience when discovering identity key error on send
...
New experience in the Message Detail view when outgoing identity key
errors happen, matching the Android View.
'View' button is only shown on outgoing key errors right now.
When a contact with an outgoing identity key error is clicked, they are
taken to a view like the popup that comes up on Android: an explanation
of what happened and three options: 'Show Safety Number', 'Send Anyway',
and 'Cancel'
Contacts are now sorted alphabetically, with the set of contacts with
errors coming before the rest.
FREEBIE
8 years ago
Scott Nonnenberg
b6cca41a0c
Update verification-related strings to better match mobile app
...
FREEBIE
8 years ago
Scott Nonnenberg
f654532fa8
Handle UNVERIFIED sync verification messages (via contact sync)
...
FREEBIE
8 years ago
Scott Nonnenberg
20451cc827
Show verified/keychange notifications when actually relevant
...
FREEBIE
8 years ago