Commit Graph
124 Commits
Author SHA1 Message Date
Karol Sójko c34f548e45 fix(syncing-server): persisting aggregate changes from root (#674) 2023-07-26 12:23:10 +02:00
Karol Sójko 8f88a87c93 fix(syncing-server): remove notifications after adding item to vault (#672) 2023-07-25 15:51:42 +02:00
Karol Sójko 46c4947871 fix(syncing-server): allow sender to decline the invite (#671) 2023-07-25 13:05:10 +02:00
Karol SójkoandMo 5f7e768e64 feat(syncing-server): filtering items by shared vault permissions (#670)
Co-authored-by: Mo <[email protected]>
2023-07-25 12:45:49 +02:00
Karol SójkoandMo 71721ab198 feat(syncing-server): determin shared vault operation type (#669)
Co-authored-by: Mo <[email protected]>
2023-07-24 15:29:56 +02:00
Karol Sójko f77e29d3c9 fix(syncing-server): force remove shared vault owner when removing shared vault 2023-07-24 10:59:03 +02:00
Karol Sójko 1bbb639c83 fix: user notifications structure (#667) 2023-07-21 12:39:19 +02:00
Karol Sójko c030a6b3d8 fix(syncing-server): fetching items associated with shared vaults (#666) 2023-07-20 14:29:31 +02:00
Karol Sójko efa4d7fc60 feat(syncing-server): add shared vaults, invites, messages and notifications to sync response (#665)
* feat(syncing-server): add shared vaults, invites, messages and notifications to sync response

* fix(syncing-server): migration timestamps

* fix: issue with migrations for notifications
2023-07-20 11:52:45 +02:00
Karol Sójko d026152ac8 fix(syncing-server): add missing messages and key system identifier sql representations (#663) 2023-07-19 08:31:23 +02:00
Karol Sójko 3f21a358d2 feat(syncing-server): add persistence of shared vaults with users and invites + controllers (#662)
* feat(syncing-server): associating existing items with key systems and shared vaults

* fix(syncing-server): find item query

* feat(syncing-server): add persistence of shared vaults with users and invites

* feat: shared vault controllers
2023-07-19 07:28:03 +02:00
Karol Sójko 3b804e2321 feat(syncing-server): associating existing items with key systems and shared vaults (#661)
* feat(syncing-server): associating existing items with key systems and shared vaults

* fix(syncing-server): find item query

* feat(syncing-server): add persistence of shared vaults with users and invites
2023-07-18 13:21:30 +02:00
Karol Sójko 479d20e76f feat(syncing-server): persisting shared vault and key system associations (#660) 2023-07-18 11:39:02 +02:00
Karol Sójko cb74b23e45 feat(syncing-server): refactor syncing to decouple getting and saving items (#659)
* feat(syncing-server): refactor syncing to decouple getting and saving items

* fix(syncing-server): item hash http representation mapping

* fix(syncing-server): remove redundant specs for inversify express controller
2023-07-17 13:28:50 +02:00
Karol Sójko a0af8f0025 feat: domain items (#655)
* feat: content type as a value object

* feat: turn items into domain entities

* fix: update @standardnotes/api

* fix(syncing-server): bindings order
2023-07-12 10:19:22 +02:00
Karol Sójko 4d1e2dec26 fix: unify use case usage (#654) 2023-07-11 17:05:45 +02:00
Karol SójkoandMo 18d07d431f feat: messages controller. (#653)
Co-authored-by: Mo <[email protected]>
2023-07-10 14:21:59 +02:00
Karol SójkoandMo 55ec5970da feat: message operations use cases. (#652)
Co-authored-by: Mo <[email protected]>
2023-07-10 13:38:07 +02:00
Karol SójkoandMo ef49b0d3f8 feat: sending messages. (#651)
* feat: sending messages.

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

* fix: messages repository.

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

---------

Co-authored-by: Mo <[email protected]>
2023-07-10 13:10:31 +02:00
Karol Sójko 04d09582d4 fix: restructure use cases (#650) 2023-07-10 12:43:20 +02:00
Karol SójkoandMo f759261919 feat: user to user message model. (#649)
Co-authored-by: Mo <[email protected]>
2023-07-10 12:10:25 +02:00
Karol SójkoandMo 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
Karol SójkoandMo 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
Karol SójkoandMo 92a5eb0d98 feat: remove inbound shared vault invites. (#646)
Co-authored-by: Mo <[email protected]>
2023-07-06 13:53:52 +02:00
Karol SójkoandMo 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
Karol SójkoandMo 912a29d091 feat: update shared vault invite. (#644)
Co-authored-by: Mo <[email protected]>
2023-07-06 11:58:45 +02:00
Karol SójkoandMo b2c32ce70e feat: shared vault users controller. (#643)
Co-authored-by: Mo <[email protected]>
2023-07-06 11:41:36 +02:00
Karol SójkoandMo 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
Karol SójkoandMo 7a3946a9e2 feat: http controllers for shared vaults. (#641)
Co-authored-by: Mo <[email protected]>
2023-07-05 15:17:43 +02:00
Karol SójkoandMo f3161c2712 feat: deleting shared vaults. (#640)
Co-authored-by: Mo <[email protected]>
2023-07-05 13:45:49 +02:00
Karol Sójko d2b2c339f2 feat: add getting shared vaults for a user (#639) 2023-07-05 11:01:21 +02:00
Karol SójkoandMo 5dc5507039 feat: add invite users to a shared vault. (#636)
Co-authored-by: Mo <[email protected]>
2023-07-03 19:40:36 +02:00
Karol SójkoandMo 04b3bb034f feat: add creating shared vault file valet tokens. (#635)
Co-authored-by: Mo <[email protected]>
2023-07-03 18:43:32 +02:00
Karol SójkoandMo 890cf48749 feat: add shared vault invite model. (#634)
Co-authored-by: Mo <[email protected]>
2023-07-03 11:54:52 +02:00
Karol SójkoandMo 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
Karol SójkoandMo 52f879f842 feat: add shared vaults user model. (#632)
Co-authored-by: Mo <[email protected]>
2023-06-30 13:19:31 +02:00
Karol SójkoandMo 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ójko 0cb5e36b20 fix(home-server): env var determining the sqlite database location (#626) 2023-06-14 08:05:48 +02:00
Karol Sójko 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ójko 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ójko f0cbec07b8 feat(home-server): add overriding environment variables in underlying services (#621) 2023-06-02 10:48:17 +02:00
Karol Sójko 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ójko 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ójko 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ójko 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