Commit Graph

221 Commits

Author SHA1 Message Date
Jordan Knott
4988176220 fix: add retry with backoff to initial database connection 2020-08-28 14:22:24 -05:00
Jordan Knott
dd50baa05a refactor: add logging to CreateTask resolver 2020-08-23 17:52:45 -05:00
Jordan Knott
46e724e731 feat: add pre commit hook to lint frontend & fix warnings 2020-08-23 17:29:06 -05:00
Jordan Knott
8ce19a1ceb refactor: update project name in tmuxinator 2020-08-23 17:29:06 -05:00
Jordan Knott
8f410cd9b7 fix: use pre-built taskcafe image in docker-compose by default 2020-08-23 11:44:50 -05:00
Jeremy Tsai
adae924ca1 docs(README): fix minor typos/inconsistencies 2020-08-23 09:57:10 -05:00
Jordan Knott
22e4669c34
docs(README): remove docker compose migration step 2020-08-22 02:52:51 -05:00
Jordan Knott
81b89f2411 docs(README): update docker release badge label 2020-08-21 23:49:25 -05:00
Jordan Knott
13480acd7e fix(TaskDetails): update member layout 2020-08-21 23:37:48 -05:00
Jordan Knott
5ceafd556a fix: panic(nil) on loadConfig if config actually exists 2020-08-21 23:29:08 -05:00
Jordan Knott
7a6609ae75 docs(README): add badges 2020-08-21 23:12:12 -05:00
Jordan Knott
08bb5d0eca fix: update docker compose to auto migrate 2020-08-21 23:10:38 -05:00
Jordan Knott
314bf224ea fix: use correct context keys when retrieving userID & role 2020-08-21 23:08:30 -05:00
Jordan Knott
3c4370e68a fix(Admin): disable reset password option 2020-08-21 22:20:40 -05:00
Jordan Knott
9647ee623f
docs(README): remove roadmap section and link to roadmap wiki page 2020-08-21 06:48:59 -05:00
Jordan Knott
240ba606e4 docs(CONTRIBUTING): add section on how to install pre-commit hooks 2020-08-20 18:37:36 -05:00
Jordan Knott
2abbc49ef7 docs(CONTRIBUTING): add general rule on using pre commit hooks 2020-08-20 18:37:36 -05:00
Jordan Knott
9dba566660 feat: add pre-commit hooks & refactor code to pass linting 2020-08-20 18:37:36 -05:00
Jordan Knott
abf9e1328a fix(Card): change checkmark icon to outline style 2020-08-20 18:37:36 -05:00
Jordan Knott
68d5455a85 refactor: remove taskcafectl 2020-08-20 18:37:36 -05:00
Jordan Knott
db9c7408ab
fix: check error on read config
fixes #36
2020-08-19 00:34:27 -05:00
Jordan Knott
83765077ff fix: update task assignee icon styles 2020-08-18 17:53:11 -05:00
Jordan Knott
f8a783378a docs(README): add better preview image 2020-08-18 17:26:25 -05:00
Jordan Knott
ed2800c53f docs(README): add contribution & community section 2020-08-18 17:10:53 -05:00
Sam
4e56ae88d6 Fix: remove debug statements when logging in with incorrect password 2020-08-18 16:50:10 -05:00
Jordan Knott
4d62191e34 docs(CONTRIBUTING): add another general rule 2020-08-18 16:34:31 -05:00
Jordan Knott
2485723097 docs: add contributing guide 2020-08-18 16:20:01 -05:00
Jordan Knott
80a1e5e85e
fix(Dockerfile): remove config file from being added
because config settings can now be set through ENV variables or cli flag, we should no longer load a default config file in the dockerfile

let the user decide if they want to load one through volumes
2020-08-14 12:35:56 -05:00
Jordan Knott
3d4a0ff28c feat: set checklist badge color to green when all items complete 2020-08-13 16:56:03 -05:00
Jordan Knott
df4d114b98 fix: hide checklist badge if checklist item total is 0
fixes #31
2020-08-13 16:33:50 -05:00
Jordan Knott
c2ef8a7d56 feat: replace config system with viper based system
allows for config settings to be easily set through ENV variables,
config files, or CLI flags

adds flag to run migration on web server start (fixes #29)
2020-08-12 22:30:53 -05:00
Jordan Knott
b28e000320 chore: remove data dir 2020-08-12 22:30:53 -05:00
Jordan Knott
9f02f8e562 chore: update docker & git ignore files 2020-08-12 22:30:53 -05:00
Jordan Knott
7e2f8935f8
docs(README): add section on how Taskcafe is different from other solutions 2020-08-12 21:11:01 -05:00
Jordan Knott
9c4fe2594a fix: prevent checklist title being hidden when description editor is open 2020-08-12 20:57:36 -05:00
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