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
5e88b890e9
test(graphql): added npm run test-graph script for graphql only testing
2020-04-25 11:55:34 +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
Dimitrie Stefanescu
c08d4f710d
style(readme): readme formatting changes
2020-04-14 18:15:02 +01:00
Dimitrie Stefanescu
b758f56485
feat(graphql): initial explorations in providing a graphql api
2020-04-14 18:14:28 +01:00
Dimitrie Stefanescu
caeee618cc
refactor(naming): refactored to use camelCase in table properties
2020-04-13 16:16:01 +01:00
Dimitrie Stefanescu
5588e18478
refactor(syntax): unified func declarations
2020-04-13 15:05:55 +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
Dimitrie Stefanescu
02d3286d8f
feat(references): added services, tests, etc
2020-04-04 18:49:08 +01:00
Dimitrie Stefanescu
5947385682
refactor(naming): renamed queries to services
2020-03-31 12:15:00 +01:00
Dimitrie Stefanescu
4f8a27434a
feat(streams): added service logic for stream creation and sharing
2020-03-29 23:21:42 +01:00
Dimitrie Stefanescu
18bb402b8c
fix(errors): fixed misnamed err var name in startup causing no reports of EADDRINUSE being logged
2020-03-28 21:05:40 +00:00
Dimitrie Stefanescu
89932ab651
feat(users): users & api tokens logic + tests for services
2020-03-28 20:08:40 +00:00
Dimitrie Stefanescu
789f5945fe
feat(users): scaffolded user services
2020-03-27 16:41:24 +00:00
Dimitrie Stefanescu
4fda7b3bc0
test(tests): fixed test references
2020-03-26 22:08:11 +00:00
Dimitrie Stefanescu
fd7b018348
fix(dependencies): added commitizen deps
2020-03-26 21:58:05 +00:00