Commit Graph

177 Commits

Author SHA1 Message Date
Matteo Cominetti 9733cc602d feat(gql): search users wip 2020-07-25 21:04:29 +01:00
Matteo Cominetti f4d236cd63 fix(gql): commitUpdate return type 2020-07-25 14:29:31 +01:00
Dimitrie Stefanescu e199e881f2 fix(upload): upload response status changed from 303 (redirect) to 201 (created)
this was confusing clients, which were actually following the redirect 😬
2020-07-25 10:52:55 +01:00
Matteo Cominetti 72c4a430d1 Merge commit 'ea38bd1c771122eeef373802f221f2f35045598c' into matteo/dev 2020-07-23 16:53:35 +01:00
Dimitrie Stefanescu 89e8f671c8 test(pass): all tests now pass 🧙‍♂️
increase coverage to >90% (and keep it there). currently at 89.6% - so close
2020-07-22 22:03:51 +01:00
Dimitrie Stefanescu 2208513ccf test(branches): fixed branch services tests 2020-07-22 21:35:03 +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
Matteo Cominetti eb4f7a9a46 fix(graphql): AuthorizationError is not a constructor 2020-07-22 21:07:09 +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 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 7a2312fba2 feat(api): ⚠️ WIP. Partially cleans up api, modules and services around streams 2020-07-17 10:22:58 +01:00
Dimitrie Stefanescu 436bdf8df4 fix(auth): correctly checks whether authN strategies are enabled before loading them
+ cleans up gql api on apps
2020-07-15 10:52:07 +01:00
Dimitrie Stefanescu 6be937541e fix(local authn): fixes some uncaught errs & adds tests for local authN api 2020-07-15 10:30:21 +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 8b8b449ed2 fix(users): fixes scope checking in user & email resolvers (profile:read/email & user:read/email) 2020-07-11 13:27:07 +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 7502721c6a refactor(naming): renamed & split create -> upload, get -> download endpoints 2020-07-08 22:26:00 +01:00
Dimitrie Stefanescu 9554d2a7f4 style(streaming): minor 2020-07-02 11:08:10 +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 3667e9932c feat(get children): added gzipped streamed response for object children 2020-06-26 13:35:36 +01:00
Dimitrie Stefanescu da16647795 feat(object creation): proper batching in object creation, using transactions 2020-06-20 20:53:47 +01:00
Dimitrie Stefanescu 63e21713ca feat(streaming): refactored streaming endpoint 2020-06-20 00:16:44 +01:00
Dimitrie Stefanescu 6847791ef1 feat(uploads): added test streaming endpoint for uploads 2020-06-14 00:30:41 +01:00
Dimitrie Stefanescu d9414b5f91 feat(apps): graphql explorer proper challenges & logout
+ adds server information in the header
2020-06-10 13:31:08 +01:00
Dimitrie Stefanescu ce6024c084 feat(apps): added graphql explorer app that works with actual server data 2020-06-10 13:06:41 +01:00
Dimitrie Stefanescu b09049f9b2 refactor(auth): removed graphql endpoints for userCreate/Register 2020-06-10 00:33:05 +01:00
Dimitrie Stefanescu 6d70578841 feat(auth): local flow (login & register) done (in rel with local frontend app) 2020-06-09 16:19:21 +01:00
Dimitrie Stefanescu 7a660cffa9 feat(auth): scaffolding local strategy to pair with 3rd party ones 2020-06-09 13:10:42 +01:00
Dimitrie Stefanescu 647f1c3a53 feat(auth): frontend app flow 2020-06-09 11:16:45 +01:00
Dimitrie Stefanescu 242dec4009 feat(auth): added google strategy; improved auth screen; added strategies to servreInfo endpoint 2020-06-06 23:53:06 +01:00
Dimitrie Stefanescu c27ad2f477 feat(auth): implemented github strategy & backend flow 2020-06-06 19:38:18 +01:00
Dimitrie Stefanescu ef1d48c994 fix(auth): enforces one token per app per user & tests 2020-06-06 00:06:14 +01:00