Mikunj
070d18b514
Updated function calls.
6 years ago
Scott Nonnenberg
c0be4718fc
Update delivered_to for outgoing with earlier delivery receipts
6 years ago
Mikunj
6bcb259919
Added PoW error.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 years ago
Mikunj
f98fe910d5
Fix friend request retry not working.
6 years ago
Mikunj
2715e79268
Fix conversation status not being reset upon conversation messages deletion.
...
Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name.
6 years ago
sachaaaaa
e62c661ed9
Treat session reset success messages as incoming, handle failure differently
7 years ago
sachaaaaa
df80249cba
fix missing awaits
7 years ago
sachaaaaa
7e612700f7
Handle session reset, Loki style
7 years ago
Beaudan
28fc5793a7
More explicit function names, shifted friend request sent logic to more sensible place
7 years ago
Beaudan
2de01d0343
Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
7 years ago
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
7 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
7 years ago
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
7 years ago
Mikunj
fb8b0e1d40
Auto accept friend request if we have both incoming and outgoing friend requests.
7 years ago
Mikunj
7d8719f250
Fix incoming friend request messages being deleted.
...
Set pending outgoing friend requests to declined if we receive an incoming friend request.
Fix text input not blocking.
7 years ago
Mikunj
dba6a36e83
removed old unused code.
7 years ago
Mikunj
a3a7f4a621
Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking
7 years ago
Beaudan
489ec8fc65
Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
...
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back
7 years ago
Mikunj
a82999818a
Added blocking/unblocking from friend request.
...
Fixed incoming messages being deleted.
7 years ago
sachaaaaa
78d39ac177
Merge pull request #41 from Mikunj/fix/friend-notification
...
Friend Notifications
7 years ago
Mikunj
17e5c861a1
Fixed review issues.
...
Fixed lint error.
7 years ago
Mikunj
a9e3a64888
removed unused default param.
7 years ago
Mikunj
4148628e70
Remove any unsent messages when app is started.
7 years ago
Mikunj
ece266fffd
Added showing pow icon.
7 years ago
Mikunj
dfae580ffa
Added notification when receiving a friend request and when a friend request was accepted.
7 years ago
Mikunj
4d3fb17e61
Merge branch 'sig-development' into merge/signal
7 years ago
Mikunj
dc1e42a2e4
Removed unneeded comment :)
7 years ago
Mikunj
4d08a74d53
Updated FriendRequest to be more consistent with the other typescript components.
7 years ago
Mikunj
f45e0030c4
Added status display and retry send to friend request.
7 years ago
Mikunj
7530836110
Send message status in friend request props.
7 years ago
Mikunj
fc3cb9c46d
Replace old pending messages with new one when adding a new incoming friend request.
...
More refactoring.
7 years ago
Mikunj
d5fafd4d78
refactor friend request message props
7 years ago
Mikunj
a80d6bb868
Merged branch correctly.
7 years ago
Scott Nonnenberg
6300256a3e
Gracefully shut down database operations before app exit
7 years ago
Mikunj
0cecbe147c
Removed todo
7 years ago
Mikunj
c583819ccf
Fixed view layouts after deleting a conversation.
7 years ago
Mikunj
0cf616328e
Fixed saving prekey bundle once friend request is accepted.
...
Added option to delete conversation after it is declined.
7 years ago
Mikunj
b9e85bb141
Added handling of accept and decline events.
7 years ago
Mikunj
08ca779fe1
Fixed up friend request message display
7 years ago
Mikunj
5626cfe47d
Added FriendRequest message
7 years ago
Scott Nonnenberg
2d48daa7b6
Refine Sealed Sender behaviors
7 years ago
Scott Nonnenberg
68e3cade17
Don't display 'read' icon if read-recipts-setting is disabled
7 years ago
Scott Nonnenberg
1755e0adfd
Move all remaining stores to SQLCipher
7 years ago
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
7 years ago
Scott Nonnenberg
1e562c8293
Properly handle avatar changes in group update messages
7 years ago
Scott Nonnenberg
7d9711ba65
Restore iOS-specific theme; colors on left in android theme
7 years ago
Scott Nonnenberg
ca61c9cb85
Warnings for dangerous files
7 years ago
Scott Nonnenberg
8f3e3b7aaf
Update to new design for avatars: individual/group icons/colors
...
And two initials.
7 years ago
Scott Nonnenberg
10c53bddb0
Move to new colors, switch incoming/outgoing colors
7 years ago
Scott Nonnenberg
cd60bdd08a
Move conversations to SQLCipher
7 years ago
Scott Nonnenberg
3464eb65b8
Keep conversation.lastMessage in memory
7 years ago
Scott Nonnenberg
8584a79352
Don't treat sends to a group with unregistered users as an error
7 years ago
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
7 years ago
Scott Nonnenberg
fedfbed304
Copy quoted message contents into quote on receipt
...
Also:
- visually distinguish any reference we couldn't verify on receipt
- show toast on quote click if we can't scroll to message
- toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg
ae6876a153
Ensure that error in handleDataMessage is treated as error
7 years ago
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
7 years ago
Scott Nonnenberg
9ff80469a5
In partially-successful group send, don't start expire timer
7 years ago
Scott Nonnenberg
9ed1ee90f8
Move expiring message time earlier if read sync has earlier time
7 years ago
Scott Nonnenberg
4b3ddef955
Allow for 'error' status on incoming messages not just outgoing
7 years ago
Scott Nonnenberg
22613c8cc4
Set disappearing check timer reliably - on all message saves
7 years ago
Scott Nonnenberg
b1c6a5fe19
When updating message schema pre-SQLCipher, use legacy save
7 years ago
Scott Nonnenberg
3105b77475
Migrate to SQLCipher for messages/cache
...
Quite a few other fixes, including:
- Sending to contact with no avatar yet (not synced from mobile)
- Left pane doesn't update quickly or at all on new message
- Left pane doesn't show sent or error status
Also:
- Contributing.md: Ensure set of linux dev dependencies is complete
7 years ago
Scott Nonnenberg
f39a96bc76
Move to centralized message/cache data layer
...
Also, ensure that conversation.messageCollection has nothing in it
unless it has an associated ConversationView.
7 years ago
Scott Nonnenberg
34231168a7
On message delete, ensure that all external files are deleted
7 years ago
Scott Nonnenberg
e80857562a
Disappearing messages: show 'disabled' instead of 'set to off'
7 years ago
Scott Nonnenberg
1a01e38d5c
Show 'group updated' in left pane when we get info-free update
7 years ago
Scott Nonnenberg
5933a34a18
Use window.log in browser context, turn on console eslint rule
7 years ago
Scott Nonnenberg
643739f65d
Responding to feedback on the updated visuals ( #2549 )
...
* Conversation List Item: timestamp bold only when convo has unread
* Preserve the positioning of overlays on re-entry into convo
* ConversationListItem: Handle missing and broken thumbnails
* Shorten timestamp in left pane for better Android consistency
* Update convo last updated if last was expire timer change
But not if it was from a sync instead of from you or from a contact.
* Make links in quotes the same color as the text
* MediaGridItem: Update placeholder icon colors for dark theme
* Ensure turning off timer shows 'Timer set to off' in left pane
* ConversationListItem: Show unread count in blue circle
* Add one pixel margin to blue indicator for text alignment
* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg
c2c8dc5090
Make quote props consistent, white circle dark theme play overlay
...
Prevents errors in the logs about attempting to load images from their
relative patn instead of the absolute path. No effect on the user.
7 years ago
Scott Nonnenberg
db91560990
Fixes for quotes/schema upgrade, optimize media gallery load
...
Also: Fix for contact detail page; didn't show back button
7 years ago
Scott Nonnenberg
60f61c804b
Fix reply to message w/attachment, dark theme quoted attachment
7 years ago
Scott Nonnenberg
675e34fc8d
New React component: ConversationListItem, installed in left pane
...
When collecting a conversation's last message, we grab that message's
status as well (if outgoing) and show it.
7 years ago
Scott Nonnenberg
3c69886320
Finish new Message component, integrate into application
...
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg
9d9a797bda
Handle timer updates along with group updates
7 years ago
Scott Nonnenberg
71d873ccfe
Ensure message expire timer start times are never in the future
7 years ago
Scott Nonnenberg
8c85f6e3a6
When marking message read, ensure that peers have same read_at
...
When we mark a message as read, we go to the database to ensure that
older messages in this conversation are marked read as well. That
optimization was missing the read_at value provided to the starting
message, so now it is piped along to all of them.
7 years ago
Scott Nonnenberg
ec3e36824c
Remove jscs from the project
7 years ago
Scott Nonnenberg
93d3abbf8d
Use contact name when updating last message for a conversation
7 years ago
Scott Nonnenberg
3ea3e4e256
Contact sharing: protos and data pipeline
...
As of this commit: 82b76ccf37
7 years ago
Daniel Gasienica
38f3ad6518
Use `SignalService` vs `textsecure` for protobuf
7 years ago
Daniel Gasienica
a0ddab669b
Organize `global`s
7 years ago
Daniel Gasienica
13f1ec2e51
Use structured logs
...
Easier to search for static prefix and fields are named.
7 years ago
Daniel Gasienica
0ce56eed87
Use structured log
7 years ago
Daniel Gasienica
822850433e
Apply manual fixes for ESLint errors
7 years ago
Daniel Gasienica
1dd87ad197
Format all source code using Prettier
7 years ago
Daniel Gasienica
36c609c2c3
Persist `has*Attachments` properties for incoming messages
7 years ago
Daniel Gasienica
3df8c22e44
Alphabetize `Message` properties
7 years ago
Scott Nonnenberg
ac0b50d20f
Generate thumbnails for new video attachments, video quotes
7 years ago
Scott Nonnenberg
c02860af5c
Responding to pull request review feedback
...
- messages.getQuoteObjectUrl: early return
- backup.js: explaining variables for long if statement
- types/messages.js: Log if thumbnail has neither data nor path
- sendmessage.js:
- remove extraneous logging
- fix indentation
- upload attachments and thumbnails in parallel
- preload: don't load fs for tests, just fse
- _conversation.scss: split two selectors into two lines, 0px -> 0
- backup_test.js: use fse.existsSync and comment twoSlashes regex
- network_tests_view_test.js: Comment duplicate assignment to window.getSocketStatus
7 years ago
Scott Nonnenberg
13ce056830
Make thumbnails on quote load and on quote preview creation
7 years ago
Scott Nonnenberg
b4ff223d18
Refactor: Push selector logic for quote props into Message model
7 years ago
Scott Nonnenberg
a563dc8b37
Style Guide: Additional message examples, a few fixes to enable
7 years ago
Scott Nonnenberg
1cc0633786
Full support for quotations in Android theme
7 years ago
Scott Nonnenberg
5602241a0c
Eliminate eslint-generated triple-parents
7 years ago
Scott Nonnenberg
e99192dca7
Unleash eslint on models/messages.js
...
Fun fact: eslint was not running on this file, despite the eslint
directives previously in the file!
7 years ago
Scott Nonnenberg
054d3887a1
Quotes: The full pipeline into the database
...
1. MessageReceiver always pulls down thumbnails included in quotes
2. Message.upgradeSchema has a new schema that puts all thumbnails on
disk just like happens with full attachments.
3. handleDataMessage pipes quote from dataMessage into the final message
destined for the database
7 years ago
Daniel Gasienica
f253fef5c6
Explicitly make `onDestroy` have `void` return type
7 years ago
Daniel Gasienica
0c06fff47b
Wire up `Message` / `Attachment` migration functions on startup
...
Makes `migrationContext` obsolete.
7 years ago
Daniel Gasienica
9d25aa4e43
Delete attachment files on disk upon message delete
7 years ago