Pinafore-Web-Client-Frontend/src/routes/_utils
Nolan Lawson 69aad56421
fix: fix tainted canvas error with OCR (#1902)
* fix: fix tainted canvas error with OCR

fixes #1901

* fix: minor tweaks
2020-11-24 15:37:10 -08:00
..
asyncModules perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07:00
userAgent perf: use OffscreenCanvas in Chrome 82+ (#1779) 2020-05-18 20:00:02 -07:00
PromiseThrottler.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
RealmStore.js perf: call revokeObjectURL() on stale blurhash blob URLs (#1403) 2019-08-18 15:15:13 -07:00
RequestThrottler.js fix: tweak autocomplete behavior (#1570) 2019-10-13 08:08:06 -07:00
addEmojiTooltips.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
ajax.js fix: fix ajax code, add test, switch parser library 2020-07-04 19:34:01 -07:00
animate.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
arrays.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
asyncPolyfills.js fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
base64.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
blurhash.js fix: ensure "disable blurhash" setting is honored (#1422) 2019-08-22 09:09:21 -07:00
checkDomAncestors.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
classname.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
convertCssPropertyToDataUrl.js fix: ensure "disable blurhash" setting is honored (#1422) 2019-08-22 09:09:21 -07:00
convertCustomEmojiToEmojiPickerFormat.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
coordsToPercent.js feat: add ability to set focal points for media (#1303) 2019-07-07 00:14:19 -07:00
createAutosuggestAccessibleLabel.js fix: improve a11y of autosuggest labels (#1830) 2020-07-06 22:27:04 -07:00
createFilterFunction.js refactor: refactor timeline filtering logic (#1667) 2019-12-08 18:03:39 -08:00
createPriorityQueue.js perf: make timeline rendering less janky (#1747) 2020-04-26 16:54:00 -07:00
createStatusOrNotificationUuid.js feat: implement "." keyboard shortcut (#1105) 2019-03-18 09:09:24 -07:00
decodeImage.js fix: remove firefox UA sniff for img.decode (#1393) 2019-08-17 15:35:43 -07:00
decodeURIComponentWithPluses.js feat: implement web share target (#980) 2019-02-13 18:38:44 -08:00
delegate.js test: add basic memory leak test (#1650) 2019-11-23 19:11:15 -08:00
doubleRAF.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
emojiDatabase.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
emojiRegex.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
emojifyText.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
eventBus.js test: add basic memory leak test (#1650) 2019-11-23 19:11:15 -08:00
events.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
forceOnline.js fix: fix streaming gap (#1349) 2019-07-21 15:31:26 -07:00
formatters.js feat: date title shows absolute date (#890) 2019-01-13 15:56:39 -08:00
fullscreen.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
getIdFromItemSummaries.js refactor: use timeline item summaries instead of ids (#1072) 2019-03-03 13:24:55 -08:00
getImageNativeDimensions.js feat: clicking avatar opens media modal (#1485) 2019-09-14 22:26:29 -07:00
handleRegex.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
historyEvents.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
isDarkTheme.js fix: update emoji-mart, add dark mode and custom categories (#1686) 2019-12-23 11:53:44 -08:00
lifecycle.js perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07:00
loadCSS.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
loadNonCriticalPolyfills.js fix: dynamically import focus-visible polyfill for emoji picker (#1870) 2020-09-13 15:34:01 -07:00
loadPolyfills.js fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
loadingMask.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
lodash-lite.js fix: use radiogroup for instance switcher (#1634) 2019-11-17 20:51:28 -05:00
maps.js perf: lazy-load the thread context (#1774) 2020-05-16 13:35:57 -07:00
marks.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
massageStatusPlainText.js fix: fix html style of glitch-soc markdown content (#1350) 2019-07-21 15:31:17 -07:00
massageUserText.js fix: fix html style of glitch-soc markdown content (#1350) 2019-07-21 15:31:17 -07:00
measureText.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
mediaUploadFileCache.js fix: fix tainted canvas error with OCR (#1902) 2020-11-24 15:37:10 -08:00
normalizePageName.js fix: left/right hotkey works on all settings page (#1745) 2020-04-25 19:35:14 -07:00
once.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
pointerEvents.js fix: improve focal points draggable style/perf (#1371) 2019-08-04 13:31:51 -07:00
queueMicrotask.js perf: make timeline rendering less janky (#1747) 2020-04-26 16:54:00 -07:00
removeEmoji.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
replaceEmoji.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
requestPostAnimationFrame.js perf: use requestPostAnimationFrame to reduce layout thrashing (#1376) 2019-08-07 09:11:34 -07:00
reselect.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
resize.js test: add basic memory leak test (#1650) 2019-11-23 19:11:15 -08:00
runMediumPriorityTask.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
runTesseract.js perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07:00
safeLocalStorage.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
safeParse.js fix: handle pleroma ping messages (#1676) 2019-12-15 09:58:00 -08:00
scheduleIdleTask.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
scheduleInterval.js perf: use webpack contenthash for better caching (#1573) 2019-10-14 20:00:57 -07:00
scrollContainer.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
scrollIntoView.js fix: use smooth scroll polyfill in Chrome for scroll-to-top (#1601) 2019-10-24 19:03:10 -07:00
scrollToTop.js fix: use smooth scroll polyfill in Chrome for scroll-to-top (#1601) 2019-10-24 19:03:10 -07:00
serviceWorkerClient.js fix: fix service worker for real (#1258) 2019-06-01 13:07:38 -07:00
setFavicon.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
shortcuts.js fix: hotkeys work with caps lock on (#1531) 2019-09-24 18:46:53 -07:00
smoothScroll.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
sortItemSummariesForThread.js perf: lazy-load the thread context (#1774) 2020-05-16 13:35:57 -07:00
statusHtmlToPlainText.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
statusIdSorting.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
strings.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
supportsFocusVisible.js fix: dynamically import focus-visible polyfill for emoji picker (#1870) 2020-09-13 15:34:01 -07:00
supportsSelector.js fix: Revert "perf: always load focus-visible polyfill (#1780)" (#1784) 2020-05-18 22:19:33 -07:00
sync.js perf: fetch lists from database on page load (#1450) 2019-08-29 18:41:36 -07:00
tesseractWorker.js fix: update tesseract to the latest version (#1596) 2019-10-22 20:45:30 -07:00
testColorEmojiSupported.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
testEmojiRenderedAtCorrectSize.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
testEmojiSupported.js feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804) 2020-06-28 23:12:14 -07:00
testStorage.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
themeEngine.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
throttleTimer.js perf: only update draggable x/y state at end of drag (#1379) 2019-08-07 20:38:01 -07:00
thunk.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
timelineItemToSummary.js perf: lazy-load the thread context (#1774) 2020-05-16 13:35:57 -07:00
tryToFocusElement.js perf: make timeline rendering less janky (#1747) 2020-04-26 16:54:00 -07:00
urlIsCrossOrigin.js fix: fix malformed URLs in statuses (#1385) 2019-08-11 11:09:51 -07:00
urlRegex.js fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
urlRegexSource.js perf: build url regex in advance (#1069) 2019-03-02 22:02:59 -08:00