Commit Graph

557 Commits

Author SHA1 Message Date
Josh Perez ee4b79120e
Adds keyboard access to the finish linking phone button 2021-07-15 18:01:41 -04:00
Fedor Indutny c3bdf3d411
Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny 570fb182d4
Fully move to protobufjs 2021-07-13 11:54:53 -07:00
Fedor Indutny ad217c808d
Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn 9c48a95eb5
Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Fedor Indutny ddbbe3a6b1
More protobufjs migration 2021-07-09 12:36:10 -07:00
Evan Hahn 4cd3da8f5b
Convert ConversationModel tests to TypeScript 2021-07-02 13:40:36 -07:00
Fedor Indutny 759ced3417
Updater debug utility 2021-06-30 14:27:18 -07:00
Fedor Indutny 71572db7a9
Get native theme through IPC not remote 2021-06-30 11:57:43 -07:00
Fedor Indutny 773aa9af19
Better emoji support in linkify/previews 2021-06-30 10:00:02 -07:00
Evan Hahn d0a6bf400c
Format HTML files with Prettier 2021-06-23 11:18:47 -07:00
Fedor Indutny 9f0c630574
Move to protobufjs in ts/groups.ts 2021-06-22 09:46:42 -05:00
Scott Nonnenberg 24960d481e
Move all files under /app to typescript 2021-06-18 10:04:27 -07:00
Josh Perez 94d116c621
Removes some Backbone views 2021-06-17 14:15:09 -07:00
Scott Nonnenberg 68f1023946
Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Scott Nonnenberg 4b6352b345
Remove unused import/export code 2021-06-16 09:54:42 -07:00
Scott Nonnenberg 1520c80013
Remove messageCollection from Conversation model 2021-06-15 17:44:14 -07:00
Fedor Indutny 8f5086227a
Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Jordan Rose 0615e5528f
Improve menu bar on macOS 2021-06-14 12:01:49 -07:00
Fedor Indutny 33595646c1
Add user path to logging exceptions 2021-06-01 11:15:23 -07:00
Scott Nonnenberg ee513a1965
Support for message retry requests 2021-05-28 12:11:19 -07:00
Evan Hahn d4dc9b8e39 Message Requests: Add new "Report spam and block" button 2021-05-27 13:37:58 -07:00
Scott Nonnenberg e6bab06510 Receive support for Sender Key
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2021-05-20 17:37:08 -07:00
David Sanders 2fc3e4c698 Make window draggable on macOS during device setup
See [#5239][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5239
2021-05-20 17:37:07 -07:00
David Sanders 9d3b9e4386 Quote HTML attribute values in template
See [#5240][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5240
2021-05-20 17:37:07 -07:00
Evan Hahn c175c44953 Fix HTML ID of step for clear-data template
See [#5229][5229].

[5229]: https://github.com/signalapp/Signal-Desktop/pull/5229
2021-05-07 10:35:08 -05:00
David Sanders ec1f98c210 Fix HTML ID of step 2021-05-06 20:26:09 -07:00
Evan Hahn a5fde38c98 Mark links with a password as "sneaky" 2021-04-29 14:27:38 -07:00
Scott Nonnenberg 86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00
Josh Perez 6c0acd09df
Sync mute state 2021-04-09 11:19:38 -05:00
Fedor Indutny 207d05fd05 Run SQL initialize in parallel with createWindow 2021-04-09 00:06:46 -04:00
Fedor Indutny fc3004a183 Make test-node report errors 2021-04-08 23:51:54 -04:00
Evan Hahn b725ed2ffb Refresh profiles on app start (at most every 12 hours) 2021-03-19 16:57:36 -04:00
Josh Perez d82ce07942 Improve cold start performance 2021-03-19 16:57:35 -04:00
Scott Nonnenberg c73e35b1b6 Support for translating Desktop sessions to libsignal-client sessions 2021-03-19 16:57:35 -04:00
Scott Nonnenberg c9ffb7c014 Move SecretSessionCipher to TypeScript 2021-03-19 16:57:35 -04:00
Scott Nonnenberg 7e629edd21 Move SignalProtocolStore to TypeScript 2021-03-19 16:53:52 -04:00
Fedor Indutny 1934120e46 Disable Dev Tools in production releases
`--enable-dev-tools` will bring it back.
2021-03-19 16:53:51 -04:00
Scott Nonnenberg 98e7e65d25 Automatic session reset 2021-03-19 16:53:51 -04:00
Fedor Indutny 7c0f5a356e Add `curly: 'error'` to eslintrc and fix linting 2021-03-19 16:44:40 -04:00
Evan Hahn bc37b5c907
Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
Evan Hahn ddebbf8121
Hide title bar on macOS 2021-02-01 12:01:25 -08:00
Evan Hahn a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn 8ccf402497 Use consistent User-Agent when uploading debug logs 2021-01-25 18:28:59 -08:00
Scott Nonnenberg cbc6c29479 Finish in-redux conversation lookups, getPropsForSearchResult moved 2021-01-25 18:28:58 -08:00
Josh Perez 2529e208c1 Move confirmation_dialog_view to ts and React
* Moves confirmation_dialog_view to ts and React

* showConfirmationDialog API
2021-01-25 18:28:58 -08:00
Scott Nonnenberg be9721c72d
Don't change left pane preview or order when someone leaves group 2021-01-20 11:31:44 -06:00
Scott Nonnenberg 9f81b4157b Also use sent_at whenever we query database with received_at 2021-01-19 17:35:11 -08:00
Scott Nonnenberg 8116a8561d
Show progress dialog during delete 2021-01-12 18:42:15 -06:00
Scott Nonnenberg 5369950c1d
Don't promote archived sessions, more logging on error 2020-12-09 14:05:11 -08:00
Scott Nonnenberg 2c69f2c367 Support for GV1 -> GV2 migration 2020-11-23 14:48:12 -05:00
Evan Hahn 022c4bd0f4 Initial group calling support 2020-11-23 14:45:44 -05:00
Brandon Outlaw 2013378136
MacOS – Add shortcut for Window -> Show (#4632) 2020-11-10 16:30:56 -08:00
Evan Hahn 618c0fce1e test-electron: wait to run tests until protos are ready 2020-11-04 13:03:14 -06:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Evan Hahn cb9a7f79d1 Rewrite Message model tests in TypeScript 2020-11-04 13:00:41 -06:00
hashes4merkle b8dbd5970d
Fixing spelling errors (#4615) 2020-11-02 16:46:49 -08:00
Scott Nonnenberg 8eea20ea91
Reliability fixes for conversation formatting and message send 2020-10-28 14:54:33 -07:00
jimio-signal 1c057323ba Point to support flow instead of github 2020-10-26 15:48:44 -07:00
Evan Hahn c4de9436f3
Fix error thrown on message retry 2020-10-22 10:32:23 -07:00
Josh Perez df2fa3c7b1
updateLastMessage: Use MessageController for latest data 2020-10-20 16:26:58 -07:00
Evan Hahn f21dad1519 Mark long hrefs or those with invalid characters as sneaky 2020-10-12 18:10:08 -04:00
Evan Hahn 693deaebe8 Remove IP addresses from "sneaky" link detection 2020-10-12 18:10:08 -04:00
Evan Hahn 313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00
Chris Svenningsen b5df9b4067 Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:07 -04:00
Evan Hahn a04f9a0e51 Add tests: `localhost` is a "sneaky link" 2020-09-09 17:34:57 -07:00
Scott Nonnenberg 7a02cc815d Support for new GroupV2 groups 2020-09-09 17:34:57 -07:00
Chris Svenningsen 8a2c17f65f Apply new ESLint rules to legacy code 2020-09-09 17:34:57 -07:00
Evan Hahn 91a591c6ca Show group names in notifications, and only show the latest 2020-09-09 17:34:57 -07:00
Evan Hahn 496a90efbb More descriptive notification/left pane text 2020-09-09 17:34:57 -07:00
Chris Svenningsen 5b1536cc02 Initial move towards new ESLint config supporting TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-09-01 17:11:16 -04:00
Evan Hahn 2e1e6e847a Widen the set of link previews which can be received 2020-09-01 17:10:18 -04:00
Evan Hahn f8fc23a7a3 Improve nested path detection across app 2020-08-28 15:42:25 -04:00
Evan Hahn aaed0db2e5 Verify sticker data in getDataFromLink 2020-08-28 15:42:25 -04:00
Evan Hahn 45d829e439 Improved link verification logic. 2020-08-28 15:42:24 -04:00
Evan Hahn 3b05e9ad8f Add test for Stickers.redactPackId 2020-08-28 15:42:24 -04:00
Scott Nonnenberg d75eee015f Show notifications when a user's profile name changes 2020-07-30 13:27:44 -07:00
Scott Nonnenberg 901179440f Merge contacts when we discover split or duplicated contacts 2020-07-30 13:17:45 -07:00
Josh Perez 68e432188b Add unknown fields support to Protobuf.js 2020-07-30 13:10:05 -07:00
Josh Perez 5b83485c89 Update safety number change warning dialog 2020-07-30 13:10:05 -07:00
Peter Thatcher d3a27a6442 Calling support 2020-07-30 13:08:47 -07:00
Ken Powers 83574eb067 Message Requests 2020-07-30 13:08:44 -07:00
Scott Nonnenberg 2529c7f9e3 Ensure that 'Join the Beta' menu item shows in production 2020-07-27 14:39:19 -07:00
Scott Nonnenberg a8789919e8 Github -> GitHub 2020-06-24 17:26:37 -07:00
Ken Powers b842b69660 Help Menu changes 2020-06-23 17:30:33 -07:00
Scott Nonnenberg 55f4cd591c Improve safety number logic in group conversations 2020-06-10 14:39:45 -07:00
Ken Powers 980862768b Linkify URLs containing `@` 2020-04-29 17:42:41 -07:00
Ehren Kret a0e9791623 Add support for receiving attachments from CDN 2 2020-04-29 17:42:41 -07:00
Scott Nonnenberg 6b094e1514 Refactor: Move data-access code to Typescript w/ shared interface 2020-04-15 14:45:11 -07:00
Scott Nonnenberg 71436d18e2 Include sender in group update notifications 2020-04-15 14:44:46 -07:00
Ken Powers 14b11041ea
Spellcheck: Fallback to all xx-YY locales when xx isn't available 2020-04-15 13:44:46 -07:00
Ken Powers 4a8f5db0a4 Use Electron Spellchecker 2020-03-24 17:03:22 -07:00
Ken Powers 37ad95af27 Passive UUID fixes 2020-03-24 17:03:22 -07:00
Scott Nonnenberg 8d6cba1b43 Eliminate remaining Electron 8 deprecations
* Change systemPreferences.isDarkMode() to nativeTheme.shouldUseDarkColors

* Remove vibrancy parameter to BrowserWindow

* Update curve25519-n; removes context-aware deprecation warning

* Set app.allowRendererProcessReuse = true to remove warning

* Move from deprecated setters to direct property set

* Serialized sender certificates: Store less, store plain object

* isMenuBarAutoHide -> autoHideMenuBar

* UUID: Fix sealed sender indicator on message details screen

* Data._cleanData: Remove function keys, handle null in array

Also:
- run _cleanData when saving attachment download jobs
- remove job from jobs table when the send itself throws error

* _cleanData: Don't dig into strings, booleans, or numbers

* getPropsForMessageDetail: Make it clear what we're reducing

Co-authored-by: Ken Powers <ken@signal.org>
2020-03-24 17:03:01 -07:00
Josh Perez 12457d47a3 Move to new logo and primary blue color 2020-03-24 17:01:51 -07:00
Ken Powers a90246cbe5 Passive UUID support
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-03-24 16:59:35 -07:00
Scott Nonnenberg a840e2e5b1 Remove legacy import flow 2020-03-04 17:12:56 -08:00
Scott Nonnenberg 1726e1b77a
Fix windows fast-glob usage in lint-deps test task
* Introduce normalize-path wherever we use fastGlob

* CI: Update yarn version; install yarn via npm on windows

* Add more logging to Grunt file spectron usage

* Lock core.js to what it was resolving to before: 2.4.1

* test/index.html: Remove nonexistent test file

* test/index.html: Remove missing registration.js

* preload.js: Introduce client-side logging for load failures

* Gruntfile: Introduce better debuggability if prod test fails

* Reintroduce glob for searches inside asar
2020-02-26 17:53:39 -08:00
Ken Powers 8d9ccd3c0a
Ensure proper file permissions on startup
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-02-21 15:40:04 -08:00
Ken Powers f0028a5cfe Don't linkify invalid URLs 2020-02-19 15:22:37 -08:00