102 Commits

Author SHA1 Message Date
2d2e2c3d07 External Dir: Add more logs
+ explicitly ask for permission. Not that this seems to help, for me.
2021-02-19 13:00:05 +01:00
130f2fe9a0 Rename Repository => GitJournalRepo
Repository is too vague of a word and it gets me confused with the Git
Repository. Also shorterned Repository to Repo. It's easier to read and
write.
2021-02-15 22:28:53 +01:00
74f7a17f25 Make settings clearer
It only applies to new notes
2021-02-08 22:50:40 +01:00
9a3bf6ad42 Automatically use dark mode based on system settings
Fixes #193
2021-02-06 23:01:09 +01:00
3b5a0d64e5 Settings Storage: Only the show error if required 2020-12-27 10:39:19 +01:00
c91a5950f6 Android Store External: Let the user to pick a directory 2020-12-27 10:20:09 +01:00
fe8a6a88b1 External Storage Android: Check if Dir is writable
And according try to use the new Android 10 Storage APIs. Though they
seem to not give me exactly what I want.
2020-12-27 09:37:54 +01:00
9fd605a407 Add some extra debugging for the Android External Storage 2020-12-21 12:11:48 +01:00
c8dcbe4569 Block invalid move to external storage
This way we atleast avoid the app getting bricked and showing a white
screen.

Related to #355
2020-12-11 20:21:52 +01:00
c2ae07bf5c Remove custom email regexp
Use the EmailValidator package instead
2020-11-07 15:52:39 +01:00
9ed9744306 Android: Change Settings text to "Store Repo Externally"
The earlier mechanism was a bit confusing.
2020-10-23 13:52:49 +02:00
43206219da Merge AppState into Repository
The 'AppState' was more of a Repository state, and it's easier if it
lives inside the Repository class.
2020-10-23 02:01:45 +02:00
770394a8f9 Rename StateContainer to Respository 2020-10-23 01:38:47 +02:00
d1214b8c1b Android Store Externally: Do not give the users a choice of a folder
It's a bit confusing as we create a 'GitJournal' folder then. Lets just
always save it in the same location for now.
2020-10-21 17:07:46 +02:00
9f53115616 ios: Add iCloud capability
I cannot see the GitJournal app's data in my iCloud, but I believe maybe
my app needs to go through the app review process.
2020-10-19 20:01:36 +02:00
98c92a3fe1 Handle new version of git_bindings
This changes the way the SSH keys are managed, they are no longer
managed by the git_bindings plugin and are instead just passed as
parameters. They are now saved in shared_prefs. This allows us to easily
have multiple ssh keys.

It also allows us to store the ssh keys in a more secure storage
location in the future.
2020-10-19 14:52:24 +02:00
bad1a03812 Implement moving the Git Repo to a folder accessible by other apps
This doesn't seem to move it to the SD card, but it does move it to a
public location. This is an Android specific feature.

Not sure if this is allowed with Android 11

Related to #99
Fixes #154
2020-10-17 12:24:06 +02:00
fd74a86abf Remove the whole local/remoteConfigured settings
We now infer this by checking if the directory exists, and by reading
the git config. It's a bit slower, but it's a far better method. I can
add a cache later, if it turns out to be too slow.
2020-10-16 15:13:34 +02:00
d3a0d4fcfa External Storage: Use ext_storage package
This actually gives the top level directory in Android, as I want.
2020-10-09 10:55:45 +02:00
cdfa7d690a Add a setting to store the repo in the external storage
This is Android only, and for now it is disabled as I'm not sure why I
cannot access the "general" root directory.
2020-10-09 10:43:16 +02:00
06cfe27154 Make the bottom menu bar settings prettier
We now show how the bottom menu bar will look inside the settings. This
is so much nicer. Later, I can add more options to configure exactly
what icons are visible and what they do.
2020-10-05 13:08:50 +02:00
62bea50506 Allow the bottom menu bar to be hidden
Fixes #261

The settings page for this is quite ugly right now, but the feature
works. I can improve its look another time.
2020-10-05 12:25:57 +02:00
fe08834259 Split Settings into AppSettings and Settings
This way I can eventually change Settings into RepoSettings without
breaking anything.
2020-09-25 00:33:54 +02:00
f30c52f595 Move all persistent state from AppState to Settings
This way all the persistant state of the app is managed from the same
place. It makes everything much easier. Also, it's required for when
GitJournal supports multiple repositories.
2020-09-24 23:45:37 +02:00
984fc6864e Make all remaining strings translatable 2020-09-08 23:01:39 +02:00
074e918db4 Implement basic inline tags
Fixes #44
2020-09-02 17:24:34 +02:00
0f5bb345d3 Allow Swipe to delete to be configurable 2020-08-31 11:38:04 +02:00
aabeb57fc0 InlineTags: Add settings page
And support multiple prefixes.

This is disabled for now as it hasn't been fully integrated.
2020-08-21 12:18:55 +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
c048ead8a9 Log every feature and how we reach the purchase page
We now have a list of all the features that are implemented, and we can
use that to show a kind of feature list which can be used to -

1. Move away from app rental model
2. Showcase a feature list; see WorkingCopy
2020-08-10 16:05:26 +02:00
9d55b449d3 Settings: Access it through the Provider
Make it a ChageNotifier and try to access it through the Provider
instead of like a global variable. This way, the state is better
managed and it'll be easier to split out Settings into smaller classes.
2020-08-09 01:29:22 +02:00
e3f8cd9397 EditorSettings: Make all strings translatable 2020-07-31 21:25:30 +02:00
8ab7ec22c4 Always check if a Folder exists before accessing it
This kinds of bugs will be less frequent once we have non null by
default enabled in Flutter.

Fixes #164
2020-07-31 21:16:36 +02:00
92f4929042 Fix email regexp
Fixes #181
2020-07-26 17:39:30 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
d8772e882a Allow backlinks preview to be disabled from the settings
This adds a new Experimental Settings page.
2020-07-04 19:51:59 +02:00
8ac24a7b86 Add a link to the Privacy Policy and Terms and Conditions
iOS requirement
2020-06-03 13:43:28 +02:00
6e229aeebd Translate Git Remote Settings title/subtitle 2020-05-29 13:26:29 +02:00
cb8764f52d Translate NoteMetaData settings 2020-05-29 13:23:23 +02:00
8b4fa886ba Add a CustomRouteObserver
This basically asserts if we move to a route without a name. This way
I'll always catch when a route doesn't have a name, and I can start
getting better analytics on which screens are used most frequently.
2020-05-26 13:43:41 +02:00
b0354b5c3f DebugScreen: Translate the strings 2020-05-20 00:56:55 +02:00
4c56ddc4df Allow the default Image location to be configured
Fixes #10
2020-05-20 00:32:13 +02:00
26ed82fdbc Make "Root Folder" translatable
It was earlier duplicated all over the place.
2020-05-18 00:26:00 +02:00
ef57e263ba ProSettingsOverlay -> ProOverlay
Also move it to its own file
2020-05-14 16:10:09 +02:00
faf561f104 Allow configuring the Home Screen
It can either be the Folders view or the All Notes view.
2020-05-08 19:30:53 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
ea733aacb5 Add a very simple Debug screen
This will show all the debug messages, which include when a file is
being ignored and not loaded, and hopefully all the exceptions. So the
user should be able to better understand why a file has been ignored.

It's not an ideal solution, but it's a quick fix.

Fixes #122
2020-05-06 01:09:57 +02:00
99a3d6214f Settings: Make some of the strings translatable
Man, this is going to be exhausting. There are some 165 Text instances.
So this mean probably around 200+ strings.
2020-05-05 17:29:04 +02:00