Commit Graph

136 Commits

Author SHA1 Message Date
Jordan Knott
b3b4c01907
docs: add CODE_OF_CONDUCT.md 2020-08-12 15:27:07 -05:00
Jordan Knott
7bba294897 fix: get correct new postion after dropping task in different list
was getting the current draggable list based on whatever task group
the task was in, ignoring that that task group might be different (when
    the task was dragged to a new list)
2020-08-12 15:23:57 -05:00
Jordan Knott
2e9767f1a0 chore: remove debug console.log statements 2020-08-12 14:44:28 -05:00
Jordan Knott
6761d4571e feat: add change password tab to user profile settings 2020-08-12 14:09:12 -05:00
Jordan Knott
e64f6f8569 feat: enforce user roles
enforces user admin role requirement for
- creating / deleting / setting role for organization users
- creating / deleting / setting role for project users
- updating project name
- deleting project

hides action elements based on role for
- admin console
- team settings if team is only visible through project membership
- add project tile if not team admin
- project name text editor if not team / project admin
- add redirect from team page if settings only visible through project
  membership
- add redirect from admin console if not org admin

role enforcement is handled on the api side through a custom GraphQL
directive `hasRole`. on the client side, role information is fetched in
the TopNavbar's `me` query and stored in the `UserContext`.

there is a custom hook, `useCurrentUser`, that provides a user object
with two functions, `isVisibile` & `isAdmin` which is used to check
roles in order to render/hide relevant UI elements.
2020-08-11 21:03:21 -05:00
Jordan Knott
5dbdc20b36 chore: rename Citadel to Taskcafe 2020-08-06 20:50:35 -05:00
Jordan Knott
7ffd0ff6b8 fix: rename projects typescript declaration file to types
import conflict with Projects module in Routes

fixes #27
2020-07-31 19:00:17 -05:00
Jordan Knott
ef988d6304
docs(README): add warning that project is still in active development 2020-07-24 12:33:46 -05:00
Mandar Vaze
b778b30a13 docs(README): improve docker installation steps
Added `git clone` step for docker installation
2020-07-22 20:06:32 -05:00
Mandar Vaze
9f84c49a76 docs(README): Fix minor typo shema -> schema 2020-07-22 20:06:05 -05:00
Jordan Knott
70802ff4c9 fix: replace hardcoded API url's with absolute paths
fixes issue #10
2020-07-20 17:37:31 -05:00
Jordan Knott
20b5188662 fix: remove log containing user password
fixes issue #12
2020-07-20 17:34:57 -05:00
Jordan Knott
a4ff94d78b fix: add roboto & sans-serif fallback font 2020-07-20 17:34:33 -05:00
Jordan Knott
6f33cc5799 fix: update api import paths & fix Dockerfile not copying frontend build
fixes issue #7 & #9

also remove agGrid dependency from package.json to reduce download size
2020-07-19 17:25:58 -05:00
Jordan Knott
c3b1837589 change: update docker-compose.dev.yml with new web & postgres service 2020-07-19 16:10:37 -05:00
Jordan Knott
8eb41ab8a8 feat: embed schema migrations in binary 2020-07-19 16:10:07 -05:00
Jordan Knott
e52620a9e2 docs(README): change docker instructions to use only docker commands instead of mage helper targets 2020-07-19 13:33:07 -05:00
Jordan Knott
89bde32427 fix: create internal/frontend dir if not exists during build
fixes issue #5
2020-07-19 13:28:02 -05:00
Jordan Knott
66a2931ab8 feature: add Dockerfile & docker-compose installation instructions 2020-07-18 17:28:25 -05:00
Jordan Knott
de03fd9ef7 fix: update order of yarn install & build commands and split yarn install & build targets 2020-07-18 15:34:33 -05:00
Jordan Knott
e5bfe9b9ab feature: fix user admin related bugs 2020-07-17 21:55:38 -05:00
Jordan Knott
68fa7aef94 feature: add user project count to Admin component 2020-07-17 19:40:05 -05:00
Jordan Knott
ccaa97e2bb fix: update tmuxinator script with new api command 2020-07-17 19:39:18 -05:00
Jordan Knott
158f574b2a change: add LICENSE & basic compile instructions 2020-07-16 23:00:03 -05:00
Jordan Knott
50ca9f7216 chore: remove unused scripts/auth & Pipfile 2020-07-16 22:38:12 -05:00
Jordan Knott
e15bccff89 chore: remove Makefile 2020-07-16 22:37:27 -05:00
Jordan Knott
1ad63a2b0c chore: remove bad file 2020-07-16 22:32:43 -05:00
Jordan Knott
1222111bef fix: unify popup content padding 2020-07-16 22:31:33 -05:00
Jordan Knott
c35f63e668 change: set start height of quick card text area to 90px 2020-07-16 22:21:58 -05:00
Jordan Knott
c236681cd2 fix: hide card edit icon while in quick card editor 2020-07-16 22:21:37 -05:00
Jordan Knott
6c55b89ee2 fix(Input): floating label now floats when the input has a value 2020-07-16 22:01:26 -05:00
Jordan Knott
810e74e99f fix: show correct label variant based on setting 2020-07-16 21:57:20 -05:00
Jordan Knott
d3f29134e0 fix: ignore system user in users query & add full name to user in install route 2020-07-16 21:57:02 -05:00
Jordan Knott
45a92636cb change: add loading state to project board 2020-07-16 21:14:26 -05:00
Jordan Knott
a90ace7a06 change: sort task labels based on label color position 2020-07-16 20:27:48 -05:00
Jordan Knott
559fcbc0e4 fix: all cards in lists animate on label toggle at same time 2020-07-16 20:26:21 -05:00
Jordan Knott
8c610b11bf feature: fix label manager popup padding & switch input to ControlledInput 2020-07-16 20:14:13 -05:00
Jordan Knott
2cf6be082c feature: add first time install process 2020-07-16 19:40:23 -05:00
Jordan Knott
90515f6aa4 feature: add web & migrate commands 2020-07-15 18:22:25 -05:00
Jordan Knott
1e9813601e bugfix: fix user checklist item toggle completion 2020-07-13 16:21:37 -05:00
Jordan Knott
d8daa60729 feature: add user pass popups and remove user popup 2020-07-13 16:20:55 -05:00
Jordan Knott
609baa98aa feature: connect card operation icon to quick card editor 2020-07-13 16:20:06 -05:00
Jordan Knott
b95cc6859e docs(README): add features & roadmap section 2020-07-12 02:17:53 -05:00
Jordan Knott
a20ff90106 chore: project cleanup and bugfixes 2020-07-12 02:06:11 -05:00
Jordan Knott
e7e6fdc24c change: add .keep to .gitignore exclusion list 2020-07-04 18:14:05 -05:00
Jordan Knott
1fa008483d change: add uploads folder to .gitignore 2020-07-04 18:12:17 -05:00
Jordan Knott
401bd73782 change: update tmuxinator script to reflect new dir structure 2020-07-04 18:10:28 -05:00
Jordan Knott
e5d5e6da01 arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
Jordan Knott
eaffaa70df cleanup: refactor api architecture & add user roles 2020-07-04 18:02:57 -05:00
Jordan Knott
a3958595cd change: disable unimplemented buttons 2020-06-23 20:46:45 -05:00