Commit Graph
46 Commits
Author SHA1 Message Date
Karol Sójko 330bff0124 fix(auth): remove transitioning upon sign out (#819) 2023-09-11 16:42:11 +02:00
Karol Sójko a164ba291d fix(auth): specs 2023-09-08 13:41:37 +02:00
Karol Sójko 610fba2601 fix(auth): transition users only when transition mode enabled 2023-09-08 13:34:54 +02:00
Karol Sójko 398338c8f8 feat: transition users after sign out 2023-09-08 12:51: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
Mo 0bc0909386 chore: types lint (#630) 2023-06-30 05:07:47 -05:00
Karol SójkoandMo fa7fbe26e7 feat: shared vaults functionality in api-gateway,auth,files,common,security,domain-events. (#629)
Co-authored-by: Mo <[email protected]>
2023-06-30 11:31:25 +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 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 51b264ca13 feat(auth): feature entitlement check for u2f endpoints 2023-04-03 15:43:32 +02:00
Karol Sójko e1c533a15e fix(auth): change response from verifying authenticator registration 2023-03-09 07:09:43 +01:00
Karol Sójko c45653a50a fix(auth): remove authenticator names from server 2023-03-09 06:46:35 +01:00
Karol SójkoandKarol 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 <[email protected]>
2023-03-08 10:22:27 +01:00
Karol Sójko dbccdf342b fix(auth): prevent listing sessions on readonly access 2023-03-06 09:47:54 +01:00
Mo 9de09c55f8 chore: upgrade api and responses dependencies (#459) 2023-03-01 13:51:26 -06:00
Karol Sójko ef997be219 refactor: generating authentication options 2023-01-25 13:24:02 +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 52ce5f3a2f fix(auth): upgrade simplewebauthn types 2023-01-23 11:28:36 +01:00
Karol Sójko 589f8e62f4 fix: dependency issues 2023-01-20 14:51:34 +01:00
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 dda8d79526 fix(auth): request parameters names 2023-01-09 14:51:48 +01:00
Karol Sójko 96669bff5b fix(auth): debuggin recovery sign in 2023-01-09 13:56:56 +01:00
Karol Sójko 1fc3c9b83e fix(auth): error messages on account recovery 2023-01-09 13:47:11 +01:00
Karol Sójko cac899a7e5 feat(auth): add recovery sign in with recovery codes 2023-01-05 11:42:55 +01:00
Karol Sójko de50d76800 feat(auth): add removing authenticator 2022-12-29 13:55:08 +01:00
Karol Sójko 01837eaea9 feat(auth): add listing authenticators 2022-12-29 13:37:30 +01:00
Karol Sójko b6fda901ef feat(auth): add http endpoints for authenticators 2022-12-29 11:29:23 +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 2255f856f9 feat(auth): add processing user requests 2022-11-02 13:23:49 +01:00
Karol Sójko 86ae4a59a3 feat(auth): remove websocket handling in favor of websockets service 2022-10-13 12:23:14 +02:00
Karol Sójko 868b7d149a feat: add user protocol version to the user registration event 2022-10-07 11:22:56 +02:00
Karol Sójko d3f36c05df feat(auth): remove muting emails by use case in favor of updating user settings 2022-09-22 13:25:31 +02:00
Karol Sójko 965ae79414 feat(auth): add creating cross service token in exchange for web socket connection token 2022-09-21 13:56:17 +02:00
Karol Sójko 8033177f48 feat(auth): add creating web socket connection tokens 2022-09-21 10:58:39 +02:00
Karol Sójko db15457ce4 feat(files): add validating remote identifiers 2022-09-19 09:43:46 +02:00
Karol Sójko 377d32c449 fix(files): add verifying permitted operation on valet token 2022-09-16 10:52:25 +02:00
Karol Sójko d85152429c fix(auth): missing injectable annotation 2022-09-15 14:17:56 +02:00
Karol Sójko 5d812befc4 feat(auth): implement subscription server interface on server side 2022-09-15 12:12:50 +02:00
Karol Sójko c61b615da6 feat(auth): add endpoint for generating offline subscription tokens for admin panel 2022-08-12 13:12:55 +02:00
Karol Sójko d86928f1b4 feat: add security package 2022-07-06 11:24:32 +02:00
Karol Sójko ba373ebc6b fix: change response type to html for muting marketing emails 2022-06-28 12:08:36 +02:00
Karol Sójko 6d7de4a8da feat: add endpoint for muting marketing emails 2022-06-27 12:17:47 +02:00
Karol Sójko 8e5012009b feat: add auth server package 2022-06-22 12:33:00 +02:00