Commit graph

454 commits

Author SHA1 Message Date
872e9b8734 fix new-session tests, remove newly unused param 2022-02-01 00:25:36 -05:00
9f870139ff prevent dependabot from needing google credentials in CI 2022-02-01 00:00:06 -05:00
dependabot[bot]
5f23498967
chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#366)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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>
2022-01-31 23:54:36 -05:00
dependabot[bot]
2f82b4088f
chore(deps): bump tar from 6.0.5 to 6.1.11 (#356)
Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 23:54:17 -05:00
e7994d394b update storybook to 6.4.17 2022-01-31 23:52:45 -05:00
b24f3fd00a normalize auth/callback redirect url 2022-01-31 23:50:05 -05:00
8d7d331c82 fix footer patreon link 2022-01-31 23:34:28 -05:00
1cb04c8b5a update login flow to prevent session leakage 2022-01-31 23:32:41 -05:00
be826b613e fix typo on auth/callback redirect 2022-01-31 21:51:15 -05:00
a008dbcc42 add DISCORD_PUBLIC_KEY binding 2022-01-31 21:50:26 -05:00
3291f9aacc
big overhaul (#474)
* miniflare init

* feat(api): add tests

* chore: more tests, almost 100%

* add sessions/state spec

* add majority of routes and datapaths, start on interactions

* nevermind, no interactions

* nevermind x2, tweetnacl is bad but SubtleCrypto has what we need apparently

* simplify interactions verify

* add brute force interactions tests

* every primary path API route is refactored!

* automatically import from legacy, or die trying.

* check that we only fetch legacy once, ever

* remove old-src, same some historic pieces

* remove interactions & worker-utils package, update misc/types

* update some packages we don't need specific pinning for anymore

* update web references to API routes since they all changed

* fix all linting issues, upgrade most packages

* fix tests, divorce enzyme where-ever possible

* update web, fix integration issues

* pre-build api

* fix tests

* move api pretest to api package.json instead of CI

* remove interactions from terraform, fix deploy side configs

* update to tf 1.1.4

* prevent double writes to worker in GCS, port to newer GCP auth workflow

* fix api.tf var refs, upgrade node action

* change to curl-based script upload for worker script due to terraform provider limitations

* oh no, cloudflare freaked out :(
2022-01-31 20:35:22 -05:00
b644a38aa7 fix(branding): adjust LunarNewYear date captures 2022-01-27 16:55:21 -05:00
8c07ed3123 chore: fix linting 2022-01-22 22:14:16 -05:00
20efb22605 fix(editor): make permalink types more sane 2022-01-22 22:10:57 -05:00
0d96a4f973 feat(editor): add permalink section in editor 2022-01-22 22:07:11 -05:00
f86eaae5e9 chore: rename uses of "Guilds" to "Servers" 2022-01-22 20:27:54 -05:00
8eb4377044 fix(design-system): organisms/editor-shell: add spacer above masthead 2022-01-22 20:22:02 -05:00
4e2616c1a7 fix: upgrade all uses of node 14 to 16 2022-01-22 18:57:14 -05:00
0c9f60ccd9 fix(bot): upgrade node verison to 16 2022-01-22 18:56:11 -05:00
7a52653260 fix(bot): update discord.js to 13, ignore non-direct mentions 2022-01-22 18:49:10 -05:00
cba0d1f35a fix(design-system): molecules/editor-category: handleRoleListUpdate should not be nested function 2022-01-22 18:13:00 -05:00
dac2af43a2 fix(api): disable access control 2021-08-13 08:52:44 -04:00
d5acea4abb fix: missing tools on a composable handler 2021-08-07 18:05:34 -04:00
76a03c2d2c chore: refactor asyncResponse to take a preflight response 2021-08-07 18:04:29 -04:00
26bc74bcbc fix(interactions): add async responses 2021-08-07 18:00:20 -04:00
3601d435b2 chore: update discord-interactions terraform module 2021-08-02 20:21:53 -04:00
285e23c0ed fix(bot-join): fix commands scope 2021-08-01 20:56:06 -04:00
066f68ffef
feat: Slash Commands (#337)
* feat: add discord interactions worker

* feat(interactions): update CI/CD and terraform to add interactions

* chore: fix lint issues

* chore: fix build & emulation

* fix(interactions): deployment + handler

* chore: remove worker-dist via gitignore

* feat: add /pickable-roles and /pick-role basis

* feat: add pick, remove, and update the general /roleypoly command

* fix: lint missing Member import
2021-08-01 20:26:47 -04:00
dde05c402e add feature flag stuff
Signed-off-by: Katalina Okano <git@kat.cafe>
2021-07-27 23:03:00 -04:00
3074db0a21 chore: set new features behind feature flags 2021-07-27 20:34:49 -04:00
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