Karol Sójko
330bff0124
fix(auth): remove transitioning upon sign out ( #819 )
2023-09-11 16:42:11 +02:00
Karol Sójko
a82b9a0c8a
fix: disable running migrations in worker mode of a given service
2023-09-11 14:27:52 +02:00
Karol Sójko
398338c8f8
feat: transition users after sign out
2023-09-08 12:51:44 +02:00
Karol Sójko
794cd8734a
feat: should be able to access shared item revisions as third party user ( #807 )
2023-09-06 15:36:23 +02:00
Karol Sójko
dc3a41e4bb
feat(syncing-server): add sending invites via websockets ( #804 )
...
* feat(domain-events): add user invited to shared vault event
* feat(syncing-server): add sending invites via websockets
2023-09-01 12:39:38 +02:00
Karol Sójko
9a568b0f73
feat: send websocket event to user when a message is sent ( #802 )
2023-09-01 09:39:10 +02:00
Karol Sójko
c0722b173b
feat: add sending notifications to user via websockets ( #799 )
...
* feat: add sending notifications to user via websockets
* fix: notification added for user event payload structure
2023-08-31 13:26:42 +02:00
Karol Sójko
62d231ae41
feat: choose primary or secondary revisions database based on transition role ( #716 )
...
* feat: choose primary or secondary revisions database based on transition role
* fix: remove redundant types
* fix: binding
* fix: specs
2023-08-30 08:40:39 +02:00
Karol Sójko
aef9254713
fix: allow self hosted to use new model of items ( #714 )
...
* fix: allow self hosted to use new model of items
* fix: env sample
* fix: binding
2023-08-28 15:34:07 +02:00
Karol Sójko
bf8f91f83d
feat(syncing-server): distinguish between legacy and current items model usage ( #712 )
...
* feat(syncing-server): turn mysql items model into legacy
* fix: rename MySQL model to SQL model to include SQLite option
* feat(syncing-server): distinguish between legacy and current items model usage
2023-08-28 13:48:27 +02:00
Karol Sójko
effdfebc19
feat(syncing-server): turn mysql items model into legacy ( #711 )
...
* feat(syncing-server): turn mysql items model into legacy
* fix: rename MySQL model to SQL model to include SQLite option
* fix: rename mysqlitem to sqlitem
2023-08-28 12:28:48 +02:00
Karol Sójko
05bb12c978
feat: add trigerring items transition and checking status of it ( #707 )
2023-08-24 14:39:33 +02:00
Karol Sójko
205a1ed637
feat: add handling file moving and updating storage quota ( #705 )
...
* feat: add handling file moving and updating storage quota
* fix: getting file metada when moving files
* fix: missing event handler binding
2023-08-23 08:09:34 +02:00
Karol Sójko
34085ac6fb
feat: consider shared vault owner quota when uploading files to shared vault ( #704 )
...
* fix(auth): updating storage quota on shared subscriptions
* fix(syncing-server): turn shared vault and key associations into value objects
* feat: consider shared vault owner quota when uploading files to shared vault
* fix: add passing x-shared-vault-owner-context value
* fix: refactor creating cross service token to not throw errors
* fix: caching cross service token
* fix: missing header in http service proxy
2023-08-22 10:49:58 +02:00
Karol Sójko
15a7f0e71a
fix(syncing-server): DocumentDB retry writes support ( #703 )
...
* fix(syncing-server): DocumentDB retry writes support
* fix: auth source for mongo
2023-08-21 10:25:56 +02:00
Karol Sójko
032fcb938d
feat(syncing-server): add use case for migrating items from one database to another ( #701 )
2023-08-18 17:25:24 +02:00
Karol Sójko
302b624504
feat: add mechanism for determining if a user should use the primary or secondary items database ( #700 )
...
* feat(domain-core): introduce new role for users transitioning to new mechanisms
* feat: add mechanism for determining if a user should use the primary or secondary items database
* fix: add transition mode enabled switch in docker entrypoint
* fix(syncing-server): mapping roles from middleware
* fix: mongodb item repository binding
* fix: item backups service binding
* fix: passing transition mode enabled variable to docker setup
2023-08-18 16:45:10 +02:00
Karol Sójko
31d1eef7f7
fix(syncing-server): refactor shared vault and key system associations ( #698 )
...
* feat(syncing-server): refactor persistence of shared vault and key system associations
* fix(syncing-server): refactor shared vault and key system associations
2023-08-17 11:56:16 +02:00
Karol Sójko
b24b576209
feat: add mongodb initial support ( #696 )
...
* feat: add mongodb initial support
* fix: typeorm annotations for mongodb entity
* wip mongo repo
* feat: add mongodb queries
* fix(syncing-server): env sample
* fix(syncing-server): Mongo connection auth source
* fix(syncing-server): db switch env var name
* fix(syncing-server): persisting and querying by _id as UUID in MongoDB
* fix(syncing-server): items upserts on MongoDB
* fix: remove foreign key migration
2023-08-16 13:00:16 +02:00
Karol Sójko
d02124f4e5
Revert "tmp: disable shared vaults"
...
This reverts commit c49dc35ab5 .
2023-08-11 12:28:57 +02:00
Karol Sójko
c49dc35ab5
tmp: disable shared vaults
2023-08-11 10:15:55 +02:00
Karol Sójko
1c3ff526b7
Revert "Revert "feat(syncing-server): notify shared vault users upon file uploads or removals ( #692 )""
...
This reverts commit d261c81cd0 .
2023-08-09 18:00:49 +02:00
Karol Sójko
d7965b2748
fix(syncing-server): casting handlers
2023-08-09 17:40:48 +02:00
Karol Sójko
cbcd2ec87a
Revert "Revert "fix(syncing-server): update storage quota used in a shared vault ( #691 )""
...
This reverts commit 66f9352a06 .
2023-08-09 17:36:59 +02:00
Karol Sójko
66f9352a06
Revert "fix(syncing-server): update storage quota used in a shared vault ( #691 )"
...
This reverts commit 3415cae093 .
2023-08-09 17:21:59 +02:00
Karol Sójko
d261c81cd0
Revert "feat(syncing-server): notify shared vault users upon file uploads or removals ( #692 )"
...
This reverts commit 46867c1a4d .
2023-08-09 16:43:33 +02:00
Karol Sójko
46867c1a4d
feat(syncing-server): notify shared vault users upon file uploads or removals ( #692 )
2023-08-09 15:08:17 +02:00
Karol Sójko
3415cae093
fix(syncing-server): update storage quota used in a shared vault ( #691 )
2023-08-09 10:05:48 +02:00
Karol Sójko
0a16ee64fe
fix(syncing-server): inviting already existing members to shared vault ( #690 )
...
* fix(syncing-server): inviting already existing members to shared vault
* fix(syncing-server): finding method for existing members
2023-08-08 14:31:23 +02:00
Karol Sójko
0036d527bd
fix(syncing-server): skip retrieval of items with invalid uuids ( #683 )
2023-08-03 15:05:59 +02:00
Karol Sójko and Karol Sójko
8cd7a138ab
feat: enable Write Ahead Log mode for SQLite ( #681 )
...
Co-authored-by: Karol Sójko <[email protected] >
2023-08-02 09:47:37 +02:00
Karol Sójko
56f0aef21d
fix: controller naming ( #678 )
...
* fix: rename home server controllers to base controllers
* fix: rename inversify express controllers to annotated controllers
2023-08-01 09:34:52 +02:00
Karol Sójko and Mo
b9bb83c0ce
feat(syncing-server): add shared vault snjs filter ( #677 )
...
Co-authored-by: Mo <[email protected] >
2023-08-01 07:00:14 +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 and Mo
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ó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 and Mo
18d07d431f
feat: messages controller. ( #653 )
...
Co-authored-by: Mo <[email protected] >
2023-07-10 14:21:59 +02:00
Karol Sójko
04d09582d4
fix: restructure use cases ( #650 )
2023-07-10 12:43:20 +02:00
Karol Sójko and Mo
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ójko and Mo
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ójko and Mo
b2c32ce70e
feat: shared vault users controller. ( #643 )
...
Co-authored-by: Mo <[email protected] >
2023-07-06 11:41:36 +02:00
Karol Sójko and Mo
7a3946a9e2
feat: http controllers for shared vaults. ( #641 )
...
Co-authored-by: Mo <[email protected] >
2023-07-05 15:17:43 +02:00
Karol Sójko
0df471585f
fix(home-server): add debug logs about container initalizations
2023-06-22 11:50:59 +02:00