Commit Graph

80 Commits

Author SHA1 Message Date
824f4a070a feat: demo 2024-03-27 20:31:08 +08:00
5210fe2963 feat: add passkeys (#989)
## Description

Add support to login with passkeys.

Passkeys can be added via the user security settings page.

Note: Currently left out adding the type of authentication method for
the 'user security audit logs' because we're using the `signIn`
next-auth event which doesn't appear to provide the context. Will look
into it at another time.

## Changes Made

- Add passkeys to login
- Add passkeys feature flag
- Add page to manage passkeys
- Add audit logs relating to passkeys
- Updated prisma schema to support passkeys & anonymous verification
tokens

## Testing Performed

To be done.

MacOS:
- Safari  
- Chrome  
- Firefox 

Windows:
- Chrome [Untested] 
- Firefox [Untested]

Linux:
- Chrome [Untested]
- Firefox [Untested]

iOS:
- Safari 

## Checklist

<!--- Please check the boxes that apply to this pull request. -->
<!--- You can add or remove items as needed. -->

- [X] I have tested these changes locally and they work as expected.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced Passkey authentication, including creation, sign-in, and
management of passkeys.
- Added a Passkeys section in Security Settings for managing user
passkeys.
- Implemented UI updates for Passkey authentication, including a new
dialog for creating passkeys and a data table for managing them.
- Enhanced security settings with server-side feature flags to
conditionally display new security features.
- **Bug Fixes**
	- Improved UI consistency in the Settings Security Activity Page.
- Updated button styling in the 2FA Recovery Codes component for better
visibility.
- **Refactor**
- Streamlined authentication options to include WebAuthn credentials
provider.
- **Chores**
- Updated database schema to support passkeys and related functionality.
	- Added new audit log types for passkey-related activities.
- Enhanced server-only authentication utilities for passkey registration
and management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-26 21:11:59 +08:00
9e1b2e5cc3 fix: update sharp dependency 2024-03-10 13:48:25 +11:00
10ef5b6e51 fix: improvements from testing 2024-03-07 02:57:02 +00:00
2a74ce06ef Merge branch 'main' into feat/public-api 2024-02-26 00:21:25 +11:00
8165a090d1 feat: migrate to site-settings 2024-02-23 10:47:01 +00:00
e91bb78f2d Merge branch 'main' into feat/public-api 2024-02-09 16:00:40 +11:00
7e15058a3a feat: add user security audit logs 2024-01-30 17:32:20 +11:00
a1215df91a refactor: extract api implementation to package
Extracts the API implementation to a package so we can
potentially reuse it across different applications in the
event that we move off using a Next.js API route.

Additionally tidies up the tokens page and form to be more simplified.
2023-12-31 13:58:15 +11:00
775a1b774d chore: fix vulnerability with sharp
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:26 +05:30
bfedabdc10 fix: increase e2e test timeout (#682) 2023-12-05 13:54:41 +11:00
b903de983b chore: v1.2.3 2023-12-02 14:56:00 +11:00
39d18e93c5 chore: v1.2.2 2023-12-02 13:34:36 +11:00
fbfaca190b chore: release 1.2.1 2023-12-02 12:43:55 +11:00
16fb90f4d2 chore: v1.2.0 2023-12-02 11:57:50 +11:00
39c01f4e8d fix: remove server actions (#684) 2023-12-02 09:38:24 +11:00
792158c2cb feat: add two factor auth (#643)
Add two factor authentication for users who wish to enhance the security of their accounts.
2023-12-01 20:06:32 +11:00
9444e0cc67 fix: docker build requires smtp host (#672)
set a default for smtp host and add an action
for testing docker builds on each pull request
2023-11-22 16:26:39 +11:00
ca9c0d7bf0 chore: add some eslint rules (#344) 2023-11-15 13:10:17 +11:00
3490e2a3a8 feat: add command menu and keyboard shortcuts (#337) 2023-11-09 13:33:56 +11:00
b0e3abffd6 chore: restore dangling changes from rebase 2023-11-06 14:47:46 +11:00
7fa61c6bb6 chore: upgrade to next 14.0.0 2023-11-06 13:02:20 +11:00
c162cb3b2c chore: update zod to 3.22.4 (#563)
* chore: updated zod 

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>

---------

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2023-11-06 13:02:20 +11:00
04fc9eb187 chore: upgrade to latest next.js version (#553)
* chore: upgrade next.js
* fix: canvas not found error
* chore: upgrade package for marketing
* feat: add isServer conditional
* fix: inverse isServer condition
* fix: normalize packages
* fix: upgrade ee package
* fix: depdency nightmares
* fix: failing seed script
2023-11-06 13:02:19 +11:00
02bb7e4d68 fix: update icons (#468)
* fix: update icons
2023-11-06 13:01:46 +11:00
34232c79e5 feat: add single player mode 2023-11-06 13:01:43 +11:00
49ce09f49b fix: support optimise imports 2023-11-06 13:01:14 +11:00
53db1a5d19 fix: resolve issues with open graph asset loading 2023-11-06 13:01:14 +11:00
3afc35c40c feat: universal upload
Implementation of a universal upload allowing for multiple storage backends
starting with `database` and `s3`.

Allows clients to put and retrieve files from either client or server using
a blend of client and server actions.
2023-11-06 13:01:13 +11:00
d7bd8fcd37 fix: add items from stash 2023-11-06 13:01:11 +11:00
a99efdc916 feat: add inbox 2023-11-06 13:01:11 +11:00
289e3776fd fix: dependency ordering 2023-11-06 13:01:11 +11:00
36b3b36ac8 feat: added sharp for image optimizations on nextjs
Signed-off-by: Adithya Krishna <adikrish@redhat.com>
2023-11-06 13:01:11 +11:00
039cd11c49 fix: use -p cli option for next dev 2023-11-06 13:01:10 +11:00
a0abf56833 refactor: extract common components into UI package 2023-11-06 13:01:10 +11:00
aa2969fd50 feat: feature flags 2023-11-06 13:01:10 +11:00
7a705e3b81 feat: document authoring 2023-11-06 13:01:09 +11:00
dc58f77c61 chore: upgrade deps and linting 2023-11-06 13:01:08 +11:00
12d8cebd4c feat: use server-actions for authoring flow
This change actually makes the authoring flow work for
the most part by tying in emailing and more.

We have also done a number of quality of life updates to
simplify the codebase overall making it easier to continue
work on the refresh.
2023-11-06 13:01:07 +11:00
3c73f030ac feat: persist fields and recipients for document editing 2023-11-06 13:01:07 +11:00
40115d33b4 adding dark mode to feat/refresh 2023-11-06 13:01:07 +11:00
159bcade7b wip: refresh design 2023-11-06 13:01:06 +11:00
201c0ac22a chore: update start command for render deployment 2023-08-10 01:34:42 +00:00
ad4d844b4d remove: next-transpile-modules dependency 2023-05-28 19:53:44 -04:00
ed3e4d22ef feat: scaffhold subscription table and ui 2023-05-05 19:29:42 +10:00
95c3be9a77 chore: optimise depedency tree 2023-04-19 23:30:14 +10:00
ff977c6bff nextauth security update 2023-03-17 15:35:54 +01:00
8387179cbf 🚧 signDocument using node signpdf and custom placeholder insert 2023-03-01 19:54:22 +01:00
9e4874bd27 🗃️ 💄 insert text in custom font, typeSignature 2023-02-20 18:14:52 +01:00
44884ae648 🚧 place signatures and text signatures 2023-02-20 14:49:17 +01:00