f631b99aa5
Experiment: Start integrating supabase
2021-08-16 12:44:49 +02:00
c7fb3b792e
Move Login/Signup screens into the account folder
...
I much prefer having parts of GitJournal seperated by their domain,
instead of just widgets/screens/etc
2021-08-13 10:19:02 +02:00
1342b7bece
Simplify code
...
Reduce is confusing for me
2021-08-12 00:19:56 +02:00
df32e0cb8c
Analytics oldestEvent: Handle cases of no events
2021-08-12 00:12:56 +02:00
e61346cdf3
Analytics: Use unsigned ints
...
Also change type to 64 bit wherever needed.
The cpuFreq value seems to be too high, discarding it for now.
2021-08-12 00:12:02 +02:00
103197b886
Analytics: Send to backend when possible
2021-08-12 00:10:18 +02:00
9efc8cfcfa
Analytics: Hook up the storage
...
Add events to the storage independent of Analytics being enabled or not.
The idea is that the user can later decide to enable the analytics and
send all the old events.
2021-08-11 11:54:32 +02:00
02f7ab4741
AnalyticsStorage: Add an API to fetch the events as a transaction
2021-08-11 10:13:20 +02:00
5a9531778b
MarkdownToolbar: Add more tests
...
I was sure this would fail, but it passes. Why am I getting errors in
Sentry!!
2021-08-10 18:25:17 +02:00
65de6a83b5
Try to fix Sentry issue
...
I'm really not sure what is going on over here.
Fixes APP-197
2021-08-10 17:58:52 +02:00
da7d6e9bbf
Log when Analytics/Crash Reporting is disabled / enabled
2021-08-10 14:21:53 +02:00
cb389a44af
Remove unused feature flag
2021-08-10 14:16:13 +02:00
0328ff4798
Fix Analytics null check
...
Fixes APP-1BW
2021-08-10 11:25:29 +02:00
e90233d45c
Update modified/created as unix timestamp if already in that format
...
Related to #349
2021-08-10 10:57:31 +02:00
8845fbbb8c
Fix changelog and bump bugfix version
...
Bumping the version so that the ios ci doesn't fail
2021-08-10 10:21:45 +02:00
6c23bf12fe
Update changelog
2021-08-10 10:06:59 +02:00
f14e754b74
anaytics example: Use the right port
...
This took me way way too long to figure out
2021-08-09 18:18:03 +02:00
0e2adf8bb6
Analytics: Add sample network code
...
This doesn't seem to work. I'm not sure what I've done wrong with
google cloud run.
2021-08-09 17:23:18 +02:00
371bd996ec
Add AnalyticsStorage class
...
A simple way to store the events. Since we are using protobufs, we can
efficiently store events in a binary form.
2021-08-09 15:07:17 +02:00
54c36af040
Analytics: decouple from error reporting
2021-08-09 11:53:24 +02:00
7bbd79343a
IAP: Do not send the psuedoId
...
Lets keep the analytics completely separate from everything else. I
don't want to have the ability to map analytics with IAP. The latter can
have personally identifiable information.
2021-08-09 11:44:53 +02:00
ae8016caec
experiment: Custom file class
...
Just trying to figure out a rough API
2021-08-09 11:38:05 +02:00
fc4eb60c6f
Add a WorkerQueue class
...
This is meant to reduce the code duplication between the LinksLoader and
the MdYamlDocLoader class. So far, it just highlights how fragile
the message passing is between Isolates.
2021-08-09 11:38:05 +02:00
879e238428
Sort by filename if file last modified is the same
...
Related to #172
2021-08-09 10:47:35 +02:00
f24740ea3a
SortedNotesFolder: Fix binary search
...
I can't remember why I implemented this myself instead of using a
standard implementation and avoiding idiotic bugs like this.
Fixes #172
2021-08-09 10:43:46 +02:00
4d1dff32fa
OrgMode: Add images with the correct markup
...
It was using the markdown syntax.
Related to #145
2021-08-04 08:40:15 +02:00
ef1536223d
Remove Note.addImageSync
...
We can just always use the async version.
2021-08-04 08:28:10 +02:00
a0a97aa8cb
Cleanup code
2021-08-04 08:17:49 +02:00
d53154aa8e
Remove note.remove
...
Only being used in a test
2021-08-04 08:13:48 +02:00
39096c270c
Note.save: Move to NoteStorage
...
I'm trying to move all FS related operations out of the Note class, and
ideally make it super small. This class will need to be serialized over
the wire for the web version, and that needs it to be small.
2021-08-04 08:03:48 +02:00
e2992b3603
Analytics: Fix session ID
2021-08-03 16:53:22 +02:00
b0edb257c6
Analytics: Cleanup
...
I don't see any way of getting the app install source.
Run the formatter on the rest
2021-08-03 16:25:15 +02:00
01087bd088
Sentry: Avoid sending the psuedoId
...
It's not being used for anything.
2021-08-03 16:11:41 +02:00
0a7eb4d517
Move pseudoId to Analytics
...
From AppSettings
2021-08-03 16:08:28 +02:00
c04af8480d
Analytics: Capture current screen
2021-08-03 15:57:37 +02:00
d0efbbf6ad
Analytics: build an event
2021-08-03 15:54:30 +02:00
80d7a8246a
Analytics: Simplify code
2021-08-03 14:02:12 +02:00
5f3ef0ce06
Analytics: Add service + go options
2021-08-03 13:48:26 +02:00
badd4ef1e5
Analytics: Allow calls to logEvent even if we haven't been initialzed
2021-08-02 16:27:45 +02:00
0b7195960c
Split Analytics Route Observer into its own file
2021-08-02 15:42:15 +02:00
17d2c2db0d
Analytics: cleanup
...
This way its less dependant on GitJournal and can be used in other
projects.
2021-08-02 15:36:58 +02:00
a0211b35c2
Analytics: Add code to build the device Info
...
This fills the protobuf structure
2021-08-02 15:23:03 +02:00
7c440fd1c0
Analytics: Add a protobuf file
...
First version
2021-08-02 15:21:42 +02:00
357cedee52
Remove plausible experiment
...
Not being used, and it's easier to just run our own db. Plausible is not
built for app analytics.
2021-08-02 15:21:37 +02:00
5177be2593
Bump version
...
Time to make a new release
2021-08-02 11:28:46 +02:00
86e1e754f7
SortingModeSelector: Make it scrollable
...
Fixes #385
2021-08-02 11:19:14 +02:00
c81e539a76
StripMarkdownFormatting: Only consider '* ' as lists
...
If we let the space be optional then this picks up bold/italics as well.
Ideally, the stripMarkdown formatting could be made smarter, but I would
prefer to just rid of it in the future, and use the proper markdown
parser.
The only thing that is stopping me right now is performance. So in the
future when the stripped version is cached, this should be fine.
Fixes #420
2021-08-02 11:12:54 +02:00
ba566f5fbe
MarkdownToolbar: Make it scrollable horizontally
...
This way it will still show properly on really really narrow screens.
Fixes #451
2021-08-02 11:05:43 +02:00
1ac0627f13
MarkdownToolbar: Make it work for selected text
...
Fixes #522
2021-08-02 10:40:27 +02:00
60ca4a6a9d
Fix flutter analyze issue
2021-07-31 18:33:53 +02:00