Commit graph

569 commits

Author SHA1 Message Date
Moritz Jung
3a3484461f remove some example vault files 2024-04-11 22:34:03 +02:00
Moritz Jung
54293ac3a1 fix some issues; migrate to bun' 2024-04-11 22:30:55 +02:00
Moritz Jung
cf3d5c6d6f
Merge pull request #133 from ltctceplrm/master
Adding options to disable certain API per media type
2024-04-11 21:11:53 +02:00
ltctceplrm
9bc3bea90d Fixed the WIP sub object code 2024-03-24 17:44:10 +01:00
ltctceplrm
139cf8388c Ran formatter 2024-03-17 01:04:05 +01:00
ltctceplrm
31ffd0d185 Added sub-objects for api toggles (WIP) 2024-03-17 01:02:51 +01:00
ltctceplrm
5eec98d127 Ran formatter, removed unused array and updated APIModel.ts 2024-03-16 14:18:14 +01:00
ltctceplrm
f52060482a Fixed oversight in toggle code 2024-02-06 21:24:54 +01:00
ltctceplrm
c5ba44cfe5 Modified the toggles so only one can be on at a time 2024-02-06 20:46:56 +01:00
ltctceplrm
0634e3904f Removed unneccessary stringifying 2024-02-06 02:51:00 +01:00
ltctceplrm
5b35e552c5 Second attempt to selectively turn off APIs 2024-02-06 02:29:24 +01:00
ltctceplrm
54766bb59e Reverted the api names
For MAL, MusicBrainz and Wikipedia
2024-02-01 20:05:13 +01:00
ltctceplrm
675a0f7659 Removed "default" setting and only check if media type is false or not 2024-02-01 19:49:21 +01:00
ltctceplrm
0157c0adf9 Added media type passed along with the apis to query and the title 2024-02-01 18:20:56 +01:00
ltctceplrm
5a8feca561 Made sure to always allow default APIs 2024-01-31 23:04:16 +01:00
ltctceplrm
508b0ed03b Fixed advanced search by adding a default media type for certain APIs 2024-01-31 22:38:50 +01:00
ltctceplrm
d1affcdcb6 Added temporary way to test media type as "game" 2024-01-31 22:38:06 +01:00
ltctceplrm
2ea237822e Normalized the apiName fields 2024-01-31 22:37:19 +01:00
ltctceplrm
867bfec6c5
Reverted accidental newline in main.ts 2024-01-30 17:12:00 +01:00
ltctceplrm
436f98c5bc WIP api selection
I'm close but I don't now how to get the MediaType that the plugin called
2024-01-30 17:07:15 +01:00
ltctceplrm
ca7658b6d5 Merge branch 'master' of https://github.com/ltctceplrm/obsidian-media-db-plugin 2024-01-27 22:42:20 +01:00
ltctceplrm
c20e89e5ef Added settings for disabling certain APIs (WIP)
Currently only has the plugin settings and they don't do anything yet
2024-01-27 22:39:42 +01:00
mProjectsCode
9257d8e722 update packages; run formatter 2024-01-27 21:50:20 +01:00
Moritz Jung
75f3a5903c
Merge pull request #131 from ltctceplrm/master
Added support for Moby Games API
2024-01-27 21:48:27 +01:00
mProjectsCode
69ffd44c40 conform with new plugin name requirements 2024-01-27 21:48:08 +01:00
ltctceplrm
d2d6d346ec
Fixed year field for moby api 2024-01-27 02:00:48 +01:00
ltctceplrm
4ec494dbb3
Forgot to add empty field for developers and publishers. 2024-01-27 01:11:41 +01:00
ltctceplrm
3effaaa974
Update README.md 2024-01-27 00:50:52 +01:00
ltctceplrm
e75bb5b476 Added support for Moby Games API 2024-01-27 00:46:11 +01:00
Moritz Jung
73a8a62332
Merge pull request #129 from kelszo/index-array-operator
Add index operator for arrays when templating
2024-01-25 00:33:27 +01:00
Moritz Jung
3cebee452e
Merge pull request #119 from kelszo/master
Support disabling default front matter and add support for Templater
2024-01-25 00:31:47 +01:00
Kelvin John Falk Szolnoky
45b14dfd75
fix: ignore displaying undefined template error in file name 2024-01-24 23:43:03 +01:00
Kelvin John Falk Szolnoky
22482f5bbd
feat: add index operator for templating arrays 2024-01-24 23:42:53 +01:00
Kelvin John Falk Szolnoky
8a9448b141
fix: app missing plugins type 2024-01-24 23:16:40 +01:00
Kelvin John Falk Szolnoky
0c9d7c54c2
feat: add support for templater when using default front matter 2024-01-24 23:15:42 +01:00
Kelvin John Falk Szolnoky
65540b5169
feat: restrict templater integration behind a setting 2024-01-24 23:15:41 +01:00
Kelvin John Falk Szolnoky
3369a4c6cc
feat: rely on templater for code execution 2024-01-24 23:15:40 +01:00
Kelvin John Falk Szolnoky
f4fcc3df88
refactor: abstract front matter generating functions 2024-01-24 23:15:39 +01:00
Kelvin John Falk Szolnoky
d499071d23
fix: add regex to find front matter 2024-01-24 23:15:38 +01:00
Kelvin John Falk Szolnoky
40cde2b09a
fix: fallback to default front matter if no template is found 2024-01-24 23:15:38 +01:00
Kelvin John Falk Szolnoky
89b5b0f16b
feat: add setting to disable default front matter. support templater. 2024-01-24 23:15:31 +01:00
Kelvin John Falk Szolnoky
06946c73da
fix: use file path instead of filename for finding templates 2024-01-24 23:13:00 +01:00
Moritz Jung
841fbec1a3
Merge pull request #128 from kelszo/auto-open-note
Add option to open new note in a new tab
2024-01-24 23:04:30 +01:00
Kelvin John Falk Szolnoky
e7aabb9cb9
feat: add option to open new note in a new tab 2024-01-24 22:50:24 +01:00
Moritz Jung
9ca51ffc59
Merge pull request #122 from ltctceplrm/master
Added developers and publishers field to games
2024-01-22 20:34:10 +01:00
ltctceplrm
93c46e5848
Fixed manga import by replacing double quotes to single quotes
When using the default double quotes the YAML formatting was no longer correct.
2024-01-22 20:27:51 +01:00
ltctceplrm
99bf06dda9
Fixed bug in OpenLibraryAPI when no isbn was present 2024-01-14 18:19:26 +01:00
ltctceplrm
8bb8c2d791 Added developers and publishers field to games
OMDB doesn't have this field so I mapped it to be empty.
2024-01-13 15:01:38 +01:00
Moritz Jung
1424c0cef6
Merge pull request #116 from ltctceplrm/master
Added isbn and isbn13 fields to books + included author name in the search results
2023-12-21 20:42:35 +01:00
ltctceplrm
80cca27bde Removed test for title + author search
Forgot to remove this
2023-12-21 20:35:59 +01:00