1470279266
Relicense some files to Apache2
...
I cannot seem to figure out how to get a CLA signed, and the legality of
it in Spain. Therefore I'm just relicensing these files to Apache2 till
then.
At least pull requests will no longer be blocked.
2021-02-24 10:38:48 +01:00
db51537896
Remove fork of InteractiveViewer
...
The fixes are in flutter stable
2021-02-23 10:13:14 +01:00
c9fce2fa33
RepoManager: Implement deleting a repo
...
This is ugly as fuck. All of the settings pages need a more coherent
look and feel, and need to be organized better.
This finished the implementation of multiple repos.
Fixes #229
2021-02-23 09:54:39 +01:00
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
4b89257749
FolderView: Handle root folder changing
...
I needed to implement didUpdateWidget. This changes my view on how
Flutter works dramatically.
2021-02-19 10:12:01 +01:00
88c64d738d
Use report icon for errors
...
Otherwise errors and info have the same icon. Suggested by ModProg
Fixes #422
2021-02-18 19:32:38 +01:00
406a72088b
Use context.read instead of Provider.of with listen false
...
Shorter
2021-02-15 22:31:45 +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
b7e274c937
Add FileName option in Note title settings
...
This doesn't do anything right now. It just shows the option.
2021-02-12 15:32:10 +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
a2e8f629df
Always sort the tags
...
Fixes #373
2020-12-27 11:00:20 +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
6c5767e2b6
Move all the drawer header code into it
...
Instead of it being all in a stack.
2020-11-30 22:14:23 +01:00
ad77f102e6
Add a workaround for giving people pro mode
...
The accounts setup is taking way way too long. And some ios users have
paid for pro and haven't gotten it. This way, they will at least get it
ASAP. I should have done this weeks ago.
2020-11-30 12:59:23 +01:00
0b5701b739
Move purchasing logic to PurchaseManager
...
Hopefully with this there will never be any more problems of purchases
not being completed.
2020-11-27 17:19:42 +01:00
4eff5844b1
Cleanup PurchaseScreen
...
Avoid having one widget call the other widget with the sku price. It was
complicating the entire code base. Also, create a new class
PurchaseManager which is a singleton and will be used to manage all
purchases from now on.
The earlier approach of having the code in a widget would sometimes
result in purchases not being confirmed. I'm hoping that putting the
class in a singleton will help.
2020-11-27 16:28:58 +01:00
60ae75c3cc
Add a signup screen
2020-11-19 12:20:47 +01:00
c89b72e667
Login: Try actually logging in with gotrue
2020-11-19 12:20:22 +01:00
8267d420a7
LoginPage: Add GitJournal header
...
+ cleanup the code a little
2020-11-18 16:39:15 +01:00
909803aa8e
Add an experimental Login page
...
Code adapted from https://github.com/TheAlphamerc/flutter_login_signup
2020-11-18 16:25:39 +01:00
e87a096c7d
Allow Delete dialogs to be configured
...
Fixes #330
2020-11-18 13:01:33 +01:00
5571fdb65e
Use time.dart
...
I'm sacrificing const code for readability. So maybe I'll lose a bit of
performance, but this is so much easier to read.
2020-11-10 19:07:09 +01:00
3aaa397021
Fix reseting the git host
2020-11-10 18:11:26 +01:00
420de6ee4c
Do not call setState if unmounted
...
Fixes APP-GV
2020-11-10 00:40:21 +01:00
9e71f3295c
Fix unnecessary listen
2020-11-09 12:56:20 +01:00
7fc6847933
Remote Settings: Display the git host
2020-11-09 12:55:54 +01:00
aaf96c82d1
Convert IgnoreReason to an enum
2020-11-09 12:10:38 +01:00
a90541df59
resetGitHost: Save the new folder in the settings
...
Otherwise when we restart the app the old repo is still used.
2020-11-08 10:44:20 +01:00
c2ae07bf5c
Remove custom email regexp
...
Use the EmailValidator package instead
2020-11-07 15:52:39 +01:00
85d21a62e5
Avoid logging note data
2020-11-07 15:32:36 +01:00
245ec8a53b
Debug Screen: Add a button to copy messages to the clipboard
2020-11-07 15:13:06 +01:00
a76e32d8d3
Disable Scroll to Refresh when sync mode set to Manual
2020-10-23 14:14:02 +02: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
bc06efc446
Create new note when clicking on non existing Wiki Link
...
Fixes #240
2020-10-22 23:57:53 +02:00
eac7ff3c63
Auto save the note when the App loses focus
2020-10-22 15:11:48 +02:00
f81b2ed167
NoteEditor Discard Changes: Do a git checkout
on the file
...
This way it will go back to the exact original version. Our Note loading
and saving sometimes changes the yaml metadata order.
Also, this allows us to autosave the note file.
2020-10-22 14:57:12 +02:00
35ed7f616e
CustomKeys: Allow an ssh password to be provided
...
Fixes #227
2020-10-22 14:35:17 +02:00
e3a4844f0e
GitRemoteSettings -> Let a custom SSH key be provided
...
Just like during the GitHost Setup.
2020-10-22 14:22:00 +02:00
00c4a07d72
Note Backlinks is clearly not experimental anymore
2020-10-21 22:32:34 +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
018dd4ca36
Fix reset repo
2020-10-21 04:29:01 +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