Commit Graph

254 Commits

Author SHA1 Message Date
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
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