Commit Graph

2424 Commits

Author SHA1 Message Date
Dimitrie Stefanescu df29ab89bf Merge branch 'main' into 773-optimized-embed-endpoint 2022-06-19 20:00:29 +01:00
Dimitrie Stefanescu 5e18f5610f feat(embed): adds bg transparency toggle in share menu 2022-06-19 19:55:56 +01:00
Dimitrie Stefanescu 4d31f8fb8b fix(embed): fixes & improvements
- fixes issue reported by @jsdbroughton by cleaning up logic
- adds proper preview images
- adds transparent background option (via `&transparent=true` query)
2022-06-19 19:05:50 +01:00
Dimitrie Stefanescu c8ee97883c fix(frontend): adresses #806 2022-06-19 17:56:58 +01:00
Gergő Jedlicska ed98c5da14 ci(precommit): add missing babel dep (#808)
* ci(precommit): add missing babel dep

* ci(precommit): add missing babel/preset-env
2022-06-19 16:02:41 +02:00
Gergő Jedlicska 3265b85d0a Add minio container to the test deps (#807)
* ci(circleci): add S3 storage to test deps

* chore(cicleci): clean rando env variables

* ci(circleci): update postgres to latest version for forward comp testing

* ci(circleci): re-add removed env vars
2022-06-19 15:47:21 +02:00
Gergő Jedlicska f2df716a10 Merge branch 'main' of github.com:specklesystems/speckle-server 2022-06-17 09:30:54 +02:00
Gergő Jedlicska b40e568717 fix(server knex): parse env variable to int 2022-06-17 09:30:49 +02:00
Gergő Jedlicska b8a43b061a fix(server knex): parse env variable to int 2022-06-17 09:30:25 +02:00
Gergő Jedlicska 1194d4a5b6 fix(helm chart): quote integer value in chart 2022-06-17 09:26:56 +02:00
Gergő Jedlicska d817e6dd0a gergo/pgTimeout (#805)
* feat(server): add server authz pipeline rework first sketch

* feat(server authz): add new server authz middleware poc implementation

* test(server authz): add unittests for the new server authz workflow

* feat(wip rework of fileuploads vs blob storage): add basim impl of separate blob storage service

* feat(fileimport service): refactored file import service to utilize the new asssetstorage service

* refactor(server errors): refactor server errors to use the shared module definitions

Now all the errors inherit from BaseError

* refactor(fileimport service): cleanup after refactor

* feat(frontend fileimports): use the new blob storage for downloading the original file

* refactor(server fileimports): clean up the remnants of S3 storage from file imports

* refactor(server authz): centralize generic authz pipeline configs

* refactor(server blob storage): refactor / rename everything to use the `blob-storage` name

* ci(circleci): add s3 objectstorage environment variables

* ci(circleci): fix missing env variables

* ci(circleci): add minio test container

* ci(circleci): fix minio app startup

* ci(circleci): enable circleci remote docker

* ci(circleci): fix minio startup

* ci(cirleci): detach and wait properly for minio to start

* ci(circleci): revert to additional minio img config, it only fails when the container is stopped ?!

* ci(circleci): disable file uploads

* fix(fileimports): update with blob storage refactor leftovers

* feat(server blob storage): add blob storage graphql api

* refactor(server errors): merge new errors to shared module

* fix(server comments rte): fix import for RTE error

* chore(fileimports): remove node-fetch from dependency

* chore(server): remove body parser dependency

* fix(server blob storage): fix gql api

* fix(frontend): fix fileupload item not loading the new upload status, cause of premature event fire

* feat(server blob storage): fix file size limit and allow for public streams

* Update packages/server/modules/blobstorage/graph/schemas/blobstorage.graphql

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>

* chore(blobstorage): fix PR review issues

* fix(server): fix import bugs

* chore(docker): ignore python venv data for docker build context

* feat(knex): update knex configuration with min max connections and application_name

* feat(helm chart): configure postgres max connections for server in the helm chart

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2022-06-17 08:38:34 +02:00
Kristaps Fabians Geikins 827500c32b fix(frontend): embed viewer bugfixes & speed improvements (#804)
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2022-06-16 12:37:04 +03:00
Dimitrie Stefanescu 708d82e106 fix(frontend): adds missing comps re filters 2022-06-16 10:32:02 +01:00
Gergő Jedlicska ed458fb619 Add blob storage backend (#802)
* feat(server): add server authz pipeline rework first sketch

* feat(server authz): add new server authz middleware poc implementation

* test(server authz): add unittests for the new server authz workflow

* feat(wip rework of fileuploads vs blob storage): add basim impl of separate blob storage service

* feat(fileimport service): refactored file import service to utilize the new asssetstorage service

* refactor(server errors): refactor server errors to use the shared module definitions

Now all the errors inherit from BaseError

* refactor(fileimport service): cleanup after refactor

* feat(frontend fileimports): use the new blob storage for downloading the original file

* refactor(server fileimports): clean up the remnants of S3 storage from file imports

* refactor(server authz): centralize generic authz pipeline configs

* refactor(server blob storage): refactor / rename everything to use the `blob-storage` name

* ci(circleci): add s3 objectstorage environment variables

* ci(circleci): fix missing env variables

* ci(circleci): add minio test container

* ci(circleci): fix minio app startup

* ci(circleci): enable circleci remote docker

* ci(circleci): fix minio startup

* ci(cirleci): detach and wait properly for minio to start

* ci(circleci): revert to additional minio img config, it only fails when the container is stopped ?!

* ci(circleci): disable file uploads

* fix(fileimports): update with blob storage refactor leftovers

* feat(server blob storage): add blob storage graphql api

* refactor(server errors): merge new errors to shared module

* fix(server comments rte): fix import for RTE error

* chore(fileimports): remove node-fetch from dependency

* chore(server): remove body parser dependency

* fix(server blob storage): fix gql api

* fix(frontend): fix fileupload item not loading the new upload status, cause of premature event fire

* feat(server blob storage): fix file size limit and allow for public streams

* Update packages/server/modules/blobstorage/graph/schemas/blobstorage.graphql

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>

* chore(blobstorage): fix PR review issues

* fix(server): fix import bugs

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2022-06-16 11:31:03 +02:00
Dimitrie Stefanescu 7d39448537 feat(frontend): displays error if stream is 404 or something went wrong 2022-06-16 10:08:09 +01:00
Fabians 79708b9754 fix(frontend): embed viewer bugfixes & speed improvements 2022-06-15 17:10:47 +03:00
Kristaps Fabians Geikins 8d7f97b2cd feat(frontend): typescript support in frontend (#803) 2022-06-14 17:30:51 +03:00
Dimitrie Stefanescu 41e7df433a Merge pull request #793 from specklesystems/fabians/771-rich-text-editor
feat: rich text editor + implementation into stream comments
2022-06-13 17:40:01 +01:00
Dimitrie Stefanescu a9f7147f5b feat(frontend): minor styling fiddles 2022-06-13 13:36:10 +01:00
Dimitrie Stefanescu 1914c3db03 fix(frontend): typo in query 2022-06-13 13:14:41 +01:00
Fabians e6868e3bdb cleaning up todos 2022-06-13 12:59:53 +03:00
Fabians d7d91517b1 scrollbar optimizations 2022-06-13 12:54:32 +03:00
Fabians 20803a4b68 visibility fix for position calculation 2022-06-13 11:51:23 +03:00
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46:57 +03:00
Alexandru Popovici b9a895e524 Fixed the issue with the preview service together with Gergo (#798) 2022-06-09 14:34:29 +02:00
Dimitrie Stefanescu 45aeac86bc Merge pull request #797 from specklesystems/dim/quick-fixes
More Quick Frontend Fixes 😅
2022-06-08 22:08:57 +01:00
Dimitrie Stefanescu c3c1a2df8e feat(frontend): layout changes
fixes too wide for preview images issues, adds comments on the home page, improves empty state for
comments page, etc.
2022-06-08 21:51:59 +01:00
Dimitrie Stefanescu b11ccc48ad fix(frontend): fixes branch selection dark mode only 2022-06-08 19:43:46 +01:00
AlexandruPopovici fbb3701917 Fix for an older issues that was causing bad indices to be used 2022-06-08 17:06:36 +03:00
Dimitrie Stefanescu 99fac2f8e9 Merge pull request #796 from specklesystems/alex/circles-fix
Handles three issues: 1) Line weigth is now scaled according to units…
2022-06-08 13:18:36 +01:00
AlexandruPopovici 56cb11265c Handles three issues: 1) Line weigth is now scaled according to units specified in the lineStyle. 2) Fixed an issue where the circle point computation would scale the origin wrongly, leading to incorrect circle positioning. 3) Fixed an issue where the step size when computing point on a circle was too large, and the circles were very coarse, even squares 2022-06-08 01:41:26 +03:00
Dimitrie Stefanescu e213f59e9f Merge pull request #791 from specklesystems/dim/quick-fixes
Various quick fixes
2022-06-07 20:37:20 +01:00
Dimitrie Stefanescu 8b8d6e8761 feat(frontend): allows moving commits from one branch to another 2022-06-07 20:27:09 +01:00
Dimitrie Stefanescu 5bdb4c46da feat(backend): allows moving commits to another branch 2022-06-07 19:55:17 +01:00
Dimitrie Stefanescu d9e51aebed chore(frontend): removes dangling comment 2022-06-07 11:52:36 +01:00
Dimitrie Stefanescu b7db929357 fix(backend): branch tests 2022-06-07 11:47:35 +01:00
Dimitrie Stefanescu b733bf5114 fix(frontend): closes #686
recursively fetches branches until "done" in stream side bar
2022-06-07 00:36:51 +01:00
Dimitrie Stefanescu 34c97adcc8 Merge pull request #790 from specklesystems/alex/disable-stats-default
Disabled stats by default in the viewer init parameters
2022-06-06 23:22:09 +01:00
Dimitrie Stefanescu f4aa075ad7 fix(frontend): closes #227
trust by default apps (server pre-registered apps) are now redirected by default, without any user
interaction.
2022-06-06 21:29:45 +01:00
Dimitrie Stefanescu 19749e0679 fix(frontend/backend): closes #740
adds triggers to webhook creation form in frontend, unifies naming in backend
2022-06-06 21:20:17 +01:00
AlexandruPopovici 1655a44265 Changed the non camel case variable names to camel case to appease the linter. In my opinion this change has absolutely zero added value. 2022-06-06 23:01:53 +03:00
AlexandruPopovici 57c3804235 Disabled stats by default in the viewer init parameters 2022-06-06 22:56:01 +03:00
Dimitrie Stefanescu 27d32bc9c2 fix(backend): closes #705 (adds be validation & tests) 2022-06-06 20:35:51 +01:00
Dimitrie Stefanescu 24a8c3baf5 fix(frontend): fixes #705 (adds frontend validation for '//' or '////' in branch names) 2022-06-06 20:30:43 +01:00
Dimitrie Stefanescu c1ace2734c Merge pull request #789 from urbansurgery/jsdbroughton-patch-noisyconsole
Silencing the noisy Embedded Viewer console log
2022-06-06 09:47:08 +01:00
Jonathon Broughton 7b505e0241 Calling $on for $eventHub conditional on its presence.
This code on the mount event for this component when using the embedded viewer on a page is very noisy with respect to $eventHub seemingly being not present on the Vue instance, or at least not at the time of mounting.
2022-06-05 11:44:27 +01:00
Kristaps Fabians Geikins 437e1558ec fix: fixing all builds that broke with the new viewer (#788)
builds fix + viewer logic fixes
2022-06-02 18:13:32 +03:00
Dimitrie Stefanescu d0c1178a03 Merge pull request #777 from specklesystems/alex/viewer-redux
Alex/viewer redux
2022-06-02 12:06:56 +01:00
Dimitrie Stefanescu 99e922cdd0 Merge branch 'main' into alex/viewer-redux 2022-06-02 12:01:13 +01:00
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