Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
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
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
cristi8 4fcfd56664 CI test for separate fe and be builds 2021-03-15 11:47:24 +02:00
Gergő Jedlicska a241dfc0c0 refactor(docker-compose and db init): rewrote docker-compose to work purely with env variables
It is possible to rename the default db in a postgres container instance via an env variable. This
renders the initdb script useless. The only shortcoming is that the app now uses the db root user
which is not ideal but its fine for a dev environment.
2021-01-27 19:55:52 +01:00
Gergő Jedlicska d478457565 Merge branch 'viewer_in_docker' into containers_kickstart 2021-01-26 09:36:26 +01:00
Gergő Jedlicska f14c600470 fix(git and docker ignore files): merged node_modules ignore commands into a single glob pattern
With each new package a new gitignore entry was required, it is now automatically ignored with a
glob pattern. Same thing added to the dockerignore file.
2021-01-26 09:27:14 +01:00
Gergő Jedlicska 6505322c3e Merge remote-tracking branch 'upstream/master' into containers_kickstart 2021-01-22 15:34:36 +01:00
Peter Grainger a5a233d913 feat(docker): refactor of Dockerfile and avoid loading dev dependency in prod
Refactor of the Dockerfile to keep as minimal as possible and add documentation. Also moved an npm module reference to only be referenced in development
2021-01-19 22:07:49 +00:00
Gergő Jedlicska 299ceee3a1 feat(dockerfile docker-compose app.js): production environment compatible build
Add consistent and optimized dockerfile with docs. Move http-proxy require to only in dev
environment. Removes mounting of server source code in the container. Restrict debug loggin only for
`speckle:*` logger.
2021-01-19 21:57:03 +01:00
Peter Grainger f45c6d5028 feat(docker): add docker configuration for frontend and server
Provide a Dockerfile to create an image containing the frontend and the server.
2021-01-19 12:03:01 +00:00
Gergő Jedlicska 51a6cacf5b add Dockerfile for server and frontend
add reddis insigth container for redis management

with a slightly hackish way (mounting the server forder inside the container)
add working server app with only `docker-compose up`
2021-01-18 21:15:06 +01:00