Commit Graph

2175 Commits

Author SHA1 Message Date
AlexandruPopovici fe1a9f2eb3 Updated the older synchronous object loading function 2023-06-06 20:29:26 +03:00
Alexandru Popovici b3d8c5d28c Text support and limited Dimensions support (#1604)
* Font loading (hidden under a .png for now). Simple experiments with rendering text

* Added some text rendering tests. WIP on billboarding

* Added tests using troika-text-three library which uses sdf font textures instead of generating text geometry

* WIP on supporting speckle text objects

* Some more work on speckle text object integration. Worked on text materials, text batch and text object. We're now rendering basic text

* We're now rendering the text for various dimension types. Changed text to use display style first, since that's the one that contains it's color.

* Implemented text selection. Text can now be selected and works the same way every other speckle objects works when selecting

* Implemented the rest of the filtering features for text.

* Batch building can now be async. Building text batches needs to be async because that's how the troika libary works. Fixed an issue with the section box not clippin text properly

* Removed dummy text geometry data from it's RenderData. Enabled render views with metadata to count as valid. getRenderableRenderViews now returns nodes with metadata as well. Text now supports proper unit conversion. Text now is being displayed correctly(-ish) when inside blocks. Autocad text is now being displayed
2023-06-06 15:49:47 +03:00
Iain Sproat 5361d64e99 Revert "fix(server helm / dockerfile): remove entrypoint from dockerfile (#1605)" (#1606)
This reverts commit bcea709712.
2023-06-02 16:33:26 +01:00
Gergő Jedlicska bcea709712 fix(server helm / dockerfile): remove entrypoint from dockerfile (#1605)
the server helm deployment only overrides if inspect is needed
2023-06-02 16:01:01 +02:00
Kristaps Fabians Geikins 4aa25679ee fix: some minor build errors 2023-06-02 11:10:25 +03:00
Iain Sproat e71f382e6a feat(helm): configure inspect flag for server via helm chart (#1593) 2023-06-01 21:43:22 +01:00
AlexandruPopovici ebdb30dc14 Fixed a source of possible race conditions 2023-06-01 17:04:11 +03:00
Kristaps Fabians Geikins e3f4ab14c7 start sending headers to apollo studio 2023-05-30 13:01:48 +03:00
Kristaps Fabians Geikins 440adbd3f9 feat: checking schema changes against apollo studio (#1603) 2023-05-30 12:35:15 +03:00
Kristaps Fabians Geikins a62b7d0a15 fix: hiding outdated/stuck file uploads 2023-05-30 10:09:45 +03:00
Kristaps Fabians Geikins c650bd3fec fix(server): re-enabling functionality we disabled when we encountered performance degradation (#1602) 2023-05-30 09:50:18 +03:00
Kristaps Fabians Geikins 5c032bd7a8 fix(fe2): saving more concrete resourceIdString in comments 2023-05-30 09:17:02 +03:00
Kristaps Fabians Geikins defaafc4c0 feat(fe2): improved thread dragging (#1601) 2023-05-29 17:57:00 +03:00
Alexandru Popovici de48e2c453 Base objects in Blocks (#1600)
* Fixed a displaying issue with blocks that contain non-direct-convertible objects.

* Revert "Fixed a displaying issue with blocks that contain non-direct-convertible objects."

This reverts commit dc44a07d79e605e42e605befde1b09fdc95429d5.

* Different approach on fixing the Base object with display values in Blocks which should not generate regression since it's restricted only to blocks and works the same way for other situations except this one

* Added 'elements' lookup as well

* Check if display values or elements exist before destructuring them
2023-05-29 16:23:09 +03:00
Kristaps Fabians Geikins 9427686d42 fix(fe2): various follow mode & thread viewer state sync fixes & improvements (#1595)
* fix(fe2): unfollow on camera move

* WIP new state hydration function

* WIP sync state

* minor cleanup

* fix coloring not being tracked

* fix for post thread close camera pos restore

* supporting duplicate users

* preventing guest commenting + state reset fixes

* fixed guests not receiving viewer comment updates

* post-thread creation opens new thread

* removing gap between 'X is typing' and bubble appearing

* reset filters will also reset colors now

* fixed thread full context

* camera reset fix

* thread reset fix

* fixed router concurrency issues

* followed user avatar fix

* TONS OF DEBUGGING FOR ROUTER QUEUING

* removing queued routing debugging stuff + disabling spotlight cancelation

* WIP async URL updates

* missing authLogger fixed

* fix for broken projection

* fix for bubbles positions not updating correctly

* queued routing cleanup

* fixed spotlight mode disabling unnecessarily

* added back stoplight stop on ctrl

* undid spotlight debugging
2023-05-29 15:20:32 +03:00
Gergő Jedlicska acc2604cc5 fix(server commits graphql): fix commit author null error (#1596)
commit authorId-s can be null, if a server user is deleted.
We keep the commit on the server, so we need to be able to
return null values for commit author name and avatar

Co-authored-by: CI <devops+circleci@speckle.systems>
2023-05-24 14:33:10 +02:00
Kristaps Fabians Geikins 62eb807512 feat: stopping subscriptions at >100 errors per minute (#1592)
* feat: stopping subscriptions at >100 errors per minute

* chore: added explanatory comments

* added error state banner in fe1

* feat: error state banner in fe2
2023-05-24 14:07:10 +03:00
Kristaps Fabians Geikins ada15c445d fix: re-enabling apollo calls per second tracking 2023-05-24 10:43:33 +03:00
Kristaps Fabians Geikins d36977ce45 temporarily disabling server subscription logging 2023-05-23 14:00:28 +03:00
Kristaps Fabians Geikins f83118977e fix(server): subscription request logging 2023-05-23 12:20:40 +03:00
Kristaps Fabians Geikins d84963e638 fix: fixing inverted if-else 2023-05-22 21:04:16 +03:00
Kristaps Fabians Geikins 49f1caf5ac fix(): disabling sub dataloader cache 2023-05-22 21:03:21 +03:00
Kristaps Fabians Geikins a42ee35c09 fix(server): self-cleaning sub dataloaders + Comment.data type change 2023-05-22 21:00:27 +03:00
Kristaps Fabians Geikins 057894e14f fix(fe1): comments not auto-expanding correctly 2023-05-22 20:15:51 +03:00
Kristaps Fabians Geikins c7bcf8c65f yarn install quickfix 2023-05-22 20:05:57 +03:00
Kristaps Fabians Geikins ef1a1e24fb Merge branch 'main' of github.com:specklesystems/speckle-server 2023-05-22 18:35:51 +03:00
Kristaps Fabians Geikins 55f46aca46 adding profiling tool to server 2023-05-22 18:35:45 +03:00
AlexandruPopovici 0b7887767a Updated how the viewer emits the Busy signal so it reflects it's activity better 2023-05-22 18:03:47 +03:00
Gergő Jedlicska b56fdab1e0 add inspect mode to server backend 2023-05-22 16:21:39 +02:00
Kristaps Fabians Geikins c9e8f2984a fix: dbnotificationlistener precommit 2023-05-22 17:10:07 +03:00
Kristaps Fabians Geikins bc6bffc72e quickfix: disabling db listener for testing 2023-05-22 16:52:13 +03:00
Alan Rynne 88b3254ef7 fix(tailwind-theme): Move default to be last option on exports. (#1587) 2023-05-22 11:35:08 +03:00
Gergő Jedlicska 636b3afd44 fix(fe2dockerfile): add postbuild script to the docker image 2023-05-19 17:02:37 +02:00
Kristaps Fabians Geikins 2eb5f51af3 feat: dui3 package (#1585) 2023-05-19 16:57:28 +03:00
Alexandru Popovici 1668cf6a65 Alex/diffing part 2 (#1579)
* Fixed an issue with curves doubling up on geometry and also not being selectable after the last filtering changes. Added the options to make lines transparent. Added lines to diffing

* Points now are diff-able and support proper visual diff-ing. Visual diff filters are now chosen internally by the Differ. Fixed an issue with LineBatch and transparency

* Implemented PLAIN visual diff mode, where all objects keep their original materil, but opacity is manipulated via the diff time. Added API member function to switch between the PLAIN and COLORED visual diff modes

* Diffing fixes for instances and blocks. Things seem to be working fine, but there are some caveats. Additionally, some older issues were fixed and diffing now works better on all the rest of the streams

* Fixed the diffing issues with revit instances and hosted elements and nesting, etc. SetUserMaterial now accepts an optional list of rvs to apply the filter to, instead of figuring out the rvs itself.
2023-05-19 16:41:26 +03:00
AlexandruPopovici 7248156d89 Fixed an issue where elements weren't properly read for revit instances 2023-05-18 18:36:37 +03:00
Kristaps Fabians Geikins 12aa979628 feat(server): proper model() and version() error handling (#1581)
* feat(server): proper model() and version() error handling

* fix(fe-2): typing errors
2023-05-18 09:46:27 +02:00
Kristaps Fabians Geikins ba7ef04ca3 fix(server): invites fixes + proper project()/stream() query error reporting (#1580)
* fix(server): invalid stream invite purge + better error handling

* fix(server): proper project/stream query error reporting

* undo env example change

* fix(server): fixed tests

* fix(fe-2): chromatic adjustments

* fix(fe-2): non-randomized stories
2023-05-17 17:17:09 +02:00
Kristaps Fabians Geikins 766e5710b7 fix: flaky discoverable streams tests + fe2 cookie corruption 2023-05-16 14:57:24 +03:00
Kristaps Fabians Geikins 7d3be1d131 feat: tailwind theme & Vue base components extracted to own NPM packages (#1576) 2023-05-16 13:43:04 +03:00
Alexandru Popovici 294f2a101d Instance/Block Selection Fixes (#1572)
* Fixed conflicts

* Fixed the issues with instances not isolating. Fixed the issue with not being able to zoom in on instances
2023-05-11 11:34:37 +03:00
Kristaps Fabians Geikins 40def09ce0 Merge branch 'main' of github.com:specklesystems/speckle-server 2023-05-09 10:37:31 +03:00
Kristaps Fabians Geikins 582793924d fix(fe2): CEF 65 support 2023-05-09 10:37:16 +03:00
Alexandru Popovici e7d77ab157 Fix for #1525 (#1566) 2023-05-08 18:02:36 +03:00
Alexandru Popovici 71ed93192f Added speckle type inheritance parsing in the converter (#1565) 2023-05-08 18:01:34 +03:00
Kristaps Fabians Geikins c5edff0105 fix(server): more adjustments 2023-05-08 15:05:21 +03:00
Kristaps Fabians Geikins 8369f678c3 fix(server): more adjustments 2023-05-08 15:05:07 +03:00
Kristaps Fabians Geikins 31b8a4b29c fix(server): back to legacy commitUpdated/created structs 2023-05-08 14:26:55 +03:00
Kristaps Fabians Geikins 42a49fb635 chore: ensuring react ttypes are always stubbed (#1570) 2023-05-08 14:07:56 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00