Commit graph

474 commits

Author SHA1 Message Date
c1e0e65823 fix(picker): uncache on role updates 2021-07-18 03:23:12 -04:00
2d88c4bf23 fix(picker): on access control violation, do a navigate rather than redirectTo 2021-07-18 02:37:29 -04:00
9921410c9f chore: remove leaked webhook 2021-07-18 02:28:07 -04:00
3f45153b66 feat: add access control 2021-07-18 02:12:30 -04:00
9c07ff0e54 chore: remove leftover BUILD.bazel files 2021-07-17 20:38:54 -04:00
6708f5c6fc chore: add create-component tool 2021-07-17 20:37:58 -04:00
62687ced78 fix(editor): fix style linting issue 2021-07-17 19:46:16 -04:00
b150462f2b fix(api): remove references to x-create-roleypoly-data 2021-07-17 19:43:21 -04:00
4cc202b62a feat(Editor): make server utilities their own pages
Signed-off-by: Katalina Okano <git@kat.cafe>
2021-07-17 19:23:35 -04:00
d52508a046 feat(api): update-roles will report x-audit-log-reason to discord
Signed-off-by: Katalina Okano <git@kat.cafe>
2021-07-17 19:22:16 -04:00
824fee0703 refactor(api): Abstract discord API base url to config.ts
Signed-off-by: Katalina Okano <git@kat.cafe>
2021-07-17 19:21:38 -04:00
31ea2e2183 refactor(api): asEditor instead of copy-pasted admin/manager/root check 2021-07-17 19:07:10 -04:00
0ed5d696df feat: redesign server listing design language 2021-07-10 15:03:10 -04:00
e5d83bc133
Fix/role tap styling (#321)
* fix(Role): don't show role state svgs on mobile hover

* fix(Role): default color hover state should be white svg fill
2021-07-14 22:08:50 -04:00
8158ae38f1 fix(Popover): fix z-index dismiss handler and mobile positioning 2021-07-13 23:32:01 -04:00
acc604f83f
feat: add audit logging via webhook (#309)
* feat: add audit logging via webhook

* addd missing auditLogWebhook values in various places
2021-07-13 23:01:25 -04:00
5671a408c1 fix(Editor): add reset/delete actions to each category (fixes #302) 2021-07-13 22:59:05 -04:00
5dce2fc949 chore(cfw-emulator): add bin field back ascfpages fixed their chmod issue 2021-07-13 22:21:05 -04:00
85ceb25c17 feat(UserPopover): add copyright and links to user popover 2021-07-09 07:08:51 -05:00
29adda5fd6 chore: ??? 2021-07-09 07:08:23 -05:00
1cd5cd7378 fix(Avatar): fix transparent server icons showing backgrounds 2021-07-09 07:07:53 -05:00
57f58d7333 feat(Editor): refresh cache when in the editor 2021-07-09 07:07:10 -05:00
4d18c0da1e chore(get-picker-data): comment a TODO for __no_cache ratelimit 2021-07-09 07:06:24 -05:00
a3cfe6d78a chore(DynamicBranding): remove LNY21, add LNY23 2021-07-09 05:02:35 -05:00
3d8f1030dc fix(DynamicBranding): fix lesbian pride day start date 2021-07-09 05:01:01 -05:00
51ef551d39 fix(Masthead): send date into branding so it changes properly 2021-07-09 04:57:28 -05:00
6d08548020 fix(Editor): editor linting 2021-07-09 04:41:43 -05:00
b6172b4af0 chore: deploy bot to stage 2021-07-09 04:37:03 -05:00
d8cdc1c62a fix(Editor): add empty role picker help page and link 2021-07-09 04:30:34 -05:00
30b9ea3a59 fix(Editor): add an empty categories message 2021-07-09 03:46:06 -05:00
47fa58fd36 fix(ServerCategoryEditor): unselectedRoles shouldn't include @everyone and unsafe roles 2021-07-08 17:36:38 -05:00
5e6b722290 fix(EditorCategory): unflip hidden state 2021-07-08 17:29:35 -05:00
d39b9db781 feat: bot-join machinery redirect 2021-07-08 17:10:50 -05:00
ab3f718e6d
Feat/editor as preview (#294)
* try editor as preview

* add databinding for editor actions and message

* add actions, reordering base interactions

* add drag and drop ordering for categoriers

* category skeleton

* fix linting issues

* add role list and add button, non-functional

* bump packages

* add role search prototype

* yarn.lock sync

* fix lint

* remove cfw-emulator bin
2021-07-08 16:51:00 -05:00
7d681d69d6
Feat/editor category pass2 (#290)
* feat(design-system): add editor skeletons

* use css media queries rather than JS media queries

* init remake

* feat: add basis of toggle atom

* finish toggle

* use pointer cursor with toggle

* sync

* feat: add server message in editor

* cleanup storybook

* add short editor item and data model for categories

* chore: fix build by moving jest version downward

* chore: remove old category editor

* chore: fix EditorCategoryShort index

* add editor wiring and styling updates

* fix linting issues
2021-07-05 12:18:40 -05:00
a37d481b18 chore: downgrade ts-loader because webpack 4 2021-06-30 08:39:07 -04:00
9799114b7c chore: fix tests, upgrade to node 16 2021-06-30 08:30:49 -04:00
10e095656f chore: update codestyle due to prettier/rule updates 2021-06-30 08:02:36 -04:00
dependabot[bot]
f632bfa6e5
chore(deps): bump actions/upload-artifact from 2.2.2 to 2.2.4 (#265)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katalina <kayteh@users.noreply.github.com>
2021-06-30 07:59:58 -04:00
dependabot[bot]
ec53c65378
chore(deps): bump actions/cache from 2.1.4 to 2.1.6 (#264)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...v2.1.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 07:59:39 -04:00
dependabot[bot]
e7a6968abf
chore(deps): bump ssri from 6.0.1 to 6.0.2 (#248)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 07:59:28 -04:00
94ab6d9907 chore: bump terraform version to 1.0.1 + packages 2021-06-30 07:57:20 -04:00
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