Commit Graph

462 Commits

Author SHA1 Message Date
Dimitrie Stefanescu a5542cf8cd feat(server/frontend): wIP: auth flows are being revamped. HIC SVNT DRACONES 2020-12-26 20:39:35 +02:00
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 39f3a433db fix(frontend): displays app author only if present 2020-12-23 23:59:03 +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 3ae26b5ea2 chore(linting): addes space-in-curly-braces rule 2020-12-23 17:26:52 +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 51a9ea6aa4 chore(server): allows linting in test files 2020-12-23 01:35:46 +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 dab12e52d3 chore(server): updated dependencies 2020-12-22 22:22:29 +02:00
Dimitrie Stefanescu e760c83aef chore(server): minor cleanup 2020-12-22 22:17:30 +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 cd2ef887e5 style(server): added and tweaked some eslint rules 2020-12-22 10:52:21 +02:00
Dimitrie Stefanescu f3e1a6dc64 feat(frontend): more mobile devices layout improvements (it looks good now) 2020-12-21 12:23:22 +02:00
Dimitrie Stefanescu c1a34a481e updates badges 2020-12-20 22:49:31 +02:00
Dimitrie Stefanescu d85042c072 Merge pull request #59 from specklesystems/dim/dev-frontend
WIP: Dim/dev frontend
2020-12-20 22:34:49 +02:00
Dimitrie Stefanescu 074a712fac feat(frontend): various improvements
branches edit/delete/create; fixed and removed dupe apollo queries and minimised requests; fixed
dialog operations
2020-12-20 22:34:18 +02:00
Dimitrie Stefanescu 147f215ff9 feat(frontend): ... more stuff. got bored to make actual atomic commits 2020-12-20 02:21:14 +02:00
Dimitrie Stefanescu a4aa7afa85 feat(frontend): various little hacks 2020-12-20 02:20:27 +02:00
Dimitrie Stefanescu 5ee98e8db6 feat(frontend): various display improvements 2020-12-20 02:19:54 +02:00
Dimitrie Stefanescu efb91aa14e style(frontend): increases max line width in linter 2020-12-20 02:18:52 +02:00
Dimitrie Stefanescu bfd8088485 feat(frontend): adds error page
(stream 404s redirect to it, it's a temp measure)
2020-12-20 02:18:27 +02:00
Dimitrie Stefanescu 30b098f09c feat(frontend): splits dialogs edit/new stream 2020-12-20 02:17:53 +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 125fb60338 fix(frontend): minor fixes in stream page layout 2020-12-16 21:58:03 +00:00
Dimitrie Stefanescu d5bfc8613f feat(frontend): buttons in sidebars (user/stream) 2020-12-16 21:57:32 +00:00
Dimitrie Stefanescu d8be80dc7e feat(server): fixes link sharing for stream update 2020-12-16 21:56:47 +00:00
Dimitrie Stefanescu 9c8c964059 feat(frontend): made all stream based routes child routes; fixed issues re multiple fetching 2020-12-16 12:29:07 +00:00
Dimitrie Stefanescu 25798b0e1c feat(frontend): various fixes and improvements 2020-12-15 23:40:51 +00:00
Dimitrie Stefanescu 0bbe3cf2e7 feat(frontend): stream list beautification and direct links 2020-12-15 20:37:33 +00:00
Dimitrie Stefanescu 2201f6e177 feat(frontend): stream description editing and proper md rendering and sanitisation 2020-12-15 20:36:54 +00:00
Dimitrie Stefanescu e658905dc5 feat(frontend): app creation and deletion 2020-12-15 20:35:58 +00:00
Dimitrie Stefanescu 7cd5a790ae feat(frontend): replacers all avatars with user avatar component 2020-12-14 17:17:24 +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 fed36fb896 feat(frontend): moves user top menu and search bar into separate components
so they can be easily reused across mobile/desktop
2020-12-14 16:10:47 +00:00