izzy lyseggen
dc4d8de77e
Merge branch 'izzy/gql-subscriptions' of https://github.com/Speckle-Next/Server into izzy/gql-subscriptions
2020-08-20 15:26:30 +01:00
izzy lyseggen
22248bf538
test(subs): basic tests for all subscriptions
...
did somebody say TESTS 🥳
2020-08-20 15:26:17 +01:00
Dimitrie Stefanescu
d40258cfe6
test(circleci): added test server runner separately
2020-08-20 15:39:02 +03:00
izzy lyseggen
ac58d4f53a
Revert "test(subs): bump to timeout 7k"
...
Didn't work.
This reverts commit 41153f1aeb .
2020-08-20 10:42:48 +01:00
izzy lyseggen
41153f1aeb
test(subs): bump to timeout 7k to pacify circle ci
2020-08-20 10:36:05 +01:00
izzy lyseggen
762f369c56
test(subs): bump timeout to 5k bc steve jobs's 👻
2020-08-20 10:08:43 +01:00
Dimitrie Stefanescu
7a03c884ea
fix(tests/subscriptions): fixes port conflict in subscription tests when ran from all tests command
2020-08-20 11:31:25 +03:00
Dimitrie Stefanescu
29dfa57d82
test(subscriptions): subscription tests now run independently 🙌
2020-08-20 11:26:51 +03:00
Dimitrie Stefanescu
e4f213d4f6
test(subscriptions): works with separate run test server, figuring out starting it from test file
...
doing `npm run dev:server:test` and running the test with that server over port 3000 works. seems
like ws upgrade requests are not honoured when the server is started from the test file (on 3001).
2020-08-20 10:27:48 +03:00
Dimitrie Stefanescu
45d73e3a47
test(subscriptions): first working scaffold of subscriptions test!
2020-08-19 21:47:48 +03:00
Dimitrie Stefanescu
b3cf8e863a
refactor(test/subscriptions): split out the subs test file & added npm test script for it
2020-08-19 17:27:17 +03:00
Dimitrie Stefanescu
1f25b8c5fe
refactor(subscriptions): fiddles and riddles
2020-08-19 16:49:39 +03:00
izzy lyseggen
a4abbe0eaf
test(subs): breaking your tests dim sorry 🙃
...
added three subscription tests that fail b/c i'm dumb and don't know
how the mystical websocket woo woo witchcraft works
2020-08-14 15:36:27 +01:00
Matteo Cominetti
80b293c592
feat(gql): adds tests for stream search and user search
2020-07-29 18:56:58 +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
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
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
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
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
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
0b879231f8
test(object services): added missing tests for new object services (batch create & stream)
2020-07-08 23:57:59 +01:00
Dimitrie Stefanescu
9e728b85b6
test(upload/download): scaffolded tests for upload/download routes
2020-07-08 23:55:18 +01:00
Dimitrie Stefanescu
7764449025
refactor(compliance): fixes issues stemming from chaning the getObject return signature
2020-07-08 22:45:43 +01:00
Dimitrie Stefanescu
a8d096088f
feat(streaming&fixes): fixes index on closure table & finalizes streaming response for obj children
2020-06-26 23:45:17 +01:00
Dimitrie Stefanescu
165f1cdf64
feat(auth): scaffolding app authz & authn flows
2020-06-05 23:41:03 +01:00
Dimitrie Stefanescu
7c499f18e3
feat(auth): login screen scaffolding
2020-06-02 11:08:15 +01:00
Dimitrie Stefanescu
58bb827dc3
feat(apps & auth): wIP: scaffolding "everything is a client app" backbone
2020-05-31 21:16:41 +01:00
Dimitrie Stefanescu
eb1c90e6b9
test(fixes): mirgation didn't happen in the generic suite; now it does
2020-05-23 21:15:23 +01:00
Dimitrie Stefanescu
3c949e00aa
test(circle): is throwing weird errors
2020-05-23 20:58:52 +01:00
Dimitrie Stefanescu
6eafa2da71
feat(roles & api): added server-bound user roles, validation, tests, and adde missing api routes
2020-05-23 20:44:39 +01:00
Dimitrie Stefanescu
59e03f80ee
feat(resolvers): added serverInfo route, bumped test coverage
2020-05-21 10:24:02 +01:00