Commit Graph

76 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 71bb84dccc feat(auth): user login scaffold 2020-06-02 15:36:17 +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 3d5e9d3075 feat(setup): finalised(-ish) setup flow & added auth sub app scaffold 2020-05-28 15:59:37 +01:00
Dimitrie Stefanescu ceba8905d3 feat(structure): frontend + backend <3 2020-05-28 08:58:24 +01:00
Dimitrie Stefanescu 34d9780b8a feat(setup flow): added token scope, scaffolding setup app 2020-05-25 15:11:47 +01:00
Dimitrie Stefanescu 23b63c749c feat(structure): structured frontend into an MPA and various other fixes 2020-05-24 20:16:51 +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 b88764a58a refactor(general): unified testing command names 2020-05-22 16:25:49 +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 eb240fdd43 feat(tokens): added db-bound token scopes 2020-05-20 15:55:54 +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 908801d3d8 test(general): updated failing tests 2020-05-13 17:53:12 +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 6376c79ebd test(queries): added more tests & comments on the heavy weight query 2020-05-11 14:58:56 +01:00
Dimitrie Stefanescu ff8fc25ba1 test(queries): refactored some tests on children queries 2020-05-11 09:25:30 +01:00
Dimitrie Stefanescu 755f9e63db feat(queries): fixed keyset non-sequential scan pagination 2020-05-10 17:35:45 +01:00
Dimitrie Stefanescu 34490a5a1b feat(queries): keyset cursor works on non-unique field values 2020-05-10 17:17:38 +01:00
Dimitrie Stefanescu dfc8920d3a feat(queries): finished implementation of getObjectChildrenQuery
It's as efficient as I could get it to be, while still providing a totalCount of the requested
object subset given the query constraints.
2020-05-08 19:10:32 +01:00
Dimitrie Stefanescu b39d729729 feat(queries): implemented 90% of the getObjectChildrenQuery
bobby drop tables is not welcome
2020-05-08 18:30:38 +01:00
Dimitrie Stefanescu 090370da0d feat(queries): added query filters & verbs to getObjectChildrenQuery 2020-05-07 21:55:20 +01:00
Dimitrie Stefanescu 1a4442b5a7 feat(queries): implemented fast query route for children
and started scaffolding the slower, filter enabled one
2020-05-07 21:10:49 +01:00
Dimitrie Stefanescu 85cc525663 feat(queries): figuring out the perfect querie for getting objects
quite a few things are being considered, perf. wise: pagination, ordering, querying, depth.
2020-05-04 16:25:37 +01:00
Dimitrie Stefanescu 666e69c428 feat(trees): migrated reference tracking to closure table for faster scans on getChildren
change reduces query time from 4s to a predictable 500ms for queries with totalCount; without
totalCount we get a predictable <100ms. Benchmarking done on 300k object "commit"
2020-05-03 17:49:54 +01:00
Dimitrie Stefanescu 9999bd6eae test(objects): added sample data from .net sdk output 2020-05-03 14:40:23 +01:00
Dimitrie Stefanescu 7be78e0535 feat(tree): figuring out the best queries for object children 2020-05-01 12:13:14 +01:00
Dimitrie Stefanescu f0e556042f feat(graphql): get object children query in place 2020-05-01 00:20:45 +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
Dimitrie Stefanescu 9a269d0c16 fix(tests): fixed failing tests 2020-04-22 17:22:00 +01:00
Dimitrie Stefanescu 310be6d903 fix(graphql): fixed commit data field retrieval 2020-04-22 15:19:15 +01:00
Dimitrie Stefanescu 74ca015767 feat(graphql): more implementations 2020-04-22 14:49:55 +01:00
Dimitrie Stefanescu c51211385f feat(graphql): implemented more mutations and queries 2020-04-22 13:38:28 +01:00
Dimitrie Stefanescu f23583d6e4 feat(graphql): implemented object & reference mutations 2020-04-21 19:01:33 +01:00
Dimitrie Stefanescu 3f1c963bfe feat(graphql): implemented object mutations 2020-04-21 14:42:12 +01:00
Dimitrie Stefanescu 13a8ab2e3d feat(graphql): scaffolding 2020-04-21 11:40:22 +01:00
Dimitrie Stefanescu 0225fcedc0 feat(graphql): scaffoled permission mutations on streams
Also, intentionally broke a test on how permissions are handled.
2020-04-21 00:11:15 +01:00
Dimitrie Stefanescu 200331aacb feat(graphql): more scaffolding 2020-04-20 16:56:13 +01:00
Dimitrie Stefanescu 1995d8d64a feat(graphql): initial scaffolding 2020-04-18 15:22:34 +01:00