Commit Graph

8254 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b4cf23f856 feat(fe2): more accessible error reference (#5090)
* feat(fe2): more accessible error reference

* use wrench icon

* michals comments

* more michals comments
2025-07-17 10:25:04 +03:00
Mike 0a57689469 Feat: Add private embeds to the pricing table (#5092) 2025-07-16 18:28:02 +02:00
Iain Sproat 875a1a1783 feat(previews): retry errored previews if feature flag enabled (#4498) 2025-07-16 15:30:19 +01:00
Kristaps Fabians Geikins b3e216a1ef feat(fe2): improved auth error logging (#5089) 2025-07-16 17:04:37 +03:00
Mike 0e8e27f415 Feat: Improve private embed alert message (#5088) 2025-07-16 15:49:11 +02:00
Mike c6e0239ccf Fix: Remove clearToken function (#5087) 2025-07-16 14:33:59 +02:00
Mike 5ae27ca5e1 Fix: Dont use cookie for auth token (#5086) 2025-07-16 14:17:42 +02:00
andrewwallacespeckle b59f232ed3 feat(fe): Support hyperlinks in comments
feat(fe): Support hyperlinks in comments
2025-07-16 10:02:20 +01:00
Mike 394b33d7d7 Fix: Rename embed token (#5084) 2025-07-16 10:39:59 +02:00
Mike 929cc14fe6 Fix: Private embed mixpanel track event and warning (#5082) 2025-07-15 19:16:17 +02:00
Jedd Morgan 537d58dd9e Update Dockerfile (#5080) 2025-07-15 16:57:33 +01:00
andrewwallacespeckle d79f2eeafb fix(fe): horizontal tabs underline alignment
fix(fe): horizontal tabs underline alignment
2025-07-15 15:53:17 +01:00
andrewwallacespeckle d2736f8211 fix(fe): horizontal tabs underline alignment 2025-07-15 15:43:15 +01:00
andrewwallacespeckle 8f104dcd24 Remove comment 2025-07-15 15:10:38 +01:00
andrewwallacespeckle ef742150ae Small improvements 2025-07-15 14:58:40 +01:00
andrewwallacespeckle c0f998b7c3 Show confirmation dialog before opening link 2025-07-15 14:50:11 +01:00
andrewwallacespeckle 8eb1376606 Add links. "Remove link" button 2025-07-15 14:02:13 +01:00
Alexandru Popovici f3974dd9d0 Alex/text updates (#5012)
* feat(viewer-lib): Text updates:
- Update to latest troika-three-text version
- Started working on the new TextBatch whoich will actually batch texts
- Augmented BatchedText type from troika
- Renamed old SpeckleText to TextLabel

* feat)viewer-lib): Copied over the batched version for the speckle text into our text material since troika won't export it

* feat(viewer-lib): First draft on text batching

* feat(viewer-lib): WIP on TextBatch and SpeckleText

* feat(viewer-lib): SpeckleText batch now has working TAS and BAS. Overloaded getBatches to also take an array of geometry types and added GeometryType.TEXT in places where required alongisde MESH

* feat(viewer-lib): Text batch has correctly transformed texts

* feat(viewer-lib): Patched troika BatchedText to allow per text opacity. Draw ranges for text batches are now functional

* feat(viewer-lib): Fixed an issue with the BAS not correctly reporting bounds. Had to override two methods completely in our SpeckleText extension of the BatchedText just so that we don't do stupid things and still get good performance when dealing with a huge number of texts

* feat(viewer-lib): Added text batch object count limit. Default is 5k. Implemented proper material caching and cloning inside SpeckleText. Overriden the default updateBounds function so that we don't waste tens of millisecons per frame!!! pointlessly

* feat(viewer-lib): Implemented TextBatchObject along with individual text batch object transform manipulation at batch level.

* chore(viewer-lib): Updated the pipelines to not render text geometries twice

* feat(viewer-lib): Implemented RTE for batched text rendering. As with the rest of the geometry types, RTE is automaic and will only be used when needed

* feat(viewer-lib): Integrated remaining text v3 features: alignments and maxWidth

* feat(viwer-lib): Implemented billboarding and RTE billboarding for text.

* feat(viewer-lib): Text batches now report correct object materials and can be filtered properly

* fix(viewer-lib): Some Fixes:
- The need for text RTE is now correctly being computed on the right text dimensions
- Sequential update ranges now correctly apply materials to all of them

* fix(viewer-lib): RTE text box is now correctly transformed. The text batch object only uses the TAS for intersecting since it's BAS is redundant.

* feat(viewer-lib): Text batches now correctly use gradient/ramp textures along with sample indices for colored filtering.

* feat(viewer-lib): Implemented raycasting for billboarded text batches in the most simple and robust way I was capable of. Lacks TAS speedup but it's a compromise we have to make and one which we probably will never regret

* feat(viewer-lib): Good progress on reworking TextLabel, which replaces the old multi purpose SpeckleText, which we use internally for measurements. More precise rendering, no more rogue margins between text and background. Regular billboarding now also works, along with non-billboarded rendering

* feat(viewer-lib): Finally a unified billboarding solution in SpeckleBasicMaterial. Supporting both world and screen billboarding; SpeckleTextMaterial now extends SpeckleBasicMaterial; TextLabel now has proper control over size and margins. No more weird offsets. Added background margins to the text params which work in both world and screen space.

* feat(viewer-lib): Implemented raycasting for all billboarding types. Spent quite some time on the screen billboarding one because of a stupid mistake

* chore(viewer-lib): Added (vibed) type declaration file for troika's Text class and fixed compiler errors for TextLabel

* chore(viewer-lib): Renamed SpeckleText to SpeckleBatchedText and fixed all compiler errors. Updated type definition file

* feat(viewer-lib): Integrated TextLabel with measurements. Simplified a lot of code

* fix(viewer-lib): Some updates and fixes to text and measurements integration
- Screen space billboarding now also takes an NDC offset alongside the size.
- Added auto margin calculation for TextLabel background so it's always centered regardless of anchor-ing
- DPR is automatically factored in for TextLabel
- Some changes to sizes and margins for measurements

* fix(viewer-lib): Bunch of fixes and tweaks

* fix(viewer-lib): Area measurement's area plane no longer overdraws on top of the area value text label via simple stenciling

* fix(viewer-lib): Fixed CI build

* fix(viewer-lib): Fixed CI build

* feat(viewer-lib): Slightly reduces the size and h margin of text gizmos for measurements

* fix(viewer-lib): Fixed incorrect text transformation when neither RTE nor billboarded

* chore(viewer-lib): Added review suggestions
2025-07-15 14:48:13 +03:00
Mike ed875f0134 Feat: Enable embedding private/workspace projects (#5047) 2025-07-15 13:25:12 +02:00
Iain Sproat b960ba6f2a fix(preview service): relative import should use alias (#5075) 2025-07-15 12:22:03 +01:00
Mike f1739b46b2 Feat: Remove SpeckleCon banner/workspace explainer code (#5071) 2025-07-15 12:49:49 +02:00
Jedd Morgan 53e2f11704 bump ifc deps (#5074) 2025-07-15 11:46:51 +01:00
Iain Sproat a8e3707e6d chore(deps): preview service bump @speckle/viewer to 2.25.7 (#5073) 2025-07-15 11:29:24 +01:00
Mike 117c838026 Fix: Improve Intercom fetching (#5072) 2025-07-15 12:19:46 +02:00
Daniel Gak Anagrov e6cd2ab441 feat(preview-service): re introduce preview service acceptance test (#5049)
* feat: basic structure for running tests

* feat: added test to ci

* feat: added server test (wip)

* refactor: restuctured entrypoint

* feat: added supertest

* fix: missing deps

* fix: test example ci

* fix: updated default envs

* feat: debug ci

* feat: switch browser

* fix: superadmin ci

* feat: try another image

* fix: try another image with node

* fix: mr comments

* fix: ci job

* chore: workaround to push the image

* chore: try with new base image

* chore: retry

* chore: retry

* chore: retry

* chore: retry

* chore: retry

* fix: test via debug

* fix: envbar

* chore: wrapped up changes, cleaned mr

* chore: fix linter and skiped puppeteer download

* fix: removed paralelism

* fix: paralelism issues
2025-07-15 10:56:09 +02: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
Kristaps Fabians Geikins d68f7943cc feat(ui-components): proper LayoutMenu mount on body support + fixes (#5069) 2025-07-14 15:34:52 +03:00
Chuck Driesler dc3cfb4263 chore(tokens): small cleanup of error message (#5068) 2025-07-14 12:15:32 +01:00
Kristaps Fabians Geikins 0f084ae2c9 feat(fe): more accurate download reporting (#5067) 2025-07-14 13:56:01 +03: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 83079caff6 feat(fe2): allow copying file upload error from badge (#5064) 2025-07-14 10:47:20 +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
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
Mike 107c0cd902 Fix: Update text and heading styles (#5063) 2025-07-11 15:57:55 +02:00
andrewwallacespeckle 9cc30b30d1 fix(fe): underline position on tab resize in Horizontal tabs
fix(fe): underline position on tab resize in Horizontal tabs
2025-07-11 14:20:08 +01:00
Iain Sproat ba6c0dfef5 fix(server/dockerfile): bump node version to 22 (#5060) 2025-07-11 11:46:23 +02:00
Alexandru Popovici 63015f3d9b fix(viewer-lib): Camera planes need to be recomputed after a camera jumping to goal in the non animated setCameraView (#4836) 2025-07-10 21:00:26 +03: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
andrewwallacespeckle e82a2931cc Remove unnecessary watch 2025-07-10 14:58:27 +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
andrewwallacespeckle fbc277d125 Merge branch 'main' into andrew/fix-member-table-underline-reactivity 2025-07-10 14:30:39 +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
Adam Hathcock 005b6224d0 adjust waits and actually save the root last (#5056)
* adjust waits and actually save the root last

* Update packages/objectloader2/src/core/objectLoader2.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-10 11:10:40 +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
Jedd Morgan 3fbaf6c252 Update Dockerfile (#5054)
* Update Dockerfile

* Update Dockerfile

* Update Dockerfile
2025-07-10 10:36:35 +01:00
Daniel Gak Anagrov f1f08d052e chore(deps): bump git version (#5053) 2025-07-10 11:29:39 +02:00
Adam Hathcock f86893935f Change and fix BatchingQueue implementation (#5044)
* BatchingQueues allowed processing to happen more than one at a time.  Simplify and don't allow this.

* Use proper logging

* clean up and fix tests

* add more batchingqueue tests

* fixed according to AI

* fix: linting issues

* make deferment more intelligent and fix logging

* add to deferment tracking when bulk adding reads

* format

* fix tests
2025-07-10 10:13:58 +01:00