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
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
caeee618cc
refactor(naming): refactored to use camelCase in table properties
2020-04-13 16:16:01 +01:00
Dimitrie Stefanescu
660e41d0c5
fix(services): unified update function signature (expects id in object)
2020-04-13 14:54:58 +01:00
Dimitrie Stefanescu
ee8591ede1
fix(objecst): added route to get many (on 413 - request headers too large)
2020-04-13 13:06:35 +01:00
Dimitrie Stefanescu
44c380c56e
refactor(general): removed uuid dependency, moved migrations into one file for the core module
2020-04-13 11:39:37 +01:00
Dimitrie Stefanescu
dad5ca924a
feat(tokens): expiring tokens ✅ + test; lifespan default is 100yrs
2020-04-11 23:49:14 +01:00
Dimitrie Stefanescu
d398527b24
feat(streams): added stream deletion
2020-04-11 20:48:53 +01:00
Dimitrie Stefanescu
a513a7ac8d
feat(references): added api routes and tests for references
2020-04-11 17:32:38 +01:00
Dimitrie Stefanescu
1527ad2e41
feat(objects): added controllers and tests for object & commit routes
2020-04-11 10:31:38 +01:00
Dimitrie Stefanescu
47a7fc97fc
feat(commits): fixed object insertion bugs, and added create commit service
2020-04-10 18:48:45 +01:00
Dimitrie Stefanescu
beabdaf2b6
test(streams): corrected test for stream grant permissions
2020-04-09 11:09:51 +01:00
Dimitrie Stefanescu
f797365d90
test(coverage): added test coverage reports via nyc/istanbul
2020-04-09 11:07:44 +01:00
Dimitrie Stefanescu
4ecc313eca
feat(streams): finalised routes and tests (integration & service) for streams
2020-04-08 19:32:26 +01:00
Dimitrie Stefanescu
94b5976bd2
feat(streams api): scaffolded routes and tests for basic stream routes
2020-04-05 20:48:45 +01:00
Dimitrie Stefanescu
414edeee11
feat(auth & streams & tests): authentication middleware implemented, api tests for stream create
2020-04-05 12:39:45 +01:00
Dimitrie Stefanescu
215b2d924d
fix(references): fixed dupe branch commit errors
2020-04-04 19:37:54 +01:00
Dimitrie Stefanescu
a6e90cf4a5
test(references): added a couple more tests for tags and branches, etc
2020-04-04 19:02:25 +01:00