2087 Commits

Author SHA1 Message Date
949a7e6662 Editor: Don't use the BottomAppBar
The BottomAppBar has a SafeArea widget inside which seems to give it an
extra top padding on my phone (OnePlus), I'm not sure why it thinks this
extra top padding is required.

Maybe this workaround will fail on other devices
2020-08-15 12:23:43 +02:00
22985ea500 MarkdownToolbar: Implement navigation between words 2020-08-15 11:58:39 +02:00
1a4d3bef9a Add Zettelkasten filename format as an option
Fixes #216
2020-08-15 11:28:24 +02:00
745d59e570 MarkdownToolbar: Add buttons to navigate between words 2020-08-14 22:00:34 +02:00
440ee96639 MarkdownToolbar: Bold: Add more tests 2020-08-14 21:21:08 +02:00
c6d5ebc0b2 MarkdownToolbar: Add tests for surrounding the current word with ** 2020-08-14 21:17:29 +02:00
206b426033 Bump version 2020-08-14 19:20:28 +02:00
46269dd94a Implementing controlling of the sorting order
The dialog looks quite ugly right now, but at least everything works. I
can work on making it prettier after this.
2020-08-14 19:17:38 +02:00
6280ccbdc3 Add some docs for myself 2020-08-14 16:51:11 +02:00
94705bc060 Fix .gitignore 2020-08-14 16:50:37 +02:00
2fcdfa0d6c Note Backlinks: Use the linkResolver
The backlinks should use the same algorithm for determining the links as
is used when clicking on a link.
2020-08-14 16:44:54 +02:00
bf97887e10 Fix relative Markdown links
While implementing Wiki Links, I seem to have accidentally broken them.
2020-08-14 16:14:00 +02:00
5066a2a729 IAP: Always enable pending purchases 2020-08-14 16:08:13 +02:00
c38f823ae3 MarkdownToolBar: Test h1 removal
And fix cursor position after removing of the header
2020-08-13 01:14:06 +02:00
8668b88a95 MarkdownToolBar: Test h1 removal 2020-08-13 00:54:24 +02:00
ed08672ee2 Simplify tests 2020-08-13 00:51:54 +02:00
d4b201f7ef MarkdownToolbar: Replace current line
Add a few more tests
2020-08-13 00:44:12 +02:00
f3ad0144c5 Add a test for MarkdownToolbar's replace current line
The logic is non trivial
2020-08-13 00:29:17 +02:00
c7a956c5bf Give MarkdownToolBar to TextEditingController
Instead of handling every single callback.
2020-08-13 00:12:25 +02:00
a6ebcdfda6 Move MarkdownToolbar to its own file 2020-08-13 00:07:56 +02:00
260205d1cd Bump version 2020-08-12 23:47:24 +02:00
7e4c8041bd Remove card view from list of features
It's still experimental and it's quite laggy
2020-08-12 23:42:44 +02:00
62c9920e4e Add custom ssh keys to list of features 2020-08-12 23:42:10 +02:00
b9faa7c91e Add test_coverage
Just testing it out
2020-08-12 23:41:55 +02:00
c6e4cf3d8a Note's parent shouldn't even be null 2020-08-12 19:20:36 +02:00
990efc8f7b Add a 'Restore Purchase' button
Instead of doing it automatically,

Fixes #211
2020-08-12 19:05:58 +02:00
199b9682bc PurchaseSlider: Get the largest amount as well 2020-08-12 18:50:28 +02:00
21447a09e0 PurchaseSlider: Fix it
It was a bit wonky
2020-08-12 18:50:10 +02:00
35985fb8d2 PurchaseScreen: Simplify it and show feature list
Instead of showing a list of features which is incomplete we now show
just allow them to see the feature list. This however, doesn't show
up-coming features.
2020-08-12 18:49:46 +02:00
a670891281 PurchaseScreen: Add an AppBar
I was trying to make the PurchaseScreen prettier, but this doesn't work
with large fonts, for now I'm just going to go with a standard material
design *shrug*
2020-08-12 18:06:44 +02:00
8861b6a511 Sort imports 2020-08-12 18:06:35 +02:00
a60de417a3 Add a Feature Timeline screen 2020-08-12 17:36:00 +02:00
f76077384c Add Open Collective to Funding
Fixes #202
2020-08-12 15:50:57 +02:00
1c6f586885 Bump version 2020-08-11 14:28:31 +02:00
c7d8568529 Settings RemoteSyncFreq: Make strings translatable 2020-08-11 14:13:42 +02:00
6cab0182b0 Add emoji support to list of features 2020-08-11 14:05:11 +02:00
01f1b8481f Add scaffolding for an inline tag processor
This is just a simple test to extract the inline tags, it hasn't been
hooked up to anything.

Related to #44
2020-08-11 13:58:52 +02:00
71b3d841da LinkResolve: Handle complex paths such as ../foo/../bah.md
Also add some more tests for other cases.
2020-08-11 13:33:50 +02:00
7e6a74dbba WikiLinks: Always resolve from the base path
Fixes #212

With this [[Fire]] will always resolve the rootFolder/Fire.md
irrespective of which note it appears in. This is analogous to the way
Obsidian works.
2020-08-11 00:11:45 +02:00
3d23d2b343 LinkResolver: Resolve links with extra spaces 2020-08-11 00:07:38 +02:00
5779fd380e LinkResolver: Add more tests 2020-08-11 00:04:42 +02:00
7b1e328c7e Note: Always flush the file when writing
This may fix some edge cases where the notes aren't being saved.
2020-08-10 23:49:13 +02:00
0c467e6b01 Move LinkResolving code to its own class
It has become sufficiently complex that a number of edge cases need to
be tested.
2020-08-10 23:49:09 +02:00
228631b395 Remove unused import 2020-08-10 21:13:57 +02:00
bf0c9d1dfd Support piped wikilinks
Fixes #203
2020-08-10 21:10:55 +02:00
3e2306801b Add a test for the markdown node parsing
This way we will clearly know when the Markdown parsing fails because of
bugs in the markdown package.
2020-08-10 21:04:13 +02:00
81debcf64c Revert "Remove our fork of markdown"
This reverts commit d091b771d7adbc7f96faf0ef74dd38f7df29b8ad.

This doesn't fix our rendering problem, so we need to continue to
maintain our fork.
2020-08-10 20:31:46 +02:00
f7b18443e4 Fix translation string 2020-08-10 20:31:46 +02:00
39944c247e Remove annoying debug messages 2020-08-10 20:31:46 +02:00
17dff46660 Remove wikilink duplicate regexp 2020-08-10 20:31:46 +02:00