10 Commits

Author SHA1 Message Date
b631914ffa More license headers 2021-09-16 11:17:00 +02:00
7b0d97ea37 Env: Make it type safe
This way there can never be typos
2021-08-26 15:19:27 +02:00
99c9897ae7 env: Get the variables from a json encrypted file
Instead of getting it from the env variable. This way, we don't need to
add each env variable to the CI.
2021-08-26 15:07:33 +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
bd452a696b build: 🚸 Added Shebang to setup_env.dart
This means the file can be executed on Unix Systems directly
Also added execution permission to `setup_env.dart`

`./scripts/setup_env.dart` works now
2021-03-25 14:22:40 +01:00
28d53242d8 Move away from RevenueCat
The iOS updates keep getting rejected, and I think it's because
RevenueCat is taking too long to respond. Additionally, revenueCat
doesn't really give us anything useful as its receipt validation isn't
perfect, and I've had to roll my own.

Plus from a privacy point of view, this is better as we are no longer
talking to any third party service.

This has so far only been tested on iOS
2020-07-26 12:20:09 +02:00
42d6386096 Add basic txt file support
With this 'txt' files are now read and written. However, they don't have
any metadata so they don't show up correctly in the sort order and
currently the Markdown Editor is still available for them.

Related to #55
2020-06-02 00:15:18 +02:00
ed5e86cf83 Get Sentry DSN from env variable 2020-04-10 12:10:37 +02:00
b1683acbf3 Add a way to pass certain keys via env variables in the CI 2020-04-06 19:57:10 +02:00