2747 Commits

Author SHA1 Message Date
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
c1ce37ca24 Bump some deps 2021-07-31 18:07:41 +02:00
4606268a2c InlineTagProcessor: Add a test for ignoring tags in code blocks
Skipping it for now since it fails

Related to #290
2021-07-31 17:22:41 +02:00
b7af4604df LinksLoader: Use LineSplitter
Far more efficient
2021-07-31 17:20:01 +02:00
a181cd9e20 Add a markdown TextVisitor class
This is going to be used to parse the tags from a markdown document
while ignoring the text inside a code block
2021-07-31 17:18:46 +02:00
3ef7f65b33 SortingMode: Handle cases where one fileLastModified is null
This is a mess. The entire Note class needs to be split up, and the file
last modified should never be null.
2021-07-31 14:59:23 +02:00
32ddd080b2 Add a fake debug screen
It's easier to work on it this way
2021-07-30 14:58:55 +02:00
3a71cca202 Move logging code to its own folder 2021-07-30 14:39:13 +02:00
79b74d0d77 Show progress on the cloning page
Fixes #397
2021-07-30 12:57:35 +02:00
471669e20b Add another dashbook experiment
This is being use to test out the cloning screen. It runs on Flutter
Web!
2021-07-30 12:57:35 +02:00
938a4c27e8 Rever dart:io change for setup script 2021-07-30 12:11:33 +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
72e9de29de Move editor related code into its folder
I'm trying to separate the code based on the domain so that this code
can be easily reused in other projects
2021-07-30 11:12:00 +02:00