Commit graph

549 commits

Author SHA1 Message Date
Scott Nonnenberg
7b358f1111
Update Electron to 8.2.5 2020-05-01 13:28:32 -04:00
Scott Nonnenberg
5cfcedb549 Update dependencies 2020-04-29 17:42:41 -07:00
Scott Nonnenberg
40e46d7ca4 v1.34.0-beta.1 2020-04-15 17:37:56 -07:00
Oskar Nyberg
8cda95c437
Prevent electron-builder from adding native modules to asar on macOS (#4169)
Having native node modules packaged into the asar archive results in
them being unpacked and executed by electron when required by the app.
When macOS executes the unpacked native modules, it first sends requests
to Apple, and when the response is received or when the request times
out the module is loaded.
2020-04-15 17:16:46 -07:00
Scott Nonnenberg
c1dfe3e5b4
Adds support for versioned profiles
* Add zkgroup library

* tsconfig.json: Prettier wants to mess it up. :0(

* Initial take on versioned profile fetches

* Fix up the logging in getProfiles() - warn instead of error

* Introduce new VERSIONED_PROFILE_FETCH flag

* Update zkgroup dependency to v0.5.0

* Fix lint-deps - new zkgroup library brought in new debug dep

* ts/zkgroup: Introduce some commonly-used helper functions

* Update to latest serverPublicParams

* Don't derive profileKeyVersion unless flag is set
2020-04-15 16:12:28 -07:00
Scott Nonnenberg
5f0c07eec2
Updates to Electron 8.2.2 2020-04-15 15:54:03 -07:00
Scott Nonnenberg
9ab54b9b83 Move web_api.js and js/modules/crypto.js to TypeScript 2020-04-15 14:44:51 -07:00
Josh Perez
a12ac2aa37
Upgrade small logo icons 2020-04-15 10:25:20 -07:00
Scott Nonnenberg
16880cc672 v1.33.0-beta.5 2020-04-06 18:11:13 -07:00
Scott Nonnenberg
f1fbd92369 Update to Electron 8.2.1 2020-04-06 18:06:54 -07:00
Scott Nonnenberg
9c3196a90c v1.33.0-beta.4 2020-03-25 16:50:23 -07:00
Ken Powers
750e50812c Introduce dialog for long database migrations 2020-03-25 16:47:42 -07:00
Scott Nonnenberg
d33cc9d554 v1.33.0-beta.3 2020-03-24 17:29:23 -07:00
Ken Powers
a1270867ff Debug Logs: gzip before upload 2020-03-24 17:03:22 -07:00
Ken Powers
4a8f5db0a4 Use Electron Spellchecker 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
Scott Nonnenberg
b9ecdb0602 Update to Electron 8.1.1 2020-03-24 17:02:01 -07:00
Scott Nonnenberg
f64ca0ed21 v1.32.1-beta.1 2020-03-06 12:34:48 -08:00
Scott Nonnenberg
c8101dc6cb v1.32.0-beta.6 2020-03-04 17:16:49 -08:00
Scott Nonnenberg
5c14ae6459 Update electron to 8.0.3, electron-builder to 22.3.6 2020-03-04 17:12:56 -08:00
Scott Nonnenberg
4d6dafccfb v1.32.0-beta.5 2020-03-02 17:36:30 -08:00
Scott Nonnenberg
6e4dc2a117 Update electron, electron-builder and add more preload logging
* electron to 8.0.2, electron-builder to 22.3.5

* preload.js: add last-ditch logging on startup error
2020-03-02 17:13:45 -08:00
Scott Nonnenberg
5eef2ee299 v1.32.0-beta.4 2020-02-26 18:12:53 -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
Scott Nonnenberg
ab909f1f42 v1.32.0-beta.3 2020-02-20 16:36:51 -08:00
Scott Nonnenberg
148aedeeb4 Changes necessary to make Windows build work 2020-02-20 15:13:10 -08:00
Scott Nonnenberg
011e31be93 v1.32.0-beta.2 2020-02-19 15:28:16 -08:00
Ken Powers
2f9bebe567 Upgrade to Electron 8
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-02-19 15:22:37 -08:00
Scott Nonnenberg
68ee557dcf
Update SQLCipher to 4.3.0 2020-02-19 16:11:06 -05:00
Josh Perez
9e9401693c
Replace spellchecker in favor of typo-js 2020-02-18 10:58:05 -08:00
Scott Nonnenberg
800c7ed31d v1.32.0-beta.1 2020-02-12 14:24:35 -08:00
blckfalcon
7f7e33c6cd
Upgrade linkify-it to 2.2.0 (#3870) 2020-02-12 13:59:17 -08:00
Scott Nonnenberg
3938eb9801
A set of fixes and upgrades
* writeToDownloads: Add missing await
* Remove window.isFocused() - not used anywhere!
* Update typescript, p-queue, make necessary changes to fix build
* Slow down sender certificate retries with no existing cert
* Slow down signed prekey refreshes when unlinked - 5s -> 5m
* Update protobufjs to 4.1.2
2020-02-07 14:37:04 -05:00
Ken Powers
38c7fa3da6
Storybook: Basic messages and messages with reactions 2020-02-07 11:07:22 -08:00
Ken Powers
0fc178d887
StoryBook: Fully support themes in pop-up components 2020-02-06 11:28:01 -08:00
Scott Nonnenberg
b714a6817b v1.31.0-beta.2 2020-02-03 14:40:15 -08:00
Scott Nonnenberg
f4e23cf51c v1.31.0-beta.1 2020-01-23 16:04:57 -08:00
josh-signal
de7bc8b1b1 Upgrade emoji support to Unicode v12 2020-01-23 16:17:06 -05:00
Scott Nonnenberg
2906ff0ce4 v1.30.0-beta.7 2020-01-22 12:24:59 -08:00
Scott Nonnenberg
83fd2be1a7 v1.30.0-beta.6 2020-01-16 22:46:18 -08:00
Scott Nonnenberg
21e2877234 v1.30.0-beta.5 2020-01-16 09:26:02 -08:00
Scott Nonnenberg
827f849b02 v1.30.0-beta.4 2020-01-14 12:33:24 -08:00
Scott Nonnenberg
11266cb775 Handle both given and family name in decrypted profile name
* Decrypt given and family names from profile name string
* Handle both given and family name from decrypted profile name
* Ensure we properly handle profiles with no family name
2020-01-13 17:28:28 -05:00
Scott Nonnenberg
1bf9ca7233 Save attachments with macOS quarantine attribute
* Attachments: Always save file to downloads directory, show toast
* Add new build:dev command for casual builds
2020-01-09 14:57:43 -05:00
Ken Powers
0d3b390129 Upgrade Prettier 2020-01-08 09:44:54 -08:00
Ken Powers
681222c0c0 Fix styleguide: upgrade deps, lock core-js to version babel needs 2020-01-06 17:49:00 -08:00
Scott Nonnenberg
70fb57cafc v1.30.0-beta.3 2019-12-19 15:57:49 -08:00
Ken Powers
fe65fd3eaa Sticker creator updates: new 200 sticker max, WebP supported 2019-12-19 15:27:02 -08:00
Scott Nonnenberg
94f52edbd0 v1.30.0-beta.2 2019-12-18 12:16:15 -08:00
Ken Powers
7aad25b3e0 Fix xdg-open and protocol handler for windows/linux 2019-12-18 11:21:35 -08:00
Scott Nonnenberg
363a7dd179 Fix blank sticker creator window on windows/linux 2019-12-18 10:13:36 -05:00
Scott Nonnenberg
56df4163b3 v1.30.0-beta.1 2019-12-17 12:29:07 -08:00
Ken Powers
11d47a8eb9 Sticker Creator 2019-12-17 12:28:46 -08:00
Scott Nonnenberg
03d1cc24d6 v1.29.1-beta.1 2019-12-17 11:06:20 -08:00
Scott Nonnenberg
526f12bb45 v1.29.0-beta.5 2019-12-04 14:43:53 -08:00
Scott Nonnenberg
c5ea29d1f1 v1.29.0-beta.4 2019-12-03 16:53:19 -08:00
Scott Nonnenberg
e9f08c3da9 Bugfixes for v1.29
* If focus was set to document.body during archive, focus left pane
* Shortcut Guide: Add space between text and shortcut highlight
* Ensure that draft attachment can be closed with click on X button
* Move to keyDown event for user idle checking
* Additional resiliency around avatars; check for them on on-disk
* Increase timeouts to preserve websocket connection
* On startup, be resilient to malformed JSON in log files
* Don't crash if shell.openExternal returns an error
* Whenever we request a contact/group sync, also request block list
* Avatar popup: Ensure styling is mouse- and keyboard-appropriate
* MainHeader: Create popperRoot on demand, not on mount
* CompositionInput: Disable default Ctrl-/ shortcut
* Update libphonenumber
2019-12-03 15:02:50 -05:00
Scott Nonnenberg
423d0fe8d0 v1.29.0-beta.3 2019-11-21 11:20:05 -08:00
Scott Nonnenberg
ed55006f20 Update to Electron 6.1.4 2019-11-21 10:17:55 -08:00
Scott Nonnenberg
1a3c41fc46 v1.29.0-beta.2 2019-11-15 16:28:13 -08:00
Scott Nonnenberg
d187ab11b2 v1.29.0-beta.1 2019-11-13 17:16:29 -08:00
Scott Nonnenberg
3af2190935 v1.28.0-beta.6 2019-11-12 15:55:33 -08:00
Scott Nonnenberg
483b2b3ff6 v1.28.0-beta.5 2019-11-06 15:45:53 -08:00
Scott Nonnenberg
6c9e61593c v1.28.0-beta.4 2019-10-31 14:20:58 -07:00
Scott Nonnenberg
c7c8bcc33a v1.28.0-beta.3 2019-10-21 16:24:59 -07:00
Scott Nonnenberg
0533b45ed5 v1.28.0-beta.2 2019-10-11 16:02:50 -07:00
Scott Nonnenberg
074c0d3ba0 v1.28.0-beta.1 2019-10-10 15:30:32 -07:00
Scott Nonnenberg
f790694559 Two fixes for linux
* Linux: Change name of .desktop file to work around xdg-settings
* Reintroduce flashFrame on Linux, new --disable-flash-frame param
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
c81c25bb85 Update colors, icons, and fonts 2019-10-10 14:56:14 -07:00
Scott Nonnenberg
957f6f6474 Add entitlements and build configuration for MacOS catalina 2019-10-10 11:30:47 -07:00
Scott Nonnenberg
b05650fa41 v1.27.3-beta.2 2019-09-24 14:14:14 -07:00
Scott Nonnenberg
23b720a982 v1.27.3-beta.1 2019-09-18 16:14:00 -07:00
Scott Nonnenberg
1dea66dd73 Update Electron to 6.0.9 2019-09-13 13:55:13 -07:00
Scott Nonnenberg
58e374ed1f v1.27.2-beta.1 2019-09-06 13:15:40 -07:00
Scott Nonnenberg
3d8006a54f v1.27.1-beta.9 2019-09-05 09:17:05 -07:00
Scott Nonnenberg
93ee9ae2b2 v1.27.1-beta.8 2019-09-04 12:18:56 -07:00
Scott Nonnenberg
ff15a94f2f v1.27.1-beta.7 2019-08-23 13:14:15 -07:00
Scott Nonnenberg
1f7c78eb0e v1.27.1-beta.6 2019-08-22 15:51:07 -07:00
Scott Nonnenberg
6cd3165c1b v1.27.1-beta.5 2019-08-21 16:16:20 -07:00
Scott Nonnenberg
90c2a97aa7 Address alpha feedback 2019-08-21 14:55:18 -07:00
Scott Nonnenberg
d3d2b0ec52 Use curve functions from native module 2019-08-21 14:55:12 -07:00
Scott Nonnenberg
e29eee4583 Update Electron to 6.0.1, SQLCipher to 4.2.0 2019-08-21 14:55:12 -07:00
Scott Nonnenberg
5ebd8bc690 Virtualize Messages List - only render what's visible 2019-08-21 14:52:30 -07:00
Scott Nonnenberg
5b653b3b46 v1.26.2-beta.1 2019-08-15 15:04:20 -07:00
Scott Nonnenberg
2725594301 v1.26.1-beta.1 2019-08-14 10:36:18 -07:00
Scott Nonnenberg
e45ccf7ed2 v1.26.0-beta.4 2019-08-05 16:37:50 -07:00
Ken Powers
6c0365a770 One emoji image set for picker, composition, message bubble 2019-07-25 09:28:44 -07:00
Razzeee
e54c4032b5 Add InstantMessaging and Chat categories for deb package (#3439) 2019-07-19 10:36:12 -07:00
Scott Nonnenberg
50ca51ca2c Update node gyp to remove fstream in production 2019-07-19 13:34:38 -04:00
Scott Nonnenberg
5e6d5937f7 v1.26.0-beta.3 2019-07-17 11:32:09 -07:00
Scott Nonnenberg
e475d99be3 Update yarn version in CI, resolve dependency conflict 2019-07-17 11:29:51 -07:00
Scott Nonnenberg
d5d8df3bf6 Update lodash 2019-07-17 11:29:51 -07:00
Ken Powers
7b645011c2 New composition area with emoji typeahead 2019-07-17 11:29:51 -07:00
Scott Nonnenberg
4457dca72c v1.25.3-beta.1 2019-06-27 15:58:04 -07:00
Scott Nonnenberg
27e9c5fb1d v1.25.2-beta.4 2019-06-24 14:19:00 -07:00
Scott Nonnenberg
ddae8708b4 v1.25.2-beta.3 2019-06-20 17:59:56 -07:00
Peter Uithoven
9f36524a8d Add desktopName to package.json to fix linux badge (#3390) 2019-06-20 17:49:19 -07:00
Scott Nonnenberg
18d59bfa47 v1.25.2-beta.2 2019-06-20 16:24:21 -07:00
Scott Nonnenberg
89a879811d
Revert "Add desktopName to package.json to fix linux badge" (#3409)
This reverts commit 9376dba806.
2019-06-20 16:23:33 -07:00