Signal-Desktop/ts/util
Scott Nonnenberg 2464e0a9c1
Convert signal.js and preload.js to Typescript
2022-06-13 14:39:35 -07:00
..
lint Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
ringrtc Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
AbortableProcess.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
AsyncQueue.ts Initial support for job queue 2021-04-29 18:02:27 -05:00
BackOff.ts Add jitter support to BackOff class 2021-09-28 15:12:43 -07:00
GoogleChrome.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
JobQueue.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
LatestQueue.ts Group calling: Peek into a group call 2020-11-23 14:49:32 -05:00
MessageController.ts More frequent message cleanup 2022-01-13 10:30:51 -08:00
Sound.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
StartupQueue.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Zone.ts Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
areArraysMatchingSets.ts Honor preferContactAvatars field on AccountRecord 2022-01-25 09:44:45 -08:00
areObjectEntriesEqual.ts Retry outbound reactions for up to a day 2021-10-29 18:19:44 -05:00
arePinnedConversationsEqual.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
arrayBufferToObjectURL.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
assert.ts Soft assert for hydrating story context 2022-05-11 16:47:19 -07:00
assignWithNoUnnecessaryAllocation.ts Remove unused `eslint-disable`s 2022-06-03 14:07:51 -07:00
asyncIterables.ts ESLint: allow `for..of` 2021-08-26 13:18:00 -05:00
attachments.ts Cache paths resolved by createPathGetter 2022-04-27 11:40:58 -07:00
avatarDataToBytes.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
avatarTextSizeCalculator.ts Render emoji like a sticker 2021-10-06 10:37:53 -07:00
awaitObject.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
batcher.ts Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
callingGetParticipantName.ts Receive rings for group calls 2021-08-20 09:06:15 -07:00
callingMessageToProto.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
callingNotification.ts Disable "Call Again" if already on a call 2022-02-11 12:21:45 -06:00
callingPermissions.ts Simplify permissions popup IPC 2021-11-09 07:35:31 -08:00
callingTones.ts Use `throwOnTimeout` option for PQueue 2021-11-23 23:01:03 +01:00
canvasToBlob.ts Option to send photos as high quality 2021-06-25 11:08:16 -05:00
canvasToBytes.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
characters.ts New Group administration: update title and avatar 2021-03-19 16:57:35 -04:00
cleanSearchTerm.ts Remove backslash from search queries 2021-04-02 15:29:54 -05:00
cleanup.ts No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
clearTimeoutIfNecessary.ts Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
combineNames.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
consoleLogger.ts Use console logger when regular is not available 2021-10-21 12:49:53 -07:00
contactSpoofing.ts Group name spoofing warning 2021-06-01 16:30:25 -07:00
copyGroupLink.ts Removes ToastView, new React toast 2021-09-22 16:59:54 -04:00
createAvatarData.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
createIPCEvents.tsx Convert `ReactWrapperView` to TypeScript 2022-06-03 09:33:39 -07:00
createIdenticon.tsx Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
createSupportUrl.ts Add debug log url when submitting it to Support 2022-06-02 16:24:35 -07:00
deconstructLookup.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
deleteAllLogs.ts Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
deleteDraftAttachment.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
deleteForEveryone.ts Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
deprecated.ts Fix logging in util/deprecated.ts 2021-07-12 17:43:56 -07:00
downloadAttachment.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
dropNull.ts ESLint: allow `for..of` 2021-08-26 13:18:00 -05:00
durations.ts Drop old unprocessed envelopes 2021-12-13 17:25:44 -08:00
emoji.ts Update dependencies to support Emoji v14 2022-04-07 14:50:42 -04:00
encryptProfileData.ts Optimize profile avatar uploads and sync urls 2022-03-15 17:14:20 -07:00
enum.ts Add enum parser utility 2021-04-05 18:08:50 -04:00
expirationTimer.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
explodePromise.ts Block WebAPI during active registration 2021-12-17 22:26:50 +01:00
exponentialBackoff.ts Add `durations` utility for computing durations 2021-08-26 09:10:58 -05:00
fileToBytes.ts Moves DraftAttachments into redux 2021-09-24 16:03:32 -04:00
filterAndSortConversations.ts Sort groups you've left to the bottom of search 2022-05-31 09:28:31 -07:00
findAndFormatContact.ts Display user badges 2021-11-02 16:01:13 -07:00
findStoryMessage.ts Process incoming story messages 2022-03-04 13:14:52 -08:00
formatDuration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
generateBlurHash.ts Process text story messages 2022-04-05 21:18:07 -04:00
getAccessControlOptions.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getAnimatedPngDataIfExists.ts Update electron to 13.1.2 2021-06-10 13:53:43 -07:00
getAvatarData.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getBasicAuth.ts Use new CDS implementation in staging 2022-03-09 11:28:40 -08:00
getClassNamesFor.ts One SearchInput to rule them all 2021-05-10 20:50:43 -04:00
getConversationColorAttributes.ts Fix default conversation color overrides 2021-12-03 18:10:03 -08:00
getConversationMembers.ts Don't send to blocked users 2022-02-24 18:40:56 -08:00
getConversationUnreadCountForAppBadge.ts Remove inboxCollection, ensure falsey active_at removes from badge count 2022-05-31 18:26:57 -07:00
getCustomColorStyle.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getFontNameByTextScript.ts Process text story messages 2022-04-05 21:18:07 -04:00
getGroupMemberships.ts Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
getHSL.ts Conversation Colors 2021-05-28 09:15:17 -07:00
getInitials.ts getInitials: handle more cases 2021-04-02 15:30:49 -05:00
getMessageTimestamp.ts Convert `ReactWrapperView` to TypeScript 2022-06-03 09:33:39 -07:00
getMuteOptions.ts `isMuted` -> `isConversationMuted` 2022-05-23 18:37:53 +00:00
getMutedUntilText.ts Use `isSameDay` and `isToday` utilities 2022-02-02 10:27:44 -08:00
getOwn.ts Remove unused `eslint-disable`s 2022-06-03 14:07:51 -07:00
getProfile.ts Don't update our own profile key from group state 2022-04-14 15:26:47 -07:00
getProvisioningUrl.ts Uint8Array migration 2021-09-23 17:49:05 -07:00
getSendOptions.ts Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
getStoryBackground.ts Full width/height stories 2022-04-22 14:36:34 -04:00
getStoryDuration.ts Ensure that we resolve attachments before displaying them 2022-04-25 10:25:50 -07:00
getStoryReplyText.ts Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
getStreamWithTimeout.ts Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
getStringForProfileChange.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getTextWithMentions.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getUserAgent.ts Add OS to User-Agent 2020-11-12 15:29:54 -08:00
grapheme.ts Reject reactions with invalid number of graphemes 2021-04-08 23:53:18 -04:00
graphemeAwareSlice.ts Adds captions in the viewer 2022-04-14 13:02:12 -04:00
groupMemberNameCollisions.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
handleAttachmentsProcessing.ts Allow stage and send of video, even if we can't get screenshot 2021-11-15 13:54:33 -08:00
handleImageAttachment.ts Check filename extension for heic/heif images 2021-12-06 18:20:27 +01:00
handleMessageSend.ts Request and handle PniIdentity sync message 2022-03-25 10:36:08 -07:00
handleRetry.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
handleVideoAttachment.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
hasAttachmentDownloads.ts Process incoming story messages 2022-03-04 13:14:52 -08:00
hasExpired.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
idForLogging.ts New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
imagePathToBytes.ts Uint8Array migration 2021-09-23 17:49:05 -07:00
imageToBlurHash.ts upgrade electron-builder to 22.10.5 2021-04-13 18:27:43 -07:00
incrementMessageCounter.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
index.ts Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
isAnnouncementGroupReady.ts Standardize feature flag for internal testing 2021-08-05 10:00:33 -07:00
isAttachmentSizeOkay.ts Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
isConversationAccepted.ts Fixes isAccepted logic when calling it for the first time 2022-04-07 19:12:35 -07:00
isConversationMuted.ts `isMuted` -> `isConversationMuted` 2022-05-23 18:37:53 +00:00
isConversationNameKnown.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
isConversationSMSOnly.ts Fix SMS-only check for unregistered convo 2021-06-01 13:10:19 -07:00
isConversationUnread.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
isConversationUnregistered.ts Add timestamp utilities with helpful names 2021-03-22 16:08:52 -05:00
isEmojiOnlyText.tsx Improve performance of isEmojiOnlyText 2022-01-27 13:28:04 -08:00
isFileDangerous.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
isGroupCallOutboundRingEnabled.ts Let users ring members when starting a group call 2021-08-25 16:42:51 -05:00
isInSystemContacts.ts Don't show name collisions for system contacts 2021-06-02 10:24:22 -07:00
isMessageUnread.ts Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
isNormalNumber.ts Refresh profiles on app start (at most every 12 hours) 2021-03-19 16:57:36 -04:00
isNotNil.ts Move SignalProtocolStore to TypeScript 2021-03-19 16:53:52 -04:00
isPathInside.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
isPhoneNumberSharingEnabled.ts Removes old feature flags 2021-08-18 18:04:38 -07:00
isRecord.ts Show additional data in debug log header 2021-07-30 09:43:16 -07:00
isSameAvatarData.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
isSorted.ts Tweaks to left pane snapping logic 2021-10-14 16:19:50 -05:00
isValidE164.ts Handle signal.me links 2021-08-28 08:27:38 -05:00
isWindowDragElement.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
iterables.ts Improvements to group calling video requests 2022-05-23 10:16:13 -07:00
leftPaneWidth.ts Process incoming story messages 2022-03-04 13:14:52 -08:00
libphonenumberInstance.ts Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
libphonenumberUtil.ts Convert libphonenumber utilities to TypeScript, removing unused ones 2022-06-01 10:48:16 -07:00
loadRecentEmojis.ts Move emoji loading into TS 2021-09-20 10:59:09 -07:00
loadable.ts Redesign device link screens 2021-12-16 16:02:22 +01:00
longRunningTaskWrapper.tsx Convert `ReactWrapperView` to TypeScript 2022-06-03 09:33:39 -07:00
lookupConversationWithoutUuid.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
makeLookup.ts New Group administration: Add users 2021-03-19 16:57:35 -04:00
mapToSupportLocale.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
mapUtil.ts Dynamic audio level indicator 2022-05-18 23:28:51 -04:00
markAllAsApproved.ts Move common utils out of conversation view 2021-09-27 11:29:00 -05:00
markAllAsVerifiedDefault.ts Move common utils out of conversation view 2021-09-27 11:29:00 -05:00
markConversationRead.ts Convert message cleanup services to TypeScript 2022-05-31 16:53:14 -07:00
memoizeByRoot.ts Upgrade Reselect to 4.1.2 2021-11-12 16:37:44 -06:00
messageBatcher.ts Optimize a few queries 2021-12-20 22:04:02 +01:00
migrateColor.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
missingCaseError.ts Remove duplicate helper function from `missingCaseError` 2022-02-01 16:57:31 -08:00
normalizeDeviceName.ts Redesign device link screens 2021-12-16 16:02:22 +01:00
normalizeUuid.ts Dropped storage keys should not cause upload 2022-02-14 11:36:32 -08:00
openLinkInWebBrowser.ts Moves navigateTo to util 2021-09-21 16:45:25 -04:00
parseIntOrThrow.ts Support for creating New Groups 2021-03-19 16:53:52 -04:00
parseIntWithFallback.ts Support for creating New Groups 2021-03-19 16:53:52 -04:00
parseRemoteClientExpiration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
parseRetryAfter.ts Challenge: If no retry-after header on 428, don't start timer for retry 2022-04-25 16:05:23 -07:00
phoneNumberDiscoverability.ts Storage service: save new AccountRecord fields to disk 2021-04-05 18:08:50 -04:00
phoneNumberSharingMode.ts Storage service: save new AccountRecord fields to disk 2021-04-05 18:08:50 -04:00
popperUtil.ts Fix tooltip placement bugs by upgrading Popper 2021-08-03 12:04:49 -05:00
preload.ts Use `invoke`/`handle` in `settingsChannel` 2021-11-09 16:56:56 -08:00
privacy.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
processAttachment.ts Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
processImageFile.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
queueAttachmentDownloads.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
reallyJsonStringify.ts Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
refMerger.ts Fix render loop in `<Modal>`, clean up ref merger code 2021-10-01 16:53:00 -07:00
registration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
replaceIndex.ts Let users customize the preferred reaction palette 2021-09-09 09:29:01 -07:00
requestMicrophonePermissions.ts Simplify permissions popup IPC 2021-11-09 07:35:31 -08:00
resolveAttachmentDraftData.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
resolveDraftAttachmentOnDisk.ts Capture draft attachment's dimensions 2021-11-30 15:32:55 -08:00
retryDeleteForEveryone.ts Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
retryMessageSend.ts Move common utils out of conversation view 2021-09-27 11:29:00 -05:00
retryPlaceholders.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
safetyNumber.ts Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
scaleImageToLevel.ts Convert libphonenumber utilities to TypeScript, removing unused ones 2022-06-01 10:48:16 -07:00
scrollUtil.ts Remove React Virtualized from `<Timeline>` 2022-03-03 14:23:10 -06:00
sendReceipts.ts Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
sendToGroup.ts On Sender Key distribution message failure, don't update send status 2022-06-02 14:25:55 -07:00
sessionTranslation.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
setUtil.ts Speaking indicator for group calls 2022-02-08 12:30:33 -06:00
setupI18n.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
sgnlHref.ts Open all Signal links in app 2022-02-02 10:29:01 -08:00
shouldBlurAvatar.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
shouldDownloadStory.ts Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
shouldRespondWithProfileKey.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
showToast.tsx Support for incoming gift badges 2022-05-11 13:59:58 -07:00
sleep.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
sniffImageMimeType.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
sortByTitle.ts Prefer `type` to `interface` and add an ESLint rule 2021-01-25 18:29:00 -08:00
startTimeTravelDetector.ts Rewrite `WallClockListener` as `onTimeTravel` 2022-05-31 09:22:31 -07:00
theme.ts Dark theme for calling device selection 2020-12-04 15:03:01 -08:00
timelineUtil.ts New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
timer.ts Improve layout of various message bubbles 2022-04-07 09:58:15 -07:00
timestamp.ts Adds playback bar to story viewer 2022-05-06 12:02:44 -07:00
timestampLongUtils.ts Use --force-long with pbjs 2022-03-23 13:49:27 -07:00
toggleMaximizedBrowserWindow.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
universalExpireTimer.ts Universal Disappearing Messages 2021-06-01 13:45:43 -07:00
updateOurUsername.ts Usernames: Fetch own username from /whoami not /profile 2021-12-15 12:02:55 -08:00
url.ts Remove many instances of deprecated url.parse 2021-05-20 17:37:07 -07:00
userLanguages.ts Display user badges 2021-11-02 16:01:13 -07:00
uuidFetchState.ts Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
version.ts Support for alpha build channel 2021-08-06 14:21:01 -07:00
waitBatcher.ts Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
waitForOnline.ts Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
webSafeBase64.ts Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
whatTypeOfConversation.ts Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
whitespaceStringUtil.ts Trim profile names when setting them 2022-01-26 13:58:00 -08:00
windowsZoneIdentifier.ts Fix typos in TypeScript and SCSS files 2021-04-02 15:28:07 -05:00
wrapEventEmitterOnce.ts Optimize number of range requests in updater 2022-03-01 14:44:29 -08:00
wrapWithSyncMessageSend.ts Populate dataMessage on CallbackResultType when sending 1:1 messages 2022-03-04 17:39:37 -08:00
writeDraftAttachment.ts Capture draft attachment's dimensions 2021-11-30 15:32:55 -08:00
zkgroup.ts Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00