Commit Graph

70 Commits

Author SHA1 Message Date
Iain Sproat a6fba9ebd3 chore(node): bump node version to 18.14.0 (#1365) 2023-02-10 11:44:44 +00:00
AlexandruPopovici 248948363a Fixed an issue I created myslef a while ago. Reverted the object loader to the original state and made the ViewerObjectLoader to send the logger's logging function instead of the logger itself when creating ObjectLoader instances 2023-01-26 18:42:12 +02:00
Alexandru Popovici de2bce89a5 Alex/verbosity and mouse event (#1275)
* Added a verbose flag in the viewer params. Default is false and it's equivalent to the ERROR level

* Piggybacked the original pointer event into the SelectionEvent
2023-01-02 16:23:52 +02:00
Gergő Jedlicska 492afde5f6 gergo/fixBuild (#1277)
* style(server): fix formatting

* fix(preview-service): fix chromium deps in Dockerfile
2022-12-20 12:51:01 +01:00
Dimitrie Stefanescu 3cbd8b4a67 additional null check (#1276)
adds a null check in the traversal func (sketchup hotfix)
2022-12-20 12:02:33 +01:00
Iain Sproat ee50b32b59 chore(node): upgrades to node 18 (#1189)
* chore(node): upgrades to node 18

Node 16 was out of support (but not security upgrades), so bumping to next stable version.

https://github.com/specklesystems/speckle-server/issues/1187

* Update server liveness and readiness probes for node 18
* Bump web-ifc to 0.0.36
* Apply `--no-experimental-fetch` flag to fileimport-service to prevent issues in web-ifc (via emscripten) with node 18
2022-12-06 12:57:48 +00:00
Kristaps Fabians Geikins 5f48ae8086 feat(server): optimized command for importing commits from other servers (#1113) 2022-10-17 10:32:01 +03:00
Dimitrie Stefanescu 051929b23c Merge branch 'main' into dim/blobs-sdk-harmony 2022-10-10 11:16:10 +03:00
Kristaps Fabians Geikins a170b1d163 fix: relaxed engine constraint for libs (#960) 2022-08-24 12:26:30 +03:00
Dimitrie Stefanescu a6fe994bbb feat(blobs): objectloader filtering out blobs 2022-07-31 11:08:45 +03:00
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46: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
dependabot[bot] 9e82490204 chore(deps): bump async from 2.6.3 to 2.6.4 in /packages/objectloader
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-30 14:49:37 +00: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
Kristaps Fabians Geikins e8869e210c feat(frontend): build speed & chunk structure optimization (#690)
* feat(frontend): build speed & chunk structure optimization

* fix: attempting to work around precommit inconsistent eslint config

* chore(pre-commit config): ignore mocharc for eslint

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-04-13 10:21:24 +03:00
Gergő Jedlicska d0ce03cb91 Merge branch 'fabians/fix-viewer-build' of github.com:specklesystems/speckle-server into fabians/fix-viewer-build 2022-04-09 16:08:27 +02:00
Gergő Jedlicska b574817200 chore: re lernafy package version specks 2022-04-09 16:06:55 +02:00
Fabians b6d48e2f1c added missing babel deps to objectloader 2022-04-08 15:52:25 +03:00
Fabians 5627e490f9 fixing objectloader version in viewer deps 2022-04-08 13:41:40 +03:00
Fabians c91f0a4bba feat: fixed viewer & objectloader build configs 2022-04-08 12:46:34 +03:00
CI f5573dd59b chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2889
 - @speckle/frontend@2.3.17-alpha.2889
 - @speckle/objectloader@2.3.17-alpha.2889
 - @speckle/preview-service@2.3.17-alpha.2889
 - @speckle/server@2.3.17-alpha.2889
 - @speckle/viewer@2.3.17-alpha.2889
 - @speckle/webhook-service@2.3.17-alpha.2889
2022-04-07 18:36:41 +00:00
CI ae1bae65de chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2878
 - @speckle/frontend@2.3.17-alpha.2878
 - @speckle/objectloader@2.3.17-alpha.2878
 - @speckle/preview-service@2.3.17-alpha.2878
 - @speckle/server@2.3.17-alpha.2878
 - @speckle/viewer@2.3.17-alpha.2878
 - @speckle/webhook-service@2.3.17-alpha.2878
2022-04-07 18:22:45 +00:00
CI 826d4546ec chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2867
 - @speckle/frontend@2.3.17-alpha.2867
 - @speckle/objectloader@2.3.17-alpha.2867
 - @speckle/preview-service@2.3.17-alpha.2867
 - @speckle/server@2.3.17-alpha.2867
 - @speckle/viewer@2.3.17-alpha.2867
 - @speckle/webhook-service@2.3.17-alpha.2867
2022-04-07 18:11:38 +00:00
CI 7e06f4b96c chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2856
 - @speckle/frontend@2.3.17-alpha.2856
 - @speckle/objectloader@2.3.17-alpha.2856
 - @speckle/preview-service@2.3.17-alpha.2856
 - @speckle/server@2.3.17-alpha.2856
 - @speckle/viewer@2.3.17-alpha.2856
 - @speckle/webhook-service@2.3.17-alpha.2856
2022-04-07 17:53:00 +00:00
CI 963750e64a chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2844
 - @speckle/frontend@2.3.17-alpha.2844
 - @speckle/objectloader@2.3.17-alpha.2844
 - @speckle/preview-service@2.3.17-alpha.2844
 - @speckle/server@2.3.17-alpha.2844
 - @speckle/viewer@2.3.17-alpha.2844
 - @speckle/webhook-service@2.3.17-alpha.2844
2022-04-07 16:14:33 +00:00
Gergő Jedlicska 55f658b04e Merge branch 'main' of github.com:specklesystems/speckle-server into CI/lernaPublish 2022-04-07 18:12:27 +02:00
CI cb03a52104 chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2830
 - @speckle/frontend@2.3.17-alpha.2830
 - @speckle/objectloader@2.3.17-alpha.2830
 - @speckle/preview-service@2.3.17-alpha.2830
 - @speckle/server@2.3.17-alpha.2830
 - @speckle/viewer@2.3.17-alpha.2830
 - @speckle/webhook-service@2.3.17-alpha.2830
2022-04-07 15:58:04 +00:00
Fabians 084cf1585e chore: adding node version checks + migrating server lock back to new format 2022-04-07 13:05:25 +03:00
Gergő Jedlicska 89d0d9e0ed style: fix eslint warnings 2022-04-04 22:32:34 +02:00
Fabians 4699e6794c reformatting again for 88 width 2022-04-04 19:21:28 +03:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 1355ddab6f style(all): some extra formatting fixes 2022-04-01 09:40:47 +02:00
Gergő Jedlicska 1dbb00b13f style(objectloader): fix eslint errors 2022-03-29 21:45:18 +02:00
Gergő Jedlicska 569b4688fa style(all): reformat with print width 88 2022-03-29 19:46:49 +02:00
Fabians aa5e94d640 chore: reformatting everything with prettier 2022-03-29 17:12:31 +03:00
Kristaps Fabians Geikins b157a98901 feat(server): simplified test running & IDE integrations 2022-03-16 17:31:53 +02:00
Kristaps Fabians Geikins 8010bf3c4c feat: Standardized & cleaned up formatting & linting across repo #617 (#618)
* feat: Standardized & cleaned up formatting & linting across repo

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-03-16 10:10:30 +02:00
Dimitrie Stefanescu f4a903922e chore(objectloader): bumps version 2022-03-07 11:59:00 +00:00
Felix Deiters b5b14f8637 Update readme.md
Added an example for server-side usage.
2022-03-02 00:22:44 +01:00
Felix Deiters e427c7f2f2 Fix Web Workers 2022-02-28 17:22:49 +01:00
Felix Deiters 28aff364a3 Allow to inject fetch to objectloader constructor 2022-02-28 12:46:26 +01:00
Felix Deiters 2f19961a6a Add WHATWG fetch as dev dependency
This allows to test the loader server side. Node.js will adopt undici’s fetch implementation with v18
https://github.com/nodejs/node/commit/6ec225392675c92b102d3caad02ee3a157c9d1b7
2022-02-28 11:46:14 +01:00
Dimitrie Stefanescu af0af7a416 chore(objectloader): bumps version 2022-01-13 15:05:17 +00:00
izzylys 7b29861f55 fix(objectloader): check for nulls and continue
null type is an object, so nulls here were throwing:
`"TypeError: Cannot read property 'referencedId' of null"
`

checking and continuing when nulls are encountered instead
2022-01-12 12:02:31 -08:00
Dimitrie Stefanescu 5b957771e8 fix(deps): re-bootstrapped everything and ensured local build actually works 2021-11-24 11:12:33 +01:00
Dimitrie Stefanescu 77fa95b152 chore(objectloader): bumps version & removes console log 2021-11-23 23:26:14 +00:00
cristi8 9ea48e2a77 wip viewer 2021-11-11 20:39:11 +02:00
cristi8 580039d1a0 wip viewer - optimizations 2021-10-31 19:00:31 +02:00
cristi8 0c305f9deb wip viewer 2021-10-29 21:40:13 +03:00