Commit Graph
36 Commits
Author SHA1 Message Date
Karol Sójko f87036e3a8 fix: setting env vars on home server in e2e environment 2023-07-27 11:26:05 +02:00
Karol Sójko e215ac4343 feat: extract shared vault user permission to domain-core 2023-07-26 13:45:53 +02:00
Karol Sójko c34f548e45 fix(syncing-server): persisting aggregate changes from root (#674) 2023-07-26 12:23:10 +02:00
Karol Sójko 1708c3f8a0 fix(domain-core): notification payload creation from string 2023-07-21 13:44:44 +02:00
Karol Sójko 1bbb639c83 fix: user notifications structure (#667) 2023-07-21 12:39:19 +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 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ó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 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 f3161c2712 feat: deleting shared vaults. (#640)
Co-authored-by: Mo <[email protected]>
2023-07-05 13:45:49 +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 f0cbec07b8 feat(home-server): add overriding environment variables in underlying services (#621) 2023-06-02 10:48:17 +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 dc71e6777f feat: home-server package initial setup with Api Gateway and Auth services (#605)
* fix(api-gateway): reduce exports

* wip controllers

* fix: imports of controllers

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

* wip: self-registering services and controllers

* wip: add registering controller method bindings and services in container

* feat: merge two services together

* wip: resolving endpoints to direct code calls

* wip: bind controller container to a singleton

* fix: controller binding to instantiate and self-register on controller container

* fix: move signout endpoint to auth controller

* wip: define inversify controllers in the controller container

* fix(auth): bind inversify controllers to controller container

* fix(auth): linter issues

* fix(auth): specs

* fix(auth): inversify controllers bindings

* wip: endpoint resolving

* wip: add endpoint for more auth controllers

* wip: add sessions controller endpoint resolvings

* wip: add subscription invites endpoint resolvings

* wip: add subscription tokens endpoint resolvings

* wip: add all binding for auth server controllers

* wip: fix migrations path

* fix: configure default env vars and ci setup
2023-05-16 11:38:56 +02:00
Karol Sójko c71f7ff8ad feat: extract cache entry model to domain-core (#581)
* feat: extract cache entry model to domain-core

* fix(auth): rename cache table to be auth specific
2023-05-02 11:43:50 +02:00
Karol Sójko 3aef5998df feat: sqlite driver for auth service (#572)
* wip: initial sqlite bootstrap

* wip: switch to sqlite3 as default db type

* wip: boilerplate data

* fix(auth): case sensitive register and login

* fix(auth): refactor username validations

* fix(auth): allow changing username to both username and email:

* fix(auth): lock middleware for recovery log in

* fix(domain-core): specs for invalid types

* fix(auth): lock middleware specs

* fix(auth): typeorm code arrangements

* fix: running e2e on both mysql and sqlite in ci
2023-04-27 11:17:01 +02:00
Karol SójkoandKarol Sójko 979a320ca6 feat(domain-core): add internal team user role (#473)
* feat(domain-core): add internal team user role

* feat(auth): add internal team user role

* chore: upgrade @standardnotes/features

---------

Co-authored-by: Karol Sójko <[email protected]>
2023-03-08 10:45:50 +01:00
Karol Sójko 16043a7d68 fix(domain-core): remove unnecessary dependencies 2023-02-15 11:07:37 +01:00
Karol Sójko e7beee2788 fix(revisions): add required role to revisions list response 2023-01-16 15:34:20 +01:00
Karol Sójko 4084f2f5ec feat(domain-core): add legacy session model 2022-12-15 12:24:11 +01:00
Karol Sójko 1c4d4c57de feat(domain-core): add session model 2022-12-15 11:35:49 +01:00
Karol Sójko c87561fca7 feat(domain-core): rename email subscription rejection level to email level 2022-12-07 07:04:42 +01:00
Karol Sójko 02f3c85796 feat(domain-core): add email subscription rejection levels 2022-12-05 11:38:23 +01:00
Karol Sójko 06fd404d44 feat(domain-core): distinguish between username and email 2022-12-05 10:22:59 +01:00
Karol Sójko 800fe9e4c8 feat(domain-core): add subscription plan name value object 2022-12-02 09:32:05 +01:00
Karol Sójko dd86c5bcdf fix(domain-core): rename timestamps to dates 2022-12-01 11:25:38 +01:00
Karol Sójko 9d90f276de feat(domain-core): add methods to check role power 2022-11-24 21:11:08 +01:00
Karol Sójko ae2f8f086b feat(domain-core): add role name collection value object 2022-11-24 11:34:43 +01:00
Karol Sójko 748630e1f1 feat(domain-core): add role name value object 2022-11-24 10:48:00 +01:00
Karol Sójko a6542dd638 fix(domain-core): remove revisions related models to revisions microservice 2022-11-21 08:51:57 +01:00
Karol Sójko d5c06bfa58 feat(revisions): add revisions microservice 2022-11-18 11:54:42 +01:00
Karol Sójko c8f3a0ce7b feat(domain-core): add revision definition to domain core 2022-11-18 11:54:42 +01:00
Karol Sójko 50f7ae338a fix(syncing-server): retrieving revisions 2022-11-14 13:23:12 +01:00
Karol Sójko 0f94e2ad0c feat(analytics): extract domain core into a separate package 2022-11-14 11:32:31 +01:00