Commit Graph

500 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
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 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
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 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
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
Gergő Jedlicska 90b16b54b1 Merge pull request #756 from specklesystems/dim/public-comments
Adds Public Comments & Other Fixes
2022-05-17 15:52:52 +02:00
Dimitrie Stefanescu a124df7d8b feat(comments): adds activity
Co-authored-by: Jonathon Broughton <jonathon@stardotbmp.com>
2022-05-16 18:23:42 +01:00
Dimitrie Stefanescu d59a9c4028 fix(comments): moves migration into core module 2022-05-16 18:17:37 +01:00
Dimitrie Stefanescu eb941c3af2 feat(comments): reactions in mobile view + perms fix 2022-05-15 15:01:36 +01:00
Dimitrie Stefanescu 58f9f9d0e9 feat(comments): adds individual reply deletion 2022-05-14 00:01:12 +01:00
Dimitrie Stefanescu e2085d61b6 feat(comments): reworks perms on re allowing public comments 2022-05-13 22:18:06 +01:00
Dimitrie Stefanescu 0c6759911d feat(comments): adds setting for pub comments 2022-05-13 15:27:05 +01:00
Matteo Cominetti 0563296f6f feat(server): extends invite scope 2022-05-13 10:15:56 +01:00
Dimitrie Stefanescu 267df9cd51 Merge branch 'main' into dim/public-comments 2022-05-11 17:49:42 +01:00
Gergő Jedlicska d2166c3f38 Merge branch 'main' of github.com:specklesystems/speckle-server into defaultAppScopeHandling 2022-05-11 11:43:13 +02:00
Dimitrie Stefanescu 88be9dad60 fix(apps): selects all relevant fields in get all apps query (inc. trustByDefault) 2022-05-11 10:39:44 +01:00
Dimitrie Stefanescu 4bf130efe7 chore(app scope handling): adds logging 2022-05-11 10:30:38 +01:00
cristi8 7b36e16eaf Merge branch 'main' into cristi/2022-may_monitoring 2022-05-05 12:58:57 +03:00
Gergő Jedlicska 472f83c8e9 (fix) server
turns out you do need to use appRoot here
2022-05-05 11:45:34 +02:00
Gergő Jedlicska 8f1ec5f5ae (refactor) server
use require.resolve in bootstrap
2022-05-05 10:38:34 +02:00
cristi8 0a0fe3cb77 monitoring microservices; new container for overall monitoring of a deployment; helm update; helm local testing 2022-05-05 02:01:00 +03:00
Gergő Jedlicska bd543ed38e refactor(server): completely remove app-root-path package 2022-05-03 15:36:18 +02:00
Gergő Jedlicska 43aa9965b1 test(server): fix gql subs test imports 2022-05-03 14:03:22 +02:00
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Dimitrie Stefanescu 639ef2b5d1 feat(comments): scaffolding public comments 2022-05-03 11:18:42 +01:00
AlexandruPopovici 48e085ceaf Revert "chore(release): publish to npm. Done by mistake with lerna"
This reverts commit 8b974d0db5.
2022-04-30 17:48:02 +03:00
AlexandruPopovici 8b974d0db5 chore(release): publish to npm
[skip ci]

 - @speckle/fileimport-service@2.3.17
 - @speckle/frontend@2.3.17
 - @speckle/objectloader@2.4.3
 - @speckle/preview-service@2.4.3
 - @speckle/server@2.3.17
 - @speckle/viewer-sandbox@1.0.1
 - @speckle/viewer@2.4.3
 - @speckle/webhook-service@2.3.17
2022-04-29 12:54:26 +03:00
Fabians b4aeb266c4 fix: throwing error if running tests without .env.test 2022-04-29 10:44:03 +03:00
Cristian Balas 62824ea0bd more server prometheus monitoring (#732) 2022-04-29 00:39:32 +03:00
Gergő Jedlicska 6e62d97ed0 test(server default apps): test default app update borkage doesn't screw up the app data 2022-04-28 15:40:04 +02:00
Gergő Jedlicska a92028d47f refactor(server default apps): i dont like mutating input objects inside functions 2022-04-28 15:38:56 +02:00
Gergő Jedlicska 585747bd0d Merge branch 'main' of github.com:specklesystems/speckle-server into defaultAppScopeHandling 2022-04-28 14:34:19 +02:00
Gergő Jedlicska 1fea215852 test(server default apps): expand default apps update test with token scopes checks 2022-04-28 14:32:55 +02:00
Gergő Jedlicska fc21bbfa02 refactor(server default apps): clean default apps update implementation 2022-04-28 14:32:13 +02:00
Gergő Jedlicska 849b6fc90e feat(server app scopes): initial transation imp for updating user app tokens for default apps 2022-04-28 13:38:09 +02:00
Alexandru Popovici 02eb9a8c41 Alex/lines #443 (#721)
* Fixed some issues with npm scripts on Windows systems

* Made the example script run the dev build with wtch in parralel with running a http server. Handled #443

* #443. Added lineweigth to the rendered lines. However this will not work on most systems. More information about this in the issue

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Reverted the changes to the npm scripts

* Restored package.lock files from packages outside of viewer to their original state

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-27 17:24:37 +03:00
Gergő Jedlicska 735523662d default apps auto auth 2022-04-26 14:47:19 +02:00
Gergő Jedlicska 765e6e3080 refactor(server default apps): minor cleanup 2022-04-25 18:39:18 +02:00
Gergő Jedlicska 23bca9ac68 Merge branch 'main' of github.com:specklesystems/speckle-server into defaultAppScopeHandling 2022-04-25 12:46:47 +02:00
Gergő Jedlicska 295d66cc18 feat(default apps): update manager and connectors with user invite scopes
fix #679
2022-04-25 11:56:39 +02:00
Gergő Jedlicska 2d03d8a632 refactor(scopes constants): add users:invite to Scopes constant 2022-04-25 11:53:32 +02:00
Gergő Jedlicska 2fe2d11bbe test(server apps tests): test default app permissions not being revoked 2022-04-25 11:47:51 +02:00
Gergő Jedlicska d9bcada494 feat(server default apps): remove revoke default app credentials after updating it
fix #680
2022-04-25 11:47:08 +02:00
Cristian Balas 58b67f5e62 Basic OBJ import (meshes, materials, vertex colors) (#713) 2022-04-22 13:20:16 +03:00
Cristian Balas 8aa7ed3b47 allow more objects in download requests (#704) 2022-04-19 13:57:56 +03:00
luz paz 915cb0afaf Fix various typos
Found via `codespell -q 3 -S CHANGELOG.md -L doesnt,optio,promisses,tread,usera`
2022-04-15 13:49:46 -04:00