manifold/web/lib/firebase
Austin Chen da4ce99755
Merge Manifold for Teams infra into main codebase (#61)
* Add dev target for TheoremOne

* Restrict signups to theoremone.co emails

* Add new indices

* Forbid reads from unauthenticated users

* Client-side render pages that need auth

These pages are now client-side rendered:
- /home
- /leaderboards
- /market/...
- /fold/...

* Hide 404 for private Manifolds

* Brand instance for TheoremOne

* Hide "Add Funds" and "Personalize your feed"

* "M$" =>  "T$"

* Hide Discord & About Page too

* Update placeholders for teams

* Update firestore.indexes.json

* Switch /analytics to propz

* Migrate per-env code into common/

* More migrations to PROJECT_ID

* Conditionally use SSG depending on public vs private instance

* Fix props to be empty object

* Move more logic into access

* Spin out config files for each environment

* Generify most of the customizable brand stuff

* Move IS_PRIVATE_MANIFOLD to access.ts

* Rename access.ts to envs/constants.ts

* Add "dev:dev" alias

* Rever firestore rules to existing settings

* Fixes according to James's review
2022-03-08 18:43:30 -08:00
..
answers.ts Free response (#47) 2022-02-17 17:00:19 -06:00
api-call.ts Implement resolving to multiple answers, weighted by probability 2022-02-20 01:26:33 -06:00
bets.ts Create bet count and market count charts in our analytics 2022-03-02 17:52:41 -08:00
comments.ts Daily active users & comments 2022-03-03 12:59:12 -08:00
contracts.ts Create bet count and market count charts in our analytics 2022-03-02 17:52:41 -08:00
folds.ts Prevent client error with > 10 tags on contract 2022-02-22 22:21:00 -06:00
init.ts Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
storage.ts User profile (#44) 2022-02-03 21:04:56 -06:00
users.ts add @SG back to leaderboard 2022-02-22 19:41:57 -06:00
utils.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00