Commit Graph

44 Commits

Author SHA1 Message Date
Cohee 2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
Cohee e48cf68a13 Revert pdfjsLib vendoring 2024-10-17 20:53:18 +03:00
Cohee b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee 08324ba801 Remove unused libs 2024-10-17 08:51:02 +00:00
Cohee ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
Cohee e1694ede9d unvendor: Replace seedrandom 2024-10-17 02:19:47 +03:00
Cohee 81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
Cohee 7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
Cohee 8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
Cohee ca844c8b0a unvendor: Replace Readability 2024-10-17 01:30:04 +03:00
Cohee b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
Cohee c741278749 unvendor: Delete replaced libraries 2024-10-17 01:19:19 +03:00
Cohee 14037b6e30 unvendor: Replace Bowser 2024-10-17 00:56:09 +03:00
Cohee c3f62b8699 unvendor: Replace css-tools 2024-10-17 00:40:11 +03:00
Cohee d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
Cohee 416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
Cohee 3c28b754dc Delete vendored dompurify 2024-10-16 23:12:30 +03:00
Cohee e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
Cohee ebe2929dfd Localize chat timestamps 2024-10-05 17:07:17 +03:00
QuantumEntangledAndy bd48c2445a
Make dialog css edits dependant on polyfil 2024-10-04 16:57:59 +07:00
QuantumEntangledAndy 3e465d155c
Include polyfill css 2024-10-04 15:26:48 +07:00
Cohee 80d27273a2 Add polyfill for toSorted
Fixes #2827
2024-09-11 20:35:42 +03:00
Cohee 9e522b0330 #1358 Add findLastIndex polyfill for old Safari 2024-09-11 19:22:31 +03:00
Cohee da96bf3c29 Fix showdown patch registration 2024-08-27 10:50:24 +00:00
Cohee 3da79ebcff Patch showdown for span nesting limit
Closes #2722 #2714
2024-08-27 10:39:45 +00:00
David Fedolfi 014ef0cc4f Adding diff functionality to prompt dialog
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Cohee 7d983adc6e Log event args when tracing is enabled 2024-05-29 00:57:32 +03:00
Cohee fd18e0cc78 #2192 Fix order of events in TTS/translate interaction 2024-05-13 18:53:54 +03:00
Cohee 78d1d48ea9 Add EPUB import for data bank 2024-04-20 01:24:46 +03:00
Kristan Schlikow 0c4da602ab
Adjust style and add magnification to zoomed avatar 2024-04-14 02:58:23 +02:00
Cohee f13e718dc7 Compatibility with extensions 2024-04-02 20:25:37 +03:00
Cohee 2173b8b22a Add event tracing debug function 2024-03-16 18:17:04 +02:00
Cohee eaeafde0e4 Use Readability to extract text from HTML 2024-02-29 16:37:52 +02:00
Cohee 041b9d4b01 Add style sanitizer to message renderer 2023-12-20 17:03:37 +02:00
maver 0a649a395d Add 'synchronous' event emitter 2023-12-18 21:55:33 +01:00
valadaptive 66953ceba3 Move device type detection to client side
We don't need the server to tell us our user agent--we can get it
ourselves through navigator.userAgent and parse it on the frontend.

I've replaced device-detector-js with Bowser because device-detector-js
is really slow, freezing for up to 500ms to parse a single user agent.
2023-12-14 18:43:59 -05:00
Cohee 2e6ab8be46 Add Object.hasOwn polyfill 2023-12-10 23:28:00 +02:00
Cohee e0bf2b8e3e [FEATURE_REQUEST] Sending PDF/HTML files? #1414 2023-11-29 17:51:30 +02:00
Cohee 0480acebcd #1059 Mancer model selector 2023-09-10 04:08:32 +03:00
Cohee 0844374de5 Remove old GPT-2 tokenizer. Redirect to tiktoken's tokenizer 2023-08-27 22:14:39 +03:00
Cohee 9660aaa2c2 Add NovelAI hypebot plugin 2023-08-27 18:27:34 +03:00
Cohee e34e51226f Add monkey patch for structured Clone 2023-08-25 16:40:43 +03:00
Cohee1207 771c9d6165 Optimize SVG loader. Add ai21 icon 2023-08-19 19:48:33 +03:00
Cohee1207 336e27a92d Move 3rd-party scripts into /lib 2023-08-19 16:29:46 +03:00