Commit Graph

6316 Commits

Author SHA1 Message Date
Iain Sproat 07943abc6f Merge branch 'main' into iain/ratelimiter-should-respect-configuration 2025-02-23 12:49:05 +00:00
Iain Sproat 01a49dffee fix(tests): enable rate limiter in a safe way (#4048) 2025-02-23 11:17:17 +00:00
Iain Sproat d9a333d23c Merge branch 'iain/test-enable-rate-limit-correct-way' into iain/ratelimiter-should-respect-configuration 2025-02-21 17:47:26 +00:00
Iain Sproat d2436e3a4d fix(ratelimiter): do not check rates if rate limiter disabled 2025-02-21 17:45:31 +00:00
Iain Sproat b97828dd85 Add missing file 2025-02-21 17:20:08 +00:00
Iain Sproat 00ed0f6139 fix(tests): enable rate limiter in a safe way 2025-02-21 17:16:57 +00:00
Gergő Jedlicska 5b0bb3b65d gergo/web 2635 set up new plans in the backend (#4031)
* feat(gatekeeper): add new free plan option as an unpaid workspace plan

* feat(workspaces): add feature flag for new plans

* feat(gatekeeper): add free plan option to workspace plans

* Added button in FE

* Make button more beautifuller

* feat(gatekeeper): enable creating workspaces on a free plan

* Fix

* Fix FE linting

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2025-02-21 14:49:04 +01:00
Kristaps Fabians Geikins 90ef5bb58c fix(fe2): gqlgen breaks when using satisfies operator (#4045) 2025-02-21 14:18:08 +01:00
Iain Sproat 128a6e76cf fix(file import): bump ubuntu package for python3.12 (#4042)
- pinned versions are necessary but ubuntu's habit of pulling old versions breaks stuff
2025-02-21 10:54:15 +00:00
Kristaps Fabians Geikins 81f9d343de fix(viewer-sandbox): various build errors (#4041) 2025-02-21 08:54:16 +02:00
Iain Sproat 18128aefec chore(helm chart): remove flag to use FE1 over FE2 (#4038) 2025-02-20 18:03:34 +00:00
Iain Sproat 12fc717115 feat(objectsender): expose all options to allow configuration (#2751) 2025-02-20 12:30:28 +00: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
Chuck Driesler d074aed010 chore(sso): more sso logs (#4037)
* chore(sso): more sso logs

* chore(sso): chill
2025-02-20 11:57:39 +00:00
Mike 7827d2f1f6 Feat: New dark mode blue (#4036) 2025-02-20 11:45:39 +01:00
Mike 45d138e682 Fix: Typo in slug error (#4035) 2025-02-20 11:45:14 +01:00
Mike 6c254a8c65 Fix: Short ID generation + error (#4034) 2025-02-20 09:36:57 +01:00
Mike 6b2aae24a8 Feat: New Connectors page (#4030) 2025-02-19 13:11:03 +01:00
Chuck Driesler b5c8e90937 fix(sso): one more (#4028) 2025-02-19 11:32:14 +00:00
Kristaps Fabians Geikins fdbc05a942 fix(server): Object.children() query data values missing sometimes (#4015)
* fix(server): Object.children() query data values missing sometimes

* minor change
2025-02-19 12:35:26 +02:00
Iain Sproat d490f1575d fix(server/auth): actually delete refresh and auth tokens (#4027)
- resolves bug confirmed by Fabians https://github.com/specklesystems/speckle-server/pull/3880#discussion_r1959783741
2025-02-19 08:40:39 +00:00
Chuck Driesler c7d3171da8 chore(tests): repair lint (#4025) 2025-02-18 17:15:30 +00:00
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 f47c9794ca chore(ci): re-enable codecov (#3502) 2025-02-18 13:05:59 +00: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