1901 Commits

Author SHA1 Message Date
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
1f32a3c10e mdns: Add extra comments
This way I know how to continue working on this when I feel like it.
2020-09-24 21:03:45 +02:00
8032a5ca5a Experiment with mdns to resolve a service 2020-09-24 20:44:56 +02:00
289182b12e Fix Parent relative links not working
Fixes #256
2020-09-24 16:46:24 +02:00
f3715bd3c8 Markdown DarkTheme: Make the checkboxes lighter
This entire way of styling the markdown badly needs to be re-done from
scratch.
2020-09-23 02:18:47 +02:00
3e785cbc97 NoteViewer: Fix translation string lookup 2020-09-22 23:26:49 +02:00
acce7160b9 getTodayJournalEntry: Not all notes have a 'created'
Non Null by default is really needed. I can't wait for these kind of
errors to never happen again.
2020-09-22 12:17:06 +02:00
296e4de7b5 CI trigger_website: Fix typo
The file ends with .yml not .yaml
2020-09-22 01:00:47 +02:00
09b396b0e9 Changelog: Add a bug number 2020-09-22 00:55:11 +02:00
0717b0f872 CI: Add a job to trigger rebuilding the website
When the changelog over here changes, the website would need to be
rebuilt.
2020-09-22 00:43:45 +02:00
0a5e948710 Changelog: Add bug numbers 2020-09-22 00:03:50 +02:00
1daac916fe Changelog: Make all it structured 2020-09-21 18:41:58 +02:00