Commit Graph

38 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 03bd49ef6d feat(apps): scaffolded more app services & more (cleanup, tests, etc.) 2020-09-18 16:46:23 +01:00
izzy lyseggen b8c0bb4125 refactor(mutations): make inputs consistent
all mutations that require more than 1 input now has an input type 🌟
fixes #10
2020-08-21 16:45:21 +01: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 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
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 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 187204073d refactor(naming): renamed root to appRoot & updated all usage 2020-07-14 15:13:44 +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 7764449025 refactor(compliance): fixes issues stemming from chaning the getObject return signature 2020-07-08 22:45:43 +01:00
Dimitrie Stefanescu 165f1cdf64 feat(auth): scaffolding app authz & authn flows 2020-06-05 23:41:03 +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 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
Dimitrie Stefanescu bd5d7436f6 feat(roles): storing & enforcing roles 2020-05-20 18:30:04 +01:00
Dimitrie Stefanescu a3557570ef feat(scopes and roles): separated user and token services 2020-05-18 20:36:15 +01:00
Dimitrie Stefanescu ec1467a093 fix(tests): removed console.log statement 2020-05-14 15:11:25 +01:00
Dimitrie Stefanescu a68bd628c6 feat(rest): removed the rest api 2020-05-14 13:36:50 +01:00
Dimitrie Stefanescu 05afd4f839 fix(tests & queries): added graphql handlers for object children, tests, and refactoring
Graphql:
2020-05-13 14:19:46 +01:00
Dimitrie Stefanescu 9c8c7c7f0a test(general): improved coverage, fixed rest api that was out of sync & rest api intergration tests 2020-04-26 22:08:37 +01:00
Dimitrie Stefanescu 6a2adcf7e8 test(graphql): more tests for graphql implementation 2020-04-26 18:23:36 +01:00
Dimitrie Stefanescu ba874be0e4 feat(graphql): consolidated some responses, and improved some resolver behaviour 2020-04-26 13:15:48 +01:00
Dimitrie Stefanescu 6deadb6f5c test(graphql): added more tests 2020-04-26 12:41:48 +01:00
Dimitrie Stefanescu c1924ba549 test(graphql): adding more tests 2020-04-25 20:56:16 +01:00
Dimitrie Stefanescu 8da320beee refactor(init logic): changes init logic so tests can start & stop a full server independently 2020-04-25 12:24:20 +01:00
Dimitrie Stefanescu d35af3bb94 feat(graphql): added first working test 2020-04-23 18:25:49 +01:00
Dimitrie Stefanescu e3dd8b1d81 feat(app init): async'ed app init & awaiting knex.migrate.latest() on first run
fixes the bug where the server would start w/o actually waiting for migrations to happen
2020-04-22 17:32:01 +01:00