Commit graph

1799 commits

Author SHA1 Message Date
Sam Lanning
b7fd862aa6 Create tx task which performs 'tx pull' followed by 'locale-patch'
// FREEBIE
2016-01-25 14:21:46 -08:00
Sam Lanning
c5a9714a0a Automatically patch translations with placeholders
fixes #630

// FREEBIE
2016-01-25 14:21:46 -08:00
lilia
df03f839b1 Fix typo
Can't spell my own name, apparently.

// FREEBIE
2016-01-22 17:56:32 -08:00
lilia
9d644d4037 Update libphonenumber
Fixes #531

// FREEBIE
2016-01-22 15:38:31 -08:00
lilia
a9cba1471a Update our own key on re-install
Previously we would delete our own key from the trust store when
re-linking, in case it changed. We can also immediately take one step
further and store the new key. Typically this happens in the course of
requesting sync info from the master device, except in the case of
standalone clients.

Closes #596

// FREEBIE
2016-01-21 19:25:55 -08:00
lilia
ac43d40135 Populate placeholders across locale files
Apparently transifex isn't quite clever enough to preserve these lines,
so we will need to manually add placeholders to all locale files any
time we add new placeholders or new locales. Luckily, running tx pull
will only update the translated strings and not overwrite the
placeholder attributes unless it is run with --force/-f.

This commit adds all the locales currently enabled in transifex, even
though many of them have yet to be translated.

// FREEBIE
2016-01-21 18:30:38 -08:00
lilia
9a2d1b702c Change copy when resetting a session
For consistency with Android.

// FREEBIE
2016-01-21 18:18:54 -08:00
lilia
43071d94d6 Log invalid number inputs
// FREEBIE
2016-01-21 13:59:04 -08:00
lilia
40402b8e88 tx pull
// FREEBIE
2016-01-20 12:23:12 -08:00
lilia
da8472b638 Use inherited font-family on the message input
Chrome's UA stylesheet defaults font-family to monospace on textareas.

The only other textarea at the moment is the debug log, where monospace
is actually nice to have since it's more scannable.

// FREEBIE
2016-01-19 20:17:27 -08:00
lilia
be9bf706b3 Tweak copy for key verification view
Slight changes to reflect the fact that key exchange occurs on the first
message exchanged, regardless of direction.

// FREEBIE
2016-01-19 19:51:21 -08:00
lilia
05681ce35b Don't render placeholder markup unless necessary
Rather than always rendering divs for the key and placeholder, render
the placeholder only if the key is missing.

// FREEBIE
2016-01-19 19:49:27 -08:00
jakob
6c7f2cf0fc Show help text for unknown contact identity
Adds a new message string "theirIdentityUnknown".

Fixes #576

// FREEBIE
2016-01-19 18:56:33 -08:00
José Pedro Arvela
b2948e541e Remove border around window
Remove the 1px gray border around the window. This allows to the window to integrate seamlessly with custom window managers which use the background color for the titlebar.
2016-01-20 00:06:35 +00:00
2-4601
d50145f0e8 Fix two strings that didn't use term 'linking'
The term 'linking' is the correct one in the context of
device provisioning.

// FREEBIE
2016-01-19 15:20:30 +02:00
2-4601
ea0e013e81 Add a trifle of i18n to KeyVerificationView
Two strings were left behind:
- "Their identity (they read)"
- "Your identity (you read)"

I saved them.

// FREEBIE
2016-01-17 15:36:58 -08:00
Sam Lanning
ac25b62fdc Improve implementation of i18n for Install Flow following comments on #611
* Move install flow i18n logic to install_view.js (from options.js)
* Switch to using placeholders (instead of jQuery) for i18n messages with html.
* Switch to using moustache template instead of jQuery for i18n substitution.

// FREEBIE
2016-01-17 15:10:15 -08:00
Sam Lanning
0825d3e22f Implement i18n for Install Flow
Fixes #600

// FREEBIE
2016-01-17 15:10:15 -08:00
lilia
3a494bf2a3 Log when we draw attention to the window
Hopefully help debug spurious cries for window attention.

// FREEBIE
2016-01-16 17:19:47 -08:00
lilia
54b4b03db7 Bump to 0.1.9
// FREEBIE
2016-01-16 09:04:30 -08:00
lilia
7301a4c0fb Quick fix for inbox not opening on launch
Fixes #610

// FREEBIE
2016-01-16 09:02:48 -08:00
lilia
cda1eb723b Bump to 0.1.8
// FREEBIE
2016-01-15 01:43:34 -08:00
lilia
30aa13079f Fix sync request argument check
Fixes #609

// FREEBIE
2016-01-15 01:40:40 -08:00
lilia
34ae81c30d Redo previous migration
This time, wait for storage to be ready.

Fixes #608

// FREEBIE
2016-01-15 01:40:26 -08:00
lilia
60c37ca3c6 Bump to 0.1.7
// FREEBIE
2016-01-14 17:48:44 -08:00
lilia
90038e6e41 tx pull
// FREEBIE
2016-01-14 17:46:07 -08:00
lilia
6f0b5ec8df Add Portuguese and Romanian
// FREEBIE
2016-01-14 17:46:07 -08:00
lilia
d6da77b6f4 Throw exception on bad args to SyncRequest
// FREEBIE
2016-01-14 15:57:38 -08:00
lilia
1b68e652cc Fire group sync completion event despite errors
Sometimes an error is thrown while processing groups from a group sync
message. We still want to fire the groupsync event when we're done
handling all the data, even if some of it was bad.
2016-01-14 15:44:44 -08:00
lilia
75b2c9c5de Fix crash when removing a listener
// FREEBIE
2016-01-14 15:44:43 -08:00
lilia
f7c4fd2fed DRY up event target implementations
Dedupe event target code and make it extensible.

// FREEBIE
2016-01-14 15:44:42 -08:00
lilia
925c1bdb33 Add SyncRequest class
Similar in function to an xhr request, a textsecure.SyncRequest object
is initialized from a message sender and receiver pair and initiates a
request for sync from the master device. It later fires a success event
when both contacts and groups are done syncing, or a timeout event after
one minute.

// FREEBIE
2016-01-14 15:44:42 -08:00
Karel Bilek
d8381cfc47 Dispatch an event after processing a group sync
Related #521
2016-01-14 11:18:21 -08:00
lilia
6a268f0325 Migrate registration state
Follow up to 5223e6e for existing installations that never set this flag.

// FREEBIE
2016-01-14 10:38:46 -08:00
lilia
cdd139b44c Refresh group contacts when rendering member list
Fix #581

// FREEBIE
2016-01-12 11:06:14 -08:00
lilia
b2bed9c51c Fix display of empty group updates
Group updates in which nothing change should still display 'Updated the
group'. Previously they would display as empty message bubbles. Fixed by
ensuring that the 'group_update' attribute is set on the model, even if
it is an empty object.

// FREEBIE
2016-01-12 10:44:52 -08:00
lilia
6e97f5ad00 Fix key conflict dialog i18n
Allow html in this i18n message. TODO: re-design this dialog.

Fixes #584

// FREEBIE
2016-01-12 10:10:57 -08:00
lilia
5223e6ed30 Stop ask to re-link forever
Clear the registration flag when we detect that our credentials have
been invalidated, but retain the knowledge that we've been registered
before, so as to preserve post-first-install behaviors like skipping the
introductory install screens, and accessing the main ui.

Fix #541

// FREEBIE
2016-01-11 16:40:57 -08:00
lilia
04a5aa71b6 Add Spanish, Russian, Swedish, and Turkish
// FREEBIE
2016-01-11 12:19:24 -08:00
lilia
96520e9fd4 Move envelope decode before ack
We should not ack envelope protobufs that fail to decode correctly. If
the server happens to send us such a thing it probably indicates a
protocol mismatch between it and the client, in which case the client
needs to update and re-receive the failed message.

// FREEBIE
2016-01-11 12:14:42 -08:00
lilia
44824df6cb Refactor for clarity
// FREEBIE
2016-01-11 11:00:44 -08:00
Matt Corallo
dac084b604 Send message ACKs immediately after recv, instead of after process 2016-01-11 10:55:53 -08:00
Felix Epp
a65166ae3b Fix #583 from/to label translatable
I just added i18n calls and the corresponding keys for en + de.
2016-01-11 10:46:33 -08:00
lilia
1565b1c0a6 Add new languages
// FREEBIE
2016-01-11 10:46:33 -08:00
lilia
ceaf94e05b Rename variable for consistency
// FREEBIE
2016-01-08 06:19:09 -08:00
lilia
592ddc673b tx pull
// FREEBIE
2016-01-03 05:04:23 -08:00
lilia
85817bb4a5 Ignore .tx/
// FREEBIE
2016-01-03 04:31:28 -08:00
lilia
49285ba280 Add transifex link to README
// FREEBIE
2016-01-03 04:20:05 -08:00
lilia
f127807d88 Bump to 0.1.6
// FREEBIE
2016-01-02 11:30:31 -08:00
lilia
609ad7063e Add German and Finnish
// FREEBIE
2016-01-02 11:27:09 -08:00