Commit Graph

4886 Commits

Author SHA1 Message Date
Chuck Driesler 86c113b29b feat(regions): move project automations (#3925)
* feat(regions): repo functions for copying project branches and commits

* chore(regions): wire up move to resolver

* chore(regions): successful basic test of project region change

* fix(regions): sabrina carpenter please please please

* fix(regions): repair multiregion test setup

* chore(regions): appease ts

* chore(multiregion): update test multiregion config

* chore(multiregion): fix test docker config and test

* chore(multiregion): use transaction

* chore(multiregion): maybe this will work

* fix(multiregion): drop subs synchronously

* chore(multiregion): desperate test logs

* chore(multiregion): somehow that worked?

* chore(multiregion): add load-bearing log statement

* chore(multiregion): move services

* fix(multiregion): test drop waits

* chore(regions): fix import

* chore(regions): make test a bit more thorough for good measure

* fix(regions): move project objects

* chore(regions): add tests for object move

* feat(regions): move project automations

* chore(regions): add tests for moving automations

* chore(regions): more tests for moving automate data

* fix(regions): speed up inserts

* fix(regions): simplify postgres usage

* chore(regions): repair build

* fix(regions): improve queries

* chore(regions): again
2025-02-18 15:48:00 +00:00
andrewwallacespeckle 974598b1fd Check for showControls (#4024) 2025-02-18 15:44:17 +00:00
Iain Sproat 26114eae3e fix(logging): sanitize log message to avoid printing db connection string (#3652) 2025-02-18 14:09:55 +00:00
Iain Sproat 1c0b6e228d chore(server/middleware): allow CORS to be configurable (#4018)
- renames corsMiddleware to corsMiddlewareFactory to follow naming convention
- optionally allow cors middleware to be configured
- amend direct calls of `cors` package to now use middleware factory
2025-02-18 13:50:34 +00:00
Iain Sproat 5256d83fab refactor(server/middleware): compression enabled logic in separate module (#4006)
- the logic to enable compression is via env helper
- tidies app.ts by moving logic to separate file
2025-02-18 13:32:10 +00:00
Chuck Driesler 3f51031a45 fix(sso): lowercase emails for sso (#4017) 2025-02-18 13:28:21 +00:00
Mike af90b46d49 Fix: Token typo (#4022) 2025-02-18 14:25:30 +01: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 49438f089d chore: all CI server test jobs have all FFs on by default (#4016) 2025-02-18 14:23:15 +02:00
Dimitrie Stefanescu aacaa09fa3 Merge pull request #4013 from specklesystems/dim/speckle-desktop-auth-service
feat: adds a first party app for the desktop auth service
2025-02-18 11:56:27 +00:00
Dimitrie Stefanescu c37bf28a0e tests: fixes tests for the new reality 2025-02-18 11:39:53 +00:00
Chuck Driesler f2ce7d8f17 chore(automate): track usage of test automations (#3992)
* chore(automate): track usage of test automations

* fix(automate): consolidate mixpanel event
2025-02-18 11:37:56 +00:00
Alexandru Popovici cd2fbd657e Fix(viewer-lib): Empty normals array force viewer normal calculation (#4002) 2025-02-18 12:57:40 +02:00
Dimitrie Stefanescu 0530e4313b feat: nicer end user description 2025-02-18 10:57:08 +00:00
Dimitrie Stefanescu 3ddb92f88d feat: adds a first party app for the desktop auth service 2025-02-18 10:50:43 +00:00
andrewwallacespeckle eb7aa64c10 Still go through middleware when no FF for force onboarding (#4012) 2025-02-18 10:00:44 +00:00
Mike 42b841d36f Feat: Add projects subscription to dashboard (#4011) 2025-02-18 10:25:13 +01:00
Iain Sproat 92976ecee1 refactor(server/metrics): register metrics route in Metrics module (#4007)
- tidy app.ts by moving route registration to responsible module
2025-02-18 10:01:50 +01:00
Iain Sproat abe165e264 fix(server): improve logging of errors thrown by Express body parsing middleware (#3971) 2025-02-18 08:54:47 +00:00
Chuck Driesler a443dd5af4 fix(sso): check emails correctly (#4009) 2025-02-17 20:51:20 +00:00
Gergő Jedlicska 26fbe78998 feat(workspaces): remove regular workspace metrics tracking (#4008) 2025-02-17 21:30:42 +01:00
Iain Sproat 0c83919ca2 chore(server): one error handler for logging the other for metrics (#4005) 2025-02-17 16:55:48 +00:00
Iain Sproat 1fcfdcedc3 fix(server/ratelimiter): handle response already sent (#4004) 2025-02-17 17:05:34 +01:00
Chuck Driesler d3b8cdba8f fix(sso): azure upn fallback (#3982)
* fix(sso): azure upn fallback

* fix(sso): more explicit types

* fix(sso): update redirects

* fix(sso): safer property check
2025-02-17 16:05:06 +00:00
andrewwallacespeckle ab58a93b58 use ClientOnly (#4003) 2025-02-17 14:39:22 +00:00
Iain Sproat ee54a461a2 fix(server/app): error handling of metrics renamed & relocated in middleware stack (#4001) 2025-02-17 14:19:11 +00:00
Alessandro Magionami bc70332d97 fix(workspaces): block god mode on mutations (#3999) 2025-02-17 14:41:23 +01:00
Kristaps Fabians Geikins b4260a3885 minor adjustment 2025-02-17 15:23:25 +02:00
Kristaps Fabians Geikins 4b7740eb17 Merge branch 'main' into fabians/web-2415-6 2025-02-17 15:15:52 +02:00
Kristaps Fabians Geikins 6c5da56650 Merge branch 'main' into fabians/web-2415-5 2025-02-17 14:56:51 +02:00
Kristaps Fabians Geikins f51d632ef7 Merge branch 'main' into fabians/web-2415-4 2025-02-17 14:23:33 +02:00
Kristaps Fabians Geikins 6b35c1f5a6 minor adjustment 2025-02-17 13:56:02 +02:00
Kristaps Fabians Geikins 4dcfbb251b chore(server): moving out branch sub reporting to separate listeners 2025-02-17 13:56:02 +02:00
Kristaps Fabians Geikins fe3982b6cf undo ts check 2025-02-17 13:55:43 +02:00
Kristaps Fabians Geikins 4278e20467 chore(server): refactor activityStream invocations - batch #3 - branches 2025-02-17 13:55:43 +02:00
Kristaps Fabians Geikins 34b11cf8d0 Merge branch 'main' into fabians/web-2415-2 2025-02-17 13:50:18 +02:00
Chuck Driesler 60e74b34e1 feat(regions): move project objects (#3924)
* feat(regions): repo functions for copying project branches and commits

* chore(regions): wire up move to resolver

* chore(regions): successful basic test of project region change

* fix(regions): sabrina carpenter please please please

* fix(regions): repair multiregion test setup

* chore(regions): appease ts

* chore(multiregion): update test multiregion config

* chore(multiregion): fix test docker config and test

* chore(multiregion): use transaction

* chore(multiregion): maybe this will work

* fix(multiregion): drop subs synchronously

* chore(multiregion): desperate test logs

* chore(multiregion): somehow that worked?

* chore(multiregion): add load-bearing log statement

* chore(multiregion): move services

* fix(multiregion): test drop waits

* chore(regions): fix import

* chore(regions): make test a bit more thorough for good measure

* fix(regions): move project objects

* chore(regions): add tests for object move

* fix(regions): speed up inserts

* fix(regions): simplify postgres usage

* chore(regions): 100 => 10
2025-02-17 10:51:12 +00:00
Mike 9c587884c8 Fix: Settings workspace sidebar groups styling (#3996) 2025-02-17 10:42:59 +01:00
Gergő Jedlicska bf80347abf gergo/web 2664 workspace backend powered metrics (#3985)
* feat(workspaces): delete workspace emit event

* feat(workspaces): move workspace group metrics to the backend

* Removed FE mixpanel group update

* Remove fragment

* test(gatekeeper): add unittest to new gatekeeper service

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2025-02-17 09:50:16 +01:00
Mike f376cfcc46 Fix: Always force email verification (#3990) 2025-02-15 08:30:57 +01:00
andrewwallacespeckle c10df776e0 Add padding when customIcon is defined (#3987) 2025-02-14 12:41:14 +00:00
Mike ece665a8ae Fix: Add banner back (#3986) 2025-02-14 11:23:09 +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
Mike 4f35d994b4 Fix: Improve feedback logging formatting (#3984) 2025-02-13 21:39:00 +01:00
Mike 40daa7bf77 Feat: Update project invites (#3937) 2025-02-13 17:11:54 +01:00
Mike 7b303ddbd6 Feat: Show embed URL (#3980) 2025-02-13 16:40:31 +01:00
Alexandru Popovici e9997f1c62 feat(viewer-lib): Loader now allows unknown type for resourceData, so each loader can treat it the way it wants (#3981) 2025-02-13 17:32:25 +02:00
Chuck Driesler c382064585 feat(regions): move project branches and commits (#3843)
* feat(regions): repo functions for copying project branches and commits

* chore(regions): wire up move to resolver

* chore(regions): successful basic test of project region change

* fix(regions): sabrina carpenter please please please

* fix(regions): repair multiregion test setup

* chore(regions): appease ts

* chore(multiregion): update test multiregion config

* chore(multiregion): fix test docker config and test

* chore(multiregion): use transaction

* chore(multiregion): maybe this will work

* fix(multiregion): drop subs synchronously

* chore(multiregion): desperate test logs

* chore(multiregion): somehow that worked?

* chore(multiregion): add load-bearing log statement

* chore(multiregion): move services

* fix(multiregion): test drop waits

* chore(regions): fix import

* chore(regions): make test a bit more thorough for good measure

* fix(regions): speed up inserts

* fix(regions): ignore workspace conflict on move
2025-02-13 14:39:23 +00:00
Mike c1d6036830 Fix: WS delete redirect and settings middleware (#3979) 2025-02-13 15:13:11 +01:00
Chuck Driesler adb901f0c4 chore(sso): more logs for missing profile data (#3978)
* chore(sso): more logs for missing profile data

* fix(sso): use logger in req

* fix(sso): log provided claims without values
2025-02-13 13:11:47 +00:00