Commit Graph

176 Commits

Author SHA1 Message Date
Matteo Cominetti 304397e1ee Merge commit '49f05eac5f6a8af2ae71d9ef650bab2e5c995b9d' into matteo/gql
# Conflicts:
#	readme.md
2020-07-27 23:14:51 +01:00
Matteo Cominetti c6e08b2c5d feat(gql): adds UserSearchResults and improves user search 2020-07-27 23:13:20 +01:00
Dimitrie Stefanescu 49f05eac5f Merge pull request #12 from Speckle-Next/matteo/dev
Matteo/dev
2020-07-26 20:07:32 +01:00
Dimitrie Stefanescu 46e6572ab9 chore(typo & linting): fixed minor typos in readme & linting errors 2020-07-26 20:06:20 +01:00
Matteo Cominetti 8df402e4cb fix(gql): query users, improves validations 2020-07-25 21:21:59 +01:00
Matteo Cominetti 9733cc602d feat(gql): search users wip 2020-07-25 21:04:29 +01:00
Matteo Cominetti f4d236cd63 fix(gql): commitUpdate return type 2020-07-25 14:29:31 +01:00
Dimitrie Stefanescu d7e3df94da Merge pull request #11 from Speckle-Next/dim/gql-integration
Dim/gql integration
2020-07-25 10:55:54 +01:00
Dimitrie Stefanescu 3a3d1a27ba Merge branch 'dim/gql-integration' of https://github.com/Speckle-Next/SpeckleServer into dim/gql-integration 2020-07-25 10:53:19 +01:00
Dimitrie Stefanescu e199e881f2 fix(upload): upload response status changed from 303 (redirect) to 201 (created)
this was confusing clients, which were actually following the redirect 😬
2020-07-25 10:52:55 +01:00
Matteo Cominetti 72c4a430d1 Merge commit 'ea38bd1c771122eeef373802f221f2f35045598c' into matteo/dev 2020-07-23 16:53:35 +01:00
Dimitrie Stefanescu ea38bd1c77 Merge pull request #8 from Speckle-Next/dim/gql-integration
Dim/gql integration
2020-07-22 22:14:30 +01:00
Dimitrie Stefanescu 7662c72af7 Merge branch 'master' into dim/gql-integration 2020-07-22 22:13:20 +01:00
Dimitrie Stefanescu cdb3e969a4 chore(package.json): fixes merge conflicts w/h @izzylys's cross-env fix 2020-07-22 22:12:02 +01:00
Dimitrie Stefanescu 89e8f671c8 test(pass): all tests now pass 🧙‍♂️
increase coverage to >90% (and keep it there). currently at 89.6% - so close
2020-07-22 22:03:51 +01:00
Dimitrie Stefanescu 2208513ccf test(branches): fixed branch services tests 2020-07-22 21:35:03 +01:00
Dimitrie Stefanescu 73a7f2853d test(gql): fixed last gql tests (objects) 2020-07-22 21:31:24 +01:00
Dimitrie Stefanescu f6b1a545e6 feat(gql): implemented stream commit resolver 2020-07-22 21:15:27 +01:00
Matteo Cominetti eb4f7a9a46 fix(graphql): AuthorizationError is not a constructor 2020-07-22 21:07:09 +01:00
Matteo Cominetti 38828dbf2a docs: updated readme 2020-07-22 17:45:03 +01:00
Matteo Cominetti a10ff051e3 docs: updated readme 2020-07-22 12:39:57 +01:00
Dimitrie Stefanescu b14dae6829 feat(gql): implemented resolvers & tests for stream commits & branch commits 2020-07-22 10:58:08 +01:00
Dimitrie Stefanescu 0fe6a0f4af feat(gql): implemented branch query resolvers & tests 2020-07-22 09:38:13 +01:00
Dimitrie Stefanescu a9a77872d2 feat(gql): stream users now returns a custom type - no longer polluting the original
& many other fixes & squashed bugs (stream counts, other users' streams, etc.)
2020-07-21 23:40:42 +01:00
Dimitrie Stefanescu a1b1663309 fix(cursor): fixing date-only cursors casting (.toISOString()) in getUserStreams 2020-07-20 18:08:12 +01:00
Dimitrie Stefanescu 6fd72ad0fa refactor(gql): services & resolvers around user streams, branches, etc 2020-07-20 17:27:39 +01:00
Dimitrie Stefanescu 2b33ab5aa2 feat(various): gql api (tests & resolvers), added eslint & editorconfig 2020-07-20 15:33:56 +01:00
Dimitrie Stefanescu 9715129284 feat(gql): (re-)implemented some commits & re-organized gql tests 2020-07-20 00:58:00 +01:00
Dimitrie Stefanescu 13b6ccb400 chore(naming): renamed apps to auth 2020-07-19 23:57:46 +01:00
Dimitrie Stefanescu a80d851c62 chore(files): removed coverage report file 2020-07-19 22:51:01 +01:00
Dimitrie Stefanescu 6becdcbb98 feat(services): added public streams only filter for getting user's commits 2020-07-19 22:41:51 +01:00
Dimitrie Stefanescu d2ddf03746 feat(api): implemented branch & commit services + tests 2020-07-19 21:56:43 +01:00
Dimitrie Stefanescu 4d6e899750 feat(api): cleaning up in progress
services for objects, branches, and commits; fixed some tests, scaffolded graphql api & resolvers
2020-07-19 13:39:50 +01:00
Dimitrie Stefanescu 35fd2cfc49 feat(api): api & services pruning 2020-07-17 20:39:23 +01:00
Dimitrie Stefanescu f2546b8c85 Merge pull request #6 from Speckle-Next/izzy/dev
chore: set up cross-env for windows
2020-07-17 18:56:11 +01:00
izzy lyseggen 05bb426f59 chore: set up cross-env for windows
scripts were failing on windows when setting env vars.
I've added cross-env to the problematic test and dev scripts and they
all work fine on windows now. however, I don't have a mac to test there.
2020-07-17 15:43:55 +01:00
Dimitrie Stefanescu 7a2312fba2 feat(api): ⚠️ WIP. Partially cleans up api, modules and services around streams 2020-07-17 10:22:58 +01:00
Dimitrie Stefanescu eabf1cca52 Merge pull request #4 from Speckle-Next/dim/streaming-endpoint
fix(local authn): fixes some uncaught errs
2020-07-15 10:55:32 +01:00
Dimitrie Stefanescu 436bdf8df4 fix(auth): correctly checks whether authN strategies are enabled before loading them
+ cleans up gql api on apps
2020-07-15 10:52:07 +01:00
Dimitrie Stefanescu f9eea0eac2 ci(env vars): added canonical url env 2020-07-15 10:43:49 +01:00
Dimitrie Stefanescu 298c92afe8 test(circleci): added missing env vars for remote tests 2020-07-15 10:39:22 +01:00
Dimitrie Stefanescu 6be937541e fix(local authn): fixes some uncaught errs & adds tests for local authN api 2020-07-15 10:30:21 +01:00
Dimitrie Stefanescu 8412378b41 Merge pull request #1 from Speckle-Next/dim/streaming-endpoint
Dim/streaming endpoint
2020-07-14 23:44:42 +01:00
Dimitrie Stefanescu 1f83ca0428 test(upload/download): finalised up/down tests & fixed implementation bugs in the process 💀 2020-07-14 23:39:02 +01:00
Dimitrie Stefanescu 302dfe0500 test(upload/download): implemented some of the up/down tests 2020-07-14 20:02:33 +01:00
Dimitrie Stefanescu 187204073d refactor(naming): renamed root to appRoot & updated all usage 2020-07-14 15:13:44 +01:00
Dimitrie Stefanescu e3aacb7d08 fix(objecs): makes createObjectsBatched await its promises (forEach -> for ... of) 2020-07-14 12:51:13 +01:00
Dimitrie Stefanescu 0267a809df test(objects): adds (failing) tests for createObjectsBatched and getObjectChildrenStream services 2020-07-14 00:19:42 +01:00
Dimitrie Stefanescu 55f50952f2 fix(user email): corrects behaviour on protecting user/profile email feild 2020-07-13 23:32:38 +01:00
Dimitrie Stefanescu 8b8b449ed2 fix(users): fixes scope checking in user & email resolvers (profile:read/email & user:read/email) 2020-07-11 13:27:07 +01:00