Commit Graph

763 Commits

Author SHA1 Message Date
Lucas Smith
f0fd5506fc fix: skip seeding when running migrate dev
When prisma:migrate-dev needs to reset the database it will run the seed script to repopulate data. Now that we've added the seed script to our root setup command we will want to avoid this behaviour since we will end up double seeding the database which currently can cause issues.
2024-03-08 12:49:55 +11:00
David Nguyen
f6eddaa9f6 fix: remove duplicate neon pooler (#990)
## Description

Fixes the issue with Vercel preview deployments failing.

It appears that the old `PGHOST` environment variable injected by neon
was:

`ep-snowy-snowflake-a2vc5pa2.eu-central-1.aws.neon.tech`

It is now:

`ep-snowy-snowflake-a2vc5pa2.eu-central-1-pooler.aws.neon.tech`

Notice the `-pooler` being attached automatically to the `PGHOST`.

## References

> The following changes were made to the [Neon Vercel
Integration](https://vercel.com/integrations/neon):
>
>To ensure that users accessing a Neon database from a serverless
environment have enough connections, the DATABASE_URL and PGHOST
environment variables added to a Vercel project by the Neon integration
are now set to a pooled Neon connection string by default. Pooled
connections support up to 10,000 simultaneous connections. Previously,
these variables were set to an unpooled connection string supporting
fewer concurrent connections.

https://neon.tech/docs/changelog

https://neon.tech/docs/guides/vercel#manage-vercel-environment-variables
2024-03-07 18:17:28 +08:00
Mythie
cffb7907b5 chore: remove bcrypt 2024-03-07 18:30:22 +11:00
Lucas Smith
10ef5b6e51 fix: improvements from testing 2024-03-07 02:57:02 +00:00
Lucas Smith
927cb1a934 fix: incorrect download filename logic 2024-03-05 23:05:32 +00:00
Lucas Smith
579a2f96e5 chore: rename community => early adopter 2024-03-05 13:04:46 +00:00
David Nguyen
70494fa5bb feat: add offline development support (#987)
## Description

Add support to develop without network access since TRPC by default will
prevent network requests when offline.

https://tanstack.com/query/v4/docs/framework/react/guides/network-mode#network-mode-always

## Changes Made

- Add dynamic logic to toggle offline development
- Removed teams feature flag
2024-03-05 22:06:48 +11:00
Mythie
a17d4a2a39 fix: handle signature annotations 2024-03-03 11:36:28 +11:00
Mythie
73aae6f1e3 feat: improve admin panel 2024-03-03 01:55:33 +11:00
Lucas Smith
00c36782ff fix: why didn't prettier catch this 2024-03-01 22:59:52 +11:00
McPizza
665ccd7628 update username min characters 2024-03-01 11:30:42 +00:00
McPizza
e5fe3d897d remove fixed true condition
from auth signup router
2024-03-01 11:27:24 +00:00
Mythie
85885b5ad5 fix: api documentation errors on ssr 2024-03-01 14:54:41 +11:00
Mythie
5cc4204788 fix: add early return to webhook trigger 2024-03-01 14:12:06 +11:00
Catalin Pit
ebe23335f8 fix: return the recipient as an array to match other formats from zapier (#971)
Return the recipient as an array to match the other formats for Zapier.
Otherwise, Zaps with the "DOCUMENT_OPENED" hooks won't work.

All the other webhooks return the "Recipient" field as an array.
2024-02-29 08:37:01 +02:00
Mythie
aa87a86a5f fix: update e2e tests 2024-02-29 15:19:38 +11:00
Mythie
1cc7c95a33 fix: update e2e test 2024-02-29 14:26:37 +11:00
Mythie
9f576eb47c fix: update signup mutation schema 2024-02-29 14:13:37 +11:00
Mythie
cc1b888174 chore: tidy changes 2024-02-29 14:09:17 +11:00
Lucas Smith
5576cdc2b0 Merge branch 'main' into feat/public-profile-1 2024-02-29 14:08:19 +11:00
Mythie
ecc9dc63ea feat: the rest of the owl 2024-02-29 13:22:21 +11:00
Catalin Pit
00a7389af3 chore: implemented feedback 2024-02-28 08:13:28 +02:00
Mythie
e3e2cfbcfd fix: refactor and implement design 2024-02-28 14:43:09 +11:00
Catalin Pit
f0a511e238 chore: refactor code 2024-02-27 15:22:02 +02:00
Adithya Krishna
b498f8edb7 feat: update ui
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:40:42 +11:00
Adithya Krishna
65d762dd4b feat: update signin signup ui
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:39:19 +11:00
Adithya Krishna
deea6b1535 feat: update marketing site
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:36:40 +11:00
Lucas Smith
af30443f5a Merge branch 'main' into feat/webhook-implementation 2024-02-27 18:17:54 +11:00
Mythie
a4b1f7c983 feat: support team webhooks 2024-02-27 16:56:32 +11:00
Mythie
7dd2bbd8ab feat: update webhook handling and triggering 2024-02-27 15:16:14 +11:00
Mythie
488464e3e7 chore: add team to webhook model 2024-02-27 13:38:12 +11:00
Mythie
1ec549b869 chore: add webhook-call model 2024-02-27 13:37:24 +11:00
Mythie
c2daa964c0 chore: use cuids for webhooks 2024-02-27 12:13:56 +11:00
Mythie
a31057d0d1 fix: add updated badge 2024-02-26 22:35:10 +11:00
Mythie
70165c4469 chore: ui updates 2024-02-26 22:24:23 +11:00
Catalin Pit
15c22d3897 feat: updated the triggerWebhook function 2024-02-26 12:52:30 +02:00
Lucas Smith
15ebe6dbaf fix: add cascade delete to recipient fields 2024-02-26 03:51:28 +00:00
Lucas Smith
5805d8a903 Merge branch 'main' into feat/webhook-implementation 2024-02-26 12:47:21 +11:00
Lucas Smith
3c51a1bc3d Merge branch 'main' into feat/public-api 2024-02-26 12:15:33 +11:00
Lucas Smith
fcfb741363 feat: edit recipients when creating document from template (#953)
https://github.com/documenso/documenso/assets/55143799/85a840e3-4fb4-4c02-ba63-b9626f4cea58
2024-02-26 12:00:23 +11:00
Mythie
a54159a9ec fix: add missing teamId references 2024-02-26 11:59:32 +11:00
Mythie
6b8e11b535 fix: template router update 2024-02-26 10:31:24 +11:00
Mythie
c7dac2f4de fix: update delete endpoint and add limits 2024-02-26 10:01:13 +11:00
Mythie
4cb0d6999d fix: build errors from merge 2024-02-26 09:13:46 +11:00
Lucas Smith
2a74ce06ef Merge branch 'main' into feat/public-api 2024-02-26 00:21:25 +11:00
Lucas Smith
187a988f9c Merge branch 'main' into transparent-fields 2024-02-26 00:02:56 +11:00
Lucas Smith
5bef2fba91 fix: follow figma design 2024-02-25 13:02:09 +00:00
Lucas Smith
9cf72e1442 chore: tidy code and extract alert-dialog 2024-02-25 11:12:18 +00:00
Lucas Smith
7226d5ac53 Merge branch 'main' into feat/account-deletion 2024-02-24 23:18:14 +11:00
Lucas Smith
4ca154d88a fix: update e2e test? 2024-02-24 11:54:13 +00:00