Commit Graph
11179 Commits
Author SHA1 Message Date
Evan HahnandGitHub 842d7980a6 Remove old comment about await in loop 2021-04-13 15:22:28 -07:00
Josh PerezandGitHub ef781af0ce Updates a11y dev deps 2021-04-13 17:33:24 -04:00
Fedor IndutnyandGitHub a50d797d16 Fix attachment filename being truncated when zoomed in 2021-04-13 10:13:18 -07:00
Fedor IndutnyandGitHub d933e3a6fe Performance: Automate clean up of old material after hitting a limit in libsignal-protocol 2021-04-13 08:52:26 -07:00
Kevin J. Sung 2d5ef9eae1 edit CSS to fix attachment filename being truncated 2021-04-13 11:20:20 -04:00
Evan HahnandGitHub 62f1a42c25 Add reusable <Modal> component, use with <Alert> 2021-04-13 09:20:02 -05:00
Jost Schulte 1493c1bf0e Reduce media min width for message reactions 2021-04-13 12:20:22 +02:00
Quentin Hibon 38074374f4 Add test 2021-04-10 01:30:16 +02:00
Josh Perez 1c23efb76b v5.0.0-beta.4 v5.0.0-beta.4 2021-04-09 16:46:00 -04:00
Hugo Osvaldo Barrera 207c533de1 Use a node-gyp version which supports Python3
The currently pinned version of `node-gyp` requires Python 2.  Python 2
has reached its EOL a long time ago and is unsupported by upstream.

The requirement on Python 2 is also an unnecessary barrier for new
developers to contribute to Signal.

This changeset updates the required version of node-gyp to one
compatible with Python 3.

`CONTRIBUTING.md` remains unchanged, since this dependency was not
previously mentioned anyway.

Supersedes #4407
Fixes #4783
2021-04-09 22:13:11 +02:00
Josh PerezandGitHub a2a361f0bf Extra validations for storage service 2021-04-09 16:12:05 -04:00
Scott NonnenbergandGitHub e47b00a33c Don't mark old messages as read on timer update 2021-04-09 13:11:36 -07:00
Fedor Indutny 9846fb8edf Cache GroupFields
Computing GroupFields is costly so cache them instead of doing the
derivation anew on every message.
2021-04-09 12:14:59 -07:00
Fedor IndutnyandJosh Perez 847cc3e055 Do not generate notification when disabled
Generating identicons for notifications is costly even if they are
cached. Avoid this extra load when notifications are not going to be
shown anyway.
2021-04-09 15:01:25 -04:00
Evan HahnandJosh Perez 23b3d34eef Upgrade Sharp to v0.28.1 2021-04-09 15:01:25 -04:00
Josh PerezandGitHub 6c0acd09df Sync mute state 2021-04-09 11:19:38 -05:00
Fedor IndutnyandJosh Perez 15247e1c9a Fix addStickerPackReference 2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez 207d05fd05 Run SQL initialize in parallel with createWindow 2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez af9e038add Optimize hot queries
`getLastConversationX()` is called from debounced function, but
depending on how fast the fetch from the server is the actual
invocations could happen for every other message. Prepare and optimize
queries to save time.
2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez f7cc23e034 Disable webpack cache for now 2021-04-09 00:06:46 -04:00
Scott NonnenbergandJosh Perez e0415de893 Don't always show an error on manual contact sync 2021-04-09 00:06:46 -04:00
Evan HahnandJosh Perez a82fa86176 Fetch sender certificates on-demand 2021-04-09 00:06:46 -04:00
Fedor IndutnyandJosh Perez 6ff55914f0 Deduplicate conversations before passing to redux
Receiving a single message on conversations triggers ~4 updates.
However, since `.format()` is called on next tick - the value is going
to be the same regardless of which particular update triggered it. Batch
conversations and de-duplicate them before passing to redux to save
time.
2021-04-09 00:06:14 -04:00
Fedor IndutnyandJosh Perez 4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Evan HahnandJosh Perez 9c3e3c4331 Put GroupTitleInput.scss in the right place 2021-04-09 00:05:41 -04:00
Fedor IndutnyandJosh Perez eb6d1b7216 Fix StickerType in sql/Interface and fix query 2021-04-09 00:05:41 -04:00
Fedor IndutnyandJosh Perez c609389aaf Update to Webpack 5 2021-04-09 00:05:41 -04:00
Fedor IndutnyandJosh Perez d599032cef Always run yarn from "scripts" 2021-04-08 23:53:18 -04:00
Evan HahnandJosh Perez f615b1a75f Reject reactions with invalid number of graphemes 2021-04-08 23:53:18 -04:00
Evan HahnandJosh Perez 95482fbf31 Add affirmative and destructive secondary button variants 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez 0555ef0a1e Change primary key for messages table 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez 1fc7769f9f Optimize database and run quick check 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez b9248e04ed Cache SQL statements used during startup 2021-04-08 23:53:18 -04:00
Evan HahnandJosh Perez 7ae25590e6 Add conversation hero to <Timeline> stories 2021-04-08 23:53:18 -04:00
Evan HahnandJosh Perez b5269f4927 Remove unused isAccepted property from ConversationType 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez 37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Fedor IndutnyandJosh Perez fc3004a183 Make test-node report errors 2021-04-08 23:51:54 -04:00
Evan HahnandJosh Perez 8fe1be8678 Remove ability to set or read author E164 for new quotes 2021-04-08 23:51:54 -04:00
Evan HahnandJosh Perez 18ccda83ba Use UUID-only sender certificate when applicable 2021-04-08 23:51:54 -04:00
Fedor IndutnyandJosh Perez cfd77bf968 Update yarn to the latest for CI 2021-04-08 23:51:54 -04:00
Fedor IndutnyandJosh Perez 3970ae642d Update node to 14.16.0 2021-04-08 23:51:54 -04:00
Fedor IndutnyandJosh Perez a97abf718d Sort lint exceptions 2021-04-08 23:51:54 -04:00
Fedor IndutnyandJosh Perez 6e41009d74 Update zkgroup to the latest 2021-04-08 23:51:54 -04:00
Fedor IndutnyandJosh Perez 5bcf50ede9 Update electron to 12.0.2 2021-04-08 23:51:53 -04:00
Fedor IndutnyandJosh Perez 2796dfab23 Check charset types in linkPreviewFetch.ts 2021-04-08 23:51:53 -04:00
Josh Perez fbaf3ba247 v5.0.0-beta.3 v5.0.0-beta.3 2021-04-08 15:37:53 -04:00
Scott NonnenbergandGitHub bb412d61c2 Required profile sharing: Only activate for 1:1 and gv1 groups 2021-04-08 15:35:11 -04:00
Josh PerezandGitHub 9438b7b3fe Fixes pinned conversations sync 2021-04-08 15:27:20 -04:00
Quentin Hibon 8abd73fa4f Do not search if normalized query is empty
Fixes #5137
2021-04-08 12:32:44 +02:00
Quentin Hibon 5623bb5906 Fix enveloppe header in search results
Fixes #5158.
2021-04-08 12:02:56 +02:00