Commit Graph

3350 Commits

Author SHA1 Message Date
andrewwallacespeckle 7aaf25f18e Bugfix: Wrong Condition on Local Strategy Label (#2020)
* Update v-if to check for local strategy

* Add extra condition
2024-02-09 15:46:02 +00:00
Kristaps Fabians Geikins 0a63afb6aa feat: various observability improvements (#2027)
* feat(server): adding userId to req logs

* feat(server): adding userId to gql logs

* feat(fe2): adding userId to logger calls

* feat(fe2): more userId logging additions

* even more thorough logging in FE2

* more adjustments

* add country to fe2 logs

* added prop to help distinguish gql req time logs

* get initial SSR req id in CSR logs

* improved 'fetch failed' error

* better rate limit error message

* minor improvements
2024-02-09 13:56:13 +02:00
Gergő Jedlicska 3a526cdf9a feat: make automate token scope public (#2025) 2024-02-09 11:04:20 +01:00
github-actions[bot] 8185683b4a Update image digests (#1966)
Signed-off-by: specklebot <devops@speckle.systems>
Co-authored-by: specklebot <devops@speckle.systems>
2024-02-09 01:13:48 +00:00
Alexandru Popovici 92a38181c1 Fix for Safari's RangeError in the object-loader (#2012)
* Fix for Safari's RangeError in the object-loader

* Using chunk to split the large id arrays into smaller ones. It's nicer but much slower
2024-02-08 16:23:51 +02:00
Gergő Jedlicska 001992a8f4 fix: allow object result case message to be null (#2024) 2024-02-08 14:56:42 +01:00
Alexandru Popovici 549da1516c Added a check to make sure entire instance sets are considered for hw instancing, and also a check for each instance transform (#2026) 2024-02-08 10:27:28 +02:00
AlexandruPopovici 963e80a106 Fixed the compile error 2024-02-08 00:26:20 +02:00
Alexandru Popovici 334f6a4239 Improved insolation speed considerablyby using newer methods for looking up nodes and ids (#2008) 2024-02-07 23:30:53 +02:00
Alexandru Popovici 6a5f7bb031 Added a default null text material to Materials. TextBatch now returns correct bounds (#2016) 2024-02-07 23:29:05 +02:00
Alexandru Popovici 666aa2d736 Fixed compile errors in sandbox (#2023)
* Fixed compile errors in sandbox

* updated viewer readme
2024-02-07 15:39:40 +02:00
Kristaps Fabians Geikins e65caad1f3 feat(fe2): /profile route for user profile edit [WBX-66] (#2015)
* feat(fe2): /profile route for profile edit dialog

* making dialogs render in SSR
2024-02-07 14:30:52 +02:00
Kristaps Fabians Geikins 9caa2a37c8 feat(fe): auto accept stream/project invite on email link click [WBX-73] (#2017)
* feat(fe2): project invite auto accept

* fix(fe2): improved CSR error logging

* feat(fe1): auto accept stream invite on email link click

* minor type fix

* tests fix
2024-02-07 14:26:59 +02:00
Kristaps Fabians Geikins 53ca3610b2 chore: upgrade from vite 3.2.7 (#2022) 2024-02-07 14:25:44 +02:00
Alexandru Popovici ef660de293 Updated viewer version (#2021) 2024-02-06 21:04:43 +02:00
Iain Sproat b6b37921b9 fix(helm-chart/preview-service): revert puppeteer version and add puppeteer cache as empty dir volume to helm chart (#2018) 2024-02-06 18:38:48 +00:00
andrewwallacespeckle 88f89bc772 Headerbar Consistency - Post merge (#2014)
* Small changes from Benjamin

* Do not show new comment in embed
2024-02-06 13:32:32 +00:00
andrewwallacespeckle ff6433128a FE2 - Embedding (#1979)
* Add Dialog

* Add options to embed dialog

* Min Height of Clipboard Input multiline to 3 lines

* Check for visibility

* Link to change access of project

* Rename to guided mode

* Change icon when user clicks copy button

* Update Menu styles based on agi feedback

* Update graphql.ts

* Embed Options as hashState

* Auto grow Clipboard Input

* embed state and more options

* Tidyups

* Footer only shows when !embedOptions.isTransparent

* Add auto/manual Load

* Add Pre setup component

* WIP Button Group mobile

* Updates around manual load

* Viewer Share nav

* Add embed dialog to project page

* Minor fixes

* Check for federated

* Responsive Tidyups

* Responsive Fixes. Fix console issues

* Add Alert to Version Embed

* Disable Zoom

* GQL updates

* Comment Slideshow

* GraphQl changes

* Fix visibility

* Build fix

* Revert "Build fix"

This reverts commit 0e706cbd9fde78204032bb1ec4421b1742d023ac.

* remove unneeded change, revert yarn.lock

* Test Commit

* Remove commit test

* Fix build

* Update Tailwind. Add base url env

* fix for portal scope issue

* useLogger

* useLogger

* chore(fe2): include NUXT_PUBLIC_BASE_URL in deployment manifests

* lazy load optimization

* lint fixes

* Updates

* Re-add guided open Dialog sections

* Prevent login popup on embed

* Tidy up mobile combined button group

* Tidy up embed Dialogs

* Small styling issues

* Update scrolling in embed dialog

* Move selection info when embed

* Testing fixes

* Discuss in Speckle

* Responsive Dialog Changes

* Fix bug

* WIP Manual Load

* Fix nuxt errors

* Fix nuxt logger issue

* Fix embed dialog overflows

* New Dialog layout

* Responsive Breakpoint change

* Preview Image

* Fix bug with dialogSection

* Hide selection info on mobile when thread is open

* Footer Model Name

* Overflow on ClipboardInput

* Style fixes

* Tidy ups

* Responsive updates

* Responsive fixes

* Update button

* Changes from testing

* Fix embed height with footer

* Fix Dialog Section

* Fixes from testing

* Move "reset filters" on embed

* Small fixes

* Updates from CR 1

* CR Comments 2

* Updates from CR

* Add deserializeEmbedOptions helper

* DialogSection changes

* Revert changes in TextArea

* Updates from CR

* Only check for noscroll in watch

* Update useRoute

* Comment Slideshow mode

* Changes from testing

* Fix mobile share button

* onMounted warn fixes

* Updates from testing

* Remove nesting of ManualLoad

* Keep Speckle text on mobile

* minor cleanup & bugfixes

* Add target prop to Logo

* navbar flash fix + more cleanup

* Fix urls

* Footer Logo changes

* Remove viewer-transparent from layout

* Add Reply in Speckle

* Remove Anchored Points from embed

* Final changes pre CR

* Fix Anchored Points

* Update packages/frontend-2/components/project/model-page/dialog/embed/Embed.vue

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>

* Fixes from CR

* Updates from cr

* Changes WIP

* Fix for dialog opening

* Changes from PR

* Updates to check embed in activity

* fix(fe2): project settings dialog error

* Make Team open section on click of "Manage"

* Fixes from merge

* Changes from cr

* Compare old to new in watch

* Fix logo in footer of embed

* Fixes from merge

* Fix build. Fix lazy load

* Updates from Benjamin

* Fix transparent bg

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
2024-02-06 10:38:22 +00:00
andrewwallacespeckle ec95ebdfb3 [WBX-31] Make account modal less annoying in the viewer (#2009)
* Changes settings card to team when logged out

* Speckle Logo to Marketing Site when logged out

* Add Signin button to desktop header

* Remove click counter - Launch modal instead

* Fix webhook being in Settings dialog

* Change team icon

* Changes from Benjamins Comments

* Remove Join the conversation

* Move dialogs to parent

* Move loginUrl logic to parent

* Small fixes

* Default active to true in LogoBlock

* Simplify HeaderLogoBlock for this ticket. Change type from CR
2024-02-05 15:32:01 +00:00
Kristaps Fabians Geikins c727669be4 fix(fe2): added extra CORS header 2024-02-05 15:37:31 +02:00
Gergő Jedlicska 9628a8a516 Gergo/configurable email digest (#2006)
* feat: add weekly digest feature flag

* feat: add weekly digest feature flag to helm chart
2024-02-02 15:25:12 +01:00
andrewwallacespeckle 155627cd2c Add mount-menu-on-body to User permission select (#2001) 2024-02-01 19:01:50 +00:00
Kristaps Fabians Geikins 90c9680b96 better apollo error msgs 2024-02-01 17:32:51 +02:00
Kristaps Fabians Geikins ed1029e20d fix(fe2): optimized 'select all objects by type' (#2005)
* fix(fe2): optimized 'select all objects by type'

* some more utils
2024-02-01 16:29:18 +02:00
Iain Sproat a92ee0f5b6 fix(fileimport-service): max object size should match objects service (#2004) 2024-02-01 13:52:53 +00:00
Alexandru Popovici ae7ff59d09 Object Operations Performance Improvements (#2002)
* Implemented shuffling for point batches

* Points are now drawn indexed. This is needed in order to implement shuffling for point batches, to allow for best runtime performance in scenarios where the baches are split into multiple non-flat-able draw groups

* Implemented draw range flattening before sending over to be set in batches. This reduces execution time significantly especially in scenarios where a lot of objects need to change material at once. Implemented batching of draw ranges in SelectionExtension when reseting a selection. This makes un-selecting significatly faster when a lot of objects are involved

* Added a note
2024-01-31 16:38:46 +02:00
Iain Sproat b5f77f3921 chore(deps): bump bcrypt and puppeteer to enable building on apple silicon (#1965) 2024-01-29 14:31:27 +00:00
andrewwallacespeckle 4978477e77 Edit ProjectPageHeader from Versions page (#1982)
* Remove ProjectPageHeader from Versions page

* Editable Header Component WIP

* Fix title editor

* Updates

* Remove description call

* Move Component

* Consistent model

* Use CSS breakpoints rather than js

* Revert "Use CSS breakpoints rather than js"

This reverts commit 8db8cdb4ddc3b8969df972484a532e016c627143.

* Change HTMLInputElement to HTMLElement

* Fixes to editable component

* Updates from CR

* Fix double network calls

* Fix title not updating on unfocus

* Remove double save on enter

* Stop double save on debounce then unfocus
2024-01-26 15:45:33 +00:00
Alexandru Popovici a55c18531c Replaced the old 'findAll' style of matching ids with the new 'findId' which is uncomparably faster. (#1994) 2024-01-26 16:33:26 +02:00
Kristaps Fabians Geikins 9aebb3f286 fix(server): db listener redis retry fix 2024-01-25 17:07:37 +02:00
Alexandru Popovici 2d13f737a8 Added a fix for aabb calculation for non-mesh objects (#1992) 2024-01-25 14:35:20 +02:00
Kristaps Fabians Geikins 52770ec7ce feat(fe2): more robust redis cache 2024-01-25 11:41:26 +02:00
Kristaps Fabians Geikins f3e8bf7045 chore(fe2): more redis logging 2024-01-25 11:02:55 +02:00
Kristaps Fabians Geikins ff5c965df9 fix(fe2): redis connection leakage 2024-01-25 10:50:04 +02:00
Iain Sproat a3cb8b180b fix(server): explicit db listener redis cleanup (#1989)
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-01-24 22:01:58 +00:00
Kristaps Fabians Geikins 8d66275457 minor change to trigger new version 2024-01-24 18:48:38 +02:00
andrewwallacespeckle 0ef2436b95 Swap js breakpoint to css (#1984) 2024-01-23 15:19:11 +00:00
Kristaps Fabians Geikins 9db4194a0e core redirects implemented (#1986) 2024-01-23 15:35:13 +02:00
Kristaps Fabians Geikins c3f13d4e66 fix: multiple FE2 and server speed improvements, mainly focusing on the project page (#1975)
* introduced app cache & optimized /downloads

* added redis cache storage

* optimizing latest thread retrieval

* more dataloaders

* undid debug stuff

* deployment changes

* minor change to reqTouched

* connectorTag parallel resolution

* added redis key prefix

* gqlgen cleanup

* Amend network policy to allow egress to Redis

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-01-22 11:08:53 +02:00
Kristaps Fabians Geikins 37d51072fb feat(server): resource limits on app tokens (#1959)
* WIP new mutation arg

* limited resource token creation done

* token resource rule creation validation

* updated authorizeResolver implementation

* introduced resource access rule checks in authorizeResolver everywhere

* more checks added

* updated projects resolvers

* updated stream resolvers

* more checks added

* error page theme resolution fix

* WIP testss

* more tests

* implemented checks in REST auth pipeline

* REST API coverage & tests

* some tests fixed

* test fixess

* added tests

* feat(server): new automation result reporting scope (#1976)

* feat(server): new automation result reporting scope

* tests fix
2024-01-19 18:14:49 +01:00
Kristaps Fabians Geikins 86b535d751 chore(fe2): project page load speed optimization (#1974)
* merging queries for faster load

* preload plugin

* latest threads/models query optimization
2024-01-18 11:00:48 +02:00
Gergő Jedlicska c2085d6b13 Hotfix/2.17 (#1955)
* gergo/apolloQueryDuration (#1949)

* add apollo query duration

* feat: add more details to apollo query logging

* fix: pr review

* feat: format log messages as clef (#1950)

* fix(logging): pinoClef log levels must be a string

* chore(fe2): reducing log level for some spammy req logs

* minor adjustment

* more robust path resolution

* better req log text

* feat(fe2): improved and more thorough logging to help with observability (#1948)

* better req log text

* minor improvements to server logging

* WIP FE2 req logging

* FE2 apollo operation logging

* undid apolloPlugin changes due to Gergos PR

* seq message templates introduced

* fix: request logs (#1964)

* fix: request logs

* chore: remove comments

* feat: add graphql subscription metrics (#1970)

* optimized preview msg resultListener

* fix(server): locking to avoid postgres notification listeners processing the same message multiple times (#1972)

* fix(server): locking to avoid postgres notification listeners processing the same message multiple times

* optimized locking

* minor cleanup

* msg update

* log level adjustments

* reduce failsafe expiry

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
2024-01-17 16:39:33 +01:00
Iain Sproat ceeb30ec67 fix(fileimport-service): write valid messages from underlying parsers (#1969) 2024-01-16 21:02:25 +00:00
Iain Sproat 2b3a26b7bf chore(logging): allow mixins to be provided to observability.getLogger (#1971) 2024-01-15 12:26:30 +00:00
Iain Sproat 229f31040d chore(deps): bumps serialize-javascript to 6.0.2 (#1961)
- bumps serialize-javascript
- bumps mocha
- replaces superseded & archived rollup-plugin-terser with @rollup/plugin-terser
2024-01-12 22:32:14 +00:00
Alexandru Popovici 1406465ff1 preview-service<-> viewer API2.0 (#1967)
* Pinned the viewer version for the preview-service to the last viewer version before the API 2.0 merge as a temporary solution until the preview service is updated to use API 2.0

* updated lock

* Fixed the issues with the preview-service and the new viewer version. Went with using a LegacyViewer, since it was the easiest. preview-service is weird
2024-01-12 15:23:59 +01:00
Gergő Jedlicska ee849006ad fix: request logs (#1964)
* fix: request logs

* chore: remove comments
2024-01-11 16:17:04 +01:00
Alexandru Popovici 823996dd0c preview-service <-> viewer API 2.0 (#1956)
* Pinned the viewer version for the preview-service to the last viewer version before the API 2.0 merge as a temporary solution until the preview service is updated to use API 2.0

* updated lock
2024-01-11 15:33:42 +02:00
Kristaps Fabians Geikins c6a821ef03 chore(fe2): reducing log level for some spammy req logs (#1954)
* chore(fe2): reducing log level for some spammy req logs

* minor adjustment

* more robust path resolution
2024-01-11 13:46:50 +01:00
Iain Sproat 6d65ec48df fix(logging): pinoClef log levels must be a string (#1952) 2024-01-11 12:55:17 +01:00