Commit Graph

4652 Commits

Author SHA1 Message Date
Andrew Gartrell 3cfb9f2466 fix: comment out "redis" floating text (#2051) 2024-02-16 18:35:18 +00:00
andrewwallacespeckle 5a3dc06e7f Changes to test (#2047) 2024-02-16 13:55:09 +00:00
andrewwallacespeckle 0b9a6ae791 [WBX-33] Add Keystrokes to Measure Mode (#2033)
* Add onKeyStroke Escape to Controls

* Add onKeyStroke Delete/Backspace on active measurement

* Updates

* Update

* Move keystrokes

* Turn off measurements on esc
2024-02-16 10:28:13 +00:00
Kristaps Fabians Geikins 90a930b581 fix(fe2): redis being initialized even without a valid connection string (#2046) 2024-02-16 11:40:11 +02:00
Alexandru Popovici fef908f5ee LegacyViewer now supports highlighting objects like the old API would (#2045) 2024-02-15 14:40:44 +02:00
Kristaps Fabians Geikins af30d3cd8c fix(fe2): user activity tracking 2024-02-15 11:55:12 +02:00
Alexandru Popovici 0454b39cfc WBX-8 Viewer-lib bugfixes (#2041)
* Handled WBX-55

* Fix for WBX-53

* Fixed WBX-160

* Fixed an issue with section box comments where an unwated margin was applied. Fixed an issue where objects were not sliced when opening a URL that had a comment + section box. Fixed an issue where the object with a comment attached would not select when opening it directly from a comment URL in FE2

* Fixed WBX-132
2024-02-14 20:33:15 +02:00
andrewwallacespeckle 18c30b805d [WBX-153] Persist Comment Visibility (#2032)
* Add discussionLoadedVersionOnly cookie - defaulted to true

* Updates from CR

* Revert change

* Updates

* Remove unneeded watch

* Updates
2024-02-13 13:19:10 +00:00
Kristaps Fabians Geikins 48440e5b7c fix(server): rate limiter path resolution (#2042) 2024-02-13 15:08:48 +02:00
andrewwallacespeckle 3d6736004f FE2 Hotfix - Viewer Comments Permission Issue (#2029)
* Disabled comment editor for user with no permissions

* Updates

* Check for permission to comment

* Update message

* Revert changes

* Reverts

* Updates from feedback
2024-02-13 09:31:59 +00:00
Iain Sproat 2983183fe0 fix(server/logging): sensitive response headers should not be logged (#2039) 2024-02-12 18:29:46 +00:00
Kristaps Fabians Geikins d836b645e4 fix(server): more accurate requestPath 2024-02-12 18:45:01 +02:00
Kristaps Fabians Geikins 0e7b2a0754 Merge branch 'main' of github.com:specklesystems/speckle-server 2024-02-12 18:25:15 +02:00
Kristaps Fabians Geikins d3ad2eac2e fix(server): log redirect reqs as well 2024-02-12 18:25:02 +02:00
Iain Sproat d7402d8e66 fix(rate limiter): http verbs must align with served routes (#2038) 2024-02-12 16:02:04 +00:00
andrewwallacespeckle f831c2d640 [WBX-110] Improvements to Measurement Mode (#2031)
* Added clearMeasurements functionality to the measurements extension

* Add tip & descriptions to measure mode

* Add clearMeasurements

* Clear measurements onMount

* onMount to onBeforeUnmount

* Small alignment fix

* Change from Alex

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-02-12 15:07:43 +00:00
Iain Sproat 78891e869e fix(rate limiter): typescript linting issue (#2037) 2024-02-12 13:03:01 +00:00
Iain Sproat c5f5bf7992 fix(rate limiter): use correct paths (#2036) 2024-02-12 12:49:12 +00:00
Iain Sproat 5b95ddbefc feat(rate limiter): add custom rule for GET /auth/local and reduce allowance for all GET /auth/* rate limit rules (#2035) 2024-02-12 11:15:05 +00:00
Iain Sproat ad0b35146a chore(deps): bump nodemailer from 6.7.5 to 6.9.9 (#2034)
- address https://security.snyk.io/vuln/SNYK-JS-NODEMAILER-6219989
2024-02-10 19:21:28 +00:00
Alexandru Popovici f2f278d09c Added clearMeasurements functionality to the measurements extension (#2028) 2024-02-09 20:33:02 +02:00
Iain Sproat b8f7953ce0 fix(circleci): get version generated invalid semver (#2030)
- related to https://github.com/helm/chart-releaser/issues/374
2024-02-09 16:14:04 +00:00
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
Iain Sproat 3e5f1a8a80 fix(circleci): refer to testing branch instead of frontend-2 (#2003) 2024-02-01 12:05:21 +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 f2f2e0d0af chore(circleci): update docker version (#2000) 2024-01-30 18:15:20 +00:00