Commit Graph

2863 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 0633340de3 fix(server): multiregion saved views not being listed properly (#5183) 2025-08-05 15:33:27 +03:00
Kristaps Fabians Geikins 902c290a63 fix(server): attempting to import .d.ts files (#5180) 2025-08-05 13:20:32 +03:00
Kristaps Fabians Geikins 9545ff6147 fix(shared): parseFeatureFlags should ignore empty string values (#5179)
* fix(shared): parseFeatureFlags should ignore empty string values

* updated values.yaml

* updated values.yaml

* tests fix
2025-08-05 12:54:53 +03:00
Kristaps Fabians Geikins a6287fc06d feat(fe2 & server): saved views foundation (list & view) + bits n bobs (#5163)
* init db migration

* WIP store view

* create service call

* WIP insertion

* insert sort of works

* moving code arounmd

* creation tests

* avoid duplicate entries

* fixes from main

* basic group retrieval works

* group filtering works

* WIP view listing

* filter by acl

* fixes + WIP single group retrieval

* wip pivot

* more pivot query fixes

* tests fixed after pivot

* views list tests

* fixing test command

* business plan only checks

* more tests for coverage

* .dts import fix

* cli fix

* anutha one

* auth policy tests for business plan access

* WIP saved views panel base

* BE listing adjustments

* WIP group rendering

* group render done

* WIP post create cache updates

* listing fine?

* my vs theirs

* auto open

* minor fixes

* click load omg

* nicely loading views

* type fix

* less spammy loading

* another type fix:

* more lint fix

* test fix

* codecov disable

* moar coverage

* fix sidebar flashin

* more test coverage

* more test cvoverage

* minor adfjustments

* adj

* saved view wipe fixes

* CSR viewer

* more improvements

* extra feature flag checks

* lint fix

* feature flags fix

* more test fixes
2025-08-05 11:52:50 +03:00
Kristaps Fabians Geikins 23e9cd31b9 fix(server): yarn dev fix 2025-08-04 13:50:31 +03:00
Kristaps Fabians Geikins 505df5b209 fix(server): tsx env check 2025-08-04 13:45:58 +03:00
Kristaps Fabians Geikins 3ff32d639d feat(server): allow running migrations w/o having to build (#5178)
* feat(server): allow running migrations w/o having to build

* package.json fix

* avoid string mutation

* CLI for purging test DB
2025-08-04 13:40:28 +03:00
Daniel Gak Anagrov 4e62c78b15 fix: added in progress to ifc importer service (#5172)
* fix: added in progress to ifc importer service
* feat: improved background job handling
2025-07-31 17:11:00 +02:00
Chuck Driesler e3d0c5aab3 fix(tests): soften flaky test (#5164)
* fix(tests): soften flaky test

* fix(tests): use different syntax
2025-07-30 13:04:59 +01:00
Daniel Gak Anagrov 873c52ecc2 fix: stripe (#5156) 2025-07-28 18:40:34 +02:00
Daniel Gak Anagrov 5bf5514819 fix: protect message of activity stream beeing to long (#5146)
* fix: protect message of activity stream beeing to long

* feat: tests

* fix: test
2025-07-28 15:43:49 +02:00
Gergő Jedlicska c8056d71f3 feat(ifc-import-service): integrate the specklepy parser (#5147)
* feat(ifc-import-service): integrate the specklepy parser

* chore(ifc-import-service): lock packages
2025-07-28 12:46:27 +02:00
Gergő Jedlicska 2ed6b6bcf9 feat(versions): allow markingReceived for versions with a streams:read (#5151)
scope
2025-07-28 12:41:57 +02:00
Gergő Jedlicska c9342e7dfb feat(gatekeeper): update stripe checkout session params for anrok (#5149) 2025-07-28 12:14:48 +02:00
Mike 24b6f1f329 Feat: Improved workspace switcher (#5058) 2025-07-24 12:31:43 +02:00
Daniel Gak Anagrov f8c8170e48 feat(fileImport): gql mutation for nextGen (#5132)
* feat: drafted gql mutation

* fix: warning issue

* unified naming of action

* feat(file_uplaod): moved finishFileUplaod test to graphql

* fix: tests

* removed nextGen rest endpoint

* fix: Int type, adapted fileupload next gen call

* feat: udpated gqlgen

* improved fileimport errors

* fix: access control

* mr comments

* fix: tests

* fix: import
2025-07-24 08:00:52 +02:00
Iain Sproat 6a1f7ed767 fix(server): object previews, ensure sorting same if no cursor (#5136)
* fix(server): object previews, ensure sorting same if no cursor

* fix tests; with a null cursor it was implicitly using asc order
2025-07-23 16:39:58 +01:00
Iain Sproat d0e3377978 feat(file uploads): large file uploads API is always available (#5103) 2025-07-23 13:36:27 +01:00
Kristaps Fabians Geikins 8d72ae9cab fix(server): extra fixes for running TS directly (#5135) 2025-07-23 12:44:19 +03:00
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 e34a44bf66 fix(server): incorrectly dealing w/ different email casing (#5131)
* fix(server): incorrectly dealing w/ different email casing

* Cr comments
2025-07-23 10:19:46 +03:00
Kristaps Fabians Geikins cad77b92c9 feat(fe2): conditional cross origin isolation on viewer page (#5124)
* feat(fe2): conditional cross origin isolation on viewer page

* minor change

* minor cleanup
2025-07-22 10:14:49 +03:00
Daniel Gak Anagrov 9ecb3bf0f2 fix(ci): fix code cov noise (#5118)
* fix: testcov noise due to nyc empty reports

* fix: codecov yml format
2025-07-21 15:14:19 +02:00
Daniel Gak Anagrov 6d33b4989c feat(file_upload): update observability metrics (#5079)
* feat: added count of background jobs
* feat: added repository function to count background jobs
* feat: addapted metrics to new queueing system
* feat: added duration to fileuploads
2025-07-21 10:51:14 +02:00
Daniel Gak Anagrov e5fb1361c6 fix: getting all user projects on deletion and user filter (#5112)
* fix: getting all user projects on deletion and user filter
2025-07-21 10:07:46 +02:00
Iain Sproat 964bc0fd44 Revert "chore(server/logging): logging for user deletion issue in prod (#5106)" (#5109)
This reverts commit 61ebb8f34e.
2025-07-18 12:26:34 +01:00
Kristaps Fabians Geikins 7bda848013 feat: a couple of logging improvements (#5110) 2025-07-18 13:56:25 +03:00
Iain Sproat 61ebb8f34e chore(server/logging): logging for user deletion issue in prod (#5106) 2025-07-18 11:15:00 +01:00
Iain Sproat 3d1346ff06 chore(server/logging): preview resurrector logs database region (#5104) 2025-07-18 11:07:24 +01:00
Iain Sproat f85f346285 chore(server/errors): add message to error (#5105) 2025-07-18 10:47:28 +01:00
Iain Sproat fd4588c99b feat(server/previews): retry dead preview resurrection if no backpressure (#5099) 2025-07-17 13:09:29 +01:00
Chuck Driesler d2f2d7bcfd feat(automate): allow function authors to regenerate function tokens (#5057)
* feat(automate): expose function regeneration endpoint

* chore(automate): remember to call the function

* fix(automate): use correct auth code action

* fix(automate): token regenerate policy

* fix(automate): expose function regen token policy

* feat(automate): workspace automation settings tab

* feat(automate): function token regeneration dialog

* fix(automate): improve gql usage in vue components

* chore(authz): tests for automate function policies

* fix(automate): use paginated query

* fix(automate): resolve initial result
2025-07-17 11:24:58 +02:00
Gergő Jedlicska 1465df5923 chore(server): bump sharp to fix CI (#5094) 2025-07-17 11:02:17 +02:00
Iain Sproat 875a1a1783 feat(previews): retry errored previews if feature flag enabled (#4498) 2025-07-16 15:30:19 +01:00
Daniel Gak Anagrov c7d97eb25c feat(activity): cronjob to backfill workspace seats, plans and subcriptions and project acl activity (#5027)
* feat: backfill as a scheduled execution
2025-07-14 16:28:04 +02:00
Chuck Driesler dc3cfb4263 chore(tokens): small cleanup of error message (#5068) 2025-07-14 12:15:32 +01:00
Gergő Jedlicska a1c370aafe feat(billing): allow tax id collection during checkout (#5066) 2025-07-14 10:43:37 +02:00
Kristaps Fabians Geikins b29331705e chore(server): get rid of duplicate gql TS types (#5065) 2025-07-14 11:31:12 +03:00
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
Gergő Jedlicska 520e931211 Gergo/web 3685 create new standalone python app for speckleifc based parser (#5051)
* feat(backgroundjobs): add new background jobs module for file imports
queueing

* fix(fileuploads): a merge gone wrong

* feat(backgroundjobs): rename rhino queue env var

* test(backgroundjob): use deep equal claude

* fix(fileuploads): sync PR review

* feat(ifc_importer): initial importer app implementation with a sleeping
worker

* chore(pre-commit): remove black as a formatter, its now handled by ruff

* fix(ifc-importer): better handling of max job attempt

* feat(eslint): ignore package from eslint
2025-07-11 20:12:43 +02:00
Iain Sproat ba6c0dfef5 fix(server/dockerfile): bump node version to 22 (#5060) 2025-07-11 11:46:23 +02:00
Gergő Jedlicska a5d624166b feat(backgroundjobs): add new background jobs module for file imports (#5041)
* feat(backgroundjobs): add new background jobs module for file imports
queueing

* fix(fileuploads): a merge gone wrong

* feat(backgroundjobs): rename rhino queue env var

* test(backgroundjob): use deep equal claude

* fix(fileuploads): sync PR review

* feat(backgroundjobs): add origin server url to the background jobs table

* test(backgroundjobs): make tests pass
2025-07-10 18:04:16 +01:00
Chuck Driesler 2c66b3aef5 fix(embedTokens): return all metadata on embed token create (#5055)
* fix(embedTokens): return all metadata on embed token create

* chore(embedTokens): no !

* fix(embedTokens): more correct type usage

* fix(embedTokens): update codegen.yml
2025-07-10 14:36:14 +01:00
Gergő Jedlicska 8c5d4d9654 fix(commits): return last commit of branch / stream even if its behind
the history limit
2025-07-10 12:50:26 +01:00
Daniel Gak Anagrov c2a28f8674 fix(#5018): avatar can be removed (#5022)
* fix: avatar can be removed
* feat: added tests for activeUser updates
2025-07-10 11:45:32 +02: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
Chuck Driesler 26070c5338 fix(embedTokens): use arg (#5050)
* fix(embedTokens): use arg

* chore(scripts): revert test command change
2025-07-09 14:11:34 +01:00
Chuck Driesler c35b2ce8c2 fix(embeds): private embed pagination (#5040)
* feat(tokens): create embed-specific tokens

* fix(tokens): repo functions and policy sketch

* chore(authz): embed token policies and tests

* chore(authz): fine

* chore(gql): lint descriptions

* fix(embedTokens): better api surface, repo structure

* chore(embedTokens): test fixes

* fix(embeds): check resource access

* fix(embeds): use resource access util

* fix(embedTokens): paginate tokens, emit policy checks

* fix(embeds): better query typing

* chore(embeds): rename property
2025-07-08 13:17:26 +01:00
Iain Sproat f769ff4572 fix(server/fileuploads): longer time out before expiry, from last converted time (#5039) 2025-07-08 09:42:36 +01:00