Commit graph

45 commits

Author SHA1 Message Date
3190d41a9e
feat(bot): add dockerfile for JS rewrite, fix some loose ends (#210) 2021-04-03 17:53:05 -04:00
Katie Macke
7ec603cf70
Rewrite the bot process in Node/Discord.js (#206)
* Rewrite the bot process in js using discord.js

* remove old go code
2021-03-31 15:35:07 -04:00
70cd0179c3 fix(web): remove setTimeouts from updateScreenSize in BreakpointsProvider 2021-03-23 23:25:03 -04:00
a9c94eefc3 chore(web): update index.html description for auto-embeds 2021-03-23 23:09:27 -04:00
884be92db3
chore: refactor BreakpointsProvider to use hooks (#199) 2021-03-23 23:01:01 -04:00
a4fd37d71c
feat(api): add rate-limiting and /clear-guild-cache (#198) 2021-03-23 22:14:33 -04:00
57d83699d5
feat(design-system): redesign tab-view around quick nav (#194)
* feat(design-system): redesign tab-view around quick nav

* fix tests
2021-03-23 00:00:34 -04:00
a5f819bc3e
feat(web): add error pages (#193) 2021-03-22 21:18:56 -04:00
f4165f8055 chore: update some dev packages 2021-03-22 00:22:57 -04:00
93d2dba8e8 chore: remove packages/web/yarn.lock as it was accidentally committed 2021-03-22 00:18:07 -04:00
00ac3ef87a feat(api): /login-bounce adds &prompt=none to skip user interaction 2021-03-21 22:26:59 -04:00
117c73a8a1 fix(api): sync from legacy used wrong type of data 2021-03-21 22:10:27 -04:00
bfc96b0750
feat(api): add /sync-from-legacy route (#192)
* feat(api): add /sync-from-legacy route

* chore: remove extraneous dockerfile

* chore: remove extraneous dockerfile build

* chore: remove extraneous dockerfile build matrix
2021-03-22 16:54:33 -04:00
a983492154 chore: bump npm packages 2021-03-19 15:27:09 -04:00
81b6de7f71
performance pass on /s/:id route (#183)
* chore(web): attempt a slightly faster unauthed /s/ load

* retype RouteWrapper
2021-03-15 20:22:18 -04:00
e0fcfc310e
feat: add skeleton masthead and generic loading page (#182)
* feat: add skeleton masthead and generic loading page

* add generic loader to picker page

* smooth out spinner, add no-motion state
2021-03-15 19:51:56 -04:00
fa85b30cf0 fix(web): new-session should load a new page rather than fix state 2021-03-14 19:47:54 -04:00
42323a46f6
Refactor SessionContext (#181)
* fix(web): refactor session context so it works more consistently

* add warning for when syncSession is locked but called again

* cd

* add tests to new-session
2021-03-14 19:20:30 -04:00
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
311a9c371e
fix(design-system): fix UserPopover icon alignment (#178) 2021-03-14 15:16:18 -04:00
0c586404e8
feat(web): add /machinery/logout (#177) 2021-03-14 15:09:52 -04:00
410e27c2b3
fix(design-system): fix some button styling issues leaking link styles in (#176) 2021-03-14 14:49:29 -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
5e8876a90c
fix(design-system): fix styling regression from removing next/link (#168) 2021-03-13 20:16:40 -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
3388e091c1 feat(api): add wildcard fallback host filtering for stage/dev 2021-03-13 15:57:28 -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
eb2537ae35 chore(design-system): fix tsconfig extends path 2021-03-13 05:18:01 -05:00
aeaf14bda1 chore(api): remove extraneous logging from get-slug 2021-03-13 05:16:50 -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
e5e031fa27 chore: fix storybook weirdness 2021-03-12 18:43:56 -05:00
da6037cf6d chore: bump packages, remove unused webpack plugin 2021-03-12 18:32:09 -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