Commit Graph

92 Commits

Author SHA1 Message Date
Fedor Indutny 3a6c9aa314
Fix sticker-creator uploads 2021-05-25 12:08:08 -07:00
Fedor Indutny bc146a54af await `goBackToMainProcess` in sticker-creator 2021-05-20 17:37:18 -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
Scott Nonnenberg 86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00
Josh Perez 67892d838c
Fix sticker creator uploads 2021-03-25 16:56:13 -07:00
Scott Nonnenberg a3054ac0dc Update Sticker Creator references to LibSignalStore, logging in renderer 2021-03-19 16:57:36 -04:00
Evan Hahn bc37b5c907
Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
Evan Hahn a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn 62ce308fe1 Fix sticker creator upload warning 2021-01-25 18:29:01 -08:00
Evan Hahn ca669a2638 Update Sharp to the latest version, v0.27.0 2021-01-25 18:29:01 -08:00
Evan Hahn 8a72607fa7 Prefer `type` to `interface` and add an ESLint rule 2021-01-25 18:29:00 -08:00
Scott Nonnenberg 26884432a2 Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Romain Ricard 4bb8ed0a3e
Fix max size for animated stickers (#4625) 2020-11-02 16:45:55 -08:00
Evan Hahn bdd71e4898 Support APNGs in Sticker Creator 2020-10-12 18:10:07 -04:00
Sidney Keese dabab60f56 Remove TSLint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-10-12 18:10:07 -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
Scott Nonnenberg bc3b61db1d Add p-queue timeouts; fix search crash; improve promise rejection logging 2020-09-21 15:42:51 -04:00
Sidney Keese 2ade4acd52 Migrate util, types, state, sticker-creator to ESLint 2020-09-21 15:42:51 -04:00
Ken Powers 8290881bd8 Support for Contact Discovery Service 2020-09-09 17:34:57 -07:00
Scott Nonnenberg d75eee015f Show notifications when a user's profile name changes 2020-07-30 13:27:44 -07:00
Josh Perez 8502d23576 Social Graph: read-only state sync with primary device 2020-07-30 13:10:05 -07:00
Ken Powers a7e8b9e655
Allow Sticker Creator ConfirmDialog buttons to grow 2020-05-08 11:48:38 -07:00
iomintz e3f362e119
drop minimum sticker count to 1 (#4057)
I currently have a sticker pack on Telegram which I cannot port to Signal because it has only two stickers. I don't see why we should arbitrarily require four stickers. I could also imagine a sticker pack with just one sticker in it, if that sticker is really good.
2020-05-05 14:33:12 -07:00
Ken Powers d6924c0088 Use bindActionCreators in StickerCreator 2020-04-29 17:42:41 -07:00
Scott Nonnenberg 896dfcb43f Fix sticker creator after CDN and typescript changes 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
Corey Rice 45024beb9c
If no theme setting, default to 'system' theme (#4128) 2020-04-15 17:17:58 -07:00
Scott Nonnenberg b7d56def82 Moves libtextsecure to Typescript
* Starting to work through lint errors

* libsignal-protocol: Update changes for primary repo compatibility

* Step 1: task_with_timeout rename

* Step 2: Apply the changes to TaskWithTimeout.ts

* Step 1: All to-be-converted libtextsecure/*.js files moved

* Step 2: No Typescript errors!

* Get libtextsecure tests passing again

* TSLint errors down to 1

* Compilation succeeds, no lint errors or test failures

* WebSocketResources - update import for case-sensitive filesystems

* Fixes for lint-deps

* Remove unnecessary @ts-ignore

* Fix inability to message your own contact after link

* Add log message for the end of migration 20

* lint fix
2020-04-15 14:45:11 -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 d7b64cd986 Deprecate remaining color-signal-blue 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
Ken Powers 1f5cb9e8af Sticker Creator: Don't pop sticker preview over the close button 2020-03-24 17:02:01 -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 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 0fc178d887
StoryBook: Fully support themes in pop-up components 2020-02-06 11:28:01 -08:00
Ken Powers 95d393ee89 Add version to WebAPI initialize call in sticker creator preload 2020-01-21 13:48:05 -08:00
Ken Powers 0d3b390129 Upgrade Prettier 2020-01-08 09:44:54 -08:00
Ken Powers f7568810ea Sticker Creator: New toaster implementation, better error handling 2020-01-06 18:20:16 -08:00
Ken Powers fe65fd3eaa Sticker creator updates: new 200 sticker max, WebP supported 2019-12-19 15:27:02 -08:00
Scott Nonnenberg 363a7dd179 Fix blank sticker creator window on windows/linux 2019-12-18 10:13:36 -05:00
Ken Powers 11d47a8eb9 Sticker Creator 2019-12-17 12:28:46 -08:00