Commit Graph

277 Commits

Author SHA1 Message Date
Dimitrie Stefanescu ad9b917a64 fix(server): fixes destructuring fail on no stream acl present 2020-12-24 19:29:22 +02:00
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 6f08f0840c feat(server): grabs profile pic from elgoog account 2020-12-23 23:24:50 +02:00
Dimitrie Stefanescu d70147a60a feat(server): added limitations to various fields (related to #39)
note, didn't implement a migration for this; they will not be enforced/visible unless existing db is
recreated
2020-12-23 22:46:12 +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 07a27bd31d fix(server): prevents main branch deletion
adds a guard in the delete branch service to check if it's the main branch

fixes #61
2020-12-23 17:33:55 +02:00
Dimitrie Stefanescu fc69c8c66d test(server): finalised updatedAt tests for streams 2020-12-23 17:27:36 +02:00
Dimitrie Stefanescu cbd7e75f98 test(server): some tests for stream updatedAt updates 2020-12-23 16:56:41 +02:00
Dimitrie Stefanescu bd96248552 fix(server): updates stream updatedAt on common ops relating to a stream
fixes #47
2020-12-23 15:56:32 +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 33d3ae6ca9 feat(server): simplifies parent commits relationship 2020-12-23 14:55:54 +02:00
Dimitrie Stefanescu 1758858250 feat(server): implements branchName and total kids count in get commit by id + test 2020-12-23 01:44:18 +02:00
Dimitrie Stefanescu 349d91ec06 feat(server): implements branchName and totalChildren count across all commit get services 2020-12-23 01:36:22 +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 dd78e8064b feat(server): wip: adds tests for new commit fields & implementation start 2020-12-23 00:04:47 +02:00
Dimitrie Stefanescu 3aaad4bab2 chore(server): excludes migration files from istanbul 2020-12-22 22:35:24 +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 6f61a36cd5 feat(server): added migrations for totalChildrenCount and sourceApplication for commit table 2020-12-22 10:53:20 +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 0a4d6ef819 feat(server): adds redirect url return field to apps 2020-12-14 16:11:11 +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
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