Riccardo
2d06f26bbf
fix #638 link to license page
2021-05-13 15:55:54 +02:00
Riccardo
edbe128e1e
fix #546 - title yaml property can also be a number
2021-05-13 13:09:09 +02:00
Riccardo Ferretti
af0c2bbaa3
v0.13.3
v0.13.3
2021-05-11 21:40:56 +02:00
Riccardo Ferretti
700bfc1b26
addressing windows issue with provider matching (related to #617 )
2021-05-11 21:25:25 +02:00
Riccardo Ferretti
a6d5c04453
improve bootstrap performance
...
we wait to create the graph, as changes to the workspace will cause it to be recomputed.
so, first load all resources from the initial providers, then compute the graph.
2021-05-11 21:22:19 +02:00
Riccardo Ferretti
b0c42cead2
setting logging level to error for all tests
2021-05-11 21:12:38 +02:00
Riccardo Ferretti
6c643adb9d
Prepare for 0.13.3
2021-05-09 23:13:27 +02:00
Riccardo Ferretti
ca7fdefaae
improvemets in matcher and linting
2021-05-09 23:13:27 +02:00
Riccardo Ferretti
149d5f5a7c
fix #617 - fixed error in file matching in MarkdownProvider
2021-05-09 22:50:42 +02:00
Michael Overmeyer
be80857fd1
Handle users cancelling "Create New Note" commands ( #623 )
2021-05-09 22:50:18 +02:00
Michael Overmeyer
611fa7359d
Completely ignore unknown Foam variables ( #622 )
...
If we don't know it we shouldn't touch it
Previously it replaced the variable with the variables name
2021-05-09 18:23:06 +02:00
Riccardo Ferretti
08b7e7a231
fixed isMarkdown function to check the .md extension (related to #617 )
2021-05-07 23:53:14 +02:00
Riccardo Ferretti
0a259168c7
fix #618 : properly printing file name
2021-05-07 22:58:44 +02:00
Riccardo Ferretti
f3d0569c76
fixed Barabazs contributor name
2021-05-06 12:26:22 +02:00
Riccardo Ferretti
502129d5ac
v0.13.2
v0.13.2
2021-05-06 10:10:51 +02:00
Riccardo Ferretti
d29bf16db1
prepare 0.13.2
2021-05-06 10:10:22 +02:00
Riccardo Ferretti
d228c7cb18
fixed test
2021-05-06 10:04:00 +02:00
Riccardo Ferretti
78078cf338
improved foam settings
2021-05-06 10:04:00 +02:00
Riccardo Ferretti
fe65883bc5
fix #600 - clicking on notes in placeholder and orphan panels now navigates to them
2021-05-06 10:04:00 +02:00
allcontributors[bot]
20b5261c5c
docs: add EngincanV as a contributor ( #615 )
...
* docs: update docs/index.md [skip ci]
* docs: update readme.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-05-06 10:02:12 +02:00
Engincan VESKE
f91cfe5d0d
Update capture-notes-with-shortcuts-and-github-actions.md ( #613 )
2021-05-06 10:01:42 +02:00
Michael Overmeyer
1ab9cc5f4a
Add streamline "Create new note" command ( #601 )
...
* Add new `Create New Note` command
It is the streamlined counterpart to `Create New Note From Template`
* Simplify the variable Regex
\W is equivalent to [^A-Za-z0-9_]
2021-05-03 13:48:14 +02:00
allcontributors[bot]
02ff681700
docs: add Barabazs as a contributor ( #610 )
...
* docs: update docs/index.md [skip ci]
* docs: update readme.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-05-03 13:20:26 +02:00
Barabas
2d9c3be0e6
Add support for stylable tags ( #598 )
2021-05-03 13:19:37 +02:00
Robin King
78cf602347
fix: ( #592 ) extra autocomplete hints outside wiki-link brackets ( #596 )
2021-05-03 13:02:28 +02:00
dependabot[bot]
898c7b4387
Bump rexml from 3.2.4 to 3.2.5 in /docs ( #607 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 11:40:40 +02:00
Riccardo
7412d518d7
Spike on FoamWorkspace and DataStore refactor ( #593 )
...
* extracted graph from workspace
* refactored datastore
* dataviz to use URI for placeholder detection
* graph uses uris, not resources
* adding placeholder in graph
* link completion to use graph
* API v1 - Resource refactoring (#595 )
* aside: tweaked jest extension configuration
* added provider for markdown
* removed file check in URI
the problem is that it makes the URI dependent on the disk, which makes testing harder.
The change was originally introduced to prevent Foam from treating directories ending in .md as markdown files, but the check needs to probably happen somewhere else, e.g. in `FileDataStore.list` - or directories should be expressed with a trailing slash (to check whether that breaks the URI convention)
* Various changes
- `resolveLink` now delegates to providers
- added `read` method in providers and `FoamWorkspace`
- improved `Matcher` API
- updated tests to use workspace with providers
- delegating more to workspace now it can read files (simplifies wiring and exposed API surface)
- provider init returns a promise, so it can be awaited on
- `IDataStore` now has `list` method, to encapsulate all access to FS
* improved windows support in URI and matcher
* improved grouped resources interface
* added readAsMarkdown in provider, useful for tooltip generation with preview in vscode
2021-04-30 16:50:16 +02:00
allcontributors[bot]
e6030ac562
docs: add daniel-vera-g as a contributor ( #603 )
...
* docs: update docs/index.md [skip ci]
* docs: update readme.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-04-25 23:58:47 +02:00
Daniel VG
d6d958bc92
Docs: Fix markdown formatting issues ( #599 )
...
* Fix: Right links and formatting
* Docs: Run markdownlint to automatically fix minor formatting errors
* Style: Format with markdownlint and not prettier
2021-04-25 23:58:02 +02:00
Riccardo Ferretti
fd7a24c5fc
v0.13.1
v0.13.1
2021-04-21 21:10:48 +02:00
Riccardo Ferretti
41b3c6fbfb
Prepare 0.13.1
2021-04-21 21:10:15 +02:00
Robin King
84b2ab6e42
fix:( #591 ) 'foam-vscode.open-daily-note' error on Windows ( #594 )
...
* when calling URI.file more than two time on windows
* a extra slash('/') at path's beginning may cause some problems
* so add a condition to solve it
2021-04-21 21:04:04 +02:00
dependabot[bot]
6cf184ba23
Bump ssri from 6.0.1 to 6.0.2 ( #590 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 12:15:02 +02:00
Riccardo Ferretti
6ad8211f56
v0.13.0
v0.13.0
2021-04-19 11:45:18 +02:00
Riccardo Ferretti
ac247867d9
prepare for 0.13.0
2021-04-19 11:44:54 +02:00
allcontributors[bot]
46f0bf2830
docs: add dheepakg as a contributor ( #588 )
...
* docs: update docs/index.md [skip ci]
* docs: update readme.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-04-19 09:55:52 +02:00
Dheepak
f0d712d1ce
Fixed LICENSE page issue occuring at github-pages. ( #581 )
2021-04-19 09:54:48 +02:00
Michael Overmeyer
b72bca661b
Template variable refactor ( #586 )
...
* Switch the default note name to follow Obsidian filename style
Previously it was the style used by Markdown Links
Ref: https://github.com/foambubble/foam/pull/569#discussion_r611936272
* Refactor variable resolution
Taking the only good bits of [`FOAM_TITLE_SLUG`](https://github.com/foambubble/foam/pull/569 ).
* Use FOAM_TITLE as the default filename
2021-04-19 09:52:22 +02:00
Riccardo
ac5cd832f6
Added configuration to enable/disable link navigation ( #584 )
2021-04-16 12:29:19 +02:00
Riccardo
71e8f00e80
fixed #542 ( #583 )
2021-04-14 22:25:13 +02:00
Riccardo
b371f0fa7d
Handle file errors more gracefully in FileDataStore ( #578 )
...
* handle file errors more gracefully in FileDataStore
2021-04-14 19:16:48 +02:00
Riccardo
b11a206b4a
API v1 - Position and Range ( #577 )
...
* refactored position and range functions
2021-04-12 21:56:14 +02:00
Riccardo
c678375712
Wikilink completion ( #554 )
...
* placeholders are updated when creating connection, not when resolving link
* feature: link completion
* added tests
Co-authored-by: Jani Eväkallio <jani.evakallio@gmail.com >
2021-04-12 19:37:25 +02:00
Michael Overmeyer
b1bdf766b1
[Templates v2] Add FOAM_TITLE snippet variable ( #549 )
...
* Remove unused variables to appease the linter
* Remove unecessary escape character
To appease the linter
* Add FOAM_TITLE snippet variable
2021-04-10 22:02:46 +02:00
Riccardo
531bdab250
Refactored URI for Foam API v1 ( #537 )
...
* refactored URI to be less dependent on VS Code implementation
* moved uri tests in own file, and added test case from #507
* added license info for VS Code inspired code
* moved URI utility methods in abstract class for namespacing
* better names for some methods
Co-authored-by: Jonathan <jonny@mondago.com >
2021-04-05 14:22:51 +02:00
allcontributors[bot]
5fa04c7384
docs: add RobinKing as a contributor ( #571 )
...
* docs: update docs/index.md [skip ci]
* docs: update readme.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-04-05 13:52:29 +02:00
Robin King
1f95d0559c
fixed bug with Chinese characters in tags (Issue #567 ) ( #568 )
...
Makes tags support Unicode Letters.
Makes it possible to create tags with Chinese characters -> Issue #567 .
2021-04-05 13:51:46 +02:00
Riccardo Ferretti
f00886acac
v0.12.1
v0.12.1
2021-04-05 13:40:45 +02:00
Riccardo Ferretti
4895a8b84c
prepare for 0.12.1
2021-04-05 13:39:57 +02:00
Riccardo
ea0f88475c
introduced configuraiton option to make decorations optional ( #558 )
...
fixes #553 #547
2021-04-05 12:50:13 +02:00