Commit graph

224 commits

Author SHA1 Message Date
Fedor Indutny
a4ff7ae240
Report more performance stats 2021-04-13 16:43:56 -07:00
Fedor Indutny
207d05fd05 Run SQL initialize in parallel with createWindow 2021-04-09 00:06:46 -04:00
Fedor Indutny
4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Fedor Indutny
1fc7769f9f Optimize database and run quick check 2021-04-08 23:53:18 -04:00
Fedor Indutny
37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Fedor Indutny
4696da46c1 Ensure file permissions for wal sqlite files too 2021-03-30 20:40:48 -04:00
Fedor Indutny
05ea4a4ff8
Don't pass false query value for enableCI
`?enableCI=false` in the main window URL is treated as truthy value so
don't pass it at all.
2021-03-29 15:18:58 -07:00
Fedor Indutny
990e501850
First pass on CI support 2021-03-25 19:02:53 -07:00
Josh Perez
468d491d34 Optimizations to the performance improvement changes 2021-03-19 16:57:35 -04:00
Fedor Indutny
cee8207e72 Fix hidden Dev Tools menu item in development runs 2021-03-19 16:57:35 -04:00
Josh Perez
e3d13f2480 Fix window refresh and reloads 2021-03-19 16:57:35 -04:00
Josh Perez
d82ce07942 Improve cold start performance 2021-03-19 16:57:35 -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
e10ae03bb7
Create group link previews; don't open Signal links in browser first; allow ephemeral download of previously-error'd pack 2021-02-10 16:39:26 -06:00
manuel-91
7095e070eb
GUI: Open settings window centered above mainwindow (#4880)
On multiscreen setup or big monitor it is confusing if
settings window opens far away. With that it will be
centered.

Co-authored-by: Manuel Stein <manuel.stein@gmx.net>
2021-02-04 15:30:37 -08:00
Scott Nonnenberg
6f861e0827 Fix merge conflict with #4619 2021-02-04 14:35:06 -08:00
Harrison Bronfeld
b252aa788a
Bug fix escape 'about page' is breaking on fullscreen mode [macOS] (#4619)
* Remove main window as parent from about window
* Remove previous code to fix 4540

Co-authored-by: Harrison Bronfeld <harrisonbronfeld@Harrisons-MacBook-Air.local>
2021-02-04 14:33:02 -08:00
Evan Hahn
d996c2f950
Fix error on quit when trying to message closed window 2021-02-03 10:39:18 -08:00
Evan Hahn
ddebbf8121
Hide title bar on macOS 2021-02-01 12:01:25 -08:00
Scott Nonnenberg
a48b3e381e
Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
Evan Hahn
a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn
c8b551edab Upgrade to Electron 11 2021-01-25 18:29:01 -08:00
Evan Hahn
f404904a49 Convert dock_icon.js to TypeScript 2021-01-25 18:29:01 -08:00
Josh Perez
bba50c8427 Log app startup time 2021-01-25 18:29:00 -08:00
Evan Hahn
8ace4b6321 Improve window activity detection, improving notification delivery 2021-01-25 18:28:57 -08:00
Evan Hahn
da6de88866 Fix sticker creator window title 2020-12-17 12:12:52 -05:00
Evan Hahn
a2f285d243
Put group calling behind a remote feature flag 2020-12-07 14:35:14 -06:00
Evan Hahn
23fed9ce63
Group calling SFU URL should be configurable 2020-12-07 13:40:11 -06:00
Evan Hahn
ad8cbbe7e5
Log media access status to help debug user reports 2020-12-04 09:31:42 -08:00
Evan Hahn
8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
jimio-signal
1c057323ba Point to support flow instead of github 2020-10-26 15:48:44 -07:00
Oren Magen
147c9d442b
Bug fix escape 'about page' is breaking on fullscreen mode [macOS] (Issue #4540) (#4573) 2020-10-12 18:08:08 -04:00
Scott Nonnenberg
bc3b61db1d Add p-queue timeouts; fix search crash; improve promise rejection logging 2020-09-21 15:42:51 -04:00
Evan Hahn
eba1bf3100 Add software acknowledgments, link to them from About window 2020-09-21 15:42:51 -04:00
Josh Perez
22ba54ce5c Don't count muted convos in badge count by default 2020-09-21 15:42:51 -04:00
Chris Svenningsen
8a2c17f65f Apply new ESLint rules to legacy code 2020-09-09 17:34:57 -07:00
Ken Powers
8290881bd8 Support for Contact Discovery Service 2020-09-09 17:34:57 -07:00
Evan Hahn
fd06ac9d57 Sticker improvements 2020-09-01 17:11:16 -04:00
Evan Hahn
de7a69dee9 Improve parsing of sgnl:// hrefs 2020-08-28 15:42:25 -04:00
Peter Thatcher
57d206a344 Disable background throttling for smoother outgoing call video 2020-08-28 15:42:25 -04:00
Danny Lin
c8261814fd
Add setting to toggle notification attention drawing (#4457)
In many GNU/Linux setups, drawing attention when a notification arrives
causes the Signal window to steal focus immediately and interrupt the
user from what they were doing before the notification arrived. GNOME
Shell is the most prominent example of this behavior, but there are
likely other cases as well. Suddenly stealing focus on external events
like this can even pose a security problem in some cases, e.g. if the
user is in the middle of a typing a sudo password on one monitor while a
notification arrives and focuses Signal on another monitor. See #4452
for more information.

Disabling attention drawing entirely for Linux is also problematic
because some users rely on it as the sole indication of a new message,
as seen in #3582 and #3611.

Commit f790694559 improved the situation
by adding a hidden "--disable-flash-frame" command-line argument, but
this argument is undocumented and manually adding command-line arguments
to the application's .desktop file is not user-friendly.

This commit adds a settings option for whether to draw attention when a
new notification arrives to make it easy for all Linux users to obtain
the appropriate behavior without relying on an undocumented
command-line argument.

Fixes #4452.
2020-08-24 14:45:31 -07:00
Josh Perez
8502d23576 Social Graph: read-only state sync with primary device 2020-07-30 13:10:05 -07:00
Peter Thatcher
d3a27a6442 Calling support 2020-07-30 13:08:47 -07:00
Scott Nonnenberg
2e01c9fb87 Lint fixes 2020-07-01 11:05:41 -07:00
82ba10b5e8dc
22a4cb079c
Ensure window exits fullscreen before closing (#4376) 2020-06-30 09:41:29 -07:00
Ken Powers
cfa8c89077 Hardcode language for /requests/new support page, remove for others
Thanks @82ba10b5e8dc!

Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-06-24 18:43:22 -07:00
Ken Powers
b842b69660 Help Menu changes 2020-06-23 17:30:33 -07:00
Scott Nonnenberg
464c814a95 Remove all IndexedDB migration code 2020-04-29 17:42:41 -07:00
Josh Perez
5e3bbf1dc0 Use platform-specific window icons 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