Commit Graph

99 Commits

Author SHA1 Message Date
Wolfsblvt ff5f89bd5e Move overwrite data confirm to new popup 2024-06-26 05:35:41 +02:00
Cohee 59e1f9cca1 Accept JSON-serialized string arrays for /setentryfield. Return JSON lists in /getentryfield 2024-06-23 19:43:56 +03:00
Cohee e3a46df010 Merge branch 'staging' into smol-tag-improvements 2024-06-16 16:04:37 +03:00
Cohee d75b30d51a Don't auto-adjust scroll height if not in viewport 2024-06-16 14:56:08 +03:00
Wolfsblvt 96f04a1c49 Merge branch 'staging' into smol-tag-improvements 2024-06-13 23:40:19 +02:00
Cohee d69263923a Include emoji into trim to end sentence 2024-06-11 23:37:00 +03:00
Cohee b3e57dae85 Use crypto UUID for UI 2024-06-10 14:20:52 +03:00
Wolfsblvt b814ba5b35 Merge branch 'staging' into smol-tag-improvements 2024-06-10 01:45:15 +02:00
Cohee 1685f6ded0 #1069 Convert to number 2024-06-09 14:41:49 +03:00
Cohee 67f2c380a3 #1069 Handle string timestamps as numbers 2024-06-09 11:15:17 +03:00
Wolfsblvt d98d811cc1 Merge branch 'staging' into smol-tag-improvements 2024-06-08 21:13:11 +02:00
Cohee 39721b6a8f Add file chunks overlap control 2024-06-06 21:45:47 +03:00
Wolfsblvt 9318f94f08 Merge branch 'staging' into smol-tag-improvements 2024-06-02 21:07:46 +02:00
Cohee b559f2f559 V3 spec (IMPORT ONLY) 2024-06-01 22:07:57 +03:00
Vhallo d25ba41fb5
Extending punctuation
Extending punctuation for thoughts.
2024-05-30 01:29:28 +02:00
Wolfsblvt 24224dc0b1 Fix and improve more tag popups
- Rework tag color pickers to... actually work without hacks
- Color picker default to main text color and tag default background. If default color is chosen, sets "empty" in tag, for possible style changes
- Fix tabbing on tag name in tag view list being broken
- Unique names on new tag click
- Several fixes on tags popups
- Animation utility functions (for popup, heh)
- Utility function to get free (unique) name
2024-05-27 03:35:03 +02:00
Wolfsblvt ab8c67ede6 Refactor overwrite check to utility function
- Refactor overwrite check to utility function
- Don't mind me refactoring character delete functions. I tried something, but I think the refactoring still makes sense
2024-05-22 23:52:35 +02:00
Wolfsblvt a251849f8f WI import checking for existing worlds too
- WI import uses the same check as create new world
- API endpoint to get server-side sanitized filenames
- Small changes to toast messages
2024-05-22 21:11:39 +02:00
Wolfsblvt 29d817d549 Implement failsafe for world creation with same name
- Fixes #2297
- Added another utils function for string comparison
2024-05-22 18:19:01 +02:00
Cohee 0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
Cohee edf981a5a1 Don't convert markdown to plaintext 2024-05-20 00:48:23 +03:00
Cohee 41f25edb15 Workaround for old Safari 2024-05-19 22:16:14 +03:00
Cohee 909ec4191d Allow JS syntax in instruct activation regex 2024-05-17 01:14:07 +03:00
Wolfsblvt f7c12264e8 Fix select2 local ajax breaking 2024-05-15 00:38:48 +02:00
Wolfsblvt 00ce078630 WI key input mode switch fancy/plaintext
- Implemented switch between fancy and plaintext input controls
- Fixed splitting keys into regexes index issue
- Fixed focus falsely adding text as key
2024-05-14 04:51:22 +02:00
Wolfsblvt 5426431adf Merge branch 'staging' into wi-regex-keys 2024-05-14 01:56:36 +02:00
Cohee 49cb8daf7d Add inline image control 2024-05-14 01:08:31 +03:00
Cohee e73b5713fd Add types for moment 2024-05-11 14:49:11 +03:00
Wolfsblvt bb3ac095c4 WI key input allow click to edit
- Allow click on WI keys to edit
- Removes them from the key list, allowing direct text editing
- Refactor select2 click subscribe some more, fixing a few issues
2024-05-10 00:42:35 +02:00
Wolfsblvt e18d554489 Refactor select2 choice click event to utils 2024-05-09 23:30:18 +02:00
Wolfsblvt cf77b9e7ee WI regex key syntax highlighting 2024-05-09 03:35:36 +02:00
Wolfsblvt eb273a1873 WI key dropdown templating shows all keys
- Cache all keys for the loaded lorebook
- Key selection dropdown shows all keys and how often they are used already
- More templating changes
2024-05-08 20:34:53 +02:00
Wolfsblvt fda0e886e4 WI custom styling for regex keys
- WI custom style for regex keys
- moved select2 styling to its own file
2024-05-07 05:44:18 +02:00
Wolfsblvt 70a2f71e33 WI switch key controls to multi input
- Switch key/secondarykey controls to select2 input
- Custom tokenizer for regex parsing, allowing comma in regex
- Keep mobile-compatibility by switching to textarea
- select2 utility method to pre-fill options
- New inline display mode of select2 multi to save space
2024-05-07 02:01:54 +02:00
Cohee 620cd6dfc2 Move persona functions from script. Clean-up exports 2024-05-01 14:03:24 +03:00
Wolfsblvt 83f79c1466 Fix non-fuzzy char search
- Utilize new utility function that checks insensitive and without accents
2024-04-30 06:03:41 +02:00
Cohee 6ac6c7cfda #2159 Move debounce constants to a separate module 2024-04-28 19:47:53 +03:00
Cohee fb1b327f9a [skip ci] ESLint 2024-04-28 16:58:28 +03:00
Wolfsblvt d7ade487b8 Refactor common enum for debounce timeouts 2024-04-28 06:21:47 +02:00
Wolfsblvt 2e562d187a Option to auto-sort tags (+UI improvements)
- Toggle to auto-sort tags alphabetically
- Init auto-sort based on current sorted state, if not chosen before
- Tag management redraw list if changes happen
- Tag management highlight renamed rows on auto-sort if they get automatically reordered
- Manual drag&drop of tags disables auto-sort option
- Small fixes to popup tag management pop drawing
- Utility function to flash highlight via CSS
2024-04-27 10:26:01 +02:00
Cohee 4264d170e2 Add support for Office plugin 2024-04-21 16:27:44 +03:00
Cohee c2256c2ac7 Fix data bank text clean-up 2024-04-21 02:05:59 +03:00
Cohee 78d1d48ea9 Add EPUB import for data bank 2024-04-20 01:24:46 +03:00
Cohee 9a1ea7f226 Implement Data Bank vectors querying 2024-04-17 02:09:22 +03:00
Cohee 3b293de3ec Allow AVIF and friends for avatar images 2024-03-21 14:47:22 +02:00
Cohee b261c8c4a9 Extract API endpoints for images 2024-03-20 00:59:06 +02:00
Cohee 508bab7e0f Fix range numbers parsing 2024-03-15 16:31:43 +02:00
Cohee 700c20d441 Add moment mutability notice for future generations 2024-03-12 20:45:30 +02:00
Cohee a9ec171c50 Cache parsed timestamps for quicker rendering 2024-03-12 20:29:07 +02:00
Cohee 6b2374c405 Add function to write extension fields to character cards. 2024-03-12 01:49:05 +02:00