1700 Commits

Author SHA1 Message Date
bc68b7e4ee Output flutter tests in junit format
This way circleCI should be able to read them better.
2020-08-17 16:51:23 +02:00
b4e127cdc9 Generate test coverage in the CI 2020-08-17 15:46:16 +02:00
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
d94a1e1630 Remove another use of Settings.instance
I really want to remove this global variable, and only access it through
the Provider.
2020-08-16 15:51:53 +02:00
155d04e465 Directly get the RootFolder from the Provider
Instead of going through the StateContainer
2020-08-16 15:38:26 +02:00
4bcbf8226a Move onBoardingCompleted from AppState to Settings
I want to get rid of the AppState entirely. It serves exactly the same
purpose as Settings.
2020-08-16 15:29:49 +02:00
1e0fdb9f06 Fix WikiLink resolution
I apparently wasn't following exactly what Obsidian was doing. This
algorithm is getting a bit complex and should be documented, also now
I'm not sure how other apps are doing it, and maybe I should have
specific link resolvers per 'app'.
2020-08-16 15:05:16 +02:00
fb2ca11d84 MarkdownToolbar: Add buttons for creating lists 2020-08-15 18:06:06 +02:00
d5ce4e1110 FlattenedNotesFolderTest: Fix it
Occasionally the random number generator would generate the same number
and we wouldn't check if the file existed.

Also, we were accidentally creating all the notes in the root dir, so
this test was a bit useless.
2020-08-15 13:22:05 +02:00
88328902f4 MarkdownToolbar: Add a vertical divider to group items
The buttons for moving between words shouldn't be grouped together with
the formatting buttons.
2020-08-15 12:49:33 +02:00
87eb0c5419 MarkdownToolbar: Make the header icon bolder
Ideally, we should just use the FontAwesome icons for each of these
instead of relying on the normal font.
2020-08-15 12:41:14 +02:00
850e9c7826 MarkdownToolBar: Make bold work with newlines 2020-08-15 12:36:13 +02:00
2c8bf8d5ae Make the MarkdownToolbar prettier 2020-08-15 12:29:37 +02:00
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