Abdullah Atta
90b9012c32
sync: use custom bson serializer for SyncItem for perf
2024-06-07 11:00:48 +05:00
Abdullah Atta
9d2c54ad33
sync: remove legacy sync api
2024-06-07 10:56:17 +05:00
Abdullah Atta
0c0ade0c64
sync: refactor sync device service to be more memory efficient
2024-06-07 10:55:15 +05:00
Abdullah Atta
7ce02d0193
api: only fetch monographs' ids
2024-06-07 10:50:47 +05:00
Abdullah Atta
cb0ad7ac9a
api: improve pro authorization handling
2024-06-07 10:49:57 +05:00
Abdullah Atta
690414cb51
s3: only allow pro users to upload attachments
2024-05-29 22:58:34 +05:00
Abdullah Atta
95119f8df2
global: change default log level in prod to Warning
2024-05-16 13:16:11 +05:00
Abdullah Atta
6e192e1765
s3: return 0 on failure instead of null when getting attachment size
2024-05-16 13:14:16 +05:00
Abdullah Atta
45a8f056b9
api: handle sync v2 in SyncRequirement
2024-05-16 13:13:38 +05:00
Abdullah Atta
1c901aad84
api: remove profile from user settings
2024-05-16 13:13:06 +05:00
Abdullah Atta
98b5143bfe
sync: v3 compatible sync
2024-05-16 13:12:37 +05:00
Abdullah Atta
7ad546a863
s3: require pro subscription to upload files
2024-05-16 13:10:18 +05:00
Abdullah Atta
1e3b308210
api: minor refactors
2024-03-05 10:26:44 +05:00
Abdullah Atta
9a98c1afb8
notesnook: add support for user profile
2024-03-05 10:25:54 +05:00
Abdullah Atta
1dcf6557a7
announcements: add support for variable substitution
2024-03-05 10:24:52 +05:00
Abdullah Atta
ce7fb81df3
monographs: self destruct monographs on api call
2024-03-05 10:24:13 +05:00
Abdullah Atta
61adea6a06
monographs: check monograph size on update
2024-03-05 10:23:36 +05:00
Abdullah Atta
8781531042
sync: add new repositories for vault & settings
2024-03-05 10:22:51 +05:00
Abdullah Atta
dbc726aea8
sync: remove colors & tags syncing from v1 sync
2024-03-05 10:20:51 +05:00
Abdullah Atta
36690c5472
sync: rename Settings repository to LegacySettings
2024-03-05 10:20:23 +05:00
Abdullah Atta
e7350e2c49
sync: fix vault key getting reset on sync
2024-03-05 10:16:04 +05:00
Abdullah Atta
b8835923c5
sync: validate cipher base64 before adding to database
2024-03-05 10:13:36 +05:00
Abdullah Atta
29eedd57e8
global: minor refactoring
2024-03-05 10:07:01 +05:00
Abdullah Atta
4da9614851
global: upgrade to net8.0
2024-03-05 10:03:27 +05:00
Abdullah Atta
1f72e2c3a8
identity: fix session revokation
2023-10-28 11:08:17 +05:00
Abdullah Atta
ab7ea72fd4
sync: introduce sync v2
2023-09-09 20:29:05 +05:00
Abdullah Atta
55a7e9fd1c
sync: make collection & db name usage more obvious
2023-09-09 20:28:46 +05:00
Abdullah Atta
8bbb4d0b9e
sync: make tags & colors syncable
2023-09-09 20:26:51 +05:00
Abdullah Atta
fc757674a9
sync: improve announcements & monograph query performance
2023-09-09 20:23:16 +05:00
Abdullah Atta
6e7a85763c
sync: pause all fetches if another device is pushing
2023-06-28 17:12:02 +05:00
Abdullah Atta
4b67b7eedb
sync: prevent multiple syncs from a single connection
2023-05-22 18:22:32 +05:00
Abdullah Atta
19056a9302
sync: detect multiple conflicting syncs
...
When 2 or more syncs conflict, it is necessary to adjust last synced
date to avoid data from entering a Sync Blindspot.
2023-05-22 18:22:16 +05:00
Abdullah Atta
f38e61d58f
global: update copyright year to 2023
2023-01-16 13:33:47 +05:00
Abdullah Atta
1b5678a26c
sync: minor refactors
2023-01-16 13:24:04 +05:00
Abdullah Atta
443b4ab715
sync: improve perf of user account reset & deletion
...
this adds a new UserId index in all the notesnook collections which
helps to speed up the deletion time during account reset & delete.
This fixes the request timeout issues during both of these processes.
2023-01-16 13:22:57 +05:00
Abdullah Atta
cb3c8ed4ac
global: add very basic server versioning
2023-01-05 19:44:45 +05:00
Abdullah Atta
38c410db58
common: make CORS origins configurable
2023-01-05 19:41:25 +05:00
Abdullah Atta
50c06fc11d
global: read env from .env file in release mode
2023-01-05 19:27:25 +05:00
Abdullah Atta
9db20e7f98
global: add ssl support to all servers
2023-01-03 22:28:17 +05:00
Abdullah Atta
7ebbbb8004
docker: use minio for s3 storage
2022-12-31 14:56:00 +05:00
Abdullah Atta
9af8a46f87
chore: read env vars from .env.local during dev
2022-12-30 19:23:39 +05:00
Abdullah Atta
19b0d94406
sync: add some helpful comments
2022-12-30 11:39:57 +05:00
Abdullah Atta
b15495d1bc
docker: add Dockerfiles for all servers & enable docker compose
2022-12-30 11:24:33 +05:00
Abdullah Atta
c0fab8a735
global: make ready for self hosting
...
This exposes a few more env vars for configuration &
bypasses the Subscription backend
so each user is Pro by default. This is required because there won't be
any mechanism for the user to upgrade. We'll also have to disable a few
things on the client side to avoid confusion.
2022-12-30 11:23:02 +05:00
Abdullah Atta
3f89ebc214
global: move more config to env vars
2022-12-29 11:18:29 +05:00
Abdullah Atta
af9b357f3f
read env vars from .env file
2022-12-28 17:33:18 +05:00
Abdullah Atta
021f098233
chore: add license & readme
2022-12-28 16:52:22 +05:00
Abdullah Atta
d2217adce7
open source Notesnook API
2022-12-28 16:20:25 +05:00