Commit Graph

248 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 3673fde9f7 feat(upload): allows for both gzipped multiparts as well as application/text/json
fixes some tests too
2020-10-24 21:01:25 +01:00
Dimitrie Stefanescu eb3a028dbb feat(compression): obj ingestion now accepts gzipped buffers 2020-10-24 18:33:52 +01:00
Dimitrie Stefanescu d8a632a1c2 fix(uploads): awaits db insertion before returning from upload route 2020-10-21 16:48:31 +01:00
Matteo Cominetti c3059fa574 Merge branch 'matteo/server' into matteo/frontend
# Conflicts:
#	.eslintrc.json
2020-10-14 19:28:07 +01:00
Matteo Cominetti b0ea8e6499 feat(gql): adds company and avatar to StreamCollaborator 2020-10-14 19:27:05 +01:00
Matteo Cominetti ff420de841 feat(ui): updates link incon, and other minor tweaks 2020-10-14 10:46:05 +01:00
Matteo Cominetti 97010454f0 Merge branch 'matteo/server' into matteo/frontend 2020-10-13 15:18:03 +01:00
Matteo Cominetti 7d0115c74d feat(gql): nukes realObject field from commits 2020-10-13 14:58:48 +01:00
Matteo Cominetti b0af28792a test(commit): adds check for authorId field 2020-10-13 14:57:29 +01:00
Matteo Cominetti 485c650e1b fix(tests): fixes issue introduced when updateing getCommitById method 2020-10-13 14:56:45 +01:00
Matteo Cominetti 73c5de826b fix(apollo): replaces non existing AuthorizationError with ForbiddenError 2020-10-13 14:55:42 +01:00
Matteo Cominetti 4d00d8aff9 fix(gql): removes unnecessary join from getCommitById query 2020-10-13 13:16:28 +01:00
Matteo Cominetti 93ee4758f3 feat(gql): adds missing fields to getCommitById 2020-10-13 13:13:09 +01:00
Matteo Cominetti f06e159ec5 refractor(gql): renames userEdit to userUpdate 2020-10-09 20:47:52 +01:00
Matteo Cominetti fe938b1976 feat(scopes): adds server:setup to spklwebapp 2020-10-09 20:27:22 +01:00
Matteo Cominetti aafe47cb7a feat(ui): adds edit user and edit server, list item commit 2020-10-09 20:25:34 +01:00
Matteo Cominetti a737b56578 Merge remote-tracking branch 'origin/master' into matteo/frontend
# Conflicts:
#	modules/core/tests/commits.spec.js
2020-10-08 10:54:42 +01:00
Matteo Cominetti 4b804df84e refractor(server): replaces the 'master' branch name with 'main' 2020-10-07 17:44:57 +01:00
izzy lyseggen e4e583fee3 Merge pull request #37 from izzy/branch-rename
refactor(branch): rename default branch to `main`
2020-10-07 14:58:35 +01:00
izzy lyseggen 2faaffc250 refactor(branch): rename default branch to main 2020-10-07 14:53:59 +01:00
Matteo Cominetti 557f24fe20 feat(commit): adds createdAt prop to user commit 2020-10-02 17:39:39 +01:00
Dimitrie Stefanescu 2bf77a8df2 fix(dates): consolidates date formatting to ISO strings 2020-10-02 17:16:17 +01:00
Dimitrie Stefanescu bd3eee8308 test(user services): added test for findOrCreateUser 2020-09-24 19:52:19 +01:00
Dimitrie Stefanescu 33d7af71e6 feat(apps): corrects redirect url for the desktop manager 2020-09-23 10:26:39 +01:00
Dimitrie Stefanescu 6d9dd0351c feat(permissions): allows getting public streams with anon requests + tests. test cov back >90% FTW 2020-09-21 17:45:03 +01:00
Dimitrie Stefanescu 7a5e76c8fd test(users): adds user search api test 2020-09-21 14:11:29 +01:00
Dimitrie Stefanescu 260d38ab1b test(refresh tokens): added tests for refresh tokens
+ scaffolded tests for user search and server info update routes
2020-09-21 10:03:49 +01:00
Dimitrie Stefanescu ec8fd46c5a test(auth): added tests for authN/Z registration, redirection and token exchange 2020-09-21 09:51:40 +01:00
Dimitrie Stefanescu 512e105cd5 test(auth): added test for serverinfo auth strategies test 2020-09-20 16:23:12 +01:00
Dimitrie Stefanescu c843d68abe feat(apps): listing, revoking, & tests 2020-09-20 15:05:32 +01:00
Dimitrie Stefanescu a9f5adad2f feat(apps): services & gql resolvers + tests 2020-09-19 15:51:50 +01:00
Dimitrie Stefanescu e0b60d5b99 feat(apps): resolver for secret field & author return on app 2020-09-18 23:46:23 +01:00
Dimitrie Stefanescu 6cdeccb74b feat(apps): more service implementations, cleanup, and tests 2020-09-18 23:12:43 +01:00
Dimitrie Stefanescu 03bd49ef6d feat(apps): scaffolded more app services & more (cleanup, tests, etc.) 2020-09-18 16:46:23 +01:00
Dimitrie Stefanescu 348a81aab2 feat(api): splits auth and apps gql schemas into separate files 2020-09-16 16:58:02 +01:00
Dimitrie Stefanescu ffcca1126d feat(apps): scaffolding & cleaning up models & api 2020-09-16 16:42:49 +01:00
Dimitrie Stefanescu c096ba89cc feat(models): removed username field form user
in dev environmnets, this will require a manual db reset (migrate:rollback, latest)
2020-09-16 10:30:34 +01:00
Dimitrie Stefanescu 3e3d99b782 feat(tracing): improved GQL ops tracing logs 2020-09-03 17:12:57 +01:00
Dimitrie Stefanescu 3c4a5ac31c feat(error tracing): adds sentry error tracing to apollo server & express routes 2020-09-03 15:43:54 +01:00
Dimitrie Stefanescu 107266b901 feat(local auth): in dev/test mode, returns a token on the authorization finalisation middleware 2020-09-02 14:04:29 +01:00
Dimitrie Stefanescu 1b5b13bf9d refactor(subs names): renamed streamCreated/Deleted to Added/Removed 2020-09-01 14:37:52 +01:00
Dimitrie Stefanescu 33fb0fa7f7 docs(subs): updates schema comments to clarify userStreamCreated/Deleted re perms granted/revoked 2020-09-01 12:16:24 +01:00
Dimitrie Stefanescu 1f8ef39831 test(subs): uncommented all tests 2020-09-01 12:09:56 +01:00
Dimitrie Stefanescu f24dd6529e test(subs): fixed borked streamUpdate 2020-09-01 12:07:53 +01:00
Dimitrie Stefanescu 28b8c08aff perf(subs): standardises the response on stream subs to id (vs mixture of streamId and id) 2020-09-01 11:58:09 +01:00
Dimitrie Stefanescu 690d95bfde fix(subs): replaces permission subs with created/deleted + sharedBy/revokedBy props 2020-09-01 11:46:38 +01:00
Dimitrie Stefanescu 11571a1d76 fix(subscriptions): added stream deleted subscription 2020-09-01 10:58:29 +01:00
Dimitrie Stefanescu 1b57a2ba4b feat(auth): returns the userid on registration if no app id is present 2020-08-31 18:28:16 +01:00
Dimitrie Stefanescu 8a023d25d5 fix(setup): fully removes the setup check app 2020-08-31 18:15:18 +01:00
Dimitrie Stefanescu 16f3e1bb03 fix(subs): wrapps onConnection in a try catch and checks for auth headers
some clients send the connection params with lowercase :/
2020-08-31 13:27:55 +01:00