Commit graph

486 commits

Author SHA1 Message Date
54abcaeaa7 potentially ancient typo?? 2022-02-06 23:11:49 -05:00
6f3f805b4a set name of output 2022-02-06 22:59:34 -05:00
06737f4bc7 remove debug, but reduce meta-ing the docker digest 2022-02-06 22:56:44 -05:00
d116caccf2 debug some stuff 2022-02-06 22:46:59 -05:00
2b1bb916cf allow stopping for vm updates 2022-02-06 22:30:51 -05:00
9bdbc98c4f scale prod back up to e2-small 2022-02-06 22:26:19 -05:00
b5cfc13793 upgrade container vm module and surrounding info 2022-02-06 22:06:24 -05:00
6df856ac49 scale down bot since rusty-bot uses less resources 2022-02-06 21:36:20 -05:00
9e057e8692 debian pls 2022-02-06 20:11:35 -05:00
3c49529fe3 rust needs way more than I realized 2022-02-06 20:08:09 -05:00
ce77046d86 cargo bin is named bot, not app 2022-02-06 19:36:28 -05:00
9611b26378 fix docker build context 2022-02-06 19:26:06 -05:00
f5fb729ce7 port bot to rust, upgrade response, and cut away some of the tf cruft 2022-02-06 19:16:08 -05:00
0a37eff047 switch all interactions registrations to global 2022-02-04 21:32:22 -05:00
5aa5a6ae1c add /pick-role and /remove-role, refactor responses 2022-02-04 21:21:32 -05:00
0836d548b2 add an instant cache refresh to the editor 2022-02-04 11:59:11 -05:00
68b2b7323b fix tests, add /roleypoly and /pickable-roles handlers 2022-02-04 11:16:18 -05:00
8c61bfd4c7 add Embed footer to interactions types 2022-02-04 01:39:00 -05:00
5c5258ef5e add /roleypoly and /pickable-roles slash commands, fix framework issues 2022-02-04 01:37:14 -05:00
fd7ed13e9d fix tests as output types changed a little 2022-02-03 22:59:32 -05:00
544ef1b2f0 fix interactions, apparently cfw doesn't speak Buffer 2022-02-03 22:57:37 -05:00
7007cfea9d add a test for when attemptLegacyImport encounters an error 2022-02-02 13:57:00 -05:00
c7bfed8bae attemptLegacyImport should not break the entire request when it fails 2022-02-02 13:52:01 -05:00
140f9d566b debounce session fetch as it literally ddoses cloudflare 2022-02-01 21:05:48 -05:00
fcaf3af875 only finish auth flow when user is actually authenticated 2022-02-01 20:39:43 -05:00
5123fba74d fix ui_public_uri in prod 2022-02-01 18:13:32 -05:00
c28e53c6b4 scroll to bottom when a new category is created 2022-02-01 17:23:17 -05:00
e0a0d1d87a uncacheGuild a second time, prospective fix for state desync 2022-02-01 17:16:56 -05:00
5404047bd2 fix help page not correctly injecting all AppShellProps 2022-02-01 01:28:35 -05:00
7ba0b6316e makes login use location.href instead of navigate() 2022-02-01 00:45:24 -05:00
b3f9f57035 forcibly bump api code so it'll deploy 2022-02-01 00:41:35 -05:00
dependabot[bot]
0c19156a0a
chore(deps): bump dns-packet from 1.3.1 to 1.3.4 (#475)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 00:31:46 -05:00
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