Mikunj
28f6992085
Replaced var with const.
7 years ago
Mikunj
8d9fbdb3df
Fix create conversation appearing even if you already have a conversation with the contact.
7 years ago
Beaudan
519d372e63
Tiny url update to work with the storage server
7 years ago
Scott Nonnenberg
fb670ad6b9
Remove IndexedDB files after removing IndexedDB database
7 years ago
Scott Nonnenberg
486932048c
Add logging to help in debugging sealedSender state
7 years ago
Scott Nonnenberg
0297279084
Eliminate some conversation fields which are no longer used
7 years ago
Scott Nonnenberg
e08c5e3307
Add current message counter to the log to help with debugging
7 years ago
Scott Nonnenberg
9f647f00d8
A couple fixes for the data layer, legacy message upgrade/migrate
7 years ago
Scott Nonnenberg
68e3cade17
Don't display 'read' icon if read-recipts-setting is disabled
7 years ago
Scott Nonnenberg
e2e0e4c96b
Refine sealed sender logic
7 years ago
Scott Nonnenberg
41dd78c073
On fetch of profileAvatar, set it to convo's profileAvatar field
7 years ago
Scott Nonnenberg
6628b73911
Only show database log entries if task takes longer than 10ms
7 years ago
Scott Nonnenberg
1755e0adfd
Move all remaining stores to SQLCipher
7 years ago
sachaaaaa
4b9fcb98d4
Linting and other housekeeping stuff
7 years ago
Scott Nonnenberg
7aa9031c7f
Import: Be resilient to deletions from importObject
7 years ago
sachaaaaa
d91f04930c
Merge pull request #21 from loki-project/bugfix/pow-nonce-calc
...
Bugfix/pow nonce calc
7 years ago
Beaudan
4598fd222a
Cleaned up newNonce stuff. Now doing target calculation with BigIntegers
7 years ago
sachaaaaa
7b1fbe362e
Allow choosing language for mnemonic seed
7 years ago
sachaaaaa
bbabeb34b8
Merge pull request #18 from sachaaaaa/mnemonic
...
Allow registering using a mnemonic word list
7 years ago
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
7 years ago
Beaudan
d4180b3ca6
Some syntax tidying up, plus fixed bug with message data not being a uint8array after IPC message
7 years ago
Scott Nonnenberg
739bd4dbda
Request contact sync only on the first connect after upgrade
7 years ago
Scott Nonnenberg
2060118e85
Remove messages/conversations/unprocessed IndexedDB object stores
7 years ago
Scott Nonnenberg
e39c999932
Import: Properly handle import with all empty non-convo stores
7 years ago
sachaaaaa
e1ffe582c3
Prompt user when an incoming friend request is received
7 years ago
sachaaaaa
143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
...
Lock input after friend request is sent
7 years ago
Scott Nonnenberg
1e562c8293
Properly handle avatar changes in group update messages
7 years ago
sachaaaaa
1ce29d77c3
Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files.
7 years ago
sachaaaaa
1cf8710127
Merge pull request #16 from sachaaaaa/friend_response
...
Handle prekeys in incoming friend request
7 years ago
sachaaaaa
a418a9d23b
allow registering using a mnemonic word list (seed used as privKey for now)
7 years ago
sachaaaaa
9370e2b74a
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
* 'master' of https://github.com/signalapp/Signal-Desktop : (38 commits)
v1.17.0
v1.17.0-beta.4
Ensure that blue group avatars are preserved in dark theme
Android theme: Incoming quotes take color from containing message
Conversations have blue avatar backgrounds if no image provided
Fix lint errors
Add ca language
inboxView: Ensure Conversation exists for our own number
Ensure that file is not attached if we've filtered it
v1.17.0-beta.3
Localization updates
v1.16.3
Lint fixes
Lint fixes
Better handle large numbers of messages in cache on startup
Keep object stores after conversations migrate to SQLCipher
Longer timeout for orphaned file cleanup
Tests and increase consistency for isFileDangerous calls
Longer timeout for orphaned file cleanup
v1.17.0-beta.2
...
# Conflicts:
# background.html
# package.json
7 years ago
Scott Nonnenberg
f21f83a163
Conversations have blue avatar backgrounds if no image provided
7 years ago
Beaudan
dfa8b59bc3
Using let and const properly, updated number to uint function, general cleaning
7 years ago
sachaaaaa
025d13a72b
Add keyId index for contact prekeys and allow retrieving prekeys for a specific pubkey and keyid
7 years ago
Beaudan
ee57c698d7
Client side proof of work attached to messages
...
Skeleton calcPoW function that prepares payload for hashingFunction to increment Uint8Array nonce
Util function for converting a number to its Uint8Array representation
Actually perform calculate PoW nonce for every message
Adding bytebuffer as dependency and updated package-lock
Move PoW to new file and execute it in child process
TODO: Move send message logic to callback after child process has finished calculating the PoW
Refactored nonce calculation to function to be awaited
More readable timestamp grab plus converted to seconds
Nonce is now returned as a base64 string and included in request header
Also converted timestamp and ttl to string when including them in the header
Added a couple comments and tidied up some nonce logic
7 years ago
sachaaaaa
5602f4bfff
Change placeholder in discussion
7 years ago
sachaaaaa
d4d0d05adf
Lock text input while waiting for friend request reply
7 years ago
sachaaaaa
886f47b8e7
Prekeys sending: first pass ( #12 )
...
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key
* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode
* Skip generating 100 prekeys upon registration
* Store the signed key signature in database
7 years ago
Scott Nonnenberg
b9cc17b81a
inboxView: Ensure Conversation exists for our own number
7 years ago
Scott Nonnenberg
a24d9f9979
Ensure that file is not attached if we've filtered it
7 years ago
sachaaaaa
d5ef0cfb03
Revert changes and rename keysPending to keyExchangeCompleted
7 years ago
Scott Nonnenberg
7532f397ea
Keep object stores after conversations migrate to SQLCipher
7 years ago
Scott Nonnenberg
8edfbdcee5
Longer timeout for orphaned file cleanup
7 years ago
sachaaaaa
ecd300d68d
Change keysPending flag to keyExchangeStatus in conversation model
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
3b8f934741
On startup, if we've just upgraded to a new version, contact sync
7 years ago
Scott Nonnenberg
59d58aaab5
Allow GIFs larger than 6MB
7 years ago
sachaaaaa
6fe70b9b85
Send outgoing messages as raw bytes (Uint8Array) and moved recipient & ttl to header
7 years ago
Scott Nonnenberg
584e932891
Close recorder on switch away, only send after finish clicked
7 years ago
Scott Nonnenberg
f38410976d
Delete conversation external files on deletion
7 years ago
Scott Nonnenberg
2cfbfe477a
Better handle large numbers of messages in cache on startup
7 years ago
Scott Nonnenberg
a8e12d0771
Add user's avatar to the top left of the screen
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
sachaaaaa
d521795cf8
add helper to set the keysPending flag for a discussion
7 years ago
sachaaaaa
22a86b5351
store key bundle status in conversation model
7 years ago
sachaaaaa
33ad509fbf
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
# Conflicts:
# _locales/ar/messages.json
# _locales/es_419/messages.json
# _locales/he/messages.json
# _locales/hi/messages.json
# _locales/hr/messages.json
# _locales/kn/messages.json
# _locales/ko/messages.json
# _locales/mk/messages.json
# _locales/sr/messages.json
# _locales/uk/messages.json
# _locales/vi/messages.json
# package.json
7 years ago
Scott Nonnenberg
3464eb65b8
Keep conversation.lastMessage in memory
7 years ago
Scott Nonnenberg
814b9cf26a
Only accept 'you left group' messages when group blocked
7 years ago
Scott Nonnenberg
9c399624cc
Support for blocking groups on mobile, via group/blocked syncs
7 years ago
Scott Nonnenberg
46dac94ab8
Pop toast on attempted attach if image attachment is too large
7 years ago
Scott Nonnenberg
d0c4152d99
backup.js: Remove references to nonexistent i18n strings
7 years ago
Scott Nonnenberg
ea8e76d9de
MessageView: Only re-render on change of key conversation fields
7 years ago
Scott Nonnenberg
8584a79352
Don't treat sends to a group with unregistered users as an error
7 years ago
Scott Nonnenberg
998c35dcb3
Split configuration into low and high traffic files
...
Also, we're now handling config ourselves instead of using
electron-config and config dependencies.
7 years ago
sachaaaaa
a6b4215b1f
changed sendMessage request from PUT to POST
7 years ago
sachaaaaa
8bb7185c7a
make loki_message_api::sendMessage use async/await
7 years ago
sachaaaaa
bb65115d7d
Ensure the unique object id is stored in the object to facilitate deleting it later.
7 years ago
sachaaaaa
2f562ce9e1
Change contact prekeys in db to allow multiple entries for each contact
7 years ago
sachaaaaa
9e0319acb0
fix encrypting message by returning fake localRegistrationID (not sure what it's for)
7 years ago
sachaaaaa
0832806bd9
wip: added helper to create mock contacts, almost got a session working
7 years ago
sachaaaaa
258a89bc21
create contactPreKeys and contactSignedPreKeys in database, with load/store helpers (rerun migrations required)
7 years ago
sachaaaaa
e3cbf1caeb
rename IndexedDB database to 'loki-messenger'
7 years ago
sachaaaaa
b84ff76faf
Fix error handling when sending message + clean up in loki_message_api
7 years ago
sachaaaaa
2ae91752d3
skip fetching profiles when clicking on contact
7 years ago
sachaaaaa
8ada6ce8ad
serialize message as base64
7 years ago
sachaaaaa
1e14022e2f
Add skeleton for Loki Message API. Wrap data in json (for now?)
7 years ago
sachaaaaa
8f33419b52
Change pubkey representation to hex instead of base64
7 years ago
jcktm
09a0c46637
added identity key above the conversation box
7 years ago
sachaaaaa
c1d6e6113f
ValidateNumber now accepts pubkeys instead of phone numbers. This allows starting a conversation with a pubkey.
7 years ago
sachaaaaa
b043a469a2
Change regex that filters potentially valid contacts in search bar to match a pub key
7 years ago
sachaaaaa
1866aed432
Accomodate for upcoming signature in websocket connection header
7 years ago
sachaaaaa
187424f84a
Change HTTP header from X-Signal-Agent to X-Loki-Messenger-Agent.
7 years ago
Scott Nonnenberg
57d13dad57
data/removeMessage: no need for additional model instantiation
7 years ago
Scott Nonnenberg
02fbea96c0
Move base64 conversions off of the main thread
7 years ago
Scott Nonnenberg
911bc63c67
Move all arrayBuffer<->base64 functions to be async
7 years ago
sachaaaaa
9638639045
Bypass SMS verification
7 years ago
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
7 years ago
Scott Nonnenberg
9f920aa35b
Re-enable orphaned attachment cleanup
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
a247ffe5cf
When iOS device has been linked, use iOS color scheme
7 years ago
Scott Nonnenberg
0eb2c958a5
Handle contact: don't exit early if timer is 'invalid'
7 years ago
Scott Nonnenberg
621883a0ce
Disable drag and drop if it's not a file attachment
7 years ago
Scott Nonnenberg
516a729a45
Additional logging for sql commands in debug mode
7 years ago
Scott Nonnenberg
7983300f4a
Use base64 strings for incoming message cache instead of binary
7 years ago
Scott Nonnenberg
9eefc0c29b
SettingsView: Fix logging
7 years ago
Scott Nonnenberg
8c8475076b
Data layer: return null if id not in database, not empty model
7 years ago
Scott Nonnenberg
c88df69094
New SQL indices and query tweaks to eliminate table scans
...
Also: New logging on client side to track performance of db queries
7 years ago