Commit Graph

1733 Commits (f05b40e89afc69e683e33cf2f32f9beeac44d8b3)
 

Author SHA1 Message Date
lilia 7bab669ef0 Rebuild components
// FREEBIE
9 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
9 years ago
lilia fe82e469f2 Make end session consistent with android
Close all the sessions for a number when receiving an end session
message.

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

// FREEBIE
9 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
9 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
9 years ago
lilia d686eb4f68 Update momentjs
// FREEBIE
9 years ago
lilia 682a160b2c Remove unused component
// FREEBIE
9 years ago
lilia 56ee950f1d Update emojijs
// FREEBIE
9 years ago
lilia 3624887d73 Remove unused requires in Gruntfile
Artifacts from the libaxolotl curve25519 compilation task.

// FREEBIE
9 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
9 years ago
lilia 7c17c5fa54 Update chai
// FREEBIE
9 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
9 years ago
lilia a33e379c22 Bump to 0.1.10
// FREEBIE
9 years ago
lilia 1ee6a2e43f Rebuild libtextsecure test components w/ new chai
// FREEBIE
9 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
9 years ago
lilia 26df196aba Update chai
Level up Chai! New ability unlocked: assert.isBelow(val, limit)

// FREEBIE
9 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
9 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
9 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
9 years ago
lilia b0def76801 Remove unused code
Well that never worked.

Closes #458

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

// FREEBIE
9 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
9 years ago
lilia 05f4b559fd Update translations harder
// FREEBIE
9 years ago
lilia 2f03768abb Reduce conversation bottom padding
Revert inadvertent visual change introduced with vertical flex styling
in 0569d4c.

// FREEBIE
9 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
9 years ago
Sam Lanning 0569d4c889 Replace conversation panel js resizing with flex styling.
// FREEBIE
9 years ago
Sam Lanning 496604a448 Tidied up_conversation.scss a little for the conversation view.
// FREEBIE
9 years ago
Sam Lanning d091c6ddda Added more gray color variables (to compensate for inconsistent compiling)
// FREEBIE
9 years ago
Sam Lanning c4a9ac94b4 Improve Confirmation Dialog
Some basic modifications to the Confirmation Dialog:
* Always attached to <body> regardless of view that called it.
* Always centered horizontally on screen.
* A black semi-transparent overlay is now displayed over everything, and under
  the dialog.
* Various other style changes.

fixes #389

// FREEBIE
9 years ago
lilia 6fb190e4b5 Update translations
Also incidentally corrects indentation on a_params placeholder

// FREEBIE
9 years ago
lilia 3383505377 Fix jshint errors
jshint complains:
  ^ ['placeholders'] is better written in dot notation.
  ^ Missing semicolon.

// FREEBIE
9 years ago
lilia 693dd2bb46 Remove locale-patch from default grunt task
// FREEBIE
9 years ago
Sam Lanning b7fd862aa6 Create tx task which performs 'tx pull' followed by 'locale-patch'
// FREEBIE
9 years ago
Sam Lanning c5a9714a0a Automatically patch translations with placeholders
fixes #630

// FREEBIE
9 years ago
lilia df03f839b1 Fix typo
Can't spell my own name, apparently.

// FREEBIE
9 years ago
lilia 9d644d4037 Update libphonenumber
Fixes #531

// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
lilia 9a2d1b702c Change copy when resetting a session
For consistency with Android.

// FREEBIE
9 years ago
lilia 43071d94d6 Log invalid number inputs
// FREEBIE
9 years ago
lilia 40402b8e88 tx pull
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
jakob 6c7f2cf0fc Show help text for unknown contact identity
Adds a new message string "theirIdentityUnknown".

Fixes #576

// FREEBIE
9 years ago
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.
9 years ago
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
9 years ago
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
9 years ago