Commit graph

478 commits

Author SHA1 Message Date
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
f65779f925 chore: go mod tidy to fix gomega update 2021-03-12 18:50:24 -05:00
c9fce4d4cb chore: update gomega 2021-03-12 18:48:05 -05:00
558555293c chore: delete root .storybook folder 2021-03-12 18:47:24 -05:00
ff6fe5282b chore: update discordgo + discordclient 2021-03-12 18:47:13 -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
069930a55e ci: remove ui_tag from deploy trigger 2021-03-12 18:10:03 -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
dependabot[bot]
49e308507e
chore(deps): bump actions/cache from v2 to v2.1.4 (#134)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 21:13:26 -05:00
dependabot[bot]
bda44bd6ae
chore(deps-dev): bump chokidar from 3.5.0 to 3.5.1 (#119)
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.5.0...3.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 21:41:51 +00:00
dependabot[bot]
d9092b2ddb
chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.3 to 32.2.0 (#149)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 31.0.3 to 32.2.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v31.0.3...v32.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 21:28:56 +00:00
dependabot[bot]
1024562776
chore(deps-dev): bump eslint from 7.17.0 to 7.20.0 (#137)
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.20.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 21:03:14 +00:00
dependabot[bot]
f93df2b151
chore(deps-dev): bump @types/node from 14.14.20 to 14.14.31 (#144)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.20 to 14.14.31.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 20:50:04 +00:00
dependabot[bot]
cd927ada76
chore(deps): bump actions/setup-node from v2.1.4 to v2.1.5 (#146)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 20:35:48 +00:00
dependabot[bot]
65f936be48
chore(deps): bump github.com/onsi/gomega from 1.10.4 to 1.10.5 (#130)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.4...v1.10.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 20:30:10 +00:00
dependabot[bot]
0626a3e4d3
chore(deps): bump react-tooltip from 4.2.11 to 4.2.15 (#150)
Bumps [react-tooltip](https://github.com/wwayne/react-tooltip) from 4.2.11 to 4.2.15.
- [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.11...v4.2.15)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 15:24:13 -05:00
46769cce55 ci: re-fix discord data quoting 2021-01-12 23:33:10 -05:00
dependabot[bot]
e4f7b4dd97
chore(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (#107)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-13 04:32:03 +00:00
bb82ce519b ci: fix curl data quoting 2021-01-12 23:18:12 -05:00
59bb223049 ci: update codeql 2021-01-12 23:12:05 -05:00
041fc19e95 ci: discord failed() -> failure() 2021-01-12 23:09:10 -05:00
14c9993bf6 ci: discord when -> if 2021-01-12 23:01:04 -05:00
6a5df41a31 ci: add #deployments 2021-01-12 22:51:30 -05:00
6392722a6f fix: server-setup template index.ts missed content 2021-01-12 21:15:29 -05:00
19637c2ddb chore: bump npm packages 2021-01-12 21:04:42 -05:00
8299c548ba feat: add server-setup page 2021-01-12 20:57:11 -05:00
df05e23303 chore: bump terraform providers 2021-01-10 15:21:58 -05:00
334462680e chore: bump packages 2020-12-29 00:29:58 -05:00
888988fce2 chore: lint-staged can use stylelint --fix now 2020-12-23 19:16:12 -05:00
d70eb44963 chore: remove stylelint processor 2020-12-23 19:15:35 -05:00
25615ac38d ci: flip worker check, if found skip=1, not 0 2020-12-22 00:31:49 -05:00
20fec5ea24 chore: bump packages 2020-12-22 00:27:50 -05:00
5e065912de ci: skip worker build if already built. 2020-12-22 00:13:31 -05:00
1495500f2b fix(API): highest role position was incorrectly calculated starting from the highest instead of the lowest. fixes #97 2020-12-21 22:09:05 -05:00
5ef9046e0b chore: remove tf lint-staged rule -- will revisit 2020-12-21 05:49:28 -05:00
8c9243b736 infra: set public_uri vars in repo instead of from secrets 2020-12-21 05:37:36 -05:00
7363b4d359 fix(RolePicker): make sure getInitialProps always returns
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:17:02 -05:00
7f031bb960 chore: prefix un-consumed router.replace() calls with void
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:10:57 -05:00
779095386d feat(auth/login): Login page will set a sessionStorage redirect flag when given an ?r= ID
Also adds HTML titles

Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:10:25 -05:00
25ce18b911 feat(UI): new-session machinery will redirect to known URL if given in sessionStorage
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:09:02 -05:00
9699c313f9 chore: fix logout link -- broke layout, will investigate
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:07:51 -05:00
d11e29d4f5 chore: remove PreauthSecretCode
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:04:44 -05:00
91c27f6b9a fix(utils): apiFetch should tolerate missing authentication
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:04:12 -05:00
6d8f40e30e feat(RolePicker): when not authed, redirect to /auth/login?r=id
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-21 05:03:38 -05:00
765a0f2b22 chore: remove eslint from lint-staged, will circle back 2020-12-21 03:58:08 -05:00
52a8dcdf76 chore: change guild member cache identity to be suffixed with /roles as there is an expected change schema change 2020-12-21 03:58:08 -05:00
dependabot[bot]
226e212cb9
chore(deps-dev): bump eslint-plugin-jsdoc from 30.7.8 to 30.7.9 (#87)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 30.7.8 to 30.7.9.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v30.7.8...v30.7.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 16:36:03 +00:00
dependabot[bot]
880dbe4912
chore(deps): bump swr from 0.3.9 to 0.3.11 (#88)
Bumps [swr](https://github.com/vercel/swr) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/0.3.9...0.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 11:22:38 -05:00