Commit graph

40 commits

Author SHA1 Message Date
Karol Sójko
460fdf9eaf
fix(auth): add server daily email backup permission for all versions of core user role (#1028) 2024-01-17 13:34:00 +01:00
Karol Sójko
0e43bc0042
feat: extract setting name to domain-core package 2023-10-26 15:18:11 +02:00
Karol Sójko
1b5078eb96
feat: refactor settings (#890)
* feat: refactor settings

* fix verify mfa specs and data source metadata

* fix: compound index field names

* fix metadata binding for typeorm repository

* fix responses to preserve e2e

* fixes for e2e

* fix recovery codes e2e

* add missing specs
2023-10-26 12:42:30 +02:00
Karol Sójko
a2c1ebe675
feat: remove transition state (#882)
* fix: Dockerfile build deps

* feat: remove transition state
2023-10-19 11:38:16 +02:00
Karol Sójko
230c96dcf1
feat: add designating a survivor in shared vault (#841)
* feat: add designating a survivor in shared vault

* add designated survivor property to http representation

* fix: specs

* fix: more specs

* fix: another spec fix

* fix: yet another spec fix
2023-09-21 12:26:08 +02:00
Karol Sójko
aef9e936bd
feat(auth): add vaults user role into database 2023-09-08 09:19:52 +02:00
Karol Sójko
794cd8734a
feat: should be able to access shared item revisions as third party user (#807) 2023-09-06 15:36:23 +02:00
Karol Sójko
302b624504
feat: add mechanism for determining if a user should use the primary or secondary items database (#700)
* feat(domain-core): introduce new role for users transitioning to new mechanisms

* feat: add mechanism for determining if a user should use the primary or secondary items database

* fix: add transition mode enabled switch in docker entrypoint

* fix(syncing-server): mapping roles from middleware

* fix: mongodb item repository binding

* fix: item backups service binding

* fix: passing transition mode enabled variable to docker setup
2023-08-18 16:45:10 +02:00
Karol Sójko
efa4d7fc60
feat(syncing-server): add shared vaults, invites, messages and notifications to sync response (#665)
* feat(syncing-server): add shared vaults, invites, messages and notifications to sync response

* fix(syncing-server): migration timestamps

* fix: issue with migrations for notifications
2023-07-20 11:52:45 +02:00
Karol Sójko
c288e5d8dc
fix: transfer notifications from auth to syncing-server. (#648)
* fix: transfer notifications from auth to syncing-server.

Co-authored-by: Mo <mo@standardnotes.com>

* fix: add notification to data source init

---------

Co-authored-by: Mo <mo@standardnotes.com>
2023-07-07 15:12:27 +02:00
Karol Sójko
fecfd54728
feat(auth): add notifications model (#638) 2023-07-05 10:03:01 +02:00
Karol Sójko
c71f7ff8ad
feat: extract cache entry model to domain-core (#581)
* feat: extract cache entry model to domain-core

* fix(auth): rename cache table to be auth specific
2023-05-02 11:43:50 +02:00
Karol Sójko
56c922e715
feat(auth): add cache entries model (#576) 2023-05-01 09:49:27 +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
d211249086
fix(auth): add u2f permissions for pro users 2023-04-20 11:58:37 +02:00
Karol Sójko
8242f13aff
feat(auth): add initial emergency access invitations model (#528) 2023-04-04 11:10:11 +02:00
Karol Sójko
c45653a50a
fix(auth): remove authenticator names from server 2023-03-09 06:46:35 +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
Karol Sójko
b167b00075
fix(auth): remove sign in emails permission from free accounts 2023-03-06 14:44:50 +01:00
Karol Sójko
3c67290aeb
fix(auth): add migration for fixing credential id column type 2023-01-26 14:48:25 +01:00
Aman Harwara
7d456671c2
feat: super editor permissions migration (#414) 2023-01-17 18:45:20 +05:30
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
8c7c1e4745
feat(auth): add generating authenticator authentication options 2022-12-29 08:45:32 +01:00
Karol Sójko
384dfc8da4
fix(auth): migrations to not include unique index for credentials id 2022-12-28 16:16:10 +01:00
Karol Sójko
a5e7132d3c
fix(auth): temporarily remove credential id index due to mysql 5.6 limitations 2022-12-28 14:10:40 +01:00
Karol Sójko
51ad06b303
feat(auth): add generating authencator registration options 2022-12-28 13:56:06 +01:00
Karol Sójko
fa9bf0b448
feat(auth): add authenticator challenges model 2022-12-28 12:40:13 +01:00
Karol Sójko
98e3d18335
fix(auth): credential id field type 2022-12-28 12:25:36 +01:00
Karol Sójko
1e69a13a97
feat(auth): add authenticators model 2022-12-28 11:37:06 +01:00
Karol Sójko
b9e1e47871
fix(auth): add session traces index 2022-12-20 19:46:05 +01:00
Karol Sójko
8bcb552783
feat(auth): add session traces 2022-12-19 12:25:15 +01:00
Karol Sójko
49feadd32a
feat(auth): remove analytics table in favor of analytics service 2022-11-07 11:57:39 +01:00
Karol Sójko
44a9ade3fc
feat: add workspace microservice 2022-10-06 11:54:22 +02:00
Karol Sójko
3091177700
feat(auth): add groups model and database structure 2022-10-05 14:14:22 +02:00
Karol Sójko
5eb957c82a
fix(auth): change remaining subscription time stats to percentage 2022-09-16 12:17:34 +02:00
Karol Sójko
f45320e5ed
feat(auth): add subscription sharing permission 2022-09-13 15:46:11 +02:00
Karol Sójko
dc88e2413b
feat(auth): retain user agent, api version and received at on revoked sessions 2022-08-29 13:18:05 +02:00
Karol Sójko
8e5012009b
feat: add auth server package 2022-06-22 12:33:00 +02:00