Commit Graph

68 Commits

Author SHA1 Message Date
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
Matteo Cominetti 0563296f6f feat(server): extends invite scope 2022-05-13 10:15:56 +01:00
Gergő Jedlicska d2166c3f38 Merge branch 'main' of github.com:specklesystems/speckle-server into defaultAppScopeHandling 2022-05-11 11:43:13 +02:00
Dimitrie Stefanescu 88be9dad60 fix(apps): selects all relevant fields in get all apps query (inc. trustByDefault) 2022-05-11 10:39:44 +01:00
Dimitrie Stefanescu 4bf130efe7 chore(app scope handling): adds logging 2022-05-11 10:30:38 +01:00
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Gergő Jedlicska 6e62d97ed0 test(server default apps): test default app update borkage doesn't screw up the app data 2022-04-28 15:40:04 +02:00
Gergő Jedlicska a92028d47f refactor(server default apps): i dont like mutating input objects inside functions 2022-04-28 15:38:56 +02:00
Gergő Jedlicska 1fea215852 test(server default apps): expand default apps update test with token scopes checks 2022-04-28 14:32:55 +02:00
Gergő Jedlicska fc21bbfa02 refactor(server default apps): clean default apps update implementation 2022-04-28 14:32:13 +02:00
Gergő Jedlicska 849b6fc90e feat(server app scopes): initial transation imp for updating user app tokens for default apps 2022-04-28 13:38:09 +02:00
Gergő Jedlicska 735523662d default apps auto auth 2022-04-26 14:47:19 +02:00
Gergő Jedlicska 765e6e3080 refactor(server default apps): minor cleanup 2022-04-25 18:39:18 +02:00
Gergő Jedlicska 295d66cc18 feat(default apps): update manager and connectors with user invite scopes
fix #679
2022-04-25 11:56:39 +02:00
Gergő Jedlicska 2fe2d11bbe test(server apps tests): test default app permissions not being revoked 2022-04-25 11:47:51 +02:00
Gergő Jedlicska d9bcada494 feat(server default apps): remove revoke default app credentials after updating it
fix #680
2022-04-25 11:47:08 +02:00
Cristian Balas 5a0632b7a3 auth fixes, k8s fixes (#696) 2022-04-13 17:11:11 +03:00
Matteo Cominetti 8b7f539427 feat: removes matomo & changes some CI/CD settings (#670) 2022-04-06 15:58:05 +03:00
Gergő Jedlicska 89d0d9e0ed style: fix eslint warnings 2022-04-04 22:32:34 +02:00
Gergő Jedlicska 4812d53aa4 Merge branch 'main' of github.com:specklesystems/speckle-server into eslintAllTheThings 2022-04-04 22:06:53 +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
Kristaps Fabians Geikins 16da51b96a fix(server): awaiting revokeRefreshToken to ensure it fails within request scope (#652)
* fix(server): awaiting revokeRefreshToken to ensure it fails within request scope

* removed unnecessary error throw
2022-04-04 17:00:27 +03:00
Gergő Jedlicska 1355ddab6f style(all): some extra formatting fixes 2022-04-01 09:40:47 +02:00
Gergő Jedlicska 547cdef70c test(server test): fix revoke token test 2022-03-31 15:53:13 +02:00
Gergő Jedlicska 7906307a8f fix(server tests): fixed all non awaited rejected promisses 2022-03-31 15:21:13 +02:00
Gergő Jedlicska d53df11f77 style(server): fix all eslint errors and break the tests 2022-03-31 14:18:44 +02:00
Fabians abe6d5e086 chore: re-formatted everything with prettier 2022-03-30 12:54: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
Gergő Jedlicska 9964f61ab2 style(server): fix auth tests linting 2022-03-23 18:07:21 +01:00
Cristian Balas f37e623c8b Server limits and ratelimits (#632) 2022-03-23 14:29:58 +02:00
Matteo Cominetti f4ac882445 tests(server): updates default number of apps 2022-03-16 17:56:12 +00:00
Matteo Cominetti 01ca45ff48 feat(server): adds a default registered app for authenticating connectors without manager 2022-03-16 17:50:37 +00:00
Gergő Jedlicska 799589b5fe Merge pull request #575 from specklesystems/unittestRefactor
Rework test hooks
2022-02-08 12:29:24 +01:00
Cristian Balas 9329265708 Upgrade dependencies (#577) 2022-02-07 14:04:26 +02:00
Gergő Jedlicska 68a4a95d90 refactor(server): rework test hooks
drop db migration before and after hooks, add helpers and root hooks

fix #531
2022-02-05 15:05:17 +01:00
Gergő Jedlicska 7797dd317f test(server auth): add test for server invite with stream sharing 2021-11-18 12:49:39 +01:00
Gergő Jedlicska fd11f35492 fix(server local auth): re-rework the local auth workflow, prev, there was a gap 2021-11-17 13:51:32 +01:00
Gergő Jedlicska 3ffc156b79 fix(server local auth): user is created before the invite is used, so stream permissions can be set
fix #470
2021-11-17 13:22:50 +01:00
Gergő Jedlicska 8050c30d6d test((server) archival tests): add archived user scope tests
also i'm trying to fix flaky tests
2021-11-04 13:33:22 +01:00
Gergő Jedlicska abdb0174b6 feat((server) lower case email matching): user and invites ignore email casing
user email and invite email comparison is now done on a lower case basis

fix #409
2021-10-08 17:14:00 +02:00
Dimitrie Stefanescu 5a97f1716e fix(server/cors): enables cors on upload endpoints 2021-09-29 10:53:18 +01:00
luz paz ad97cdf444 Fix various typos
Found via `codespell -q 3 -L optio,promisses,usera`
2021-07-22 09:23:21 -04:00
Dimitrie Stefanescu 2f61cef46a fix(server): changes excel app name to make sure we're not infringing on trademarks 😬 2021-06-02 17:26:57 +01:00
Dimitrie Stefanescu 87baf940e2 fix(server): adds link to docs for excel app 2021-06-02 17:24:51 +01:00
Dimitrie Stefanescu 35f76554e3 test(server): updates tests on apps 2021-06-02 17:22:02 +01:00
Dimitrie Stefanescu 5f83c79bf9 feat(server): adds a default app for the excel connector 2021-06-02 17:18:24 +01:00
Dimitrie Stefanescu f19369139d fix(server): ensures frontend app url is always sourced from env in auth finalisation middleware 2021-05-05 12:07:10 +01:00
Dimitrie Stefanescu f549e72e11 improvement(server): makes ad strategy logging less verbose in non debug env 2021-05-04 19:33:21 +01:00