Commit Graph

94 Commits

Author SHA1 Message Date
Jordan Knott
229a53fa0a refactor: replace refresh & access token with auth token only
changes authentication to no longer use a refresh token & access token
for accessing protected endpoints. Instead only an auth token is used.

Before the login flow was:

Login -> get refresh (stored as HttpOnly cookie) + access token (stored in memory) ->
  protected endpoint request (attach access token as Authorization header) -> access token expires in
  15 minutes, so use refresh token to obtain new one when that happens

now it looks like this:

Login -> get auth token (stored as HttpOnly cookie) -> make protected endpont
request (token sent)

the reasoning for using the refresh + access token was to reduce DB
calls, but in the end I don't think its worth the hassle.
2021-04-28 21:38:49 -05:00
Jordan Knott
3392b3345d fix(Project): remove spacing between task group list and add new task list component 2021-04-28 21:38:49 -05:00
Jordan Knott
29b7c028ca chore: update yarn.lock 2021-04-28 21:38:49 -05:00
Jordan Knott
0cc1b5a1df refactor: remove Storybook stories 2021-04-28 21:38:49 -05:00
Jordan Knott
0760edac80 feat(FilterMeta): auto focus task name search input on popup open 2021-04-28 21:38:49 -05:00
Jordan Knott
ceaa49c5a1 feat(TaskDetails): clicking the '+' button now opens label manager 2021-04-28 21:38:49 -05:00
Jordan Knott
8b22d33dad fix(QuickCardEditor): use correct ref on due date open 2021-04-28 21:38:49 -05:00
Jordan Knott
61e9249c98 fix: prevent empty list title from being saved 2021-04-28 21:38:49 -05:00
dependabot[bot]
c347c6bdc3 chore(deps): bump immer from 6.0.9 to 8.0.1 in /frontend
Bumps [immer](https://github.com/immerjs/immer) from 6.0.9 to 8.0.1.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v6.0.9...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 16:18:30 -06:00
Jordan Knott
35ac12b7b2 fix(Lists): fix flickering when list was a certain size 2021-01-06 17:00:10 -06:00
Jordan Knott
40b27aa1f1 fix: card composer no longer allows creates tasks with empty names 2021-01-06 16:20:05 -06:00
Jordan Knott
533b9511c9 feat: add alternate project finder to left navbar 2021-01-05 19:47:52 -06:00
Jordan Knott
dc50ef3566 refactor: change nav icons to use Link instead of history.push 2021-01-05 19:10:07 -06:00
Jordan Knott
f9e6fba552 fix(Projects): set overflow-y to auto on Wrapper 2021-01-05 19:06:49 -06:00
Jordan Knott
be7e945313 feat(ProjectFinder): auto focus search bar 2021-01-05 19:04:47 -06:00
Jordan Knott
edc7b649ec feat: card composer now auto scrolls into view on being opened 2021-01-05 19:02:19 -06:00
Jordan Knott
4b83ff594f fix: fix AddList component behaving weirdly when a Task Group was moved 2021-01-05 18:58:13 -06:00
Jordan Knott
c2a0f5e5d0 feat: change project title input to auto-grow on content change 2021-01-05 18:53:48 -06:00
Jordan Knott
ff15e7fb53 feat: hide project finder after selecting project 2021-01-05 17:00:31 -06:00
Jordan Knott
a7c1ca328f feat: add search and minify to project finder 2021-01-05 16:46:49 -06:00
dependabot[bot]
eb0727ddcb chore(deps): bump axios from 0.19.2 to 0.21.1 in /frontend
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 16:14:21 -06:00
Jordan Knott
77087158a9 fix: emoji remark plugin sets children type to html instead of parent
This fixes the issue where if a URL was added to the comment, the remark
plugin would break. Instead of changing the parent node to be html, it
now sets any 'text' type children to be 'html' instead.
2021-01-04 16:09:14 -06:00
Jordan Knott
f215418be1 fix: fix background not changing on hover in extra menu on sort popup 2021-01-03 17:11:08 -06:00
Jordan Knott
f051bebd48 feat(MyTasks): allow filtering by task complete status 2021-01-03 17:04:15 -06:00
Jordan Knott
a1c9251a1f fix(TaskDetails): blur task title textarea on pressing enter 2021-01-03 15:59:53 -06:00
Jordan Knott
9d7f46907f fix(MyTasks): update task entry name when updating name through TaskDetails 2021-01-03 15:54:32 -06:00
Jordan Knott
dcf53b9077 feat: add my tasks list view 2021-01-01 22:20:55 -06:00
Jordan Knott
d6101d9221 feat: redesign task due date manager 2021-01-01 14:54:05 -06:00
Jordan Knott
f16cceb0e1 feat: add ui skeleton to Task Details while loading 2020-12-30 19:14:00 -06:00
Jordan Knott
8d3b0bd510 fix: fix flashing on pollInterval 2020-12-23 20:02:38 -06:00
Jordan Knott
e25a426e7b fix: update editor style to use new format for theme colors 2020-12-23 16:15:20 -06:00
Jordan Knott
0c9ab8abc2 feat: add update polling to relevant views 2020-12-23 15:55:17 -06:00
Jordan Knott
c4a80590a1 fix: fix issue where personal projects did not show up in Project Finder 2020-12-23 13:21:06 -06:00
Jordan Knott
978be2218d fix: fix issue where the Task Details modal would false when changing due date 2020-12-23 13:17:54 -06:00
Jordan Knott
19deab0515 feat: add task activity 2020-12-23 13:15:15 -06:00
Jordan Knott
f732b211c9 fix: update bg color variable name in MemberManager 2020-12-18 20:36:08 -06:00
FernTheDev
b5fd3b1bf1 refactor: make theme more consistent 2020-12-17 22:56:49 -06:00
Jordan Knott
7b6624ecc3 feat: redesign project sharing & initial registration
redesigned the project sharing popup to be a multi select dropdown
that populates the options by using the input as a fuzzy search filter
on the current users & invited users.

users can now also be directly invited by email from the project share
window. if invited this way, then the user will receive an email
that sends them to a registration page, then a confirmation page.

the initial registration was always redone so that it uses a similar
system to the above in that it now will accept the first registered
user if there are no other accounts (besides 'system').
2020-12-17 22:39:14 -06:00
Nurseiit Abdimomyn
92493deedf refactor: replace moment with dayjs 2020-10-20 16:06:16 -05:00
Cain Watson
a288e06123 feat: add 'complete' sort option 2020-09-30 23:38:01 -07:00
FernTheDev
0c7d2e2c9f feat(Login): add spinner on login 2020-09-23 15:40:35 -07:00
Jordan Knott
4277b7b2a8 feat: add personal projects
personal projects are projects that have no team.

they can only seen by the project members (one of which is whoever first
creates the project).
2020-09-19 20:23:16 -05:00
Jordan Knott
0d4fb6a0d0 fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
Jordan Knott
0366b4c7f7 fix(CardComposer): add card button now creates a card 2020-09-18 20:33:15 -05:00
Jordan Knott
e2ef8a1a19 fix: initial access token after install is now set correctly 2020-09-12 03:24:09 -05:00
Jordan Knott
03dafe9b7b fix: remove font awesome library 2020-09-11 19:58:42 -05:00
Jordan Knott
40557ba79f feat: add view raw markdown button to task details 2020-09-11 16:21:46 -05:00
Jordan Knott
f7c6ee470e fix: task label margin issue with task title 2020-09-11 14:54:22 -05:00
Jordan Knott
227ce5966d fix: top navbar logo was not always centered 2020-09-11 14:43:46 -05:00
Jordan Knott
aa5e1c0661 fix: flickering when transitioning to some pages 2020-09-11 14:41:21 -05:00