Commit graph

382 commits

Author SHA1 Message Date
ccff2684ad chore: bump packages 2021-06-30 07:37:35 -04:00
3748bb8695 chore: add resolutions for webpack as storybook is too loose 2021-04-03 19:02:58 -04:00
9ee7fb4878 chore: update npm packages 2021-03-24 05:31:49 -04:00
0706d62592 chore: update npm packages 2021-03-24 05:29:35 -04:00
25055fc204 chore: update npm packages 2021-03-24 05:27:07 -04:00
dependabot[bot]
ff1a756b3d
chore(deps): bump @types/react-dom from 17.0.2 to 17.0.3 (#197)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.2 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 18:00:14 -04:00
dependabot[bot]
a6f29458f7
chore(deps): bump react-tooltip from 4.2.15 to 4.2.17 (#203)
Bumps [react-tooltip](https://github.com/wwayne/react-tooltip) from 4.2.15 to 4.2.17.
- [Release notes](https://github.com/wwayne/react-tooltip/releases)
- [Changelog](https://github.com/wwayne/react-tooltip/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wwayne/react-tooltip/compare/v4.2.15...v4.2.17)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 18:00:02 -04:00
dependabot[bot]
d640cc3e7d
chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#201)
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases)
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.5.0...v0.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 17:59:49 -04:00
dependabot[bot]
db10cfdd30
chore(deps): bump @testing-library/jest-dom from 5.11.9 to 5.11.10 (#204)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.9 to 5.11.10.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.9...v5.11.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 17:59:33 -04:00
dependabot[bot]
0a28c4f38c
chore(deps): bump @testing-library/user-event from 13.0.7 to 13.1.1 (#208)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.0.7 to 13.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.0.7...v13.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 17:59:21 -04:00
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
55bc84e045 ci: trigger CI on pull_request 2021-03-29 19:08:55 -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
dependabot[bot]
be57e762a1
chore(deps-dev): bump husky from 5.1.3 to 5.2.0 (#191)
Bumps [husky](https://github.com/typicode/husky) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v5.1.3...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 19:27:50 -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
a931f8c69c chore: redo last commit with yarn.lock 2021-03-13 21:26:28 -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
8431df784f chore: commit forgotten terraform changes for allowed_callback_hosts 2021-03-13 16:02:10 -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