Commit Graph

79 Commits

Author SHA1 Message Date
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
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