Kristaps Fabians Geikins
4b06f42db7
chore(server): run TS files directly (no compilation) ( #5134 )
...
* sort of works
* type fixes
* added option to run old way too
2025-07-23 11:20:40 +02:00
Kristaps Fabians Geikins
b29331705e
chore(server): get rid of duplicate gql TS types ( #5065 )
2025-07-14 11:31:12 +03: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
Daniel Gak Anagrov
ba3d9ade22
feat(activity): moved project roles to activity ( #5019 )
...
* feat: moved project roles to activity
* fix: added previous project role filed on activity
* fix: remvoke does not get logged as an actvity for every project in a workspace when removed from workspace
* fix: on delete user account, emit also seat and project event
Co-authored-by: Charles Driesler <chuck@speckle.systems >
2025-07-10 11:44:54 +02:00
Kristaps Fabians Geikins
cfa0b249d1
feat: seat type selection in invite flows ( #4908 )
...
* backend seems to work
* bigger menu support
* FE nearly done
* merge fix
* ui changes
* workspace invite disclaimer
* project disclaimer
* project invite viewer -> editor flow
* extra minor fixes
* Change project role input label
* extra test assertions
---------
Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com >
2025-06-13 09:45:58 +03:00
Kristaps Fabians Geikins
9998ed2586
feat: personal project limits ( #4759 )
...
* base limits cleanup
* history limit tests
* canCreatePersonal & tests
* canInvite block
* WIP model check
* fix tests
* shared tests fix
* lodash import fix
* lint fix
* help update
* hopefully fixing test
* CR comment
2025-05-20 14:56:05 +03:00
Kristaps Fabians Geikins
9bb31d4a34
fix(server): hide implicit workspace invites for existing workspace members ( #4681 )
2025-05-07 16:03:48 +03:00
Kristaps Fabians Geikins
d995a9837e
Revert "Revert "feat(server): workspace project invites as implicit workspace invites"" ( #4672 )
...
* Revert "Revert "feat(server): workspace project invites as implicit workspace…"
This reverts commit 220015ece6 .
* fix invites leak
2025-05-07 14:08:40 +03:00
Kristaps Fabians Geikins
220015ece6
Revert "feat(server): workspace project invites as implicit workspace invites…" ( #4671 )
...
This reverts commit 22bd90d304 .
2025-05-06 16:21:12 +03:00
Kristaps Fabians Geikins
22bd90d304
feat(server): workspace project invites as implicit workspace invites ( #4634 )
2025-05-06 14:20:29 +03:00
Kristaps Fabians Geikins
c6dcf18bdb
feat(server): workspace project invite auto-accept (for existing wp members) ( #4622 )
...
* WIP ts
* DI fix & tests moved to TS
* auto-accept seems to work
* CR comments
2025-04-30 17:39:07 +03:00
Mike
d6d8de41dc
Feat: Increase invite limit from 10 to 200 ( #4618 )
2025-04-28 16:43:58 +02:00
Iain Sproat
bd9fe28d78
Merge branch 'main' into iain/web-2732-observability-for-improved-reliability-serverinvites
2025-04-16 15:04:47 +01:00
Chuck Driesler
cebae959ae
feat(authz): Workspace.canInvite and Project.canInvite ( #4419 )
2025-04-16 09:01:53 +01:00
Iain Sproat
d3b6391f51
chore(server/logging): add operations logging to serverinvites module
2025-04-15 09:01:34 +01: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
ce08e5e02d
refactor(server): logging directory renamed to observability ( #4077 )
2025-02-28 08:43:54 +00:00
Mike
2ecb98146a
Feat: prevent non work emails ( #3993 )
2025-02-26 10:55:02 +01:00
Kristaps Fabians Geikins
6051917b59
chore(server): refactor activityStream invocations - batch #7 - streams ( #4014 )
...
* chore(server): refactor activityStream invocations - batch #7 - streams
* test fix
* more test fixes
* CR comment fix
2025-02-24 12:34:56 +02:00
Kristaps Fabians Geikins
1d2a594f0a
chore: upgrade TS 5.2 -> 5.7.3 & ESLint to 9.20.1 ( #4032 )
...
* chore: upgrade TS 5.2 -> 5.7.3
* vite dts fix
* lint fix
* resolutions fix
* ui comp build fix
* precommit fix?
* latest eslint version
* autoloader fix
* undo unnecessary viewer change
* eslint fixes fe2 + trying disabled type linting
* lint fixes
2025-02-20 14:18:18 +02:00
Iain Sproat
ec98f8d4cb
chore(fe1): remove deprecated frontend ( #3998 )
...
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2025-02-18 12:36:52 +00:00
Kristaps Fabians Geikins
9b46747815
chore(server): refactor activityStream invocations - batch #6 - project invites
2025-01-24 18:35:21 +02:00
Kristaps Fabians Geikins
aee14edc5b
chore(server): getting rid of module-scoped event emitters - batch #1 ( #3766 )
...
* got rid of models emitter + added tests
* got rid of projects emitter + added tests
* replaced user event bus
* test migrate
2025-01-13 11:39:46 +02:00
Gergő Jedlicska
c186b23db6
feat(gatekeeper): send workspace trial expiry emails
2024-12-13 17:30:02 +01:00
Kristaps Fabians Geikins
51579b76ef
fix(server): various fixes related to subs + further improved utils + way quicker tests ( #3573 )
...
* fixed test util throwing + added new tests
* more tests
* more tests
* various model tests
* version tests
* removed shitty old tests
* lint fix
* workspaceProjectsUpdated test
* workspace updated on invite
* workspace subs support team changes
* tests fix
* test fix hopefully?
2024-12-02 13:30:24 +02:00
Gergő Jedlicska
e30b8c83b9
gergo/workspacesMultiRegion ( #3477 )
...
* feat(webhook-service): learn to speak multi region
* feat(fileimport-service): talk multi region to me
* feat(fileuploads, blobs): multi region
* feat(workspaces): update delet workspace with billing and regions
* fix typo
* feat(workspaces): remove old billing resolvers
* test(workspaces): fix tests
* fix(workspaces): remove unused schema
2024-11-19 15:45:03 +01:00
Kristaps Fabians Geikins
69ff3864af
feat(server): multi region support in dataloaders
2024-11-07 09:57:43 +02:00
Kristaps Fabians Geikins
f27f289dc6
chore(server): core IoC #78 - getServerInfoFactory
2024-10-17 12:37:43 +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
Kristaps Fabians Geikins
6cb5022ac4
chore(server): IoC 35 - updateStreamRoleAndNotify
2024-10-09 16:31:20 +03:00
Kristaps Fabians Geikins
5b5dd201e2
chore(server): IoC 29 - getStream(s)Factory
2024-10-09 10:39:00 +03:00
Alessandro Magionami
8cba8ce168
chore(activitystream): IoC 1 refactor addStreamInviteDeclined
2024-09-27 16:30:29 +02: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
43e7ec89ea
chore(server): auth IoC 14 - localStrategyBuilderFactory ( #3036 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
* chore(server): auth IoC 9 - revokeRefreshTokenFactory
* chore(server): auth IoC 10 - createAuthorizationCodeFactory
* chore(server): auth IoC 11 - createAppTokenFromAccessCodeFactory
* chore(server): auth IoC 12 - refreshAppTokenFactory
* chore(server): auth IoC 13 - index repo
* chore(server): auth IoC 14 - localStrategyBuilderFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 11:02:43 +02:00
Kristaps Fabians Geikins
9f6d2d9d3a
chore(server): emails IoC 6 - sendVerificationEmailFactory
2024-09-10 14:26:06 +03:00
Kristaps Fabians Geikins
f10c30aa3c
chore(server): emails IoC 4 - requestNewEmailVerificationFactory
2024-09-10 14:00:13 +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
a12fda7f96
fix(workspaceInvites): fix error message ( #2840 )
2024-09-02 12:36:34 +02:00
Kristaps Fabians Geikins
7c6ea464e8
fix: support accepting invites even if a workspace member already ( #2826 )
...
* blocking workspace project invites from incorrect resolver
* invite create validation fixes + tests
* fix for email added on decline
* doing init validation on finalization as well
* more tests
* fix(server): allow accepting an email invite even if already a member
* fix(fe2): support accepting invites even if a workspace member already
2024-09-02 09:45:24 +02:00
Kristaps Fabians Geikins
80aa0aa20b
fix(server): fixed validation in regards to workspaces, when they're secondary resource targets ( #2814 )
...
* blocking workspace project invites from incorrect resolver
* invite create validation fixes + tests
* fix for email added on decline
* doing init validation on finalization as well
* more tests
2024-08-30 11:44:26 +02:00
Kristaps Fabians Geikins
1380d1d17f
feat(fe2): error reporting when invite (middleware level) auto-accept doesn't work ( #2711 )
...
* feat(fe2): auto-accept error toasts
* smarter error reporting
* typo
2024-08-20 17:27:53 +03:00
Kristaps Fabians Geikins
0b417c9ba0
feat(fe2): workspace invite cancel/resend + Invite dialog CTA in workspace home ( #2691 )
...
* feat(server): resend invite mutation
* invite resend/cancel from FE
* functional invite cta on workspace page
2024-08-20 10:17:42 +03:00
Kristaps Fabians Geikins
2bb7802fb9
feat: accept & decline workspace invite as a registered member ( #2675 )
...
* abstract base invite banner
* WIP banner actions
* WIP modify obj
* minor fix
* invite accept/decline cache mutations
* banner accept/decline basically works
* new block for accepting workspace invite
* WIP wrong account flow
* login/registration block changes
* add email invite related changes
* add new email FE
* add email w/ invite works
* final adjustments
* minor fixes
* addressing cr comments
* no-FF support
* extra workspace ff checks
2024-08-19 13:01:25 +03:00
Kristaps Fabians Geikins
4dae1569cd
feat(fe2): invite + list workspace invites ( #2629 )
...
* list invites table
* invites list works
* update last reminded date on resend
* fix FE
* WIP invitedialog + updated debounced utility
* invite create works
* exclude users correctly
* more adjustments
* minor cleanup
* using workspace invite server role
* test fix
* fixed multiple root eslint issues
* minor adjustments
2024-08-12 11:30:01 +03:00
Kristaps Fabians Geikins
50b5bdbbdd
chore(server): typescriptified auth strategies ( #2589 )
...
* rebuilt strategies.js
* local.js -> local.ts
* oidc.js -> oidc.ts
* google.js -> google.ts
* github.js -> github.ts
* azure-ad.js -> azureAd.ts
* minor fixes
* FE2 regen
* improved error reference page
* minor adjustment
* more error page improvements
* migrated helper
* testfix
2024-08-07 11:38:44 +03:00
Kristaps Fabians Geikins
455b21cba3
fix(server): manual workspace role assignment on project invite create + more bugfixes ( #2581 )
...
* prep for new projectinvite create mutation
* fix for serverRole not being taken into account in stream invite
* new workspace invite create mutation
2024-08-06 13:42:10 +03:00
Kristaps Fabians Geikins
7383779375
feat(server): registration (w/ and w/o invites) tests ( #2567 )
...
* WIP tests
* a couple of tests done
* most server registration tests done
* finalized tests
* lint fix
* added login tests too
2024-08-05 16:21:56 +03:00
Kristaps Fabians Geikins
281f77ac11
fix(server): some serverinvites regressions ( #2538 )
...
* project invite retrieval
* fix for invalid invite target when inviting registered user by email
* improved error msg w/ broken streamId
2024-07-29 19:15:26 +03:00