Signal-Desktop/ts/util
Fedor Indutny 6281d52ec6
Storage service tests and benches in ts/test-mock
2022-02-11 14:32:51 -08:00
..
lint Storage service tests and benches in ts/test-mock 2022-02-11 14:32:51 -08: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 Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
assignWithNoUnnecessaryAllocation.ts Avoid unnecessary re-render on CHECK_NETWORK_STATUS 2020-12-17 12:12:52 -05:00
asyncIterables.ts ESLint: allow `for..of` 2021-08-26 13:18:00 -05:00
attachments.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06: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 Use `throwOnTimeout` option for PQueue 2021-11-23 23:01:03 +01: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 Add license headers across the project 2020-11-04 13:03:13 -06: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
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.ts Default to `system` `theme-setting` 2021-12-20 10:58:21 -06:00
createIdenticon.tsx Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
deconstructLookup.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
deleteAllLogs.ts Ensure that delete logs timeout does not run after resolution 2021-09-20 20:25:29 -04:00
deleteDraftAttachment.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
deleteForEveryone.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
deprecated.ts Fix logging in util/deprecated.ts 2021-07-12 17:43:56 -07:00
downloadAttachment.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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 Improve performance when rendering many emoji 2021-08-30 11:39:03 -05:00
encryptProfileData.ts Include badgeIds when writing profile data 2021-11-24 13:48:25 -05: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 Search for username in compose mode 2021-11-11 17:17:29 -08:00
findAndFormatContact.ts Display user badges 2021-11-02 16:01:13 -07:00
formatDuration.ts Add license headers across the project 2020-11-04 13:03:13 -06: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
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 Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
getCustomColorStyle.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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 Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getMuteOptions.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getMutedUntilText.ts Use `isSameDay` and `isToday` utilities 2022-02-02 10:27:44 -08:00
getOwn.ts Add `getOwn` utility function 2020-11-04 11:56:49 -08:00
getProfile.ts Usernames: Fetch own username from /whoami not /profile 2021-12-15 12:02:55 -08:00
getProvisioningUrl.ts Uint8Array migration 2021-09-23 17:49:05 -07:00
getSendOptions.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
getStreamWithTimeout.ts Add stream timeout for attachment downloads 2021-11-15 23:54:59 +01: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
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 Move a number of sync messages to jobs for retry 2022-01-14 13:34:52 -08:00
handleRetry.ts New queue for view once syncs, handleRetry improvements 2022-02-08 09:30:42 -08:00
handleVideoAttachment.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
hasExpired.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04: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 Uint8Array migration 2021-09-23 17:49:05 -07:00
isAnnouncementGroupReady.ts Standardize feature flag for internal testing 2021-08-05 10:00:33 -07:00
isAttachmentSizeOkay.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
isConversationAccepted.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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
isMuted.ts @mentions notifications 2021-08-05 07:35:33 -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 Speaking indicator for group calls 2022-02-08 12:30:33 -06:00
libphonenumberInstance.ts Add license headers across the project 2020-11-04 13:03:13 -06: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.ts Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
lottieNoopAudioFactory.ts Speaking indicator for group calls 2022-02-08 12:30:33 -06:00
makeLookup.ts New Group administration: Add users 2021-03-19 16:57:35 -04:00
mapToSupportLocale.ts Automatic session reset 2021-03-19 16:53:51 -04:00
mapUtil.ts Message details: group by send status, including viewed state 2021-07-20 14:56:50 -05: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 Migration and data access functions for stories 2021-12-08 20:52:46 +01: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
normalizeNumber.ts More protobufjs use 2021-07-02 14:21:24 -05:00
normalizeUuid.ts Normalize UUID in ConversationModel.initialize 2022-02-02 13:41:29 -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 Increase fallback `Retry-After` time to 1 minute 2022-01-31 15:09:58 -06: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
postLinkExperience.ts Remove ts/services/timers.ts 2021-10-06 14:59:34 -07: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 Check filename extension for heic/heif images 2021-12-06 18:20:27 +01:00
processImageFile.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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 Fix microphone permission checking for audio recording 2021-10-27 11:16:09 -05: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
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 Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
scaleImageToLevel.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
scrollToBottom.ts In <ContactPills>, use new "scrollToBottom" helper 2021-03-19 16:57:35 -04:00
sendReceipts.ts Wait for `ConversationController` load in receipt and sync jobs 2021-12-16 09:45:56 -08:00
sendToGroup.ts Sender Key: Use sender key expire duration from remote config 2022-02-11 13:09:35 -08: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
shouldRespondWithProfileKey.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
showToast.tsx Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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
theme.ts Dark theme for calling device selection 2020-12-04 15:03:01 -08:00
timelineUtil.ts Timeline: Add alternate height measurement cache 2022-02-11 16:28:28 -06:00
timer.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
timestamp.ts Use `isSameDay` and `isToday` utilities 2022-02-02 10:27:44 -08:00
timestampLongUtils.ts Fully move to protobufjs 2021-07-13 11:54:53 -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
version.ts Support for alpha build channel 2021-08-06 14:21:01 -07:00
waitBatcher.ts Use `throwOnTimeout` option for PQueue 2021-11-23 23:01:03 +01:00
waitForOnline.ts Clean up timeout in `waitForOnline` 2021-11-01 11:38:26 -07:00
webSafeBase64.ts Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
whatTypeOfConversation.ts Prefer `import type` when importing types 2021-10-26 14:15:33 -05: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
writeDraftAttachment.ts Capture draft attachment's dimensions 2021-11-30 15:32:55 -08:00
zkgroup.ts Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00