Scott Nonnenberg
924c271b13
Convert js/modules/types/message to Typescript
2022-06-09 18:10:20 -07:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows
2022-06-08 15:00:32 -07:00
Josh Perez
f1b05afe62
Merge signalapp/Signal-Desktop#5904
2022-06-06 22:06:07 -04:00
Vladislav Gorenkin
01efed8ec3
Open first search candidate on pressing "enter" key
2022-06-06 22:05:38 -04:00
Scott Nonnenberg
d753fe8fcb
getUnreadByConversationAndMarkRead: Only query incoming messages
2022-06-02 18:09:13 -07:00
Fedor Indutny
ecdc583f2a
Add debug log url when submitting it to Support
2022-06-02 16:24:35 -07:00
Evan Hahn
28ab6e11f6
isMuted
-> isConversationMuted
2022-05-23 18:37:53 +00:00
Fedor Indutny
e86a312b74
Disable part of the migration 58
2022-05-18 09:44:43 -07:00
Scott Nonnenberg
105508c50f
Update unread count when creating important local notifications
2022-05-11 19:45:20 -07:00
Scott Nonnenberg
300cee2e24
JobQueue: If job data does not parse, delete it from database
2022-05-05 11:55:15 -07:00
Fedor Indutny
0a24ca8d88
Fix handling of 206 status code in updater
2022-04-26 16:58:29 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types
2022-04-22 11:35:14 -07:00
Scott Nonnenberg
37c44fb631
Support for server-configurable maximum attachment size
2022-04-13 10:47:39 -07:00
Scott Nonnenberg
677548f3a3
getSuggestedFilename: January 2nd to fix test failure in some time zones
2022-04-13 10:45:49 -07:00
Chris Eager
2f5e4f1b98
Update message reporting to use sender ACI instead of E164
2022-04-12 12:54:04 -07:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact
2022-04-11 17:26:09 -07:00
Fedor Indutny
37d06ec7b9
Graceful handling of single-range diff download
2022-04-07 19:14:41 -07:00
Fedor Indutny
9568d5792e
Allow adding to a group by phone number
2022-04-04 17:38:22 -07:00
Scott Nonnenberg
006de5b1a5
Don't linkify when certain unicode formatting characters are present
2022-03-28 17:28:37 -07:00
Fedor Indutny
c5a3ffddf9
Limit number of GV2 banned members
2022-03-23 15:34:51 -07:00
Fedor Indutny
35b5087dc0
Short-circuit storyId predicate to optimize query
2022-03-21 14:21:35 -07:00
Evan Hahn
efee887135
Don't try generating link previews for debuglogs.org
2022-03-08 14:04:44 -06:00
Evan Hahn
0c28561473
Move link preview and MIME tests to TypeScript
2022-03-07 15:20:04 -08:00
Fedor Indutny
df7cdfacc7
Don't mkdir restore dir in updater
2022-03-04 11:59:47 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable
2022-03-04 13:48:44 -06:00
Fedor Indutny
26100ea562
Make updates atomic again
2022-03-03 14:34:51 -08:00
Fedor Indutny
fe9cdfbed9
Fix error handling during piping in updater
2022-03-02 11:48:07 -08:00
Fedor Indutny
da7a76e03f
Pass go headers through in updater/differential
2022-03-02 10:06:58 -08:00
Fedor Indutny
19441cd3f3
Optimize number of range requests in updater
2022-03-01 14:44:29 -08:00
Fedor Indutny
29c2f77d40
Display differential download size in UI
2022-02-25 10:44:03 -08:00
Jon Chambers
45289f519a
Accept HTTP/429 as a "rate-limited" status code
2022-02-24 16:26:58 -08:00
Fedor Indutny
f58d1332c4
Differential updates
2022-02-24 13:01:41 -08:00
Scott Nonnenberg
30783c887c
Introduce new conversationJobQueue
2022-02-16 10:36:21 -08:00
Fedor Indutny
0174687542
Use esbuild
2022-02-11 13:38:52 -08:00
Scott Nonnenberg
0a18cc50bd
New queue for view once syncs, handleRetry improvements
2022-02-08 09:30:42 -08:00
Evan Hahn
60d348e7cb
Open all Signal links in app
2022-02-02 10:29:01 -08:00
Josh Perez
e79fb9d2e5
Fix lost focus when typing in archived message while searching
2022-02-02 09:30:39 -06:00
Evan Hahn
05e5786883
Increase fallback Retry-After
time to 1 minute
2022-01-31 15:09:58 -06:00
Evan Hahn
1c43e7501c
Simplify spellcheck download URL, disable spellcheck in most windows
2022-01-28 16:27:18 -06:00
Josh Perez
bf45182a39
New left pane search design
2022-01-27 16:12:26 -06:00
Fedor Indutny
3aa488c3d5
Avoid calling tray.destroy()
when quitting
2022-01-24 16:18:53 -08:00
Evan Hahn
c1e3e87b99
Prohibit Chai expect
or should
; prefer assert
2022-01-19 11:19:08 -08:00
Fedor Indutny
145d9287d9
Add tentative prefix to crash report uploads
2022-01-14 13:50:45 -08:00
Scott Nonnenberg
90356d4c0f
Move a number of sync messages to jobs for retry
2022-01-14 13:34:52 -08:00
Evan Hahn
a5a73e869c
Convert remaining main process tests to TypeScript
2022-01-11 17:10:35 -08:00
Evan Hahn
0c12607e79
Fix "did reaction fully send?" logic
2022-01-11 16:50:11 -08:00
Fedor Indutny
91f1b62bc7
Detect startup after recent crashes
2022-01-11 12:02:46 -08:00
Evan Hahn
d9b951bfcb
Update base config logging, removal, and tests
2022-01-11 11:12:55 -08:00
Evan Hahn
206f461370
Move menu tests to TypeScript
2022-01-11 09:28:04 -08:00
Scott Nonnenberg
a17e157e7b
Fix messages_unread index
2022-01-07 12:51:19 -08:00
Fedor Indutny
fa8ff2ae4c
Fix messages_preview index
2022-01-07 11:51:41 -08:00
Fedor Indutny
9d04daff5f
Fix message_user_initiated
2021-12-21 22:49:40 +01:00
Scott Nonnenberg
60a53656af
Optimize a few queries
2021-12-20 22:04:02 +01:00
Evan Hahn
3fa911598b
Use Signal's spellcheck dictionary files
2021-12-17 14:24:54 -08:00
Scott Nonnenberg
42cb570029
messages table: introduce new computed isStory field for index usage
2021-12-15 09:17:14 +01:00
Evan Hahn
c32917284a
Increase SystemTrayService test timeout to help CI reliability
2021-12-14 19:13:06 +01:00
Evan Hahn
43f843f9fc
Use assert.isRejected
instead of custom assertRejects
2021-12-13 18:38:40 +01:00
Evan Hahn
0e3d12c457
Prevent display sleep while on a call
2021-12-10 16:53:10 -06:00
Scott Nonnenberg
fdc9885baa
Migration and data access functions for stories
2021-12-08 20:52:46 +01:00
Fedor Indutny
874a019227
M1 Support
2021-12-03 23:49:15 +01:00
Scott Nonnenberg
fbd7292663
Update username max/min lengths
2021-11-15 14:18:46 -08:00
Evan Hahn
ede34ecee3
Enable noImplicitOverride
TypeScript compiler option
2021-11-12 15:44:20 -08:00
Scott Nonnenberg
cbae7f8ee9
Search for username in compose mode
2021-11-11 17:17:29 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1
2021-11-11 16:43:05 -06:00
Evan Hahn
d6ffb08a63
Disable class-methods-use-this
lint rule
2021-11-04 16:04:51 -05:00
Fedor Indutny
7f9beef055
Extra logging for GV2 UUID migration
2021-11-03 09:59:46 -05:00
Evan Hahn
a9cb621eb6
Various search UI improvements
2021-11-01 11:43:02 -07:00
Evan Hahn
8670a4d864
Retry outbound reactions for up to a day
2021-10-29 18:19:44 -05:00
Fedor Indutny
246583d274
Fix runtime error during SQL migration
2021-10-27 12:15:03 -05:00
Fedor Indutny
63fcdbe787
Use UUIDs in group database schema
2021-10-26 15:59:08 -07:00
Evan Hahn
74fde10ff5
Prefer import type
when importing types
2021-10-26 14:15:33 -05:00
Scott Nonnenberg
be862afd1a
base_config: Don't throw if loaded config file is empty
2021-10-25 14:41:44 -05:00
Josh Perez
b32d068e83
Affordances for really tall messages
2021-10-20 15:46:42 -05:00
Fedor Indutny
50c9b1bf7f
Cache system-tray-setting in ephemeral config
2021-10-20 14:56:49 -05:00
Scott Nonnenberg
efde909484
Delete reactions when their parent message is deleted
2021-10-15 15:54:31 -07:00
Evan Hahn
35a54cdc02
Introduce a new design for the left pane
2021-10-12 16:59:08 -07:00
Evan Hahn
940f009987
Bullet-proof tray icon against nonexistent icon file
2021-10-07 13:09:56 -07:00
Fedor Indutny
1466f9f1b2
Update got/form-data to latest
2021-10-06 09:25:22 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types
2021-10-05 17:10:08 -05:00
Fedor Indutny
6fb38b940a
Remove stale test
2021-10-05 11:26:59 -07:00
Evan Hahn
b239502813
Fix license header file enumeration
2021-10-01 16:52:36 -05:00
Scott Nonnenberg
9a1430a460
Typescriptify main.js
2021-10-01 13:49:59 -05:00
Evan Hahn
9791fa43ef
Improve handling of 413 HTTP responses
2021-09-27 09:44:09 -05:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration
2021-09-23 17:49:05 -07:00
Fedor Indutny
dbd427396c
Convert js/modules/types/contact.js to TypeScript
2021-09-23 09:26:25 -05:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder
2021-09-20 12:27:15 -04:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window
2021-09-17 14:27:53 -04:00
Fedor Indutny
039bd072ed
Extra tests for SignalProtocolStore migration
2021-09-15 11:43:34 -07:00
Evan Hahn
8064560a5f
Update to new provisioning URL scheme
2021-09-09 17:08:19 -05:00
Evan Hahn
a3eed6191e
Ensure messages are sent in order, even with errors
2021-09-07 15:39:14 -05:00
Evan Hahn
1f45bce0a2
When a job fails, respect the Retry-After
header if applicable
2021-09-02 17:31:21 -05:00
Evan Hahn
15cad32862
Update groupMediaItemsByDate
test to (hopefully) improve reliability
2021-09-01 13:33:08 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day
2021-08-31 13:58:39 -07:00
Evan Hahn
41c78240fd
Handle null
values in read sync jobs
2021-08-30 17:59:34 -05:00
Evan Hahn
6f242eca57
Handle signal.me links
2021-08-28 08:27:38 -05:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2
2021-08-27 15:21:42 -05:00
Josh Perez
1973224adb
Fixes flakey CI
2021-08-26 13:42:25 -07:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of
2021-08-26 13:18:00 -05:00
Josh Perez
4afe4649ec
Fixes save in lightbox
2021-08-25 14:08:32 -07:00
Josh Perez
d5d808651a
Improved Lightbox experience
2021-08-23 16:14:53 -07:00
Evan Hahn
79c976668b
Receive rings for group calls
2021-08-20 09:06:15 -07:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType
2021-08-19 20:56:39 -05:00
Josh Perez
e9308bbafb
New option for control over update downloads
2021-08-19 15:56:29 -07:00
Evan Hahn
ed83061651
Improve @mentions tokenization
2021-08-17 13:55:25 -05:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message
2021-08-17 08:43:26 -07:00
Josh Perez
12d2b1bf7c
Avatar defaults and colors
2021-08-05 20:17:05 -04:00
Evan Hahn
689542a9b4
Show additional data in debug log header
2021-07-30 09:43:16 -07:00
Fedor Indutny
6e4a3561f1
Redecode unknown protobuf fields before writing
2021-07-28 16:44:58 -07:00
Evan Hahn
18140c4a9d
Retry outbound read syncs for up to 24 hours
2021-07-23 15:02:36 -07:00
Fedor Indutny
943bb38af1
Make JobQueue an abstract class
2021-07-21 16:10:08 -05: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
Evan Hahn
8b30fc17cd
Officially support the system tray on Linux, in beta only
2021-06-29 14:29:40 -05:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows
2021-06-29 12:18:03 -05:00
Fedor Indutny
cd28e71bc6
Default disappearing message timeout fixes
2021-06-25 16:52:56 -07:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors
2021-06-17 10:15:10 -07:00
Fedor Indutny
df0aadc8a4
Update electron to 13.1.2
2021-06-10 13:53:43 -07:00
Fedor Indutny
51b45ab275
Add extension to uploaded debug log
2021-06-01 17:16:10 -05:00
Evan Hahn
d4dc9b8e39
Message Requests: Add new "Report spam and block" button
2021-05-27 13:37:58 -07:00
Scott Nonnenberg
e6f1ec2b6b
Send support for Sender Key
2021-05-25 15:40:04 -07:00
Evan Hahn
8f0731d498
Remove unsupported auto-launch setting on Linux
2021-05-20 17:37:18 -07:00
Fedor Indutny
80da8bb47b
Display SMS/MMS disclaimer in empty search results
2021-05-20 17:37:17 -07:00
Evan Hahn
d28678dbf9
Make it more difficult to blur avatars
2021-05-07 17:21:10 -05:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server
2021-05-05 17:09:29 -07:00
Evan Hahn
bbd7fd3854
Initial support for job queue
2021-04-29 18:02:27 -05:00
Josh Perez
5e2d48cc2f
Do not populate left pane on initial link
2021-04-20 19:16:49 -04:00
Evan Hahn
d81aaf654f
Improve left pane UI when loading search results
2021-04-05 18:08:50 -04:00
Evan Hahn
f05d45ac9b
Pressing Esc in left pane composer menu should go back
2021-04-05 18:08:50 -04:00
Evan Hahn
afe135df0c
Hide long message attachments in quotes
2021-03-25 11:36:50 -07:00
Josh Perez
0fd0fac262
Check for conversation conflicts before writing
2021-03-19 16:57:35 -04:00
Josh Perez
d82ce07942
Improve cold start performance
2021-03-19 16:57:35 -04:00
Evan Hahn
5de4babc0d
Support for creating New Groups
2021-03-19 16:53:52 -04:00
Evan Hahn
06fb4fd0bc
Add "new conversation" composer for direct messages
2021-03-19 16:53:51 -04:00
Evan Hahn
4519aa4abf
Allow PSD uploads over 6MB
...
You can't currently upload PSD files over 6MB. This is because its
mimetype is `image/vnd.adobe.photoshop`. We think this is an image, and
non-GIF images have a limit of 6MB.
To fix this, we could do one of two things:
1. Add a special case for PSD files
2. Increase the size limit for unsupported image types such as this
I went with the second option.
Tested this by:
- adding automated tests
- uploading a ~9 MB PSD file
- uploading a ~1 MB PNG
- uploading a ~27 MB PNG (which worked because it's converted to a smaller JPEG)
- uploading a ~50 MB text file
- trying to upload a ~500 MB text file (which failed, as expected)
Addresses [DESKTOP-1168][].
[DESKTOP-1168]: https://signalmessenger.atlassian.net/browse/DESKTOP-1168
2021-02-10 14:47:55 -08: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
Scott Nonnenberg
e863aae0bf
Specify public key type in updatesPublicKey
2021-02-05 11:34:52 -06: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
8a72607fa7
Prefer type
to interface
and add an ESLint rule
2021-01-25 18:29:00 -08:00
Evan Hahn
8ccf402497
Use consistent User-Agent when uploading debug logs
2021-01-25 18:28:59 -08:00
Evan Hahn
dd0ea6b3fe
Upgrade TypeScript to the latest version, v4.1.3
2021-01-25 18:28:57 -08:00
Evan Hahn
dc918aea1d
Check leaks in Mocha
2021-01-11 12:17:09 -08:00
Evan Hahn
116ff74be8
Update license tests in preparation for new year
2020-12-17 12:12:52 -05:00
Evan Hahn
31c2fe56f4
yarn test-electron: automatically pick up test files
2020-12-04 13:54:46 -08:00
Scott Nonnenberg
6832b8acca
Timeline: repair oldest/newest metrics if we fetch nothing
2020-12-04 14:41:40 -06:00