Commit Graph

53 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 0a58381174 feat: @speckle/shared & some comments fixes (#997) 2022-10-10 16:32:23 +03:00
Kristaps Fabians Geikins f991504932 feat: stream access requests (#976) 2022-09-06 11:10:38 +03:00
Kristaps Fabians Geikins ecb9f825bb refactor: email verification flow & email template (#967) 2022-08-31 17:11:19 +03:00
Kristaps Fabians Geikins af45fc2742 feat(server): notify on comment mention + notifications API (#933) 2022-08-19 10:27:48 +03:00
Fabians a10c49e731 feat: stream comment attachments 2022-06-28 15:26:38 +03: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
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46:57 +03: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
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
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03: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
Dimitrie Stefanescu d0be5eaced tests(comments): exclude archived comms from resource total count calcs 2022-03-20 10:07:03 +00:00
Dimitrie Stefanescu 5ede207f7d feat(comments): adds comment counts to streams, commits and objects + tests 2022-03-19 20:50:52 +00:00
Dimitrie Stefanescu fa79812d11 fix(comments): prevents stream hopping on subs 2022-03-19 18:17:05 +00:00
Dimitrie Stefanescu 280013287f Merge branch 'dim/bubbles' into dim/bubbles-cosmetics 2022-03-19 14:32:05 +00:00
Dimitrie Stefanescu 5231d88c23 feat(comments): fixes frontend + backend bugs,
adds more schema comments
2022-03-19 14:25:36 +00:00
Dimitrie Stefanescu a35e42cb7d feat(comments): deletion handled properly in frontend 2022-03-18 17:43:02 +00:00
Gergő Jedlicska 84686e8428 Merge branch 'dim/bubbles-cosmetics' of github.com:specklesystems/speckle-server into dim/bubbles 2022-03-18 09:56:54 +01:00
Dimitrie Stefanescu 7a0f6a1a20 feat(comments): comments on the schema! 2022-03-17 21:03:27 +00:00
Gergő Jedlicska c6c86cdc7c test(server comments): cleanup tests 2022-03-17 21:50:46 +01:00
Dimitrie Stefanescu 3a6c9a88d1 style(comments): removes unnecessary imports 2022-03-17 18:02:12 +00:00
Dimitrie Stefanescu e9e96d26ab resolves merge conflicts 2022-03-17 17:54:08 +00:00
Gergő Jedlicska b8040eebb5 test(server comments): add archival tests 2022-03-17 17:58:09 +01:00
Dimitrie Stefanescu d85425af66 fix(comments): some fixes 2022-03-17 12:50:18 +00:00
Dimitrie Stefanescu ac527d1660 feat(comments): adds guards on commit creation & commit hopping in resolvers 2022-03-17 12:21:32 +00:00
Dimitrie Stefanescu 1c00fbd80b fix(comments): tests 2022-03-16 19:41:40 +00:00
Dimitrie Stefanescu 741d41c814 Merge branch 'dim/bubbles' into dim/bubbles-cosmetics 2022-03-16 17:09:30 +00:00
Dimitrie Stefanescu e916ced857 feat(comms): wip 2022-03-16 16:55:51 +00:00
Dimitrie Stefanescu e3655b2650 feat: wip 2022-03-16 10:02:37 +00:00
Gergő Jedlicska 2463b84170 fix(server comments): update comments table migration, add some more tests 2022-03-16 09:43:31 +01:00
Dimitrie Stefanescu 684ea9d675 style(comments): various clarity changes 2022-03-15 23:02:31 +00:00
Dimitrie Stefanescu 3fb8fb0e66 feat(comments): adds unread display helpers 2022-03-15 22:45:29 +00:00
Dimitrie Stefanescu 57e936c67f feat(comments): adds last viewed at, retwerks some queries 2022-03-15 20:30:49 +00:00
Dimitrie Stefanescu 04ced099e4 feat(comments): adds sidebar + fixes inf loading, etc 2022-03-15 11:35:56 +00:00
Gergő Jedlicska cdc77b1acb test(server comments): add more tests 2022-03-15 11:53:05 +01:00
Dimitrie Stefanescu 0e01d46b8e feat(comments): reworks query; adds comments page on stream 2022-03-14 10:03:26 +00:00
Dimitrie Stefanescu 9e2cfa2c39 feat(comments): various (back + front)
updates `updatedAt` of parent comment on reply; shuffles events; finalises various interactions
2022-03-12 18:27:25 +00:00
Gergő Jedlicska 7dd1bfc8bb feat(server comments): add archival mutation to comments, query also supports it 2022-03-11 11:46:10 +01:00
Gergő Jedlicska 519ea2ec2c fix(server comments): fix pagination time confilct js <-> postgres 2022-03-11 10:31:59 +01:00
Gergő Jedlicska a9e545ae60 fix(server comments): no mandatory stream as comment target resource 2022-03-10 11:33:33 +01:00
Gergő Jedlicska f1276b03fe feat(server): add screenshot to comments 2022-03-09 12:36:10 +01:00
Gergő Jedlicska c69bc1c3f3 fix(server): comments fix resourceId vs id and type 2022-03-03 14:14:44 +01:00
Gergő Jedlicska 1fa737d0ee feat(server): add comment reply query mutation and storage 2022-03-02 23:05:44 +01:00
Gergő Jedlicska f7351202fa refactor(server): remove test code 2022-02-28 16:23:56 +01:00
Gergő Jedlicska d744adac29 feat(server): add multi resource comment query 2022-02-28 12:45:21 +01:00
Gergő Jedlicska 72334a8f06 feat(server): add comment storage and retreive backedn 2022-02-25 14:16:49 +01:00
Gergő Jedlicska 6365589850 feat(server): update comment api 2022-02-24 17:54:08 +01:00
Dimitrie Stefanescu 89950ba842 feat(bubbles): wip 2022-02-23 10:25:46 +00:00