lilia
f0539fda52
Fix exception when drawAttention is called too early
...
// FREEBIE
2016-03-10 17:44:30 -08:00
lilia
28c82531d3
Allow promises to handle identity removal failure
...
Previously this exception was thrown in a callback which did not
propogate it up to the enclosing promise.
// FREEBIE
2016-03-10 17:44:30 -08:00
lilia
a98de39173
Warn if writing to storage too early
...
// FREEBIE
2016-03-10 17:44:29 -08:00
Sam Lanning
662020ce68
Add title text for emoji in messages.
...
Fixes #250
// FREEBIE
2016-03-09 12:46:33 -08:00
Sam Lanning
7b1c06538d
Updated twemoji to v1.4.2
...
This allows us to define the "attributes" option, allowing for emoji titles.
// FREEBIE
2016-03-09 12:43:29 -08:00
lilia
0763cf14a3
Remove messages from notifications when read
...
Remove individual messages from Notifications when marked read.
Previously this was only done from the conversation model when marking
the entire conversation as read.
Fixes #717
// FREEBIE
2016-03-08 12:03:16 -08:00
lilia
fd8bac2003
Fix conversation list ordering
...
Order conversation list by timestamp instead of active_at. The former is
the send time of the most recent message. The latter is typically the
receive time of that message. This can cause mis-ordering if you send a
message while processing a backlog of incoming messages.
Fixes #617
// FREEBIE
2016-03-04 06:34:31 -08:00
lilia
5f07c74f1a
Add log statement when opening provisioning socket
...
Make it more obvious via logs which server someone is attempting to
register with (i.e., to disambiguate staging from prod).
// FREEBIE
2016-02-29 05:08:07 -08:00
lilia
9ea9a8160b
Add logging when opening inbox
...
// FREEBIE
2016-02-27 15:30:02 -08:00
lilia
2b7cbef8b1
Rename a function
...
Avoid confusing this operation with actual receipts, which are something
else.
// FREEBIE
2016-02-26 12:41:29 -08:00
lilia
b77d5df4f2
Fix markRead when messages have not been loaded yet
...
Query the database and not just the in-memory messages.
// FREEBIE
2016-02-26 12:36:14 -08:00
lilia
01053335ac
Don't send empty read status reports
...
// FREEBIE
2016-02-26 12:28:14 -08:00
lilia
f88b33a135
Fix unread message lookup in markRead
...
// FREEBIE
2016-02-26 12:27:44 -08:00
lilia
c4a88dd651
Fix getUnread query
...
Booleans are not valid keys in indexeddb.
https://www.w3.org/TR/IndexedDB/#dfn-valid-key
// FREEBIE
2016-02-26 12:25:56 -08:00
lilia
8fdf58971c
Add missing semicolons
...
// FREEBIE
2016-02-24 23:10:17 -08:00
lilia
c3bbdb393f
Refactor media uploading step
...
Move this to its own function which encapsulates the error handling for
it.
// FREEBIE
2016-02-24 23:10:17 -08:00
lilia
44b1a6451d
Add validation to Message class
...
// FREEBIE
2016-02-24 23:10:16 -08:00
lilia
2e30c4388f
Set destination on end session messages for syncing
...
// FREEBIE
2016-02-24 23:10:16 -08:00
lilia
e91f646920
Fix initial post-sync timestamps
...
Fixes #669
// FREEBIE
2016-02-24 17:11:59 -08:00
lilia
d121effe3b
Add logging for clearing taskbar attention
...
// FREEBIE
2016-02-24 14:36:49 -08:00
lilia
71467822f6
Clear key conflict before replaying it
...
Don't save the change until we successfully process the message, but
make it first so that the user sees the error disappear when the new key
is accepted.
// FREEBIE
2016-02-22 17:11:17 -08:00
lilia
f7191ad9de
Clear notification when the last one is removed
...
Previously, we switched to not updating the notification popup on a
removal, since this usually respawns a new notification popup
unexpectedly. However, when the last relevant notification is cleared
(ie, by opening/reading the thread before the notification times out and
disappears on its own) we should clear the existing popup if there is
one.
// FREEBIE
2016-02-22 17:11:17 -08:00
lilia
1f897f32b7
Track and sync unread messages
...
// FREEBIE
2016-02-22 17:11:17 -08:00
lilia
1be45f3775
Derive global unread count from individual counts
...
// FREEBIE
2016-02-22 17:11:17 -08:00
lilia
781ada64ca
Add libtextsecure support for syncing read messages
...
Plumbing for sending and receiving a new sync protobuf for marking
messages read on/from my other devices.
// FREEBIE
2016-02-22 17:11:17 -08:00
lilia
ecf2885a6c
Do post-send tasks when resolving conflicts
...
Fixes #684
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
731052ad0a
Clear old key conflict errors after failed replay
...
If the replay failed due to a bad mac or other decryption error for some
other reason we still want to clear the conflict. If it failed because
it's still in conflict then the newly returned error will reflect that
and be saved.
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
cc0b8e835a
Don't show left groups in list of all contacts
...
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
ef9559d844
Add tests for filtering left groups from search
...
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
7e8ce5eb54
Omit left groups from search
...
Unless they contain messages.
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
010297f4c5
Track groups I've left
...
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
f940676357
Ignore attempts to post empty debug logs
...
Fixes #697
// FREEBIE
2016-02-22 13:59:34 -08:00
lilia
a962d97bfb
Fix debug log submission loading UX
...
This flow broke a bit with transition to modal debug log.
Restructure such that the loading class can be applied to an appropriate
element inside the modal. Ensure that the input elements are hidden when
submit is clicked, the result elements are shown when the log upload is
completed.
// FREEBIE
2016-02-22 12:48:06 -08:00
lilia
7f8c76faca
Make debug log as big as possible
...
Tweak style to make the modal reasonably wide/tall, and use flexbox
to automatically expand the textarea.
// FREEBIE
2016-02-22 12:41:49 -08:00
lilia
636c0f2a60
Put debug log in a modal
...
Also dedupe close-button style
// FREEBIE
2016-02-19 17:34:59 -08:00
lilia
33fde3d4e7
Dedupe modal styles
...
// FREEBIE
2016-02-19 17:34:59 -08:00
lilia
74aeddcbda
Add missing view file
...
// FREEBIE
2016-02-18 16:13:53 -08:00
lilia
173e037fa6
Fix minor style errors
...
And keep it that way, by making jscs config more opinionated.
// FREEBIE
2016-02-18 13:45:22 -08:00
lilia
18e9ded296
Fix storage.put
...
Adding an existing id to a collection is a no-op. To update an existing
item, we must pass {merge: true} as an option.
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
a3c6061480
Add Notification Settings
...
Fixes #471
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
4ab2e25df6
Refactor Contact and Conflict views
...
Untangle these two views into their component parts, consolidating all
the key conflict logic in the key conflict view. Contact view now simply
renders basic contact info and miscellaneous errors but not conflicts or
message errors.
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
1e1b87bbbd
Add session store logging
...
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
1bd0855d93
Remove duplicate display of network errors
...
Network errors render as a resend dialogue at the top of the message
detail and need not be re-reported in the contact list or errors
section.
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
f221921127
Tweak conflict style
...
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
28c763992a
Move error indicators on message bubbles
...
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
5340791868
Display key conflict dialog inline
...
One less modal.
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
ad66da9fb5
Move identity conflicts to top of message detail
...
Also restyle them as with network errors
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
f5436a5123
Clicking on message status icon opens detail view
...
Additionally, hovering over it will apply cursor: pointer. Previously
only the timestamp exhibited this behavior.
// FREEBIE
2016-02-18 12:22:41 -08:00
lilia
496ac30d6f
Process delivery receipts from yourself
...
Fixes #668
// FREEBIE
2016-02-16 17:51:42 -08:00
lilia
cd7bc78b1d
Refactor delivery receipt processing
...
Replace the where, forEach, and found pattern with a find.
// FREEBIE
2016-02-16 17:51:42 -08:00