Commit graph

196 commits

Author SHA1 Message Date
Karol Sójko
72ab08a0d0
fix(websockets): issue with sending messages to active websocket connections (#806) 2023-09-05 08:13:42 +02:00
Karol Sójko
6dfd09989e
chore: remove unused nodemon 2023-09-04 08:28:02 +02:00
Karol Sójko
e986abaab5
chore: upgrade @types/uuid 2023-09-04 08:23:46 +02:00
Karol Sójko
a006fb3119
chore: upgrade typescript eslint plugin 2023-09-04 08:22:42 +02:00
Karol Sójko
d13c975f94
chore: upgrade deps (#805)
* chore: upgrade semver

* chore: upgrade configure-aws-credentials@v2

* chore: upgrade prettier deps

* fix: linter issues
2023-09-01 16:14:51 +02:00
Karol Sójko
27ff25b70e
fix: inserting revisions instead of upsert (#803)
* fix: inserting revisions instead of upsert

* fix: specs

* fix: specs
2023-09-01 12:40:47 +02:00
Karol Sójko
25ffd6b803
feat: add a way to trigger transition procedure for revisions (#798)
* feat: add a way to trigger transition procedure for revisions

* fix: localstack linking

* fix: revisions endpoints
2023-08-30 13:14:49 +02:00
Karol Sójko
4a72097921
chore: upgrade dependencies (#717) 2023-08-30 07:48:00 +02:00
Karol Sójko
2646b756a9
feat(revisions): add MongoDB support (#715)
* feat(revisions): add MongoDB support

* fix: add missing mongodb from revisions

* fix: mongodb bson imports
2023-08-29 12:19:55 +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
Mo
f2ada08201
chore: remove unused package (#680) 2023-08-02 07:46:10 +02:00
Karol Sójko
17fd12305e
chore(deps): upgrade @standardnotes deps 2023-07-12 14:25:23 +02:00
Karol Sójko
c076c3c74a
chore(deps): upgrade @standardnotes/features 2023-07-12 11:05:44 +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
17e4162d3e
Revert "fix: unplug node-gyp based deps (#637)"
This reverts commit 742209d773.
2023-07-04 12:56:10 +02:00
Karol Sójko
742209d773
fix: unplug node-gyp based deps (#637) 2023-07-04 10:42:44 +02:00
Karol Sójko
38e77f04be
feat: add shared vaults model. (#631)
Co-authored-by: Mo <mo@standardnotes.com>
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
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
b74e7ce86d
fix: add @lerna-lite/publish 2023-05-30 13:54:28 +02:00
Karol Sójko
a6b062f638
feat: upgrade to node 20.2.0 (#616) 2023-05-30 10:41:10 +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
c70040fe5d
feat: add revisions service to home server (#613)
* feat: add revisions service to home server

* fix: make e2e test suite on home server non-optional

* fix(auth): specs
2023-05-25 12:57:05 +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
Karol Sójko
fea58029b9
feat(auth): move inversify express controllers to different structure (#610)
* wip: move valet token controller

* wip: move users controller

* wip: move admin controller

* wip: move subscription tokens controller

* wip: move subscription settings controller

* wip: move settings controller

* wip: move middleware

* wip: move session controller

* wip: move offline controller

* wip: move listed controller

* wip: move internal controller

* wip: move healthcheck controller

* wip: move features controller

* fix: bind inversify express controllers only for home server

* fix: inversify deps
2023-05-17 11:54:18 +02:00
Karol Sójko
8a47d81936
feat: add direct event handling for home server (#608)
* feat(domain-events-infra): add direct call event message handler

* feat: add direct publishing of events into handlers

* fix: validating sessions with direct calls
2023-05-17 09:23:48 +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
6ddb8fb6c2
chore(deps): upgrade aws sdk libs 2023-05-15 12:16:44 +02:00
Karol Sójko
750cd26c36
feat(home-server): add boilerplate (#601) 2023-05-09 12:49:34 +02:00
Karol Sójko
e917b19f22
fix: add @lerna-lite/version 2023-05-08 12:33:41 +02:00
Karol Sójko
7d47d6a752
fix: upgrade lerna-lite deps 2023-05-08 12:31:56 +02:00
Karol Sójko
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ójko
c0e43a0cf0
chore: fix eslint at monorepo level 2023-05-05 11:22:16 +02:00
Karol Sójko
d7926dd9d1
chore: fix eslint setup 2023-05-05 11:17:26 +02:00
Karol Sójko
da474741e6
chore: upgrade typeorm 2023-05-05 11:05:52 +02:00
Karol Sójko
a1e16031e0
fix: upgrade prettier 2023-05-05 11:02:11 +02:00
Karol Sójko
a229093b60
chore: upgrade eslint deps 2023-05-05 10:58:36 +02:00
Karol Sójko
1a64a1c34d
chore: upgrade typescript 2023-05-05 10:53:25 +02:00
Karol Sójko
b8f49d2d45
chore: upgrade jest 2023-05-05 10:49:47 +02:00
Karol Sójko
542b296018
fix: remove @standardnotes/config from files 2023-05-05 10:45:24 +02:00
Karol Sójko
c6122d33b9
fix: remove sentry 2023-05-05 10:44:22 +02:00
Karol Sójko
8c71066660
fix: upgrade yarn to 4.0.0-rc.43 2023-05-05 10:34:23 +02:00
Karol Sójko
03f9c6039c
feat(revisions): add sqlite driver (#575) 2023-04-28 13:00:24 +02:00
Karol Sójko
723ff44151
feat: add syncing server sqlite driver (#573) 2023-04-27 11:53:24 +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ójko
9503f0d963
chore(deps): upgrade newrelic deps 2023-04-21 14:11:47 +02:00
Karol Sójko
51b264ca13
feat(auth): feature entitlement check for u2f endpoints 2023-04-03 15:43:32 +02:00
Karol Sójko
e87f7e1674
chore(deps): upgrade newrelic 2023-03-30 11:33:09 +02:00
Karol Sójko
7b486348ef
chore: upgrade newrelic 2023-03-10 13:30:29 +01:00