Commit Graph

142 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 7845e75c1f feat(server): adds stream role in relevant queries
modified services: getStream - now takes in optional userId param; modified stream schema to include
optional string field `role`
2020-12-24 00:29:39 +02:00
Dimitrie Stefanescu dfc70d314f fix(server): prevents users from revoking their own permissions 2020-12-23 18:04:16 +02:00
Dimitrie Stefanescu 3606ac919d feat(server): retrieves latest commit on commit query if no id is specified 2020-12-23 17:48:11 +02:00
Dimitrie Stefanescu 35653cd88a feat(server): defaults branch query to "main" branch 2020-12-23 17:41:17 +02:00
Dimitrie Stefanescu cbd7e75f98 test(server): some tests for stream updatedAt updates 2020-12-23 16:56:41 +02:00
Dimitrie Stefanescu 2973ce8694 feat(server): commits: implements all fields in services & updates parents 2020-12-23 14:56:55 +02:00
Dimitrie Stefanescu 3697559d62 feat(server): deprecates previousCommitIds field in favour of parents across all commit schemas 2020-12-23 01:35:15 +02:00
Dimitrie Stefanescu b2366f7844 feat(server/commits): create commit service now accepts source app & children count
Note: children count, if not passed in by the user, will be automatically set from the referenced
object
2020-12-22 22:34:15 +02:00
Dimitrie Stefanescu 225f3631da feat(server/frontend): various
frontend: adds profile page for non-self users; allows users to change their avatars; server: adds
avatar prop to user update
2020-12-17 11:35:21 +00:00
Dimitrie Stefanescu d8be80dc7e feat(server): fixes link sharing for stream update 2020-12-16 21:56:47 +00:00
Dimitrie Stefanescu 7471ee5b6b feat(server): minor formatting 2020-12-14 16:11:26 +00:00
Dimitrie Stefanescu 3510aa443b fix(server): token revokation checks for format (bearer xxx) 2020-12-11 00:02:20 +00:00
Dimitrie Stefanescu 622d61c491 feat(server): personal api token query & specs 2020-12-10 22:33:17 +00:00
Dimitrie Stefanescu df0cba1466 fix(server): retuns personal user tokens correctly 2020-12-10 18:16:21 +00:00
Dimitrie Stefanescu 91e77a7a16 feat(frontend): adds commit data explorer (structured) 2020-12-09 16:07:07 +00:00
Dimitrie Stefanescu 8399a80d09 feat(server): returns author avatar url for commits 2020-12-08 15:29:27 +00: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 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 f06e159ec5 refractor(gql): renames userEdit to userUpdate 2020-10-09 20:47:52 +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 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 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 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 3e3d99b782 feat(tracing): improved GQL ops tracing logs 2020-09-03 17:12:57 +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 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 8a023d25d5 fix(setup): fully removes the setup check app 2020-08-31 18:15:18 +01:00
Dimitrie Stefanescu 0e98b6f5ce feat(subs): adds 'grantor' userid on stream permissions granted event
so later down the line we can do 'x shared y with you', albeit i'm also inclined to move those
permission granted events to stream created/deleted
2020-08-25 10:39:32 +03:00
izzy lyseggen 0723a69895 fix(streams): oops forgot some 2020-08-21 16:51:58 +01:00
izzy lyseggen b8c0bb4125 refactor(mutations): make inputs consistent
all mutations that require more than 1 input now has an input type 🌟
fixes #10
2020-08-21 16:45:21 +01:00
izzy lyseggen 0ef85374b3 style: clean redundant refs and formatting 2020-08-21 16:00:13 +01:00
izzy lyseggen f0db46bbca test(subs): more auth tests for subs
confirm you can't receive updates if you're not authorised for stream
2020-08-21 15:36:49 +01:00
izzy lyseggen be8e8be854 feat(subs): auth within subscripition resolvers 2020-08-21 14:11:10 +01:00
izzy lyseggen 397fb04689 feat(subs): add scope auth to branch & commit subs 2020-08-21 13:46:28 +01:00
izzy lyseggen 0674083f6c feat(auth-dirs): only allow on field definitons 2020-08-21 13:45:44 +01:00
izzy lyseggen 6db1bdcf42 feat(subs): simplify stream create/delete subs
as per discussion, remove `ownerId` input and only allow subscribing to
your own stream creation / deletion
2020-08-21 13:44:19 +01:00
izzy lyseggen 75cddd1260 test(subs): permission granted and revoked tests 2020-08-21 09:38:48 +01:00