Commit Graph

166 Commits (b93042f12fc1a4eeac63b8ddca72a5cfd285761e)

Author SHA1 Message Date
lilia c6bfdec84d Remove blockingApproval
// FREEBIE
8 years ago
lilia 1eec94dbb7 Update tests for saveIdentity
// FREEBIE
8 years ago
lilia ba3a6efb12 Add tests for all the new isTrusted behaviors
// FREEBIE
8 years ago
lilia 2584f4fae4 Fix tests
// FREEBIE
8 years ago
lilia 82469713d2 Update saveIdentity
Add support new blockingApproval and nonblockingApproval arguments
Populate the firstUse property on identity key records
Return whether an existing record was overwritten.

References
https://github.com/WhisperSystems/Signal-Android/commit/39d4a7#diff-69ede72c549da6bcbcd959935995b7e9R45

// FREEBIE
8 years ago
Heather Booker 5a3610c8e0 Specify font-family for identicon in notification
Fixes #904, where letters in notification bubbles were being
displayed in serif font on Antergos (Arch) OS.

// FREEBIE
8 years ago
Scott Nonnenberg 1775e97bcd Add comment and fine-tune last-seen indicator when not focused
FREEBIE
8 years ago
Scott Nonnenberg 5194b8816e Update manual test script with updated scrolling/unread behavior
FREEBIE
8 years ago
Scott Nonnenberg 0d722a3186 Last seen indicator visual refresh
- Last seen indicator now spans the full conversation, with subtle
shadow highlights above and below
- Scrollbars now overlap the content of the conversation, allowing last
seen indicator to touch the right edge of the window.
- The iOS and Android conversation background is now #eee instead of
white, which meant that the outgoing messages (Android) and incoming
messages (iOS) had to be updated for contrast. They now have white
backgrounds.
- Similarly, the scroll down button needed more contrast, and its
background is now white in light themes.

FREEBIE
8 years ago
Scott Nonnenberg 10a6dc8b6f Update manual test script to reflect scroll/last-seen updates
FREEBIE
8 years ago
Scott Nonnenberg 01918049b4 Keep last seen indicator around for five seconds
Helps calm the user experience a little more, makes it easier to
understand what's happening when messages are coming in quickly.

FREEBIE
8 years ago
Scott Nonnenberg be981d6f48 Update manual test script after changes to last seen indicator
FREEBIE
8 years ago
lilia 16f3717824 Move refresh prekeys out of SignalProtocolStore
Use an event/listener instead

// FREEBIE
8 years ago
lilia 017bb56cca Fix some corner casese with last seen indicator
* Remove increment behavior
* Dismiss when new messages arrive but the window is focused
* Update the indicator when window becomes focused.

// FREEBIE
8 years ago
Scott Nonnenberg ae7044fd30 Add recursive fetch scenario to manual test script
FREEBIE
8 years ago
Scott Nonnenberg 533ec52d0c test/manual.txt: add scenarios for new scroll down button
FREEBIE
8 years ago
Scott Nonnenberg 4c7bfbe9ff Scroll down button: when scrolled up, or new non-visible message
FREEBIE
8 years ago
Scott Nonnenberg 13322c7071 test/fixtures.js: Cleanup - data at top, images/setup at bottom
FREEBIE
8 years ago
Scott Nonnenberg 86c866738f Introduce unread message to fixtures, further interactivity fixes
FREEBIE
8 years ago
Scott Nonnenberg 318162e74a LastSeenIndicatorView: programmatic tests, tweak to manual tests
FREEBIE
8 years ago
Scott Nonnenberg 1608acf449 Add new test/manual.txt with scenarios for last-seen, scrolling
FREEBIE
8 years ago
Scott Nonnenberg 33cdc6ae71 test/index.html: Comments to help in turning off code coverage
FREEBIE
8 years ago
Scott Nonnenberg 0a5960e091 Restore interactivity to InboxViews hosted on test page
FREEBIE
8 years ago
Scott Nonnenberg 3cfac58d78 Eliminate all console errors during test run
FREEBIE
8 years ago
lilia dc680126df Clean up key change listener tests
camelCase variables

// FREEBIE
8 years ago
lilia 534ba3a62f Remove unneeded promise wrapper
// FREEBIE
8 years ago
Scott Nonnenberg 0496518af4 Bulletproof getCountOfAllMatches against non-global regex input
FREEBIE
8 years ago
Scott Nonnenberg 423a0fef67 Jumbomoji support matching Android support
FREEBIE
8 years ago
lilia aed5735620 Improve keychange notice reliability/perf
Bind a single listener to keychange events from the storage interface,
which then looks up relevant conversations and adds notices to them,
with tests.

Previously we would need to instantiate a conversation model in order to
start listening to its key change events. In practice this usually
happens at startup but we shouldn't rely on it, and it incurs higher
overhead since it creates a different listener for each conversation.

// FREEBIE
8 years ago
Scott Nonnenberg 731fcb8ecb Add test verifying that AttachmentView shows file size
FREEBIE
8 years ago
lilia 40af226a4a Move Whisper.events out of views and tests 8 years ago
lilia 6c7e1aa283 Update tests 8 years ago
lilia d0448ec778 Fix tests
// FREEBIE
8 years ago
Sam Vevang ed4991974b set up a new view for displaying the network status
// FREEBIE
8 years ago
Blake Griffith 1e498294e0 Add attachment_views_test.js tests 8 years ago
Ikarulus 53cd3af78b Added a dark theme
I added a dark theme in order to solve #328.
This may fix #328 at least partially.
8 years ago
lilia 224afdd063 Fix tests 9 years ago
2-4601 669338c717 i18n 'Theme'
// FREEBIE
9 years ago
lilia 1fa722624e Fix tests 9 years ago
lilia b0c59233f3 Add test fixtures
Test page loads fixtures and renders the inbox view. This may be useful
for smoke testing style changes or generating screenshots with
pseudo-realistic data.

Includes a couple small changes to get rendering working outside the
app.
9 years ago
lilia 7e0df07e88 Fix tests
// FREEBIE
9 years ago
lilia 67c7a06c28 Use momentjs for timestamp localization
Let momentjs handle proper pluralization of relative times. This comes
at the sacrifice of displaying 'minutes' in the conversation list
timestamp rather than 'min'. Note that we don't use moment's fromNow
instance method so as to preserve the rounding logic that matches the
Android client.

// FREEBIE
9 years ago
lilia f8e176fd40 Dedupe methods
Define textsecure.crypto in terms of libsignal.crypto.

// FREEBIE
9 years ago
lilia 148bd32671 Update libsignal-protocol v0.10.0
* Changes policy for old session deletion
* Renames putIdentityKey to saveIdentity
* Remove device messages

// FREEBIE
9 years ago
2-4601 60fe1e2cea i18n 'Received message with unknown identity key'
// FREEBIE
9 years ago
2-4601 52992a8f12 i18n 'Secure session ended'
// FREEBIE
9 years ago
lilia 6589ec544a Unnest before statements
// FREEBIE
9 years ago
lilia 348ee0b3e7 More descriptive tests
// FREEBIE
9 years ago
lilia f173104c82 Tests for isTrustedIdentity
// FREEBIE
9 years ago
lilia 1d60dc38fb Rename axolotl storage
// FREEBIE
9 years ago