Commit graph

213 commits

Author SHA1 Message Date
Karol Sójko
b47c80cccd
feat(domain-events-infra): add express instrumentation 2023-10-09 14:30:51 +02:00
Karol Sójko
b72e515931
feat(domain-events-infra): add ioredis instrumentation 2023-10-09 14:22:24 +02:00
Karol Sójko
65fcc657a7
feat(domain-events-infra): add winston instrumentation 2023-10-09 14:16:25 +02:00
Karol Sójko
5e930d08eb
feat: add opentelemetry to all services 2023-10-09 12:15:12 +02:00
Karol Sójko
6abdd73a31
feat(revisions): switch to open telemetry 2023-10-09 11:11:55 +02:00
Karol Sójko
b736dab3c1
fix: remove xray sdk in favor of opentelemetry 2023-10-09 09:53:34 +02:00
Karol Sójko
db4607d4aa
chore: upgrade sqs-consumer 2023-10-06 07:26:59 +02:00
Karol Sójko
f0531d68cb
feat: add xray to analytics scheduler and websockets 2023-10-06 07:23:06 +02:00
Karol Sójko
9f76e389e2
fix(revisions): capture mysql to xray 2023-10-05 13:22:39 +02:00
Karol Sójko
dc76113915
feat(api-gateaway): configure aws-xray-sdk 2023-10-04 19:44:25 +02:00
Karol Sójko
6583ff6cd9
feat: add xray to syncing server and files 2023-10-04 19:39:16 +02:00
Karol Sójko
126989df82
feat(revisions): add aws-xray-sdk 2023-10-04 17:22:40 +02:00
Karol Sójko
b1b244a2cf
feat: add xray segment tracing on auth-worker 2023-10-03 08:21:57 +02:00
Karol Sójko
1a388f00c3
feat(auth): introduce AWS X-Ray SDK (#859)
* feat(auth): configure aws-xray-sdk for express

* configured aws sdk clients

* configure setting user metadata on segment

* fix binding

* fix binding order
2023-10-02 12:52:49 +02:00
Karol Sójko
9759814f63
feat: add storing paging progress in redis 2023-09-25 09:40:49 +02:00
Karol Sójko
c2cbf44594
chore: upgrade node version (#835)
* chore: upgrade node version

* chore: upgrade yarn

* fix: yarn setup:

* remove bundle plugin

* fix bundling

* fix env path for files
2023-09-18 13:32:49 +02:00
Karol Sójko
dd9a9c68cb
fix(auth): upgrade simplewebauthn dependency (#826) 2023-09-15 10:35:14 +02:00
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