Commit Graph

4652 Commits

Author SHA1 Message Date
Dimitrie Stefanescu df6e31fa3f fix(grammar): ht @izzylys for spotting 2022-06-20 10:51:03 +01:00
Dimitrie Stefanescu f2a8c78219 fix(frontend): ensures commit edit shows up for stream owners too 2022-06-20 10:46:40 +01:00
Dimitrie Stefanescu f6cb75e1d8 fix(frontend): various papercuts
- properly refreshes branches when new one is created
- no longer edits the prop on commit edit
- increases toast timeout to 10s
- allows for stream owner commit editing
2022-06-20 10:32:13 +01:00
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
AlexandruPopovici d4c0495860 #783. Fixed a misplaced 'if' inside the mesh batch draw material ranges function. Added HideAll draw range constant. We're using this when we want to hide an entire batch so that three.js does not do all the buffer binding, material and state switching for batches that have a draw range of 0-0. Apparently three.js doesn't skip all the GL commands automatically for meshes with 0 draw range 2022-06-18 00:38:41 +03:00
AlexandruPopovici dad9acb3e9 #783 Implemented visibility ranges for line batches 2022-06-18 00:07:56 +03:00
AlexandruPopovici 60536592a4 #783 Implemented visible range for batches. Required when wanting to isolate/hide/don't show stuff. Only implemented it for the mesh batch type for now. Line batch is next 2022-06-17 19:07:10 +03:00
AlexandruPopovici c7a2390bf3 #783 Implemented multi selection via multiple draw range with automatic fill of groups. Implemented selection of multiple objects when clicking something in the world, if that object is part of a whole and it needs to be selected together with others. It's not perfect yet, I;ve seen some bad selections, but will fix that soon 2022-06-17 17:28:39 +03: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
AlexandruPopovici d508eb6d5b #783. Implemented separate materal draw ranges for the line batches. Added the Batch common interface and separate the MeshBatch from the LineBatch, both implementing the Batch interface. Selection now works properly for both meshes and lines 2022-06-16 19:40:32 +03:00
AlexandruPopovici 4d764c166c #783 Implemented line batch colouring using an additional InstancedBufferAttribute where each line segment can have it's own color. This way we can know which subset to color differently. Transparency is also supported in theory, but will get to that later on. Also started to split the mesh batch from the line batch since they will be conceptualyl different, but share a common contract 2022-06-16 17:19:41 +03: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
AlexandruPopovici 6084a4849c #783 Implemented picking for the batched meshes 2022-06-15 17:30:04 +03:00
Fabians 79708b9754 fix(frontend): embed viewer bugfixes & speed improvements 2022-06-15 17:10:47 +03:00
AlexandruPopovici 059893da30 #783 Fixed an issue with some types of lines and the current batching system which made the batched lines look really broken 2022-06-15 14:44:44 +03:00
AlexandruPopovici 1846554778 #783 Working on picking and fixing some issues which arose a few days ago regarding some types of lines when I switched to full-tree represenation 2022-06-15 11:13:25 +03:00
Kristaps Fabians Geikins 8d7f97b2cd feat(frontend): typescript support in frontend (#803) 2022-06-14 17:30:51 +03:00
AlexandruPopovici 2157631def #783 Fixed an issue where some meshes were left out of batching. Added transparency to materials that require it. Seems to be working fine so far, though we might see issues in the future] 2022-06-14 13:01:04 +03:00
AlexandruPopovici ae46d0ce5e #783 Fixed an issue with batching a single mesh at the end of the batch list. Geometries can now inherit render materals/display styles from their entire hierarchy 2022-06-14 01:26:16 +03:00
AlexandruPopovici b5c6e4ac37 #783 Fixed RTE not working with batched line segments 2022-06-13 22:42:06 +03:00
AlexandruPopovici 6cf41f64c4 #783. Some changes regarding materials, default materials and material hashes 2022-06-13 22:26:41 +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
AlexandruPopovici bee051ff49 #783. Implemented line batching. This is actually a big change, since the prevous viewers did not have line batching and it was causing huge performance problems with having to render thousands of lines separately. As expected, batching lines did require a bit of a change to how we render the actual line geometries, but managed to get most of them in. Still need to account for high/low buffer splitting for the individual segments. 2022-06-10 17:08:58 +03:00
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46:57 +03:00
AlexandruPopovici 757cc7e666 783. Continued working on batching. Got first batches to render on the screen. A bit messed up, but it's something 2022-06-10 00:08:03 +03:00
AlexandruPopovici f2c11abb23 #783. Started working on the Batcher will will organize the render nodes into batches that minimize draw calls neatly 2022-06-09 18:02:13 +03:00
Alexandru Popovici b9a895e524 Fixed the issue with the preview service together with Gergo (#798) 2022-06-09 14:34:29 +02:00
AlexandruPopovici 386500be7a #783 Removed the concept of nested nodes. It was complicating matters unnecessarily. Any nodes inside other nodes display values are chidlren of that node now. 2022-06-09 13:09:55 +03:00
AlexandruPopovici 665fda37ae #783. Started working on materials and their render tree interaction 2022-06-09 00:10:10 +03: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