Commit Graph

507 Commits

Author SHA1 Message Date
Simon Cambier
609e52f711 Fixed #336 2024-02-23 17:32:43 +01:00
Don Faulkner
7af00efc27 Update settings.ts (#342)
Sandbox the sponsor button iframe
2024-01-31 22:35:57 +01:00
Simon Cambier
c38ec4e9b8 Use minisearch's new result.terms 2024-01-23 07:51:56 +01:00
Simon Cambier
6424d6f7b9 Don't display "closing http server" notice when the server is not running 2024-01-23 07:51:32 +01:00
Simon Cambier
4b8bf437ce Fixed logDebug() call 2024-01-22 22:12:41 +01:00
Simon Cambier
3a7ae233b6 Moved the "debugging" section under the local http server 2024-01-22 21:39:40 +01:00
Simon Cambier
d218b191f6 Tokenize Chinese for search 2024-01-22 21:39:07 +01:00
Simon Cambier
a391daf2d3 Useless code 2024-01-22 20:33:33 +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
ec0f8d0a0b Updated welcome message 2024-01-20 12:11:09 +01:00
Simon Cambier
0f7418b22e Merge branch 'master' of https://github.com/scambier/obsidian-omnisearch
# Conflicts:
#	src/settings.ts
2024-01-20 12:05:25 +01:00
demig00d
e618d4ca47 Index office documents (#340)
👌
2024-01-20 12:01:43 +01:00
Simon Cambier
569d6c73ed Removed useless excalidraw toggle 2024-01-20 10:58:36 +01:00
Simon Cambier
94b34c2a8f #338 - Fixed, + fixed some other noUncheckedIndexedAccess 2024-01-06 10:53:11 +01:00
Simon Cambier
763fbb5886 #334 - Added a user-hidden setting to index excalidraw files 2024-01-05 21:26:44 +01:00
Simon Cambier
2ef38bdf26 Fixed the scrollIntoView() position 2024-01-05 20:59:38 +01:00
Simon Cambier
c5efa2ec90 Better selection for top excerpt 2024-01-05 20:24:44 +01:00
Simon Cambier
7a2f9b0ee0 Fixed: extensions can be searched with ".foo" in addition to "ext:foo" 2023-12-17 13:58:38 +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
Maxime Lapointe
44b25eca25 Add highlighting in the note path (#327)
Co-authored-by: Maxime Lapointe <maxlap@gmail.com>
2023-12-16 10:12:13 +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
753811fa41 Merge branch 'develop' 2023-11-11 10:08:17 +01:00
Simon Cambier
c8e65558bc "Fixed" a condition 2023-11-10 19:12:20 +01:00
Simon Cambier
99a20f2e55 #164 - Added a button on mobile to switch to In-File (and back) 2023-11-02 18:02:20 +01:00
Simon Cambier
8d9a583335 Reduced debounce delay to 0 for updateResults() 2023-11-01 15:30:53 +01:00
Simon Cambier
1e6478d83e Cleaned some warnings from the deprecated global app object 2023-11-01 14:51:07 +01:00
Simon Cambier
8832ce7b78 #310 - Server notice display is now opt-out 2023-11-01 14:02:45 +01:00
Simon Cambier
8355489bcd #304 - Index more tokens, words split by brackets/parentheses 2023-11-01 13:22:06 +01:00
Simon Cambier
285c4e9257 Fixed bug where "Searching..." label wouldn't disappear 2023-11-01 12:26:35 +01:00
Simon Cambier
21df489a0b #298 - enabled case-insensitivity 2023-11-01 11:18:43 +01:00
Simon Cambier
4735d1dac3 Moved "show previous query" setting 2023-11-01 11:03:49 +01:00
Simon Cambier
beb4f191dc #306 - Reworked search field auto-fill 2023-11-01 10:29:41 +01:00
Simon Cambier
4a4d322f33 #303 - Improving Chinese result highlighting 2023-11-01 09:53:32 +01:00
Simon Cambier
fc6da987c9 getFiles().find() > .getAbstractFileByPath() 2023-11-01 09:20:37 +01:00
Simon Cambier
51a9cc7d90 Slight indexing perf improvement 2023-10-19 21:09:51 +02:00
Simon Cambier
9a218167d7 #302 - Fixed 2023-10-13 08:47:35 +02:00
Simon Cambier
fc6df5d36b Fixed url 2023-10-12 21:14:03 +02:00
Simon Cambier
6f53a62588 Removed some logs 2023-10-12 20:49:45 +02:00
Simon Cambier
c8505245b3 fixed null check 2023-10-12 20:40:06 +02:00
Simon Cambier
35d3eb04a9 HTTP Server 2023-10-12 20:38:00 +02:00
Simon Cambier
e59f252cb4 #296 - Added < > token separators 2023-09-30 14:22:15 +02:00
Simon Cambier
e8af75fdaa #293 - Updated dataloom support to 8.6.0 2023-09-30 14:09:21 +02:00
Simon Cambier
0558b9a328 #287 - Fixed & improved highlightText() + a bit of cleaning (#288) 2023-09-11 21:32:01 +02:00
Simon Cambier
d651278b43 1.17.0 2023-09-10 09:09:20 +02:00
Simon Cambier
5277c9dd80 #212 - pre-fill query with selected text (#286) 2023-09-09 12:34:23 +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
b6c80e15ec #259 - Fixed 2023-08-27 11:35:50 +02:00
Simon Cambier
50eaa31ea6 Merge branch 'master' of https://github.com/scambier/obsidian-omnisearch 2023-08-22 08:09:17 +02:00