Commit graph

2112 commits

Author SHA1 Message Date
lilia
6f3f33657a Don't mark read on sync messages
There's no longer a need for this since we have read-state syncing.

// FREEBIE
2016-03-18 11:20:52 -07:00
lilia
d84400777f Tweak storage logging statement
// FREEBIE
2016-03-17 21:04:12 -07:00
lilia
7fb4d3d8aa Load all inbox convos before rendering
This is a better alternative to the fix in 0434c4b, which causes
problems when creating a new conversation from entering a phone number.

// FREEBIE
2016-03-17 20:58:56 -07:00
lilia
57ac7c4fd7 Bump version
// FREEBIE
2016-03-17 17:27:52 -07:00
lilia
62368634ce Update translations
// FREEBIE
2016-03-17 17:27:52 -07:00
lilia
762cb68721 Serialize sending and adding messages to a convo
Previously, if a message was sent in between the receive time of an
incoming message and the time it is actually added to the conversation's
message collection (which only occurs later after several async
callbacks), the incoming message would be inserted not-at-the-end of the
collection since it is ordered by receive time. This tricked the front
end into assuming the message was an older message instead of a new one.

Fixes #490

// FREEBIE
2016-03-17 15:41:01 -07:00
lilia
f9a3c7817e DRY up early receipt processing
// FREEBIE
2016-03-17 15:39:28 -07:00
lilia
67900753d1 Log sending read receipts
// FREEBIE
2016-03-14 16:26:22 -07:00
lilia
50731439a9 Turn off session logging
// FREEBIE
2016-03-14 11:33:20 -07:00
lilia
2128ee63aa Update libaxolotl
// FREEBIE
2016-03-14 11:28:53 -07:00
lilia
84235ef58e Use forEach instead of loop
// FREEBIE
2016-03-13 14:15:16 -07:00
lilia
c02054d5da Pass ciphertext as ArrayBuffer instead of string
// FREEBIE
2016-03-13 04:56:30 -07:00
lilia
6053fe67ba Use built-in string conversion on protobuf
In lieu of a global helper.

// FREEBIE
2016-03-13 04:56:29 -07:00
lilia
3e0bce2b21 Move, rename, and simplify toArrayBuffer helper
This function is only ever used to convert groupIds from strings to
array buffers in sendmessage.

// FREEBIE
2016-03-13 04:56:28 -07:00
lilia
c22a205d2e Remove unnecessary conversion from test
// FREEBIE
2016-03-13 04:56:28 -07:00
lilia
7dff9ac51b Update libaxolotl
// FREEBIE
2016-03-13 04:56:27 -07:00
lilia
151b9797f6 Perform components concatenation missed in ec6948
// FREEBIE
2016-03-12 16:28:14 -08:00
lilia
0434c4bc53 Fixes #663 Conversation list loads in reverse order
The onChangeActiveAt listener promotes newly activated conversations to
the top of the inbox. By firing on an 'add' event, if the conversation
list happened to load after the inbox frontend was initialized, each new
entry would be incorrectly moved to the top, effectively reversing the
list.

// FREEBIE
2016-03-12 15:34:33 -08:00
lilia
0247a885ef Fix up locale-patch
// FREEBIE
2016-03-11 12:00:55 -08:00
lilia
e2f4bcbe51 Update translations
// FREEBIE
2016-03-11 11:59:10 -08:00
lilia
1b72ef6170 Restore notifications heading
// FREEBIE
2016-03-11 11:49:21 -08:00
Blake Griffith
8e1e0afd19 Improve notification's settings messages.
FREEBIE
2016-03-11 11:46:10 -08:00
Blake Griffith
0ceb8e7038 i18n notification's settings dialog
FREEBIE
2016-03-11 11:46:10 -08:00
Blake Griffith
24e4d9c615 'off' -> 'disable notifications' in settings
FREEBIE
2016-03-11 11:46:10 -08:00
lilia
7578991f4e Remove emoji logging
// FREEBIE
2016-03-11 11:01:13 -08:00
lilia
57d64fe669 Fix session corruption due to database races
Prevent races between encrypt and decrypt calls, and other read/write
operations on the session store by serializing session io ops per
device.

Possible fix for #535

// FREEBIE
2016-03-10 18:37:18 -08:00
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
lilia
f05b40e89a Update CONTRIBUTING.md
// FREEBIE
2016-03-10 17:44:29 -08:00
lilia
37fb2580bc Fix tests
// FREEBIE
2016-03-09 16:17:17 -08:00
lilia
ec6948bc32 Update twemoji to v2.0.5
// FREEBIE
2016-03-09 13:15:53 -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
9fd4760438 Bump version to 0.3.2
// FREEBIE
2016-03-03 07:35:18 -08:00
lilia
cc11e9aaad Update translations
// FREEBIE
2016-03-03 07:35:18 -08:00
lilia
1eca153ced Disable unsafe character check in jshint
This check is causing warnings on the Kannada translation.

// FREEBIE
2016-03-03 07:11:50 -08:00
lilia
c327b1d955 Move pt locale to pt_PT
The pt locale is not supported by chrome, only pt_BR and pt_PT. The
current pt translation is in fact pt_PT.

// FREEBIE
2016-03-03 06:52:58 -08:00
lilia
7fceb92083 Update translations
// FREEBIE
2016-03-03 06:48:05 -08:00
lilia
3f033789ae Another translation note
// FREEBIE
2016-03-03 04:08:01 -08:00
lilia
c1cceca83e Add more notes on translatable strings
// FREEBIE
2016-03-03 04:01:04 -08:00
lilia
0e64395701 Add explanation for i18n placeholder
// FREEBIE
2016-03-03 03:22:08 -08:00
lilia
863289b965 Update translations
// FREEBIE
2016-03-03 03:09:55 -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
a70ce7ae0e Bump version to 0.3.1
// FREEBIE
2016-02-26 12:41:29 -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