740 Commits

Author SHA1 Message Date
fddefa3ff3 Revert "git clone: Force use of ssh protocol if not specified"
This reverts commit 8d11634108c6508674cde5e0e1b69c346a5a6bfd.
2019-11-14 13:22:15 +01:00
8d11634108 git clone: Force use of ssh protocol if not specified
If we don't specify the protocol, then specifying the port number
doens't work.
2019-11-11 02:06:08 +01:00
fc19590edf gj_common: Add 'git' and 'vim' to Dockerfile 2019-11-11 02:01:06 +01:00
7e005d9900 Ignore 'invalid credentials' platform exception 2019-11-11 01:17:20 +01:00
4e438e937c README: Fix broken links 2019-11-03 03:06:49 +01:00
29dcb4dbf9 Remove launch_android script
The `flutter emulator` command can be used instead.
2019-11-03 02:04:20 +01:00
b67af9d7a5 Update screenshots 2019-11-03 02:01:15 +01:00
877b68dbbd Screenshotter: Add a delay
Our runApp seems to take some time now.
2019-11-03 01:47:11 +01:00
765b761430 README: Add a link to the issues 2019-11-02 11:09:10 +01:00
c2b309e425 Add a changelog 2019-11-02 10:56:33 +01:00
bb564f1511 Settings: Use SwitchListTile instead of our custom widget
I didn't know this widget existed.
2019-11-02 10:56:28 +01:00
1ebf9fc358 Settings: Fix Extra Small Font size string 2019-11-02 10:40:26 +01:00
0d760348ce Settings: Split widgets into their own file 2019-11-02 10:40:03 +01:00
83418f5285 Bump version number
I'm now going to start bumping the minor version number. I've also
removed the bug fix number as I don't really see it as being useful.
This is not a library.
2019-11-01 23:12:01 +01:00
7450f06a08 Ignore more git platform errors 2019-11-01 23:12:01 +01:00
3cf951f8dd Improved note parsing
We now handle markdown files without any YAML Headers, and different
variations of the yaml header.

This should also fix a crash.
2019-11-01 23:00:54 +01:00
8de58c138a Make constructor const 2019-10-20 01:37:39 +01:00
d5f91cb898 More prefer_const
It seems like flutter analyze might have some kind of cache
2019-10-20 01:24:43 +01:00
b8964625d4 Remove unused fields 2019-10-20 01:17:20 +01:00
e7b05d7231 Enable unnecessary_const 2019-10-20 01:15:58 +01:00
ffc0af12a3 Enable prefer_const_constructors 2019-10-20 01:11:53 +01:00
5d69dd9de2 AppState: Remove isLoadingFromDisk
It isn't actually used anywhere. I want to simplify this as much as
possible, as I want the note loading to be as lazy as possible.
2019-10-20 00:54:34 +01:00
e1ce6aa2ec README: Add a Contributing section 2019-10-20 00:42:31 +01:00
40bbe3e016 Update .gitignore 2019-10-19 17:25:35 +01:00
e1347b52a3 Add missing file 2019-10-19 17:18:39 +01:00
1d67e82304 Feedback/Bugs: Use @gitjournal.io email addresses 2019-10-19 15:43:28 +01:00
899e355cff gj_common: Makefile add infer command 2019-10-19 15:16:45 +01:00
dc6bab7968 gj_common: Fix Infer possible NULL_DEREFERENCE errors
These are quite unlikely, but we may as well check agains't them.
2019-10-19 15:15:34 +01:00
d1e97d0e85 gj_common: Install infer in the docker container
Going back to Ubuntu as I can't seem to get 'infer' to work in alpine.
2019-10-19 14:59:19 +01:00
f694536469 YAML: Serialize nodes properly
This fixes the error where a YamlList is not of type string.
2019-10-19 12:53:28 +01:00
e8d8c58bff Setting Dialogs: Remove margins and add a Cancel button 2019-10-19 12:07:31 +01:00
c2247c26e9 Settings: Use Radio buttons in dialogs
Instead of highlighting the last selected option.
2019-10-19 12:02:13 +01:00
b4fd9d33f7 Settings: Make 'Dark Theme' a toggle
There are just two options. It doesn't make sense to open a dialog box
and then let the user choose.
2019-10-19 11:53:29 +01:00
aea6f40940 Feedback: Always encode the URI properly
Encoding the URI may work on Android, but it's safter to always just
encode it, specially if we ever add a '&' in the body.
2019-10-19 11:49:05 +01:00
13d5e39c85 Feedback: Send platform name in the email 2019-10-19 11:48:14 +01:00
af36bbdfd4 Move note empty checking to the Note class 2019-10-11 18:35:00 +02:00
704c8f4ce1 NoteEditor: Do not save a note if it has not been modified
This would result in empty commits :(
2019-10-11 17:24:48 +02:00
e9cfb1fde7 NoteEditor: The backButton should save the note
It used to get discarded which was really bad usability. The worst case
is that the user didn't want to save the note, and then they can easily
just delete it, but we shouldn't loose information.
2019-10-11 17:20:53 +02:00
cb399a9586 RawEditor: Use a monospace font
It looks way way nicer. Also it really highlights how you're editing the
raw contents of the file.
2019-10-11 17:07:39 +02:00
be74d80aff Bump version 2019-10-11 16:44:57 +02:00
0ad3a9e2e6 OAuthLaunch: Ignore Platform exceptions
The OAuthFlow doesn't work properly in ios, for now lets just ignore
these exceptions as short of forking the url_launcher, I see no other
way of fixing this.

If the Flutter team can release a fix in a week or so, then I'll just
wait, otherwise I'll probably just fork the url_launcher and close the
FSafariViewController on receiving an error. It wouldn't be a proper
fix, but it will work around the issue.

https://github.com/flutter/flutter/issues/30642
2019-10-11 16:42:23 +02:00
57b37399ef OAuthApp: Add a main
This way we can easily run it
2019-10-11 16:17:27 +02:00
17b13e9f00 ios: Handle expensive operations in a background thread
If we handle them in the main thread, then the UI blocks, especially
when generating a new SSH key.
2019-10-11 16:00:14 +02:00
fbb1b12cb2 Settings: Use a switch instead of a checkbox
Follows the Material Design scheme better
2019-10-11 02:30:45 +02:00
06824ccee3 Note: Setting the 'created' property should update the NoteData
We shouldn't just do it when saving the note, this way when viewing the
raw editor, the created field is show for new notes.
2019-10-11 02:18:34 +02:00
5b25fd56c1 Settings: Git Author Email: Mark keyboard type as email 2019-10-10 16:58:12 +02:00
8e5f0c84c7 NoteEditor: Disable autocorrect
For me, there are still some strange quirks and it hasn't been
completely disabled. Also, isn't there some way to just follow the
system default?
2019-10-10 16:57:23 +02:00
2eb83c16ff NoteEditor: Dispose of TextEditingController in the end
The docs say we should
2019-10-10 16:56:57 +02:00
83a0da9082 gj_common: Use cppcheck to catch potential errors 2019-10-10 13:37:36 +02:00
bf67c9cd06 Revert "Disable crashlytics until initialized"
This reverts commit 860a811568b74f50754377ce14520fe03e2d2f28.

I'm not convinced that this isn't disabling crashlytics completely. I'll
try this again, later.
2019-10-10 12:37:16 +02:00