448 Commits

Author SHA1 Message Date
Iain Sproat b396c7b0b2 revise strategy and continue to use monolithic helm chart
- Helm Chart values scopes don't allow sub-charts without nesting shared values in parent helm chart under `global` namespace, and referencing in sub-chart from `global` namespace.
2025-04-01 20:18:55 +01:00
Iain Sproat 02f80b37cb fix helm test 2025-04-01 15:01:50 +01:00
Iain Sproat 8ec6e2677d fix container port 2025-04-01 14:54:03 +01:00
Iain Sproat dfc37a1a96 Fix imagePullSecrets 2025-04-01 14:46:50 +01:00
Iain Sproat e78c146500 fix: imagePullSecrets need to be on serviceAccount 2025-04-01 14:35:01 +01:00
Iain Sproat d12b2c5a8a Deploy to correct namespace 2025-04-01 14:32:05 +01:00
Iain Sproat 701b286b97 fix typo 2025-04-01 11:39:14 +01:00
Iain Sproat b4e04ee2fc Update existing Helm Chart to use liveness and readiness endpoints 2025-03-31 18:25:54 +01:00
Iain Sproat 2433380a1c feat(helm chart): separate helm chart for preview service 2025-03-31 18:19:44 +01:00
Iain Sproat 94faea23e8 Merge branch 'iain/bump-dependency-postgres' into iain/fileimport-update-expired-file-uploads 2025-03-31 12:16:43 +01:00
Iain Sproat d3f1cb3c57 chore(utils/postgres): bump dependency revision 2025-03-31 12:10:44 +01:00
Iain Sproat f47e1efd27 Update helm chart 2025-03-31 10:20:36 +01:00
Iain Sproat 0acdca9f97 feat(helm chart): support image pull secrets 2025-03-28 11:57:45 +00:00
Jedd Morgan 468eaccdfa feat(fileimport-service): Make .NET parser default (#4272)
* first pass removing the FF

* legacyimporter

* removed unused import
2025-03-27 18:24:04 +00:00
Iain Sproat ad9255cd39 fix liveness probe for node 22 2025-03-20 09:38:50 +00:00
Iain Sproat 6bddc57c39 fix(fileimport service): liveness probe should be quoted 2025-03-19 10:26:09 +00:00
Iain Sproat 70dd98ab59 fix(fileimport service): liveness probe in node 22 expects int not bool 2025-03-19 09:55:46 +00:00
Iain Sproat e663b857b8 Merge pull request #4205 from specklesystems/iain/preview-service-docker-compose
fix(docker compose): preview service can be used when canonical url is localhost
2025-03-18 14:18:18 +00:00
Iain Sproat 6c11fd5561 feat(fileimport service): allows nodejs inspection to be configured 2025-03-18 12:00:28 +00:00
Iain Sproat 2dc32094d0 feat(helm chart): can be configured to deploy preview service in cluster 2025-03-15 11:31:40 +00:00
Chuck Driesler 8dfbf24d91 feat(workspaces): enable move project region (#4135) 2025-03-13 19:39:59 +00:00
Iain Sproat d4bdea6eb6 fix(helm chart): fix typo in stripe env vars 2025-03-11 08:44:26 +00:00
Iain Sproat 05d7a8fbe2 fix(preview service): expose metrics port via helm chart (#4150)
- remove obsolete references to metricsPort
- allow listen Host to be configured
2025-03-10 19:53:10 +01:00
Alessandro Magionami 0a9284f735 chore: generate json schema 2025-03-10 17:45:44 +01:00
Alessandro Magionami dd241f9b86 chore(gatekeeper): add default values for new plans 2025-03-10 17:11:49 +01:00
Alessandro Magionami 762674e5e1 chore(gatekeeper): re-add team yearly price id 2025-03-10 15:36:22 +01:00
Alessandro Magionami dceedf512f chore(gatekeeper): remove last references to year limit for team plan 2025-03-10 10:11:40 +01:00
Alessandro Magionami dd461b2fb4 chore(gatekeeper): remove viewer product and prices 2025-03-07 14:38:44 +01:00
Alessandro Magionami cfa944ed8d chore(gatekeeper): add missing helm values for new plans 2025-03-07 12:10:12 +01:00
Gergő Jedlicska 61609de97e gergo/previews (#3765)
* feat(preview-generator): add new preview generator webapp

* wip(preview-service): reworking the preview service backend

* feat(previews): logging

* feat(preview-service): streamline payloads

* fix(preview-service): do not log the full payload

* feat(preview-service): build new preview service

* feat(preview-service): add separate response queue

* feat(previews): integrate preview queues with the server

* feat(previews): use module alias

* chore(previews): remove old preview service code

* feat(previews): log stuff on job statuses

* fix(previews): add missing deps and scripts

* fix(previews): package deps fix

* fix(server): moar typing fixes

* Metrics related to jobs: total count, request failures, response errors & durations

* duration should include unit.
- histogram metric should be summary
- error responses include duration in seconds
- attempt to remove metric before adding it (prevent errors with duplicate metrics)

* fix(server, frontend): some ts fixes

* fixes

* fix(frontend): remove unneeded ts-expect-error

* chore(preview-service): eslint

* TS fix

* feat(previews): more smoal fixes

* fix(preview-service): alias loading

* feat(helm): updates for new preview service queue setup

* feat(preview-service): launch new browser for each job

* feat(preview-service): add timeout, fix liveliness

* fix(helm): add access to new secret in service accounts

* tidy metrics into a separate file

* Remove broken preview service acceptance test

* fix broken import

* Add metrics to test

* feat(preview-service): handle preview service shutdown properly

* fix(previews): merge bork

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-03-06 14:26:56 +01:00
Kristaps Fabians Geikins 954b1a9f11 feat: plan prices accurately read from Stripe (#4104)
* WIP prices + new caching utils

* cached workspace plan prices

* GQL API done

* integrated in frontend

* fixed missing FF

* CR fixes

* integration tests

* removed non-existant team yearly env var
2025-03-05 12:23:38 +02:00
Iain Sproat 4d60e5e42b feat(feature flag): add workspacesNewPlanEnabled (#4101) 2025-03-03 12:50:43 +00:00
Alessandro Magionami ee92b254bc Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2728-full-seat-products-for-new-paid-plans 2025-02-28 09:37:57 +01:00
Mike 2ecb98146a Feat: prevent non work emails (#3993) 2025-02-26 10:55:02 +01:00
Alessandro Magionami 41454ad91a chore(gatekeeper): fix conflicts 2025-02-25 10:01:35 +01:00
Iain Sproat 18128aefec chore(helm chart): remove flag to use FE1 over FE2 (#4038) 2025-02-20 18:03:34 +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
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
Mike f376cfcc46 Fix: Always force email verification (#3990) 2025-02-15 08:30:57 +01:00
Gergő Jedlicska c4a6da410b feat(core): drop the closure table pls (#3900)
* feat(core): drop the closure table pls

* feat(core): remove closures feature flag

* feat(core): remove more closure stuff

* feat(core): only drop closure table if it exists
2025-02-07 14:06:53 +01:00
Iain Sproat 55315feb59 fix(server/diffdownload): fix the bug where client connection close events were not propogated to the database stream connection (#3921)
* WIP: trying to catch a bug

* great success

* reinstate gzip

* Remove feature flag

* remove stream-chain dependency

* remove superfluous logging lines

* re-align with original where possible

* re-align package.json

* More re-alignment with main branch before the previous 'fix'

* A smaller failing example
2025-02-04 11:09:53 +01:00
Iain Sproat 32c310f849 fix(server/objects): solves database connection resource leak when client connections are prematurely closed (#3889) 2025-01-28 15:56:21 +01:00
andrewwallacespeckle fc634ebfe5 Add force onboarding FF (#3897) 2025-01-28 10:04:54 +01:00
Iain Sproat e6adceda6c chore(Dockerfile): use COPY --link flag (#3869) 2025-01-22 15:03:13 +00:00
andrewwallacespeckle e68e3173a8 Add FF_FORCE_EMAIL_VERIFICATION (#3866) 2025-01-22 13:40:57 +00:00
Iain Sproat 9ee823a215 chore(Dockerfile): avoid missing cache when cloning repo (#3867) 2025-01-22 13:32:09 +00:00
Iain Sproat a1352fe8c8 chore(Dockerfile): remove all ADD statements as cache is missed (#3865) 2025-01-22 13:07:39 +00:00
Kristaps Fabians Geikins 347fa4b462 feat(server): improving knex query stack traces (#3855)
* feat(server): improving knex query stack traces

* minor cleanup

* more improvements
2025-01-21 10:59:09 +01:00
Kristaps Fabians Geikins dfed4ae5c1 feat(server): get request ctx from anywhere + log it w/ db operations (#3823) 2025-01-15 12:08:51 +02:00
Kristaps Fabians Geikins 3351e09418 feat(server): logging stack traces for db errors + allow async stack traces through env var (#3819) 2025-01-14 17:25:30 +01:00