Commit graph

227 commits

Author SHA1 Message Date
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
Karol 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 <karolsojko@protonmail.com>
2023-03-08 10:45:50 +01:00
Karol Sójko
27cf093f85
feat: sign in setting refactor (#472)
* fix(auth): refactor setting names into domain core value objects

* fix(auth): refactor specs with setting name value objects

* feat(auth): move mute sign in emails to a subscription kind of setting

* feat(auth): add migration script to change sign in email settings to subscription settings

* chore: fix setting name usage

* fix(auth): upper casing setting names

---------

Co-authored-by: Karol Sójko <karolsojko@protonmail.com>
2023-03-08 10:22:27 +01:00
Mo
9de09c55f8
chore: upgrade api and responses dependencies (#459) 2023-03-01 13:51:26 -06:00
Karol Sójko
5446f3cae4
chore: upgrade @simplewebauthn lib 2023-02-27 11:46:00 +01:00
Karol Sójko
c99c4425cd
chore: update yarn lock 2023-02-24 08:14:33 +01:00
Karol Sójko
bb17efa817
chore: fix yarn lock 2023-02-23 13:35:06 +01:00
Mo
b83d84e519
refactor: proxy lib 2023-02-22 12:11:12 -06:00
Karol Sójko
dfe30d7f5e
feat(proxy): add proxy server 2023-02-22 13:03:04 +01:00
Karol Sójko
16043a7d68
fix(domain-core): remove unnecessary dependencies 2023-02-15 11:07:37 +01:00
Karol Sójko
826719bb67
fix(revisions): missing api gateway middleware 2023-02-13 11:26:45 +01:00
Karol Sójko
993d31167b
feat(syncing-server): refactor container config into server and worker (#443)
* feat(syncing-server): refactor container config into server and worker

* fix(syncing-server): yarn lock

* fix(api-gateway): add client update response on v1 revision endpoints

* fix(syncing-server): linter issue
2023-02-13 10:12:32 +01:00
Karol Sójko
64962ce632
fix: yarn lock file 2023-02-10 06:59:36 +01:00
Karol Sójko
5120883691
feat(revisions): refactor container to split worker and server containers 2023-02-10 06:58:51 +01:00
Karol Sójko
eb771e7932
refactor: upgrade aws sdk to v3 2023-01-27 15:56:52 +01:00
Karol Sójko
e4c65ca631
fix(auth): add pseudo u2f params on non existing accounts 2023-01-24 14:17:59 +01:00
Karol Sójko
60838a1b7e
chore: replace ErrorTag with usage from @standardnotes/api 2023-01-24 13:46:20 +01:00
Karol Sójko
dac3c733b3
chore: fix cbor-extract dependencies 2023-01-23 11:44:35 +01:00
Karol Sójko
1d316e17cb
chore: upgrade @simplewebauthn packages 2023-01-23 11:08:07 +01:00
Karol Sójko
6193f4b87a
chore: upgrade eslint-config-prettier 2023-01-23 11:08:06 +01:00
Karol Sójko
973acd22ca
chore: fix dependecies 2023-01-23 10:53:40 +01:00
Karol Sójko
07ab67faa8
chore: upgrade dependencies 2023-01-20 18:01:59 +01:00
Karol Sójko
27f45f7cf6
fix(websockets): bundling issue 2023-01-20 14:43:11 +01:00
Karol Sójko
48af4ac79c
chore: upgrade @standardnotes/* dependencies 2023-01-20 14:31:23 +01:00
Karol Sójko
3ba4e712dc
chore: remove circular dep 2023-01-20 14:27:54 +01:00
Karol Sójko
5bf3ecdf42
Revert "chore: upgrade @standardnotes/* dependencies"
This reverts commit bd6fd472a6.
2023-01-20 14:26:58 +01:00
Karol Sójko
bd6fd472a6
chore: upgrade @standardnotes/* dependencies 2023-01-20 14:08:55 +01:00
Karol Sójko
d20f03127a
chore(deps): upgrade eslint tools 2023-01-20 10:16:04 +01:00
moughxyz
ba7662fc1e
fix: strings for role names 2023-01-19 17:23:58 -06:00
Mo
2db0c125fe
feat: offline roles (#419) 2023-01-19 16:29:36 -06:00
Aman Harwara
ec5429eeec
fix: expected value for unit test (#417) 2023-01-19 21:47:32 +05:30
Karol Sójko
aaf42e4693
refactor: remove Uuid from @standardnotes/common in favour of @standardnotes/domain-core definition 2023-01-19 15:11:47 +01:00
Karol Sójko
a95ca05c10
refactor: remove RoleName from @standardnotes/common in favour of @standardnotes/domain-core definition 2023-01-19 14:05:48 +01:00
Karol Sójko
80a013d0a3
fix: missing dependencies 2023-01-18 19:19:34 +01:00
Karol Sójko
7ef59bb74c
chore(deps): upgrade newrelic 2023-01-18 19:19:07 +01:00
Karol Sójko
6a5904cfaa
chore(deps): upgrade mysql2 2023-01-17 15:47:43 +01:00
Karol Sójko
c98ed9cc85
chore: update jsonwebtoken 2023-01-13 10:53:57 +01:00
Karol Sójko
bb820437af
fix: add robots.txt setup for api-gateway and files server to disallow indexing 2023-01-13 10:03:03 +01:00
Karol Sójko
fa6d80a753
fix: remove @sentry/profiling-node as it is not compatible with ARM - fixes #383 2023-01-02 09:46:42 +01:00
Karol Sójko
893d6176c3
feat(analytics): add mixpanel 2022-12-30 08:39:19 +01:00
Karol Sójko
64525a65f2
feat(auth): add verifying authenticator authentication response 2022-12-29 09:41:10 +01:00
Karol Sójko
51ad06b303
feat(auth): add generating authencator registration options 2022-12-28 13:56:06 +01:00
Karol Sójko
d3c6c0d48e
chore(upgrade): sentry deps 2022-12-28 08:05:42 +01:00
Karol Sójko
8bcb552783
feat(auth): add session traces 2022-12-19 12:25:15 +01:00
Karol Sójko
0bd0f48df3
feat(syncing-server-js) add sentry node profiling packages 2022-12-19 08:36:08 +01:00
Karol Sójko
1c4d4c57de
feat(domain-core): add session model 2022-12-15 11:35:49 +01:00
Karol Sójko
3096cd98d5
feat(analytics) replace daily analytics report generated event with email requested 2022-12-09 15:08:17 +01:00
Karol Sójko
61c1cfff4b
feat(workspace): replace workspace invite created event with email requested 2022-12-09 14:30:58 +01:00
Karol Sójko
6e0855f9b3
feat(scheduler): add scheduled emails contents 2022-12-07 11:10:13 +01:00
Karol Sójko
6928988f78
feat(auth): add publishing mute emails setting changed event 2022-12-06 11:00:14 +01:00
Karol Sójko
4559a3047c
chore(deps): remove newrelic native metrics 2022-11-24 09:56:53 +01:00
Karol Sójko
48c8dba342
chore(deps): upgrade aws sdk 2022-11-23 13:10:05 +01:00
Karol Sójko
d5c06bfa58
feat(revisions): add revisions microservice 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
Karol Sójko
f03a58079d
chore(deps): upgrade node types 2022-11-14 10:29:20 +01:00
Karol Sójko
3030832711
chore(deps): upgrade typeorm 2022-11-14 10:13:12 +01:00
Karol Sójko
447a4b5e04
chore(deps): upgrade sentry 2022-11-14 10:11:00 +01:00
Karol Sójko
dd1ba6e302
chore(deps): upgrade aws-sdk 2022-11-14 10:10:18 +01:00
Karol Sójko
08556b751f
chore(deps): upgrade express 2022-11-14 10:09:42 +01:00
Karol Sójko
11d2190310
chore(deps): upgrade ioredis 2022-11-14 10:08:54 +01:00
Karol Sójko
46519bb710
chore(deps): add newrelic native metrics to measure oom issues 2022-11-14 10:06:49 +01:00
Karol Sójko
85e55cf0e4
chore(deps): upgrade newrelic 2022-11-14 10:01:08 +01:00
Karol Sójko
bffab433f6
chore(deps): upgrade ua-parser-js 2022-11-10 15:37:31 +01:00
Karol Sójko
200b6ce01f
chore(deps): upgrade axios 2022-11-10 15:35:39 +01:00
Karol Sójko
0103233d4a
feat(analytics): create new ddd architecture for persisting revenue modifications 2022-11-08 15:14:38 +01:00
Karol Sójko
535d566a94
fix: yarn.lock 2022-11-07 11:52:16 +01:00
Karol Sójko
ff1d5db12c
feat: remove analytics scope from other services in favor of a separate service 2022-11-07 11:51:38 +01:00
Karol Sójko
d5684326b1
feat: add analytics worker service 2022-11-04 09:39:30 +01:00
Karol Sójko
2255f856f9
feat(auth): add processing user requests 2022-11-02 13:23:49 +01:00