manifold/common
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
..
envs Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
util Merge Manifold for Teams infra into main codebase (#61) 2022-03-08 18:43:30 -08:00
.gitignore Add package.json to common directory, and lodash dependency 2022-02-01 12:59:51 -06:00
answer.ts Free response (#47) 2022-02-17 17:00:19 -06:00
antes.ts Free response (#47) 2022-02-17 17:00:19 -06:00
bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
calculate.ts for sales, show change in implied probability 2022-02-17 18:24:10 -06:00
comment.ts User profile (#44) 2022-02-03 21:04:56 -06:00
contract.ts Implement resolving to multiple answers, weighted by probability 2022-02-20 01:26:33 -06:00
fees.ts lower creator fee to 4% 2022-02-03 20:49:04 -06:00
fold.ts Match lowercase tags for folds 2022-02-01 12:29:14 -06:00
new-bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
new-contract.ts Free response (#47) 2022-02-17 17:00:19 -06:00
package.json Yarn workspaces (#42) 2022-02-01 15:25:51 -06:00
payouts.ts Fix multi payout calculation! 2022-03-07 13:15:12 -08:00
scoring.ts Subtract loans from leaderboard calculations 2022-03-01 21:23:37 -08:00
sell-bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
user.ts Send email to market creator on new answer 2022-02-23 00:05:04 -06:00
yarn.lock Add package.json to common directory, and lodash dependency 2022-02-01 12:59:51 -06:00