1430 Commits

Author SHA1 Message Date
66a76a0767 Revert "Use flutter_web_auth instead of our own OAuth mechanism"
This reverts commit 763cbf8493c610dec0e7e344bee40ad331e7a272.
This reverts commit ddad699b259bafe6c7ed630e7afc2eb38b7825e6.

This is causing way too many problems -

On Android with GitHub we occasionally get a User Cancelled exception.
On iOS this doesn't work < ios11

I prefer keeping my way till then. Even though it doesn't support
KeepAlive on Android.
2020-06-10 11:53:43 +02:00
783dbaa505 Bump version 2020-06-10 10:56:40 +02:00
2fbba91be6 HomeScreen: initializeDateFormatting
This seems to be required while using intl. Not doing it doesn't seem to
be a problem right now, but as I support more locales, I think it will
be required.

This entire intl this is a bit confusing.
2020-06-10 10:50:48 +02:00
4d26de51b6 Use custom fork of intl
This way I can work with the ios Simulator
2020-06-10 10:50:12 +02:00
03b20b274b Add Helpfull comment for the future 2020-06-10 10:49:59 +02:00
4591c73fb0 ios: Format Info.plist 2020-06-10 10:49:29 +02:00
0aa995e52a ios: Add CFBundleLocalizations for en 2020-06-10 10:49:15 +02:00
88552fe8e9 Revert "Workaround intl bug by harding 'en' locale"
This reverts commit 303192d9d575b26a77a00f7a62212f310ec1e329.
This reverts commit cd9d128b47ed523036f7ae1232ec7adcf04ed8a9.

GitJournal is used by non-English speakers (a lot in China and Russia)
and while we don't support those languages completely, we do support
them a little bit. I don't want to loose this functionality. It would be
better for us to fix the bug in intl.
2020-06-10 09:31:08 +02:00
267ecb7499 Implement a very basic file system view
This will show all the files and not just the "notes". This way the user
can easily figure out why a file isn't included in the list of notes.

It's currently disabled by default as it clearly needs a lot more work.
2020-06-10 00:54:15 +02:00
d6a288c085 Fix build
With the latest flutter the build file seems to have a different name.
Yaye.
2020-06-10 00:49:57 +02:00
027921a823 Add issue and pr templates 2020-06-09 20:10:43 +02:00
ddad699b25 Fix flutter analyze 2020-06-09 18:56:51 +02:00
303192d9d5 Initialize intl in tests
This sucks.
2020-06-09 18:44:37 +02:00
cd9d128b47 Workaround intl bug by harding 'en' locale
https://github.com/dart-lang/intl/issues/266

This is strange since Intl.getLocale() returns 'en_US' in my case.

Currently, GitJournal only supports 'english' anyway, so this shouldn't
be a big problem.
2020-06-09 18:23:43 +02:00
9ba0bc831c Catch possible exceptions when creating the fileName
This can apparently happen, and we should have a fallback. Additionally
Dart has both an 'Error' and an 'Exception' which are two different
things. This makes no sense.
2020-06-09 18:09:17 +02:00
9cb810f41d Handle case where documents path changes
It seems sometimes when an app is updated their documents path changes.
So our cached version of it is now incorrect and needs to be refreshed -

Fixes #159
2020-06-09 17:44:04 +02:00
eb37ae592c Update ios deps 2020-06-09 17:43:28 +02:00
763cbf8493 Use flutter_web_auth instead of our own OAuth mechanism
This works slightly better on iOS and on Android it has a keep alive,
which will prevent our app from being killed. Additionally, this way
there is less for me to maintain, which is always nicer.

The API for flutter_web_auth is also much simpler.

This also inolves some custom logic for parsing the Query Parameters
from the GitLab callback, as it doesn't seem to be a proper URI. Not
sure what is going on with Gitlab.
2020-06-09 17:09:38 +02:00
32bd44dac4 Bump package_info 2020-06-09 17:09:17 +02:00
7226bc1c41 Setup: Reset state of some variables
That way if we go back and try to restart the previous errors are
cleared.
2020-06-09 17:08:42 +02:00
67c2777d9b Parse links in wiki syntax [[term]]
This way we can use this faster syntax which is also supported by
Obsidian.
2020-06-08 00:52:03 +02:00
702366671a Move Link to its own file 2020-06-08 00:35:55 +02:00
a43498ef6d Editor Heurisitics: Should work even if the items have spaces 2020-06-08 00:28:14 +02:00
fa9b3196f7 ios: Some weird code signing provisioning stuff 2020-06-06 13:56:56 +02:00
991af6e1fb Add a test to make sure new notes always have a file extension
This bug has appeared way too many times
2020-06-06 13:52:23 +02:00
82012d1d06 Bump version 2020-06-06 12:33:42 +02:00
e6be9aa228 Ensure new notes always have a proper file ending 2020-06-06 12:31:24 +02:00
d736af3332 Trying fixing the build in the CI 2020-06-04 16:49:19 +02:00
e15c99f2aa Add a script to record the screen 2020-06-04 16:01:45 +02:00
e6d82c415f Bump version 2020-06-04 15:48:08 +02:00
7d9cd6e63a DocLoader: Ensure the isolate has been properly started
It seems that sometimes _sendPort is null. I'm not sure why. In those
cases lets try to reinitialize the isolate.

Fixes APP-2W
2020-06-04 15:46:51 +02:00
835bf1f089 Fix undo not always working
This should hopefully fix it

fixes APP-31
2020-06-04 15:24:59 +02:00
daf04b9fe0 Fix folder short names 2020-06-04 14:38:11 +02:00
6735f400fb Fix EditorHeuristics tests 2020-06-04 14:32:42 +02:00
e0815c664d FlattenedNotesFolder: Always remove the note if present
In the FlattenedNotesFolder we can have a filter to only show certain
notes. This is used for showing notes that match some tags. When the
note is added to this virtual folder it matches the tag, but later it
does not.
2020-06-04 14:21:58 +02:00
60de996761 Note Tag Editor: Add a FAB
It's not obvious that you can click on the app bar to start typing.
2020-06-04 14:14:42 +02:00
f957e7c441 Remove print statements from tests 2020-06-04 13:51:24 +02:00
fe95458493 Screenshots: Use the proper checklist format 2020-06-04 02:28:56 +02:00
2dbc2dda77 Add support for filenames based on Uuid 2020-06-04 02:12:13 +02:00
9a39960c03 EditorHeuristics: Handle edge cases 2020-06-04 02:12:06 +02:00
11241ce142 ios: Remove fetch_app_logs from Podfile 2020-06-03 13:51:19 +02:00
8ac24a7b86 Add a link to the Privacy Policy and Terms and Conditions
iOS requirement
2020-06-03 13:43:28 +02:00
e2a0786aab Bump version 2020-06-03 12:22:54 +02:00
a72c1bc911 CI: Disable uploading crashlytics symbols
It seems to be failing and I cannot figure out why.
2020-06-03 12:11:47 +02:00
c50e8ad999 Add more editor heuristics 2020-06-03 12:10:06 +02:00
d1677327c2 Do not show the Markdown Editor for txt files
Fixes #55
2020-06-02 00:33:36 +02:00
42d6386096 Add basic txt file support
With this 'txt' files are now read and written. However, they don't have
any metadata so they don't show up correctly in the sort order and
currently the Markdown Editor is still available for them.

Related to #55
2020-06-02 00:15:18 +02:00
f2d37f2647 CI: Do not build the APK
Only build the AAB, since it's all we're uploading. Earlier the apk was
still useful as I was downloading it for manual testing, but now all
testing is done by downloading the release from the app store in a
Closed Testing List.
2020-06-01 23:30:31 +02:00
47e8ac8b08 Auto add numbered lists when typing
Since we're using markdown it's kinda awesome that we can re-use the
same last number and markdown will arrange the numbers properly.
2020-06-01 23:26:49 +02:00
a5a7211788 Bullet Lists: Auto add bullets lists even when modifying in the middle 2020-06-01 21:14:59 +02:00