Commit graph

19 commits

Author SHA1 Message Date
b6ae2abd2f chore: add postauthUrl link to skip broken auth flow 2021-03-14 16:44:28 -04:00
10522e73c2 chore: disable auth flow temporarily 2021-03-14 16:40:39 -04:00
fd02dad62b
Improve pre- and post-auth redirect flows (#180)
* fix(web): add /machinery/new-session/... route, start auth flow from there

* fix(api): change redirect to path-based format

* fix(api): remove extra / from login-callback redirect

* fix(web): /auth/login should skip flows if isAuthenticated is true
2021-03-14 16:28:51 -04:00
8fbf8f2519
feat(web): add /machinery/bot-join temporary page (#179)
* feat(web): add /machinery/bot-join temporary page

* add case for non-id'd bot-join route
2021-03-14 15:35:27 -04:00
0c586404e8
feat(web): add /machinery/logout (#177) 2021-03-14 15:09:52 -04:00
f24d2fcc99
chore: update prettier tab width for consistency (#175) 2021-03-13 22:54:34 -05:00
e7702fbcac chore: bump react-icons, @types/node 2021-03-13 21:23:58 -05:00
637be8bfa1
feat(web): add page titles (#170)
* feat(web): add page titles

* add html title
2021-03-13 21:17:00 -05:00
2d9d70734b
feat(web): do a cleanup pass over static HTML (#169) 2021-03-13 20:51:01 -05:00
99952aa19f
Feat/recent guilds (#89) (#167)
* feat(web): add server-setup page for when bot isn't in the server picked

* chore: move contexts into their own folder

* feat(web): add recent guilds context, and app shell helper context

* feat(web): show recent guilds in masthead

* feat(web): functionally add recents to servers list

* fix(web): correct styling for servers listing recents/all headers

* fix(web): correct some type issues with appShellProps

* fix(web): don't show ServerListing recents when recents is empty
2021-03-13 19:31:36 -05:00
3a36d7a85d feat(web): wire up discord auth button 2021-03-13 16:48:50 -05:00
0a399938d6 fix(web): simplify callbackHost builder 2021-03-13 16:28:01 -05:00
6edfe7455f chore: temporarily loosen CORS, add OAuth state info for backend bouncing 2021-03-13 15:49:36 -05:00
ed82a67594 fix(web): better define stage url matcher to prevent unexpected use-cases :) 2021-03-13 05:57:33 -05:00
2b467b8452 fix(web): api context should pass it's current hostname into API URL selector 2021-03-13 05:21:09 -05:00
fac361d277 chore(web): memoize default url since it'll mostly always be the same no matter what 2021-03-13 05:16:25 -05:00
a87ccd9c54 fix(web): getDefaultApiUrl should handle stage.roleypoly.com as stage 2021-03-13 04:55:20 -05:00
cd448b56c9
Reach parity with last web iteration. (#162)
* feat: add Api and Session contexts

* feat(web): add machinery/new-session

* feat(web): add servers page

* chore(web): AppRouter spacing/ordering

* feat(web): add picker, missing update-roles call for now

* feat(web): add picker saves

* chore: add roleTransactions tests

* feat(web): add auth/login
2021-03-13 04:42:07 -05:00
2ff6588030
Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161)
* chore: restructure project into yarn workspaces, remove next

* fix tests, remove webapp from terraform

* remove more ui deployment bits

* remove pages, fix FUNDING.yml

* remove isomorphism

* remove next providers

* fix linting issues

* feat: start basis of new web ui system on CRA

* chore: move types to @roleypoly/types package

* chore: move src/common/utils to @roleypoly/misc-utils

* chore: remove roleypoly/ path remappers

* chore: renmove vercel config

* chore: re-add worker-types to api package

* chore: fix type linting scope for api

* fix(web): craco should include all of packages dir

* fix(ci): change api webpack path for wrangler

* chore: remove GAR actions from CI

* chore: update codeql job

* chore: test better github dar matcher in lint-staged
2021-03-12 18:04:49 -05:00