Commit Graph

3350 Commits

Author SHA1 Message Date
Gergő Jedlicska 67cb97a262 gergo/testCommentsGQL (#775)
* yarn first go

* fix frontend build cache loader

* yarn workspaces built server Docker

* build(yarn): add workspaces plugin config

* chore(package defs): clean package*.json -s

* chore(gitignore): ignore yarn error log

* build(yarn): update yarn lock

* build(preview-service webpack): add extra resolved path to preview service webpack config

because of yarn package hoisting, there are no package level node_modules folder anymore.

* build(docker): update dockerignore with yarn specific configs

* build(docker): update Dockerfiles for yarn workspaces utilization

* ci(circleci): update server test job to yarn

* ci(circle): disable cache restore

* ci(circleci): trying the node orb yarn-run

* ci(circleci): yarn-run again

* ci(circleci): disable node orb

* ci(circleci): change base node image for tests

* ci(circleci): add yarn cache

* ci(circleci): remove node install step

* ci(circleci): add server specific cache archives

* ci(circleci): test build and publish

* ci(circleci): change npm auth method to suit yarn

* ci(circleci): trying new builder image

* ci(circleci): another base image, maybe this works

* ci(circleci): force a specific docker engine version

* ci(circleci): add yarn version plugin and its changes

* ci(circleci): cleanup and remove temp branch config

* chore(package defs): moving from npm run to yarn

* explicitly specifying webpack4 as a frontend dep

* chore(package defs): replace npm with yarn everywhere

* docs(root readme): update with some yarn specific docs

* test(server comments gql): add wip server comments gql tests

* test(server comments graphql): add missing test operations and generate a bunch of testcases

* test(server comments graphql api): fix all authz test cases for comments

* test(server comments service): fix comments service failing test

* fix(tests): do not look inside

Co-authored-by: Fabians <fabis94@live.com>
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2022-06-02 11:15:27 +02:00
Gergő Jedlicska 1d8ffac57a update knex dependency chain (#776)
* chore(root): update packages

* chore(server + preview service): add pg-query-stream peer dependency

* build(dockerfiles): unify and update docker base layer to latest node lts
2022-06-01 10:25:09 +02:00
Gergő Jedlicska 1c234a86b2 gergo/hotfixes (#785)
* ci(circleci): publish npm packages with the implicit default `latest` tag

* feat(helm chart): add a conditional flag for creating k8s namespace in the helm chart

* fix(server package.json): fix cross-env variable string naming

fix #780
2022-05-30 19:40:20 +02:00
Gergő Jedlicska 1f5f5ef943 fix(preview service): there is no need to double promise a preview (#782) 2022-05-30 11:59:28 +02:00
Alexandru Popovici 9b81618f58 Manged to bundle a default hdri with the viewer. The clients can eith… (#779)
* Manged to bundle a default hdri with the viewer. The clients can either use the default one, or specify their own

* Added a comment describing why we're hiding the .exr behind a .png. Fixed some lint errors/warnings
2022-05-30 12:38:59 +03:00
Dimitrie Stefanescu 21f3d396fb fix(frontend): corrects rotation direction 2022-05-30 08:14:13 +01:00
Dimitrie Stefanescu 0ff34c383c Merge pull request #778 from specklesystems/dim/angle-previews
3D previews fixes
2022-05-26 20:17:16 +01:00
Dimitrie Stefanescu 4608072a88 fix(frontend): adds bw filter and rotate guard 2022-05-26 20:05:48 +01:00
pre-commit-ci[bot] 70971152a0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-05-26 15:35:17 +00:00
Dimitrie Stefanescu e8bde06d7d feat(frontend): implements stiched 3d previews 2022-05-26 15:53:21 +01:00
Dimitrie Stefanescu d98a3c5d15 feat(previews): creates stiched frames previews 2022-05-26 15:53:01 +01:00
AlexandruPopovici 0853a5acb2 Fixed an issue with selecting lines which are inside block instances. However that still doesn't work properly because the actual geometry isn't getting tested at pick time due to some issues inside SelectionHelper 2022-05-26 17:41:06 +03:00
Fabians b12d51463d Merge branch 'alex/viewer-redux' of github.com:specklesystems/speckle-server into alex/viewer-redux 2022-05-26 16:55:58 +03:00
Fabians be87f88ff6 viewer asset support 2022-05-26 16:55:09 +03:00
AlexandruPopovici e43f7136b8 #746 Fixed some issues regarding selecting lines and the visual response looks 2022-05-26 16:03:52 +03:00
AlexandruPopovici 482862d896 Fixes regarding block instances and selecting stuff 2022-05-26 14:56:26 +03:00
AlexandruPopovici c55f73185f Merged with main. Fixed an issue with geometry baking 2022-05-26 11:46:19 +03:00
AlexandruPopovici 448ae95d8b Added a sample hdr to the assets 2022-05-26 11:01:11 +03:00
AlexandruPopovici abf636c946 #746. Used vector buffers in the speckle materials to avoid pointless nursery pressure. Some lint-related fixes 2022-05-26 10:20:44 +03:00
Dimitrie Stefanescu df238a6992 Merge pull request #774 from specklesystems/dim/angle-previews
fix(frontend): weird bug fix for legacy track on previews (see comment in code)
2022-05-25 16:28:50 +01:00
Dimitrie Stefanescu 82b5c449b2 fix(frontend): weird bug fix (see comment in code) 2022-05-25 16:26:52 +01:00
Dimitrie Stefanescu 5b5084b87f Merge pull request #772 from specklesystems/dim/angle-previews
Angle previews improvements
2022-05-25 15:47:08 +01:00
Dimitrie Stefanescu 6154e911b0 fix(frontend): implements concurrent img loading 2022-05-25 15:42:10 +01:00
Dimitrie Stefanescu a222119d32 fix(frontend): concurrent img loading 2022-05-25 15:40:10 +01:00
AlexandruPopovici 168838b059 Fixed lint errors 2022-05-25 17:34:14 +03:00
Dimitrie Stefanescu 404eea12e9 fix(server): removes console.logs 2022-05-25 15:17:25 +01:00
Dimitrie Stefanescu 6a695eab56 Merge pull request #760 from specklesystems/dim/angle-previews
feat(frontend): animated preview images
2022-05-25 14:59:07 +01:00
pre-commit-ci[bot] d609a5e420 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-05-25 13:41:06 +00:00
Dimitrie Stefanescu 3b983ee382 feat(frontend): touch events for 3d previews 2022-05-25 14:39:34 +01:00
Alexandru Popovici 12d3a216b6 Fixed transformation order for arcs. Fixed origin not being scaled accordingly (#769) 2022-05-25 16:31:10 +03:00
Gergő Jedlicska 1b3f653eca build(preview-service): remove ghost dependencies from preview service (#770) 2022-05-25 14:24:03 +02:00
AlexandruPopovici f2fdf545b7 Added automatic loader selection based on file extension. Changed the default environment in the sandbox 2022-05-25 12:29:39 +03:00
Kristaps Fabians Geikins f48aba7632 fix(frontend): branch stale cache bug when creating/deleting them (#767)
* fix(frontend): branch stale cache bug when creating/deleting them

* fix(frontend): making user avatar hover menu not close on content click
2022-05-25 11:50:09 +03:00
AlexandruPopovici 99dd44eb07 Added viewer params 2022-05-24 18:28:14 +03:00
Kristaps Fabians Geikins 1c1fadb754 fix(frontend): fixed toolbars/navbars/action bars showing the wrong content randomly (#762) 2022-05-24 17:02:10 +03:00
Alexandru Popovici 40f7487cfd Acos fix (#766)
* Fixed an issue where floating point precision would lead to acos returning NaN

* Wrong paranthesis close
2022-05-24 16:46:45 +03:00
AlexandruPopovici 284877c443 Added AuthToken for the sandbox 2022-05-24 16:37:38 +03:00
Fabians 758d4fb125 attempted viewer build fix 2022-05-24 15:59:56 +03:00
AlexandruPopovici 439201ce0e Merged with main 2022-05-24 12:12:30 +03:00
AlexandruPopovici 71ce007a08 #746. Added remaining material extensions and replaced them where required. 2022-05-24 12:08:28 +03:00
Gergő Jedlicska 8ffd2e74c0 feat(fileimports): increase timeout of ifc fileimports operation (#763) 2022-05-24 10:01:54 +02:00
Dimitrie Stefanescu b71bbe6379 feat(frontend): added rotation prop, defaulted to "opt-in"; opted in commit and stream preview cards 2022-05-24 00:34:16 +01:00
Dimitrie Stefanescu ab98402eba feat(frontend): no more flickering! 2022-05-24 00:31:25 +01:00
Dimitrie Stefanescu 51eb0c6474 feat(frontend): reduce flicker + implementation notes 2022-05-23 23:34:37 +01:00
Kristaps Fabians Geikins e5880e73f2 feat(backend): comment reply text xss fix (#761)
* feat(backend): comment reply text xss fix

* fix(root): pre-commit npx to yarn

* chore(server): added test
2022-05-23 17:44:28 +03:00
Dimitrie Stefanescu 785a83c03b feat(frontend): improved legacy mode handling (5 angles vs 24) 2022-05-23 11:58:33 +01:00
Kristaps Fabians Geikins ff0836275c chore(frontend): fixing three.js imports & getting rid of some duplicate packages (#759) 2022-05-23 11:46:05 +02:00
Dimitrie Stefanescu 174ce64004 feat(frontend): animated preview images
changes:
- preview service generates full 360 images now
- preview image component loads on hover
- preview image component backwards compat with non-360 image angles
- adds optional angle arguments in all preview routes & removes superflous route
2022-05-22 11:50:07 +01:00
AlexandruPopovici 81a4de69b2 #746. Figured out how to clamp the world space thick lines to any pixel value when they're screen size width becomes less than 1 pixel and they start to basically dissapear. 2022-05-20 15:57:57 +03:00
Gergő Jedlicska 638969cd01 gergo/yarn (#753)
* yarn first go

* fix frontend build cache loader

* yarn workspaces built server Docker

* build(yarn): add workspaces plugin config

* chore(package defs): clean package*.json -s

* chore(gitignore): ignore yarn error log

* build(yarn): update yarn lock

* build(preview-service webpack): add extra resolved path to preview service webpack config

because of yarn package hoisting, there are no package level node_modules folder anymore.

* build(docker): update dockerignore with yarn specific configs

* build(docker): update Dockerfiles for yarn workspaces utilization

* ci(circleci): update server test job to yarn

* ci(circle): disable cache restore

* ci(circleci): trying the node orb yarn-run

* ci(circleci): yarn-run again

* ci(circleci): disable node orb

* ci(circleci): change base node image for tests

* ci(circleci): add yarn cache

* ci(circleci): remove node install step

* ci(circleci): add server specific cache archives

* ci(circleci): test build and publish

* ci(circleci): change npm auth method to suit yarn

* ci(circleci): trying new builder image

* ci(circleci): another base image, maybe this works

* ci(circleci): force a specific docker engine version

* ci(circleci): add yarn version plugin and its changes

* ci(circleci): cleanup and remove temp branch config

* chore(package defs): moving from npm run to yarn

* explicitly specifying webpack4 as a frontend dep

* chore(package defs): replace npm with yarn everywhere

* docs(root readme): update with some yarn specific docs

* chore(root workspace): update dev scripts and package lock

* ci(circleci): enable package publish step with yarn

Co-authored-by: Fabians <fabis94@live.com>
2022-05-19 19:53:07 +02:00