Commit Graph

70 Commits

Author SHA1 Message Date
Simon Cambier
1b442d1f24 feat(#245): in results list, show where an image/pdf is embedded
* Add an index of embeds for reference in results

* Notes embedding images are now shown in results

* Updated dependencies

* Correctly referencing all embeds

* Updated docs

* Basic embedded feature ok
2024-09-25 20:47:27 +02:00
Simon Cambier
5bc393e3ca Merge branch 'master' into develop
# Conflicts:
#	src/settings.ts
2024-07-23 09:56:31 +02:00
Swaggeroo
58cc6400e8 Added Ai Image Analyzer support (#386)
* Added Ai Image Analyzer support

* removed unnecessary null check
2024-07-23 09:51:43 +02:00
Simon Cambier
38c964bec2 feat: Make any property of frontmatter a display name (#329) 2024-06-29 17:02:11 +02:00
Simon Cambier
6566a2e958 Massive refactor to get rid of the global app. 2024-05-25 22:49:50 +02:00
Simon Cambier
dcfb77f551 Massive refactoring to get rid of the deprecated global app instance 2024-05-21 21:13:35 +02:00
Simon Cambier
5010a47466 Cleaned global app warnings 2024-05-18 09:52:28 +02:00
Price Baldwin
f86736e140 Add shortcut to open note in a new split pane (PR #202) (#358)
This adds the shortcut `cmd/ctrl + alt + enter` to the search modal to open a found file in a new leaf. I used the term "split" in user-facing text, because I think that's the more common

Some things to note:
- This function ignores the existing "open in new pane by default" setting.
- It also does not check to see if the file is already open. It will continue opening the value in a new split as often as the user wants.
2024-03-29 21:44:18 +01:00
Simon Cambier
70baec4ae1 Fixed an issue where results weren't returned as they should 2024-01-22 19:42:59 +01:00
Simon Cambier
703568dab3 Fixed bug with diacritcs and quoted searches
Also added more cached data
2023-12-17 13:50:07 +01:00
Hajime Nagisa
9cac7c0581 Fix: issue#190 (#317)
* Fixed search results with diacritics

- Caches are now stored with diacritics regardless of settings.ignoreDiacritics
- Modified getMatches() behavior to return results with correct form
- Modified ResultItemVault.svelte

* Fixed highlighting words with comma and period

- remove commas and periods from matches

* Fixed highlighting of Cyrillic characters

- changed highlight regexp determination to be based on character type

* Fixed highlighting problem of Japanese and Korean

- marked some Japanese diacritics to escape removal
- added NFC normalization to keep right form of Korean character

* Fixed highlighting of words with punctuation

- deleted space/punctuation list from stringsToRegex()
- it seems to be working correctly with words with punctuation and hyphenated words AFAIK

* Deleted some unused imports

* Modified the comment

* Added comment

* Fixed highlighting issue with comma and period

* Fixed highlighting issue with caret and other symbols

- Added `^` to separators
- Changed regex to use separators
- Added escape of `^` from diacritics removal
2023-11-29 07:32:25 +01:00
Simon Cambier
8355489bcd #304 - Index more tokens, words split by brackets/parentheses 2023-11-01 13:22:06 +01:00
Simon Cambier
e59f252cb4 #296 - Added < > token separators 2023-09-30 14:22:15 +02:00
Simon Cambier
cf09ce5a28 Feature/275 open in background (#285)
* quodana base config

* Using constants instead of magic strings

* #275 - Added "alt o" to open a note without closing the omnisearch modal
2023-09-09 10:54:14 +02:00
Simon Cambier
603116158e Refactored excerpts and highlighting 2023-08-31 19:23:44 +02:00
Simon Cambier
92bef7daec Bugfix/281 backticks (#282)
* #281 - Added backticks as a separation character

* #281 - Fixed case sensitive duplicates

* Fixed highlighting bug, and improved perfs

Also added logs
2023-08-30 19:09:15 +02:00
Simon Cambier
823cbad9c5 #263 - Added = as a token separator 2023-07-28 12:11:57 +02:00
Simon Cambier
8542a47d45 #262 - Fixed 2023-07-28 11:34:31 +02:00
Simon Cambier
8f1638da2c Merge branch 'develop'
# Conflicts:
#	manifest-beta.json
#	src/settings.ts
#	versions.json
2023-07-22 23:17:43 +02:00
Simon Cambier
3ac85e7aa8 #74 - boost unmarked tags 2023-07-22 23:04:30 +02:00
Simon Cambier
887dc669f3 #225 - hyphenated words should now be indexed whole _and_ split 2023-06-17 19:18:23 +02:00
Simon Cambier
362df5360b #229 - "disable on this device" (#238) 2023-05-09 19:11:55 +02:00
Simon Cambier
0529b978cb Fixed typo 2023-03-02 20:06:40 +01:00
Simon Cambier
8c78c91cc3 #154 - filter by file extension 2023-02-11 15:43:01 +01:00
Simon Cambier
3c32e5f70f #182 - Added back an opt-out for the cache, now automatically disabled in case of crash 2023-01-18 22:17:26 +01:00
Simon Cambier
1593c459d1 Fixed #165 2023-01-05 17:02:33 +01:00
Simon Cambier
c8bdcad17c Small (potential) bugfixes 2022-12-31 21:26:15 +01:00
Simon Cambier
9eebc33a85 Added Text Extractor integration 2022-12-24 20:32:45 +01:00
Simon Cambier
a8199db570 Fixed #149 #131
For real this time
2022-12-12 21:24:33 +01:00
Simon Cambier
6b1e58fcce #131 - Fixed highlighting for Korean queries 2022-11-28 21:37:42 +01:00
Simon Cambier
473fbca336 #103 - Added a default highlight, as an opt-out setting 2022-11-28 21:18:18 +01:00
Simon Cambier
c6cee62214 Minisearch 6.0 refactor ok 2022-11-26 12:44:20 +01:00
Simon Cambier
e3ac5a4bac Minisearch 6.0 mostly ok 2022-11-25 22:40:59 +01:00
Simon Cambier
dcef2d3719 WIP refactor to take advantage of minisearch 6.0 2022-11-25 08:28:50 +01:00
Simon Cambier
6be174eeb9 #109 - opt-out to keep line returns in excerpts
And removed the "show notice" setting
2022-11-09 22:01:02 +01:00
Simon Cambier
32161ca94a Displaying different indexing steps while Omnisearch is loading 2022-11-08 20:11:54 +01:00
Simon Cambier
9eed978e8a #104 - Refactored search history to use IndexedDB 2022-10-22 16:37:31 +02:00
Simon Cambier
c2ecdd79ad Squashed commit of the following:
commit ac82511ddd17d5472ae3cfea9bbad9754f5a4d62
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sat Oct 22 08:23:42 2022 +0200

    Screw that cache, seriously.

commit 8ba40d1be73daaaffea09e07bc56c339266db9b6
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Fri Oct 21 22:36:48 2022 +0200

    Stuff

commit 27b8fd7dc809be9714a109d3a458eb1276a47e2e
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Fri Oct 21 22:22:20 2022 +0200

    Moved files

commit fb1349c914907e586e103ca54fb04b9ddd45ef5d
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Thu Oct 20 22:25:29 2022 +0200

    Removed duplicate code

commit e7371138e60cbe4155cfd4fb44e3ee1d2e3ee088
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Thu Oct 20 21:50:09 2022 +0200

    Moved a bunch of files

commit 2ee1b2a0e799d4b41ab3a444d8cc44dfff5b5623
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Thu Oct 20 21:32:21 2022 +0200

    Removed useless code

commit 76c530dfb9adbad1bbe9079de2330fe43a044249
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Thu Oct 20 20:44:11 2022 +0200

    Split file reading and indexing
2022-10-22 08:25:34 +02:00
Simon Cambier
1376cea282 Small rework 2022-10-20 17:27:15 +02:00
Simon Cambier
1c3cc728f6 Squashed commit of the following:
commit 739f9c349031510e8ef010ba2445a2a1fdbec247
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 16 16:57:03 2022 +0200

    Code cleaning + README

commit 85762bae592f3eafd34ba22b0cf1841bfbd91ca6
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 16 14:59:01 2022 +0200

    Cleaning deleted PDFs from cache

commit 1a37bf38d3f64870d4b40df1b67d8106c893ab64
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 16 13:18:06 2022 +0200

    PDF cache saved to IndexedDB
2022-10-16 16:58:10 +02:00
Simon Cambier
4c97c9decc #58 - PDF Indexing ok on mobile 2022-10-15 18:28:09 +02:00
Simon Cambier
6c736fc90f Cleaning old cache files 2022-10-12 21:03:23 +02:00
Simon Cambier
7ddae6dc08 Squashed commit of the following:
commit 603b9bbde4c6efc90c81032e4e765c64d3075e75
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Tue Oct 11 21:47:03 2022 +0200

    Basic PDF indexing ok

commit 200331bb5c5111493af1e1f6ef8cd4bbfbdbfd4f
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Tue Oct 11 20:56:44 2022 +0200

    Tweaks and comments

commit 434b9662d40c5fea9d8b28d43828b11916db8c94
Author: Simon Cambier <simon.cambier@ores.be>
Date:   Tue Oct 11 16:22:55 2022 +0200

    Refactoring notes & minisearch cache

commit 7253c676c8ed161782ba8e33f0c4c162880925ad
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Tue Oct 11 09:50:33 2022 +0200

    wip

commit 77736e6ef6f28ccfddb64fb768732927d43bbd77
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Mon Oct 10 20:49:02 2022 +0200

    Small rewrites & deps updates

commit 59845fdb89eb6a3ad3f3f9ad75b39e7a3e604c45
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Mon Oct 10 12:22:11 2022 +0200

    wasm + worker ok

commit 1cf3b506e56147586cd0ebcc003642c5230e04cc
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 2 20:04:49 2022 +0200

    no disk access, of course

commit eb3dd9dd4f616a479a53e10856f6c96c6725e911
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 2 19:08:48 2022 +0200

    Rollup build ok

commit 54f2b7e615456c0e1b1504691689d1ba2c72d9e8
Author: Simon Cambier <simon.cambier@protonmail.com>
Date:   Sun Oct 2 16:03:31 2022 +0200

    Rollup build + wasm PoC
2022-10-11 21:54:11 +02:00
Simon Cambier
424ce687ae Wip less magic strings 2022-10-01 13:59:14 +02:00
Simon Cambier
8dfa1810f0 Chore - code cleaning 2022-09-21 17:49:07 +02:00
Simon Cambier
65ebe02f8a #90 - search history ok 2022-09-10 15:30:05 +02:00
Simon Cambier
b73c5a9391 prettier 2022-08-26 08:24:04 +02:00
Simon Cambier
0b47e23408 #83 2022-07-14 20:59:16 +02:00
Simon Cambier
6e604988f4 Fixed #48 - Highly favor tags in search results 2022-06-17 19:56:10 +02:00
Michael Naumov
0c031c6def Remove trailing commas 2022-06-06 08:19:49 -06:00