Scott Nonnenberg
813924685e
Link Previews
6 years ago
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
6 years ago
Mikunj
f92e8485f8
Merge development into lint
...
Added gitattributes
6 years ago
Beaudan Campbell-Brown
ea1d007b4f
Merge pull request #136 from Mikunj/tests
...
Tests
6 years ago
Mikunj
6bd2d3962e
Linted files
6 years ago
Beaudan Campbell-Brown
c1dfd400f5
Merge pull request #131 from Mikunj/ttl-setting
...
Added TTL to settings.
6 years ago
Mikunj
b8aa60b95d
Added loki icon.
6 years ago
Mikunj
feb8af476a
Refactored BlockedNumberController.
6 years ago
Scott Nonnenberg
43e5d16020
Support for web socket communication with no signaling key
6 years ago
Mikunj
924c51d5c7
Removed min and max clamping in code.
...
This should be done UI and Server side instead.
6 years ago
Mikunj
235dbb2176
Added display of message ttl in settings.
...
Fixed setting message ttl.
6 years ago
Mikunj
87113b6cc1
Added message ttl setting storage
6 years ago
Scott Nonnenberg
47f834cf5c
Encrypt device name on account create, on first launch if needed
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 years ago
Mikunj
0491ceacf1
Added seed dialog.
...
Fixed issue where incorrect language was used to generate seed.
6 years ago
Mikunj
0b87f13699
Added password dialog view.
6 years ago
Mikunj
26ba553e6a
Added menu options to set, change and remove password.
6 years ago
sachaaaaa
962c947605
Prevent "secure session reset succeeded" message from being cleaned up at startup
6 years ago
Mikunj
570a7f5bf8
Fix header not updating when editing nickname.
6 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
6 years ago
Mikunj
06f79eb3fd
Allow user to set display name when registering.
6 years ago
Mikunj
62135a1810
Added a section below conversation list.
...
Fixed scrolling on conversations.
7 years ago
Scott Nonnenberg
313d08344a
Request configuration sync on startup of new version
7 years ago
Mikunj
18d638fdbf
Fix sending and receiving profile.
...
Don't delete profile after if we set the display name to empty.
7 years ago
Mikunj
610a305e23
Added localised strings.
...
Only override name when editing profile.
7 years ago
Mikunj
ac4e04912c
Minor language fixes.
7 years ago
Mikunj
14ee7fec65
Moved and nicknames into conversations.
7 years ago
Mikunj
98c4b5d77b
Added editing own nickname.
...
Fix dark theme support.
Fix notification titles.
7 years ago
Mikunj
6ce9d6a08c
Added nickname dialog.
7 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
7 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
7 years ago
Mikunj
d37b02421c
Merge commit '96595a46d81b2d7361dfde213392e203b18ee279' into fix/prekey-saving
7 years ago
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
7 years ago
sachaaaaa
19b6698a24
Merge pull request #53 from BeaudanBrown/read-receipts
...
Read receipts setting
7 years ago
Beaudan
bed9ce5be2
Added read receipt checkbox to the settings window which enables or disables the sending and receiving of read receipts
7 years ago
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
7 years ago
Mikunj
dba6a36e83
removed old unused code.
7 years ago
Mikunj
110387508f
UI fixes.
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
Mikunj
8cc9b7b54b
Added blocked number model and collection.
...
Added blocked number controller.
Hooked up BlockedNumberController loading.
7 years ago
Mikunj
34f43088ff
Fix incoming messages being deleted on startup.
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
4d3fb17e61
Merge branch 'sig-development' into merge/signal
7 years ago
Mikunj
5e48efc935
Merge commit 'd94365f1c6dbb315f67f29b47982b5f24bd11f5f' into feature/friend-request
7 years ago
Mikunj
a80d6bb868
Merged branch correctly.
7 years ago
sachaaaaa
2451ffdca4
Comment out signal-specific logic introduced in latest merge
7 years ago
Scott Nonnenberg
ecf3f18762
Improve our deletion of IndexedDB post-SQLCipher migration
7 years ago
Scott Nonnenberg
6300256a3e
Gracefully shut down database operations before app exit
7 years ago
Mikunj
fca5a74da3
Fixed review issues.
7 years ago
Mikunj
c583819ccf
Fixed view layouts after deleting a conversation.
7 years ago
Mikunj
0a88f337d5
Merge branch 'sig-development' into merge/signal
7 years ago
Mikunj
b9e85bb141
Added handling of accept and decline events.
7 years ago
Scott Nonnenberg
2d48daa7b6
Refine Sealed Sender behaviors
7 years ago
Mikunj
f589fdac5c
Merge signal changes into branch.
7 years ago
Scott Nonnenberg
fb670ad6b9
Remove IndexedDB files after removing IndexedDB database
7 years ago
Scott Nonnenberg
e08c5e3307
Add current message counter to the log to help with debugging
7 years ago
Scott Nonnenberg
e2e0e4c96b
Refine sealed sender logic
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
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
sachaaaaa
e1ffe582c3
Prompt user when an incoming friend request is received
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
7532f397ea
Keep object stores after conversations migrate to SQLCipher
7 years ago
Scott Nonnenberg
7d9711ba65
Restore iOS-specific theme; colors on left in android theme
7 years ago
Scott Nonnenberg
3b8f934741
On startup, if we've just upgraded to a new version, contact sync
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
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
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
8584a79352
Don't treat sends to a group with unregistered users as an error
7 years ago
sachaaaaa
9638639045
Bypass SMS verification
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
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
7983300f4a
Use base64 strings for incoming message cache instead of binary
7 years ago
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
7 years ago
Scott Nonnenberg
44dec45995
Ensure that all messages in cache are migrated properly
7 years ago
Scott Nonnenberg
1d7987108b
Show and log progress during the SQLCipher migration
7 years ago
Scott Nonnenberg
1e8f71f035
Make settings and debug log available during initial migrations
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
aa4339a69f
Preserve migration state when deleting config due to failed login
7 years ago
Scott Nonnenberg
02675312c5
Introduce mandatary migration on startup, to minimum version
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
80dd25e995
Preload all icon images to reduce flickering when they are used
7 years ago
Scott Nonnenberg
bffa910c64
Remove too-verbose logging on contact sync
7 years ago
Scott Nonnenberg
4b3f9e969a
Ensure a theme is selected on initial load
7 years ago
Scott Nonnenberg
5933a34a18
Use window.log in browser context, turn on console eslint rule
7 years ago
Scott Nonnenberg
f2a63c99ed
Streamline code to clean logs based on version number
7 years ago
Scott Nonnenberg
12f1932d02
Workaround for linux w/tmp mounted as noexec; spellcheck fails ( #2548 )
7 years ago
Scott Nonnenberg
c517e4193b
New option: Disable spell check
7 years ago
Scott Nonnenberg
d5d6cdb250
Automatically clean up old debug info, remove unneeded field
7 years ago
Scott Nonnenberg
0ac3517d51
On click of search result, show and focus conversation
...
Also: remove too-verbose logging on contact sync
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
fc5c52fbdf
Remove iOS theme in favor of plain light/dark themes
7 years ago
Scott Nonnenberg
f5852bb357
Be resilient to null thrown errors so we can surface to user
7 years ago
Scott Nonnenberg
c54ba8d1fa
Ensure that notifications and auto-hide window settings are saved
7 years ago
Scott Nonnenberg
ad4387803b
New media permission, show dialog when not enabled for voice msg
...
UI now in separate renderer:
- the permissions popup
- settings dialog
- debug log dialog
- about window
Couple bug fixes:
- About Window: Fix 'escape' to close window
- Remove outdated dist/copy tasks from Gruntfile
Eslintified settings_view.js
7 years ago
Scott Nonnenberg
a40a39314a
Disable notifications on new 'reconnect' event for laptop resume
7 years ago
Scott Nonnenberg
125c3fafa8
Idle detector: Fix bug preventing it from ever turning off ( #2487 )
7 years ago
Scott Nonnenberg
1c23c6a9d7
Remove window.config in favor of window.getXXX() accessors
7 years ago
Scott Nonnenberg
71d873ccfe
Ensure message expire timer start times are never in the future
7 years ago
Scott Nonnenberg
f3bd0cf903
Refactor api.js into web_api, which encapsulates all web access
7 years ago
Scott Nonnenberg
9400d1a538
eslintify background.js
7 years ago
Scott Nonnenberg
b1a54c416f
Notifications: All calls are debounced except for shutdown clear
7 years ago
Daniel Gasienica
3bf8a8966a
Notification improvements
...
- Remove on read, on focus, and on exit.
- Show multi-message notifications like '5 new messages'.
7 years ago
Scott Nonnenberg
37821e5a1b
Wire up all contact behaviors, refactor Contact type/selector
7 years ago
Daniel Gasienica
1dd87ad197
Format all source code using Prettier
7 years ago
Daniel Gasienica
50a0048bf2
Skip attachment migration for new users
7 years ago
Daniel Gasienica
6671228028
🎨 Format using ESLint
7 years ago
Daniel Gasienica
d5fdf50fae
Remove unused reference
7 years ago
Daniel Gasienica
86e48a5713
Implement background migration using index
7 years ago
Scott Nonnenberg
b0b1dc6be8
Apply iOS theme after link
7 years ago
Daniel Gasienica
bcbd526b99
Sync read receipt configuration upon relink
...
Fixes https://github.com/signalapp/Signal-Android/issues/7535 .
7 years ago
Daniel Gasienica
12cdeee7ec
Rename `count` to `numMessagesPerBatch`
7 years ago
Daniel Gasienica
77b1f3c505
Replace startup with attachment background migration
...
Iterates through `Message::id` index.
7 years ago
Daniel Gasienica
c853d1bccd
Remove whole database migrations
...
We should enable this when we are willing to run attachment migration
on startup.
7 years ago
Daniel Gasienica
057762806e
Add support for attachment background migration without index
7 years ago
Daniel Gasienica
442f5d7295
Use `done` to match JavaScript iterators
...
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators
7 years ago
Daniel Gasienica
805031ade8
Conditionally run post-attachment migrations
...
Introduce placeholder migrations for Backbone models so they never implicitly
run migrations whenever they are `fetch`ed. We prefer to run our migrations
explicitly upon app startup and then let Backbone models be (slightly) dumb(er)
models, without inadvertently triggering migrations.
7 years ago
Daniel Gasienica
bfbeedab5c
Temporarily disable post-attachment migration migrations
7 years ago
Daniel Gasienica
a4ecf1a9d6
Define constant after creating idle detector
7 years ago
Daniel Gasienica
a18e462817
Move migrations to `Signal.Migrations`
7 years ago
Daniel Gasienica
efe3cd67fc
Allow attachment migration run on higher database version
7 years ago
Daniel Gasienica
4ff8bc3357
Use `camelCase` for non-constructors
7 years ago
Daniel Gasienica
eca930770c
Remove hard-coded database connection settings
7 years ago
Daniel Gasienica
85490fbc98
Disable JSHint for `background.js`
...
It doesn’t recognize `async` and I couldn’t figure out how to ignore a top-level
`async` without cascading errors.
7 years ago
Daniel Gasienica
d5d0eabdfd
Remove usage of `storage` module
7 years ago
Daniel Gasienica
b8a0bc3423
Run attachment to disk migration on startup
7 years ago
Daniel Gasienica
579b01283e
Replace `wrapDeferred` with `deferredToPromise`
7 years ago
Daniel Gasienica
da144edc56
Manually close database connection after migration
7 years ago
Daniel Gasienica
fcd30cd919
Close database after migration
...
This is not 100% reliable as database connections are closed in a separate
thread according to the documentation:
- https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close
- https://stackoverflow.com/a/18639298
- 80c7a06d5c/backbone-indexeddb.js (L558-L565)
7 years ago
Daniel Gasienica
e2f1339ab9
Explicitly run post-attachment migrations
7 years ago
Daniel Gasienica
d16178638e
Split database migrations into pre- and post-attachment migration
...
- Run light-weight migrations before attachment migration.
- Run regular migrations after attachments have been moved to disk.
7 years ago
Daniel Gasienica
dede0f1e25
Improve user messaging during initialization
...
- We first show a localized loading message.
- If initialization takes longer than a certain threshold, we show a different
‘optimization’ message.
- If initialization is below the threshold the message change is canceled right
before the regular loading screen.
7 years ago
Daniel Gasienica
9b112489cd
Upgrade 2 messages every 30 seconds
...
This results in 4 messages per minute or 240 messages per hour.
7 years ago
Daniel Gasienica
7c2fde4433
Add `Signal.Workflow` namespace
7 years ago
Daniel Gasienica
5c9f18e1ae
Wire up background message migration
7 years ago
Daniel Gasienica
4651cbc2eb
Improve ``Message.upgradeSchema` preconditions
7 years ago
Daniel Gasienica
d13668544d
Rename `IdleListener` to `IdleDetector`
7 years ago
Daniel Gasienica
92ace67846
Start idle listener on startup
7 years ago
Daniel Gasienica
0c06fff47b
Wire up `Message` / `Attachment` migration functions on startup
...
Makes `migrationContext` obsolete.
7 years ago
Daniel Gasienica
e0428355be
Wire up `writeAttachment`
7 years ago