Commit graph

1602 commits

Author SHA1 Message Date
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
standardci
18a5071618
chore(release): publish new version
- @standardnotes/auth-server@1.108.0
 - @standardnotes/home-server@1.3.1
 - @standardnotes/revisions-server@1.15.0
 - @standardnotes/syncing-server@1.36.0
2023-05-17 10:07:01 +00: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
standardci
e748723209
chore(release): publish new version
- @standardnotes/analytics@2.22.4
 - @standardnotes/api-gateway@1.55.0
 - @standardnotes/auth-server@1.107.0
 - @standardnotes/domain-events-infra@1.12.0
 - @standardnotes/domain-events@2.111.0
 - @standardnotes/event-store@1.8.3
 - @standardnotes/files-server@1.12.4
 - @standardnotes/home-server@1.3.0
 - @standardnotes/revisions-server@1.14.4
 - @standardnotes/scheduler-server@1.18.4
 - @standardnotes/syncing-server@1.35.4
 - @standardnotes/websockets-server@1.7.4
2023-05-17 07:39:38 +00: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
standardci
7ae9f5694d
chore(release): publish new version
- @standardnotes/analytics@2.22.3
 - @standardnotes/api-gateway@1.54.0
 - @standardnotes/auth-server@1.106.0
 - @standardnotes/domain-core@1.15.0
 - @standardnotes/files-server@1.12.3
 - @standardnotes/home-server@1.2.0
 - @standardnotes/revisions-server@1.14.3
 - @standardnotes/scheduler-server@1.18.3
 - @standardnotes/settings@1.21.4
 - @standardnotes/syncing-server@1.35.3
 - @standardnotes/websockets-server@1.7.3
2023-05-16 09:59:30 +00:00
Karol Sójko
9031379469
chore: fix test suite names 2023-05-16 11:44:43 +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
89eb798fa8
chore: fix nohup execution 2023-05-16 11:23:01 +02:00
Karol Sójko
4304e068b9
chore: run home server in the background with nohup 2023-05-16 11:22:09 +02:00
Karol Sójko
126bc6de6a
chore: fix home server e2e suite with non installed driver 2023-05-16 11:13:13 +02:00
Karol Sójko
c2b9107f13
chore: add running home server e2e test suite without docker 2023-05-16 11:07:37 +02:00
Karol Sójko
1471f4a839
chore: disable running e2e for home server with docker 2023-05-16 11:06:10 +02:00
standardci
b0b3c6671d
chore(release): publish new version
- @standardnotes/analytics@2.22.2
 - @standardnotes/api-gateway@1.53.1
 - @standardnotes/auth-server@1.105.2
 - @standardnotes/domain-events-infra@1.11.2
 - @standardnotes/event-store@1.8.2
 - @standardnotes/files-server@1.12.2
 - @standardnotes/home-server@1.1.1
 - @standardnotes/revisions-server@1.14.2
 - @standardnotes/scheduler-server@1.18.2
 - @standardnotes/syncing-server@1.35.2
 - @standardnotes/websockets-server@1.7.2
2023-05-15 10:32:14 +00:00
Karol Sójko
6ddb8fb6c2
chore(deps): upgrade aws sdk libs 2023-05-15 12:16:44 +02:00
standardci
66da49b0df
chore(release): publish new version
- @standardnotes/api-gateway@1.53.0
 - @standardnotes/home-server@1.1.0
2023-05-09 11:07:23 +00:00
Karol Sójko
750cd26c36
feat(home-server): add boilerplate (#601) 2023-05-09 12:49:34 +02:00
standardci
4c15589663
chore(release): publish new version
- @standardnotes/analytics@2.22.1
 - @standardnotes/api-gateway@1.52.1
 - @standardnotes/auth-server@1.105.1
 - @standardnotes/common@1.47.1
 - @standardnotes/domain-core@1.14.2
 - @standardnotes/domain-events-infra@1.11.1
 - @standardnotes/domain-events@2.110.2
 - @standardnotes/event-store@1.8.1
 - @standardnotes/files-server@1.12.1
 - @standardnotes/predicates@1.6.7
 - @standardnotes/revisions-server@1.14.1
 - @standardnotes/scheduler-server@1.18.1
 - @standardnotes/security@1.7.8
 - @standardnotes/settings@1.21.3
 - @standardnotes/sncrypto-node@1.14.1
 - @standardnotes/syncing-server@1.35.1
 - @standardnotes/time@1.14.4
 - @standardnotes/websockets-server@1.7.1
2023-05-09 10:04:09 +00:00
Karol Sójko
62a0e89748
fix: node engine version requirement in package.json files 2023-05-09 11:47:45 +02:00
Karol Sójko
b9603240d0
chore: fix the db_type with default value of mysql 2023-05-09 11:41:50 +02:00
Karol Sójko
85d87bb45e
fix: add python to docker image setup 2023-05-08 13:24:52 +02:00
Karol Sójko
3193308d8d
fix: install dependencies because of node-gyp incompatibilities 2023-05-08 13:00:16 +02:00
standardci
7fe90c2a1a
chore(release): publish new version
- @standardnotes/analytics@2.22.0
 - @standardnotes/api-gateway@1.52.0
 - @standardnotes/auth-server@1.105.0
 - @standardnotes/common@1.47.0
 - @standardnotes/domain-events-infra@1.11.0
 - @standardnotes/event-store@1.8.0
 - @standardnotes/files-server@1.12.0
 - @standardnotes/revisions-server@1.14.0
 - @standardnotes/scheduler-server@1.18.0
 - @standardnotes/sncrypto-node@1.14.0
 - @standardnotes/syncing-server@1.35.0
 - @standardnotes/websockets-server@1.7.0
2023-05-08 10:50:41 +00: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
standardci
9fcadf8fbb
chore(release): publish new version
- @standardnotes/api-gateway@1.51.0
 - @standardnotes/auth-server@1.104.0
2023-05-05 13:43:24 +00:00
Mo
f5ac8ac5e9
feat: change payment method endpoint 2023-05-05 08:27:06 -05:00
Karol Sójko
0a0b8aafaf
fix: e2e tests matrix 2023-05-05 13:18:58 +02:00
standardci
097a7eae7e
chore(release): publish new version
- @standardnotes/analytics@2.21.11
 - @standardnotes/api-gateway@1.50.2
 - @standardnotes/auth-server@1.103.2
 - @standardnotes/common@1.46.7
 - @standardnotes/domain-core@1.14.1
 - @standardnotes/domain-events-infra@1.10.3
 - @standardnotes/domain-events@2.110.1
 - @standardnotes/event-store@1.7.11
 - @standardnotes/files-server@1.11.2
 - @standardnotes/predicates@1.6.6
 - @standardnotes/revisions-server@1.13.2
 - @standardnotes/scheduler-server@1.17.15
 - @standardnotes/security@1.7.7
 - @standardnotes/settings@1.21.2
 - @standardnotes/sncrypto-node@1.13.2
 - @standardnotes/syncing-server@1.34.2
 - @standardnotes/time@1.14.3
 - @standardnotes/websockets-server@1.6.16
2023-05-05 09:36:42 +00: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
990140c392
fix: remove unused imports 2023-05-05 10:47:37 +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
a748164bf2
fix: remove redundant install steps from workflows 2023-05-05 10:28:19 +02:00
Karol Sójko
c427fa8790
chore: fix pr and publish workflows with install for node-gyp unplugged deps 2023-05-05 09:53:17 +02:00
standardci
093cc07c39
chore(release): publish new version
- @standardnotes/api-gateway@1.50.1
 - @standardnotes/files-server@1.11.1
2023-05-04 10:36:26 +00:00
Karol Sójko
30f14820c6
feat: add cache type to e2e test suite 2023-05-04 12:20:37 +02:00
Karol Sójko
c8ea2ab199
fix: add env vars to control cache type for home server 2023-05-04 12:11:19 +02:00
standardci
d56bbacc0b
chore(release): publish new version
- @standardnotes/auth-server@1.103.1
2023-05-04 09:39:16 +00:00
Karol Sójko
bb468a8b7e
fix(auth): invalidate cross service token cache upon shared subscription accepting (#586) 2023-05-04 11:25:12 +02:00
standardci
7e99f4b078
chore(release): publish new version
- @standardnotes/files-server@1.11.0
2023-05-02 11:19:22 +00:00
Karol Sójko
14ce6dd818
feat(files): add in memory upload repository for home server purposes (#583) 2023-05-02 13:02:09 +02:00