Iain Sproat
2bbfb8cede
feat(server/email verification): configurable timeout ( #5061 )
2025-07-14 08:56:27 +01:00
Kristaps Fabians Geikins
bde148f286
chore(server): migrating fully to ESM ( #5042 )
...
* wip
* some extra fixes
* stuff kinda works?
* need to figure out mocks
* need to figure out mocks
* fix db listener
* gqlgen fix
* minor gqlgen watch adjustment
* lint fixes
* delete old codegen file
* converting migrations to ESM
* getModuleDIrectory
* vitest sort of works
* added back ts-vitest
* resolve gql double load
* fixing test timeout configs
* TSC lint fix
* fix automate tests
* moar debugging
* debugging
* more debugging
* codegen update
* server works
* yargs migrated
* chore(server): getting rid of global mocks for Server ESM (#5046 )
* got rid of email mock
* got rid of comment mocks
* got rid of multi region mocks
* got rid of stripe mock
* admin override mock updated
* removed final mock
* fixing import.meta.resolve calls
* another import.meta.resolve fix
* added requested test
* nyc ESM fix
* removed unneeded deps + linting
* yarn lock forgot to commit
* tryna fix flakyness
* email capture util fix
* sendEmail fix
* fix TSX check
* sender transporter fix + CR comments
* merge main fix
* test fixx
* circleci fix
* gqlgen bigint fix
* error formatter fix
* more error formatting improvements
* esmloader added to Dockerfile
* more dockerfile fixes
* bg jobs fix
2025-07-14 10:26:19 +03:00
Iain Sproat
cb7ff5247d
Merge branch 'main' into iain/task-id-to-request-context
2025-05-19 14:26:26 +01:00
Kristaps Fabians Geikins
b406d0e32d
chore(server): node16 & export maps support for server ( #4698 )
...
* chore(server): node16 & export maps support for server
* moar cleanup
* lint fixc
2025-05-12 14:27:34 +03:00
Iain Sproat
76decb78f3
Fix references
2025-04-28 15:23:32 +01:00
Iain Sproat
a5d59a4f38
Fix broken references after merge
2025-04-28 15:02:04 +01:00
Iain Sproat
c6e8d1ba77
Merge branch 'main' into iain/task-id-to-request-context
2025-04-26 08:30:20 +01:00
Iain Sproat
7deb4554c6
chore(server/logging): add operation logs to email module
2025-04-14 17:20:07 +01:00
Iain Sproat
996d7058b8
chore(server): get request logger when sending emails
2025-03-18 20:11:22 +00:00
Iain Sproat
59100b7d08
Merge branch 'main' into iain/task-id-to-request-context
2025-03-11 09:40:59 +00:00
andrewwallacespeckle
d1f040051d
refactor(server): Update system emails ( #4074 )
...
* Update email verification. And workspace invite emails.
* Footer logos
* Workspace requests
* Trial
* Misc emails
* New logo
* Updates to font, spacing and footer
* Remove space
* Update invite emails
* Correct classes
2025-03-07 15:30:03 +00:00
Iain Sproat
5655b3e758
fix(metrics): pass registry in to modules ( #4113 )
...
- ensure metrics are added to the correct registry
2025-03-06 08:37:05 +00:00
Iain Sproat
193e7d870e
chore(server/logging): email logging should include request or task Id in log context
...
- allows us to better link events to triggering actions
2025-03-01 23:30:57 +00:00
Iain Sproat
ce08e5e02d
refactor(server): logging directory renamed to observability ( #4077 )
2025-02-28 08:43:54 +00:00
Mike
f376cfcc46
Fix: Always force email verification ( #3990 )
2025-02-15 08:30:57 +01:00
andrewwallacespeckle
91cb011ded
feat(fe2): New user onboarding flow ( #3932 )
...
* CodeInput. verify-email page
* middleware
* Loading toast
* Countdown only for registration
* Improve middleware
* Fix middleware breaking auth flow
* Remove old notifications
* Remove old onboarding. New segmentation
* Remove skip button
* Block verify email when verified
* useUserEmails composable. Cancel addition
* Move user emails queries
* Fix fragments etc
* redirect updates
* HeaderWithEmptyPage
* Check env before enforcing
* Join workspace
* Updates
* Fix console warnings on login
* Fix register console warnings
* Working cache updates
* Verify secondary email
* Force onboarding off
* EMAIL WIP
* useIsJustRegistered state
* Improve isRequired
* Uneeded change
* Improved slots
* Updates from CR
* CR comments
* Only show message if forced
* Update onboarding middleware
* Update loading bar
* ref > computed to fix onboarding
* Resend tooltip. Better errors
* Add other to form.
* Email changes
* Updates to emails
* Remove force email FF
* Remove FF's
* Hide header on embed
* Update graphql.ts
* Re-add FF
* Update graphql.ts
* GQL Fragments
* Fix build
2025-02-14 10:20:14 +00:00
Iain Sproat
c59e6043bb
fix(server/errors): derive errors from BaseError ( #3918 )
2025-01-30 18:15:56 +01:00
Alessandro Magionami
276c3a761c
fix(emails): add ff for new email verification flow ( #3893 )
...
* fix(emails): add ff for new email verification flow
* test(emails): disable test with ff off
2025-01-24 19:39:55 +01:00
Alessandro Magionami
384cd116a4
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation
2025-01-24 14:34:47 +01:00
Alessandro Magionami
7343ed6ba1
fix(emails): remove unique constraint from email_verifications ( #3872 )
...
* fix(emails): remove unique constraint from email_verifications
* chore(emails): remove unique constraint from email verifications
* chore(emails): use custom transaction in migration
* chore(emails): use raw swl to write migration
2025-01-24 12:40:08 +01:00
Alessandro Magionami
7fbd32dd43
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation
2025-01-23 10:51:30 +01:00
Alessandro Magionami
5be535503d
chore(emails): test email verification flow
2025-01-23 10:38:17 +01:00
Alessandro Magionami
f654eb99f9
chore(emails): add constraint unique email for email_verifications table
2025-01-22 11:18:25 +01:00
Alessandro Magionami
cea2da2987
chore(emails): new email verification flow
2025-01-21 16:08:18 +01:00
Alessandro Magionami
72a5eb2a1e
chore(emails): add code column to email_verifications table
2025-01-20 16:03:28 +01:00
Gergő Jedlicska
c186b23db6
feat(gatekeeper): send workspace trial expiry emails
2024-12-13 17:30:02 +01:00
Kristaps Fabians Geikins
69ff3864af
feat(server): multi region support in dataloaders
2024-11-07 09:57:43 +02:00
Kristaps Fabians Geikins
0e4e9958cd
improved logging
2024-10-23 15:31:22 +03:00
Kristaps Fabians Geikins
34069a47ec
fix(server): sign up emails sent out twice
2024-10-23 15:16:32 +03:00
Kristaps Fabians Geikins
f27f289dc6
chore(server): core IoC #78 - getServerInfoFactory
2024-10-17 12:37:43 +03:00
Kristaps Fabians Geikins
554b2fa386
chore(server): core IoC #66 - markUserAsVerifiedFactory
2024-10-16 12:03:19 +03:00
Kristaps Fabians Geikins
781ee2cc2d
chore(server): core IoC #57 - getUserByEmailFactory
2024-10-15 13:17:34 +03:00
Kristaps Fabians Geikins
1cb27e6fdd
chore(server): core IoC #51 - getUser(s)Factory
2024-10-14 17:24:11 +03:00
Iain Sproat
f93d9093a0
fix(errors): all error should define an appropriate status code ( #3112 )
...
* fix(errors): all error should define a status code (default is 500)
- rename NoInviteFoundError to InviteNotFoundError to match xNotFoundError pattern
* remove unused errors
2024-09-25 13:08:13 +02:00
Kristaps Fabians Geikins
c7d8706b43
deleted unused service
2024-09-10 14:46:14 +03:00
Kristaps Fabians Geikins
e4a317e22f
chore(server): emails IoC 8 - finalizeEmailVerificationFactory
2024-09-10 14:42:11 +03:00
Kristaps Fabians Geikins
5b58d6d40b
chore(server): emails IoC 7 - initializeVerificationOnRegistrationFactory
2024-09-10 14:35:26 +03:00
Kristaps Fabians Geikins
9f6d2d9d3a
chore(server): emails IoC 6 - sendVerificationEmailFactory
2024-09-10 14:26:06 +03:00
Kristaps Fabians Geikins
b4674e2cef
chore(server): emails IoC 5 - requestEmailVerificationFactory
2024-09-10 14:11:33 +03:00
Kristaps Fabians Geikins
f10c30aa3c
chore(server): emails IoC 4 - requestNewEmailVerificationFactory
2024-09-10 14:00:13 +03:00
Kristaps Fabians Geikins
26ddbb7f07
repo adjustment
2024-09-10 13:58:46 +03:00
Kristaps Fabians Geikins
eafe0fa565
chore(server): emails IoC 3 - deleteOldAndInsertNewVerificationFactory
2024-09-10 13:57:37 +03:00
Kristaps Fabians Geikins
a270abbdd5
repo fix
2024-09-10 13:54:41 +03:00
Kristaps Fabians Geikins
8bb4c64669
chore(server): emails IoC 2 - deleteVerificationsFactory
2024-09-10 13:53:24 +03:00
Kristaps Fabians Geikins
4d2baa5baa
addressing cr comments
2024-09-10 13:46:57 +03:00
Kristaps Fabians Geikins
c11e565014
chore(server): emails IoC #1 - getPendingTokenFactory
2024-09-10 09:58:47 +03:00
Kristaps Fabians Geikins
c92938eff3
chore(server): apollo server v3 -> v4 ( #2880 )
...
* main changes seem to be done?
* lint fix
* minor cleanup
* dataloader clear
2024-09-05 12:27:13 +03:00
Gergő Jedlicska
72017c3f2f
feat(emailVerification): add email verification mutation for all emails ( #2606 )
2024-08-08 07:07:26 +02:00
Alessandro Magionami
9cde0999a6
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1172-change-the-users-repository-to-abstract-the-email-field-in
2024-07-29 16:08:46 +02:00
Kristaps Fabians Geikins
ede566eed9
feat(server): serverInvites refactor + workspace invites CRUD & GQL API ( #2530 )
...
* prep for new resources algo
* typescriptifying stuff
* minor types fix
* migrate to resources col
* repo & creation updated, WIP processing/retrieval
* WIP invite processing
* finished finalization refactor
* project invite management
* transformed all invites services
* fixed up projects & core serverinvites resolvers
* test fixes
* WIP workspace create GQL & test
* basic invite creation test works
* a buncha working tests
* more tests
* cancelation tests
* minor invite use refactor
* invite retrieval tasks
* invite use() works as expected
* filtering out broken invites
* enabled invite retrieval by token irregardless of who is it for
* minor adjustments
* tests fix
* test config improvements
* test env adjustment
* extra test case
* making resource access limits harder to ignore
* linter fixes
* eventBus type cleanup
* better generic names
* refactored serverinvites resource migration
* fix(server): better error message in project invite edge case
2024-07-29 14:37:54 +03:00