Commit Graph
104 Commits
Author SHA1 Message Date
f759261919 feat: user to user message model. (#649)
Co-authored-by: Mo <[email protected]>
2023-07-10 12:10:25 +02:00
c288e5d8dc fix: transfer notifications from auth to syncing-server. (#648)
* fix: transfer notifications from auth to syncing-server.

Co-authored-by: Mo <[email protected]>

* fix: add notification to data source init

---------

Co-authored-by: Mo <[email protected]>
2023-07-07 15:12:27 +02:00
72310130d2 feat: shared vault invites controller and use cases (#647)
* feat: get shared vault invites sent by user.

Co-authored-by: Mo <[email protected]>

* feat: shared vault invites controller.

Co-authored-by: Mo <[email protected]>

---------

Co-authored-by: Mo <[email protected]>
2023-07-07 13:39:43 +02:00
92a5eb0d98 feat: remove inbound shared vault invites. (#646)
Co-authored-by: Mo <[email protected]>
2023-07-06 13:53:52 +02:00
92f96ddb84 feat: accept and decline shared vault invites (#645)
* feat: accept shared vault invite.

Co-authored-by: Mo <[email protected]>

* feat: decline shared vault invite.

Co-authored-by: Mo <[email protected]>

---------

Co-authored-by: Mo <[email protected]>
2023-07-06 12:47:48 +02:00
912a29d091 feat: update shared vault invite. (#644)
Co-authored-by: Mo <[email protected]>
2023-07-06 11:58:45 +02:00
b2c32ce70e feat: shared vault users controller. (#643)
Co-authored-by: Mo <[email protected]>
2023-07-06 11:41:36 +02:00
e905128d45 feat: getting shared vault users and removing shared vault user (#642)
* feat: getting shared vault users.

Co-authored-by: Mo <[email protected]>

* feat: removing shared vault user.

Co-authored-by: Mo <[email protected]>

---------

Co-authored-by: Mo <[email protected]>
2023-07-06 11:18:06 +02:00
7a3946a9e2 feat: http controllers for shared vaults. (#641)
Co-authored-by: Mo <[email protected]>
2023-07-05 15:17:43 +02:00
f3161c2712 feat: deleting shared vaults. (#640)
Co-authored-by: Mo <[email protected]>
2023-07-05 13:45:49 +02:00
Karol SójkoandGitHub d2b2c339f2 feat: add getting shared vaults for a user (#639) 2023-07-05 11:01:21 +02:00
5dc5507039 feat: add invite users to a shared vault. (#636)
Co-authored-by: Mo <[email protected]>
2023-07-03 19:40:36 +02:00
04b3bb034f feat: add creating shared vault file valet tokens. (#635)
Co-authored-by: Mo <[email protected]>
2023-07-03 18:43:32 +02:00
890cf48749 feat: add shared vault invite model. (#634)
Co-authored-by: Mo <[email protected]>
2023-07-03 11:54:52 +02:00
4df8c3b2e5 feat: add use case for creating shared vaults and adding users to it. (#633)
Co-authored-by: Mo <[email protected]>
2023-06-30 15:11:12 +02:00
52f879f842 feat: add shared vaults user model. (#632)
Co-authored-by: Mo <[email protected]>
2023-06-30 13:19:31 +02:00
38e77f04be feat: add shared vaults model. (#631)
Co-authored-by: Mo <[email protected]>
2023-06-30 12:44:27 +02:00
Karol Sójko d5a8409bb5 fix: add debug logs for invalid-auth responses 2023-06-28 14:30:39 +02:00
Karol Sójko 0df471585f fix(home-server): add debug logs about container initalizations 2023-06-22 11:50:59 +02:00
Karol SójkoandGitHub 0cb5e36b20 fix(home-server): env var determining the sqlite database location (#626) 2023-06-14 08:05:48 +02:00
Karol SójkoandGitHub af8feaadfe feat: configurable path for uploads and db (#623)
* fix(home-server): passing the database path

* fix(home-server): passing the file upload path
2023-06-07 10:39:33 +02:00
Karol SójkoandGitHub d6e531d4b6 feat(home-server): allow running the home server with a mysql and redis configuration (#622)
* feat(home-server): allow running the home server with a mysql and redis configuration

* fix(files): config for file uploader

* fix(files): if condition on fs file uploader bootstrap
2023-06-05 11:47:10 +02:00
Karol Sójko a8b806af08 fix(home-server): streaming logs 2023-06-02 14:10:20 +02:00
Karol Sójko 624b574013 fix: initializing data source with already configured environment 2023-06-02 11:20:34 +02:00
Karol SójkoandGitHub f0cbec07b8 feat(home-server): add overriding environment variables in underlying services (#621) 2023-06-02 10:48:17 +02:00
Karol SójkoandGitHub b28636fa73 chore: make newrelic an optional dep (#620)
* chore: make newrelic an optional dep

* fix: change newrelic imports to dynamic ones

* fix: deps

* fix: remove unplugged deps

* fix: yarn lock

* fix: add missing yarn installs
2023-06-01 12:50:11 +02:00
Karol SójkoandGitHub bc63d0aeea feat(home-server): add custom home server logs (#619)
* feat(home-server): add custom home server logs

* fix(home-server): asyn state of logs function
2023-05-31 15:01:55 +02:00
Karol SójkoandGitHub c7d575a0ff feat: add files server as a service to home-server (#614)
* wip: add files server as a service to home-server

* wip: introduce home-server controllers without inversify-express-utils decorators. Move in progress

* fix(auth): move remaining home server controllers

* fix(syncing-server): home server controllers

* fix(revisions): home server controllers

* fix: specs

* fix: import for legacy controller

* fix: remove router debug
2023-05-29 14:45:49 +02:00
Karol Sójko b8353aa817 chore: add metadata to winston loggers 2023-05-18 07:54:36 +02:00
Karol SójkoandGitHub b3b617ea0b feat: bundle syncing server into home server setup (#611)
* feat(syncing-server): move inversify express controllers to new structure

* wip: syncing server service binding for home server

* fix(syncing-server): container bindings

* fix(api-gateway): rename https service to service proxy

* fix: proxying requests to syncing server

* fix: responses and version binding
2023-05-17 15:38:12 +02:00
Karol SójkoandGitHub 8fbb94d15a feat: upgrade to node 20.1.0 (#590)
* feat: upgrade node to 20.0.0

* fix(auth): webauthn usage

* fix: remove better-sqlite3 driver and unplug newrelic

* fix: add sqlite3 lib to packages

* chore: upgrade aws-sdk and localstack

* fix: specs and node types

* tmp: check if installing yarn helps linter and test cancellation issues

* Revert "tmp: check if installing yarn helps linter and test cancellation issues"

This reverts commit eacb4e28d1.

* fix: run tests separately

* tmp: downgrade yarn release

* Revert "tmp: downgrade yarn release"

This reverts commit a277454dbe.

* feat: upgrade to node 20.1.0

* Revert "fix: run tests separately"

This reverts commit 5755f2caf9.
2023-05-08 12:16:18 +02:00
Karol SójkoandGitHub 484f554339 feat: remove cloud backups (#574) 2023-04-27 12:23:30 +02:00
Karol SójkoandGitHub 723ff44151 feat: add syncing server sqlite driver (#573) 2023-04-27 11:53:24 +02:00
Karol Sójko 10a596db65 fix(syncing-server): remove unused methods from auth http service 2023-03-15 11:20:24 +01:00
27cf093f85 feat: sign in setting refactor (#472)
* fix(auth): refactor setting names into domain core value objects

* fix(auth): refactor specs with setting name value objects

* feat(auth): move mute sign in emails to a subscription kind of setting

* feat(auth): add migration script to change sign in email settings to subscription settings

* chore: fix setting name usage

* fix(auth): upper casing setting names

---------

Co-authored-by: Karol Sójko <[email protected]>
2023-03-08 10:22:27 +01:00
Karol Sójko f7c29848f1 fix(syncing-server): numbering of the backup emails 2023-02-22 11:48:08 +01:00
Karol Sójko 87b22ac684 fix(syncing-server): creating email backup attachment files 2023-02-21 11:45:54 +01:00
Karol Sójko b6702c7182 chore: remove unused content size recalculation event 2023-02-21 10:45:32 +01:00
Karol Sójko fa0b9bf935 fix(syncing-server): worker container configuration 2023-02-13 10:52:06 +01:00
Karol SójkoandGitHub 993d31167b feat(syncing-server): refactor container config into server and worker (#443)
* feat(syncing-server): refactor container config into server and worker

* fix(syncing-server): yarn lock

* fix(api-gateway): add client update response on v1 revision endpoints

* fix(syncing-server): linter issue
2023-02-13 10:12:32 +01:00
Karol Sójko e07612fe24 remove redis events channels 2023-02-06 11:31:47 +01:00
Karol Sójko b54c331bef fix: sqs configuration for aws sdk v3 2023-01-30 12:49:14 +01:00
Karol Sójko eb771e7932 refactor: upgrade aws sdk to v3 2023-01-27 15:56:52 +01:00
Karol Sójko 60838a1b7e chore: replace ErrorTag with usage from @standardnotes/api 2023-01-24 13:46:20 +01:00
moughxyz ba7662fc1e fix: strings for role names 2023-01-19 17:23:58 -06:00
Karol Sójko aaf42e4693 refactor: remove Uuid from @standardnotes/common in favour of @standardnotes/domain-core definition 2023-01-19 15:11:47 +01:00
Karol Sójko a95ca05c10 refactor: remove RoleName from @standardnotes/common in favour of @standardnotes/domain-core definition 2023-01-19 14:05:48 +01:00
Karol Sójko 7c393b1125 feat(syncing-server): remove saving revisions in syncing-server database in favour of the revisions server 2023-01-18 09:01:46 +01:00
Karol Sójko f73129cd7e fix: allow to run typeorm in non-replica mode 2023-01-17 13:45:32 +01:00
Karol Sójko 9b926fbad6 fix(syncing-server-js): creating directory for revision dumps 2023-01-17 10:07:01 +01:00