126 Commits

Author SHA1 Message Date
2e0a3cfd6a chore: Moving folder_listing to bloc
First implementation of a screen using bloc. I'd like to slowly move all
the screens to bloc.
2024-08-18 20:12:26 +02:00
e2c1363224 Remove unused code + deps
Both this calendar view and this history screen need a lot of work to
get them to a place where they can be shipped, and there are no plans of
doing that.
2024-08-17 00:47:41 +02:00
d210773b06 Upgrade deps + android sdk version to get it to build
I'm still having some problems with the version of gradle + kotlin, but
this is a step in the right direction.
2024-08-14 23:23:24 +02:00
f672c3eb55 flutter fix deprecations 2024-08-13 18:13:04 +02:00
3bde3f6318 Stop using deprecated Theme selectedRowColor 2023-12-06 07:33:51 +01:00
657721adc6 Update dart-git and stop using the Result class
Instead we're going to move back to standard exceptions.

Using a custom Result class has created far far more problems
- The Stacktraces aren't always right
- Sometimes one forgets to check the Result error
- All other exception throwing code needing to be converted to Results
- Non idiomatic Dart code

I think it's better to just go back to exceptions. They have their
problems, but overall, I think it's a better approach.
2023-11-24 14:03:30 +01:00
e206c64d2f Get this to run with flutter 3.13.1 2023-08-27 16:41:42 +02:00
1d3d7de583 Remove Experimental GraphView
I haven't made any progress in it over 1.5 years now. It's clear that
I'm not going to.

GitJournal is already way too big, and it doesn't have space for
features which I don't personally use.
2023-02-21 16:08:21 +01:00
ea8cd35261 Fix deprecated methods 2023-02-09 16:00:29 +01:00
ca98da4029 Update deps and fix linting issues 2023-01-20 16:14:08 +01:00
5154e6cb11 Remove Supabase
It's way too heavy for some very simple account features that I require.
2023-01-20 12:58:23 +01:00
d6abbbb9b5 Remove the entire concept of Features
GitJournal is no longer going to be a product where it's paid per
feature. Instead it'll just be a paid one time thing.
2023-01-19 18:21:37 +01:00
6d453ee62a Rename app_localization_context to l10n
It's easier to enter and this file now contains far more things
2022-11-27 17:52:03 +01:00
b925da7a47 Use the generated localization instead of easy_localization
Not everywhere, but a large part of the code base.

This way, hot reloading will also reload the strings which makes for
such a better developer experience.
2022-11-19 03:02:01 +01:00
ae9228f65e Use super.key
Makes the code a bit more readable.
2022-08-25 11:32:25 +02:00
dfbbac5a27 Bump flutter_login
This required bump font awesome as well.
2022-06-29 12:12:18 +02:00
a322879077 make fmt 2022-06-26 15:15:11 +02:00
00e6f39e67 Move setup code into its own package 2022-06-26 15:08:55 +02:00
4baf0c1772 Fix theme style not applied to repo tile in drawer (#620) 2022-03-30 13:07:55 +02:00
9754b24e02 Upgrade flutter 2022-01-13 18:19:55 +01:00
439dfaa80f ErrorScreen: Add a button to "Add a new Repo"
This way the user doesn't need to delete it immediately, if we can
figure out some way to fix the problem.
2021-12-16 13:15:04 +01:00
9d70d53e35 Never just hang on loading
This would happen if the current repo couldn't be opened.

We now show a special "Error Screen", and allow the user to add another
repo.
2021-12-16 13:05:02 +01:00
c35e735304 AppDrawer: Avoid hardcoding route paths 2021-10-30 13:48:28 +02:00
6230e2b3df Rename AppSettings to AppConfig
I just want all the 'Settings' classes to the UI. In the end it really
doesn't matter. This was probably a waste of 5 minutes.
2021-10-27 20:47:57 +02:00
99cefae539 AboutPage: Hook up "Bug Report" and "Feedback" buttons 2021-10-27 11:47:53 +02:00
61f7ddb377 AppDrawer RepoList: Improve marking the selected repo
This should probably be done via the theme
2021-10-23 16:29:40 +02:00
7e0a77ace3 Fix many cases of 'avoid-ignoring-return-values'
Now that dart-code-metrics has been updated, this lint can finally be
used. So far all of these are false positives, in the sense that I don't
care about their return values.

I wish there was an easy way of marking functions whose return value
shouldn't ever be ignored.
2021-09-27 18:39:18 +02:00
c4ef1f569b Use flutter_lint
Instead of picking lint values. This way I don't need to routinely
looking at extra lints to enable.
2021-09-21 15:42:13 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
e2d391ec02 Add experimental history 2021-09-13 17:32:33 +02:00
a75e5eb5f4 Report errors from flutter_email_sender 2021-09-13 17:32:33 +02:00
7012e2b533 Stop using deprecated accentColor
For Flutter 2.5
2021-09-13 17:32:33 +02:00
d597c68ece Remove experimental FS
It'll be easier to just extend the already existing views. Maintaining
yet another view is just too much.
2021-09-08 15:30:19 +02:00
6403296724 Basic login experiment 2021-08-27 14:28:29 +02:00
9507dcb18d Drawer: Use LocaleKeys 2021-08-26 10:35:27 +02:00
3a71cca202 Move logging code to its own folder 2021-07-30 14:39:13 +02:00
2505d00dfb Replace dart:io with universal_io
Platform from dart:io cannot be used on the web for reasons. And this
way we get a fake File/Directory class which we can use for atleast
running the web version, even if it won't work.
2021-07-30 11:39:26 +02:00
3bc617ab97 Hide "Rate App" from App sidebar on the desktop
It's only supported on ios and Android.
2021-07-29 23:01:24 +02:00
07763226df Stop using deprecated packages 2021-07-29 14:39:23 +02:00
d4a345ea89 Avoid using 'dart:io' wherever possible
This gets us one step closer to supporting the web.
2021-07-01 01:46:01 +02:00
d6e2f09a72 Move all settings code to its own folder
Jumping around between the widgets / screens and outside is bit
confusing. Also this way, I can add the stories right here.
2021-06-05 12:23:28 +02:00
30b9a850d4 Move utils file to utils folder 2021-06-04 18:59:58 +02:00
b76fe9e27a null safety++ 2021-06-02 09:07:29 +02:00
813b4c8436 Move analytics code to its own folder 2021-04-26 09:06:51 +02:00
d008f0d982 First version of dart migrate
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
ea8b32608c Make MultiRepos Pro only 2021-02-23 10:08:24 +01:00
b5d5705f82 Hookup the Repository Manager to the AppDrawer
This makes multi repo support somewhat work. We still have some problems
with the old state not being clearer which I cannot seem to figure out.
2021-02-19 09:53:30 +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
a92f5532b8 Remove unused variable
It's not very easy to understand but the state is maintained by the
animation controller
2021-02-12 15:37:02 +01:00
bff9162858 RepoList: Use a better curve
This makes the entire animation look so much better.
2021-02-04 17:30:43 +01:00