Commit graph

17 commits

Author SHA1 Message Date
dc1e7718bc remove bot, force role order 2023-05-28 09:47:19 -04:00
f5fb729ce7 port bot to rust, upgrade response, and cut away some of the tf cruft 2022-02-06 19:16:08 -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
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
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
8431df784f chore: commit forgotten terraform changes for allowed_callback_hosts 2021-03-13 16:02:10 -05:00
d9508b0b41 blackhole non-roleypoly traffic 2020-12-13 13:13:13 -05:00
18583f145a add cf origin certs, swap LB to HTTPS 2020-12-11 00:16:58 -05:00
961989197c add bot deploy 2020-12-11 00:16:03 -05:00
473031150b terraform fmt 2020-12-07 22:53:02 -05:00
afdf331070 fix default tagging for cloud run 2020-12-07 22:49:54 -05:00
6ed7bda678 fix tags.tfvars pathname 2020-12-06 22:57:43 -05:00
146269944a terraform fmt 2020-12-06 18:07:44 -05:00
95a5732457 more ci/cd work, build worker and publish 2020-12-06 17:59:24 -05:00
c25943dfa0 adjust tf to support digest tags 2020-12-06 08:46:16 -05:00
7ad719895d add GAR docker push for google cloud stuff 2020-12-06 05:41:18 -05:00
8870f6b640 make terraform stuff 2020-12-06 04:20:12 -05:00