beejaygee
76c165a10a
Add copy and paste for images
...
Switch comparison operator to ===
Move to stricter parsing of clipboard items
9 years ago
Blake Griffith
1e498294e0
Add attachment_views_test.js tests
9 years ago
lilia
aa55b6a538
Confirm device name with enter key
...
Use form and submit elements for their built in mouse and keyboard event
handlers.
// FREEBIE
9 years ago
lilia
4230b11f82
Support future compatibility for new timer options
...
If some future client ever sends us an arbitrary timer value which we do
not currently support, present it as a duration in seconds in timer
update messages and ui, where we would otherwise have rendered nothing,
e.g., "You set the timer to ."
// FREEBIE
9 years ago
lilia
7e06e014c4
Add debug logging for #1030
...
// FREEBIE
9 years ago
karissa
eb5c95e287
Add a few missing translatable strings to conversation search view
9 years ago
Asa Ayers
bda0430805
Add an option to play audio notifications
9 years ago
Bernhard Steindl
e2cb45c1da
Push picture max edge to 2048 and max size to 4 MB
...
Closes #1032 and catches up with Android
9 years ago
Thomas Guillet
400313f749
Prevent expiration timer update on group update
...
It occurs when a message with a different expiration time is received.
The issue report highlights the scenario of a member leaving a group
(group update [quit] sent with expiration time = 0).
Fix https://github.com/WhisperSystems/Signal-Android/issues/5996
Fix https://github.com/WhisperSystems/Signal-iOS/issues/1566
9 years ago
lilia
9ef61d43f4
Update conversation lastMessage from database
...
Don't set lastMessage, let it update itself as needed, such as when
first rendering a conversation list item, and when its messages are
sent, received, or destroyed.
9 years ago
lilia
6253269d19
Tweak key change advisory insertion
...
Let received_at be the current time for keychanges. This avoids them
being inserted in the wrong place in the thread.
Use the newmessage event to trigger frontend listeners to add them to
the conversation view if it is open.
9 years ago
lilia
a623f909f2
Move key change advisory content to the model
...
Return this content from a helper method so it can be used to populate
the last message on conversations.
9 years ago
lilia
260f50c104
Add id attr to key change advisory elements
...
The id attribute is needed to ensure that message elements are inserted
in the correct place in the DOM
9 years ago
lilia
5be5f985fc
Lint
9 years ago
lilia
41216f1378
Add timestamps to attachment filenames
9 years ago
lilia
d2c1e6df27
Fix wrong variable name
...
Fix potentially setting expiration timeouts more than once.
9 years ago
lilia
d7f241ddee
Use correct type on timer updates
9 years ago
lilia
05ed7c3822
Merge timer update functions
9 years ago
lilia
f2bdafc7e9
Validate/reformat phone numbers in contact syncs
...
Turns out there's no garauntee that Android will send us contact info
with phone numbers in e164 format. When that happens, we fail to update
the correct contact. Fix by performing validation on the incoming number
before attempting to merge changes to the name, avatar, or color.
Fixes #903
9 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.
9 years ago
lilia
a8468dae28
Reduce load from delivery receipt processing
...
Add a special type of collection just for retrieving group ids, which
doesn't incur the overhead of initializing a conversation model along
with all its group members.
9 years ago
lilia
0854b19371
Revert "Don't load group contacts unnecessarily"
...
This reverts commit 6699571910 .
Not quite ready for primetime.
9 years ago
lilia
6699571910
Don't load group contacts unnecessarily
...
There are some cases when we want to initialize a group object without
loading its contacts, such as while processing delivery receipts. We
really only need to load the contacts for a group/convo when we are
rendering it, so let the front end handle those cases (which most of
them do already).
9 years ago
lilia
65072d8e03
Update libphonenumber
9 years ago
lilia
35270dbbb4
Use timeout-based animation for hourglasses
...
CSS animations are convenient but costly if you have hundreds of them.
Fixes #945
9 years ago
Benedikt Constantin Radtke
520be3d5db
Fixed bubble timestamp update timer breakdown
...
TimestampView's getRelativeTimeSpanString called moment() twice while
calculating the timeout. If there was a minute/hour/day wrap between
these 2 calls, the calculated delay was 0 and thus no timer was
scheduled, since if (this.delay) evaluated to false.
Fixes : #857 , #460
// FREEBIE
9 years ago
Benedikt Constantin Radtke
add159dde9
Localized the message detail view's timestamps
...
Momentjs will now format the timestamps depending on the locale.
Fixes : #954
// FREEBIE
9 years ago
lilia
e86142d07c
Hide verification QR code
...
The scannable fingerprint format has changed, leaving our qr codes out
of date and thus unscannable.
9 years ago
lilia
03c5d12edd
Fix necrobumping convos on key change
...
When inserting key change advisories, use the current conversation
timestamp to avoid pushing lots of old groups to the top of the
conversation list.
9 years ago
lilia
b5f5c4604c
Fix missing hourglass on some expiring messages
...
Resolves a race condition between marking messages read and
loading/rendering those messages in the frontend.
Fixes #942
9 years ago
lilia
657fa2725f
Adjust hourglass vertical alignment
9 years ago
lilia
15a9423a17
Change Identity to Safety Numbers in conversation menu
...
Fixes #935
9 years ago
2-4601
669338c717
i18n 'Theme'
...
// FREEBIE
9 years ago
paolo.ingls@gmail.com
d4f7b9984b
Fixed bug920
...
//FREEBIE
9 years ago
lilia
51e902c26f
Remove dead code
9 years ago
lilia
674eeb8313
Remove refs to appWindow
...
We only need the regular window, not the AppWindow interface, which is
specific to chrome apps.
9 years ago
lilia
9da4cdefd7
Style fix
9 years ago
Paolo Inglese
7cd45714a5
Font size should be adjustable
...
//FREEBIE
9 years ago
lilia
fcffcd35af
DRY
9 years ago
2-4601
81e1b84129
Fix 2nd person conjugation in exp. timer messages
...
// FREEBIE
9 years ago
lilia
f8a3ae158c
Remove log message
9 years ago
lilia
34888160bb
Fix re-appearing disappearing message ui
...
Fix a bug where entering the message detail view and then going back
would cause the timer menu to appear.
9 years ago
lilia
94c1ac6f09
Fix message insertion for the first element inserted
9 years ago
lilia
d3a2f5c838
Ignore expireTimer on session reset messages
9 years ago
lilia
4ee2652367
Fix wrong contact in some timer updates
...
Mistakenly showed 'You' for timer updates inferred from incoming
messages.
9 years ago
lilia
73e69fe5eb
Update libsignal-protocol 1.1.7
9 years ago
lilia
7c81e4ed2e
Delete extra space
9 years ago
lilia
790407d42e
Add qr codes
9 years ago
lilia
f05d693994
Switch from fingerprints to safety numbers
9 years ago
lilia
7fe708d195
Insert keychange advisories
...
On click, these open a verification panel for the relevant contact,
within this conversation.
// FREEBIE
9 years ago