2212 Commits

Author SHA1 Message Date
cca83ffd4a Move metadata configuration features from Pro to Basic
Configuring how the metadata should be saved really seems like more of a
basic feature as it allows you test GitJournal's compatibility with your
favorite desktop client or for static website generation.
2020-10-05 11:47:09 +02:00
1a74955e99 Improve inline tags regexp
Fixes #265
2020-10-05 11:43:52 +02:00
68c6fe470d CI: Bump flutter version 2020-10-02 17:28:51 +02:00
d2b1ad7e46 Allow loading ssh keys from a file
Fixes #74
2020-10-02 17:22:30 +02:00
b3ea9c9565 Avoid using deprecated autovalidate 2020-10-02 16:17:05 +02:00
ac807ca0f3 Upgrade to flutter 1.22.0
The screenshots package had to have some override because of a
dependency conflict. Also, while the splash screen still works, I'm not
sure if I'm doing the right thing any more.
2020-10-02 16:12:00 +02:00
8636bda26c Bump import_sorter
It now sorts imports in the test_driver directory, which is awesome.
2020-10-01 00:22:13 +02:00
bb19321c8b Send AppFirstOpen Analytics event
Again, this is sent by firebase, but I want to be able to replace
firebase pretty soon.
2020-09-30 11:27:49 +02:00
27cad98937 Send app_update in analytics
I'm calling this event gj_app_update as firebase automatically sends an
app_update event. This is being done so that I can easily remove
firebase analytics in the future.
2020-09-30 11:27:27 +02:00
6be702c167 Funding: Replace Open Collective for GitHub Sponsors
Open Collective is better as it allows one time donations, but I don't
have the bandwidth the manage that and GitHub Sponsors. It seems easier
to just manage one, and people who want to make a one time donation can
use Paypal.
2020-09-29 14:51:00 +02:00
f030156606 Add images in Changelog 2020-09-29 14:34:58 +02:00
0d12890d48 Add Tags image for 1.52 release
It looks horrible but it's better than nothing
2020-09-29 10:24:35 +02:00
84c67a08db Log an exception properly 2020-09-28 13:05:09 +02:00
34cdd21026 ios: Remove unused function 2020-09-28 13:04:41 +02:00
fc8e83b035 ios: Use git_fetch and git_merge instead of pull
Now with the latest git_bindings we no longer use git_pull which would
do a fetch + merge. It's good that these two actions are separated as
I can then easily replace the git_merge with a smarter version
implemented in git.

Also, that way in the future, the git_bindings plugin will only be used
for git_fetch and git_push for SSH. Everything else can be handled by
dart_git.
2020-09-28 13:02:55 +02:00
75d48fbfc6 Integration Test: Show the sorting settings and view Options
Also add far more existing notes for the screenshots.
2020-09-28 12:11:05 +02:00
dfbdb5c50c Fix flutter analyze 2020-09-28 00:49:59 +02:00
48b9b4d642 GraphView: Dispose the Graph correctly 2020-09-28 00:48:18 +02:00
dc4e18156c GraphView: Fix dragging the nodes
This was much simpler than expected.
2020-09-28 00:38:57 +02:00
4d586d85ae Avoid modifying the InteractiveViewer at all
Just import it with a different prefix
2020-09-28 00:17:55 +02:00
40349b5660 Add missing trailing commas
How did this file ever even get saved?
2020-09-28 00:09:49 +02:00
43269bbe53 Add lots of listen: false when using Provider
Provider version 4 has an assert which fires if used incorrectly.
2020-09-28 00:09:14 +02:00
c20f8314c1 AppSetting: Add an experimental ZeroConf option 2020-09-27 22:47:18 +02:00
fc477bd503 Experiment with advertising a ZeroConf Service 2020-09-27 22:47:10 +02:00
58de0498ac Replace git pull with git fetch + merge
This way we can swap the merge out easily for our own custom merge code.
Also, this makes it easier to do a merge as a way of migrating.

This commit probably breaks stuff on ios
2020-09-26 20:27:07 +02:00
4be9520ae6 LinkResolver: Add another test 2020-09-26 19:25:07 +02:00
82db15128b NoteFileFormat: Refactor
Get all the allowed extensions in one place. Currently the code is
scattered all over the place.
2020-09-26 19:19:26 +02:00
4b3f1669f5 Stop caching the gitBaseDir
It makes the entire code base far more complicated and the round trip to
get the directory really isn't that much. This is a massive
micro-optimization for very little benefit.
2020-09-26 18:52:28 +02:00
a422b09fce GraphView: Allow scaling out far more
This way we can see allmost the entire graph.
2020-09-26 06:17:44 +02:00
b34395f754 Graph: Do not let nodes get stuck
Nodes which have a pos < 0, are no longer force directed. This make the
graph behave strangely. It's better to just push it a little further
from the edge.
2020-09-26 06:03:14 +02:00
1b1e49902b Add a copy of the InteractiveViewer
The one in the current stable branch is buggy and the scaling doesn't
work reliably.

This is from the beta branch.

This breaks selecting a node and being able to move it easily.
2020-09-26 05:57:30 +02:00
475fbcbc00 Graph: Start drawing the nodes closer to the top left
Instead of drawing them somewhere in the middle.
2020-09-26 05:39:26 +02:00
760be79153 GraphView: Try using the InteractiveViewer
Using two SingleChildScrollView hijacks the touch events and the
underlying widget never gets it.

The InteractiveViewer seems to be as useless.
2020-09-26 05:38:13 +02:00
6ede96a8ab Graph: Remove all debug print statements
Too much noise. I'll remove them later when I cleanup the code.
2020-09-26 05:37:14 +02:00
4d3573da98 GraphView: Tap gestures - get the node position properly
Earlier this was only working as the global and local coordinates were
the same. Now that I've added a SafeArea that is no longer the case.
2020-09-26 05:35:43 +02:00
8e5ac69af2 Graph Layouting: Add original const values
These seem like magic values to me.
2020-09-26 01:17:35 +02:00
e616d69773 Graph Layout: Do not let nodes pos go < 0
Otherwise they fall off the visible area
2020-09-26 01:13:37 +02:00
dcc7459b8f Remove main_graph
All of it has been incorproated into GitJournal.
2020-09-26 01:04:23 +02:00
42b7562989 GraphView: Properly cache the neighbours
Stupid mistake
2020-09-26 01:03:45 +02:00
70a48f6d2f Graph: Remove unused function
We never assign nodes randomly starting positions any more.
2020-09-26 00:48:46 +02:00
34630c671e Node: cache the label
Computing the path spec again and again is apparently very very
expensive.
2020-09-26 00:36:58 +02:00
4928143b31 Graph Node: Render with a black border
This way the nodes are more easily recognizable when they overlap each
other.
2020-09-26 00:32:33 +02:00
445beb850d GraphView: Fix the node width
The text below the nodes was causing it to not be rendered at its center
point as often the text would occupy more space.
2020-09-26 00:12:43 +02:00
156feb824c Rename Monthly Subscription to Installments
I think the word Subscription now means "renting" in the context of the
application, and even though I don't mean to use it that way, that is
what people seem to take away.
2020-09-25 15:27:14 +02:00
a9b821f360 Remove another case of the global settings 2020-09-25 01:40:03 +02:00
15c5d5e422 Another case of the Settings singleton 2020-09-25 01:07:35 +02:00
b72e4719d2 Remove another case of the Settings singleton 2020-09-25 01:05:17 +02:00
eb4d99338b Remove some uses of the Settings singleton
It needs to be removed from everywhere.
2020-09-25 00:40:23 +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