Commit Graph

1611 Commits

Author SHA1 Message Date
Milli
e0bdc70843 fix description error 2022-06-05 01:38:20 +02:00
Milli
18f43d304e regularely auto resolve markets 2022-06-05 01:34:02 +02:00
Milli
841b35ecda Merge remote-tracking branch 'upstream/main' into automated-market-resolution 2022-06-04 22:35:21 +02:00
Milli
55ebf76c37 script to add auto resolution to all markets 2022-06-04 22:34:46 +02:00
Milli
1f588600fb fixed firestore.rules 2022-06-04 22:34:28 +02:00
Justin
e3eb43a14b
add volume to api response (#413) 2022-06-04 13:33:07 -07:00
Marshall Polaris
f8c44efeba
Small cleanup to some common code (#422)
* Remove unnecessary type helpers

* Turn on unused code lint
2022-06-04 13:30:54 -07:00
Milli
7ff1cf0b92 fix date, setDate mutates object 2022-06-04 21:16:53 +02:00
Milli
463338efc6 Added auto resolution to LiteMarket 2022-06-04 21:03:17 +02:00
Milli
bef543a7c1 Merge remote-tracking branch 'upstream/main' into automated-market-resolution 2022-06-04 20:38:37 +02:00
Forrest Wolf
b89753e1fe
Add yarn verify script (#378)
* Add yarn check script

* Rename

* Add verify script to subdirectories for convenience
2022-06-03 15:10:14 -07:00
Marshall Polaris
7572e07489
Add a /health function for ease of benchmarking (#412)
* Slightly more defensive API endpoints

* Add health endpoint for benchmarking trivial Firebase fns
2022-06-03 14:49:09 -07:00
TrueMilli
00f142ec7e
vscode settings (#409)
* vscode settings
* Working debugger config
2022-06-03 12:17:31 -07:00
Milli
f2d98d9ec1 refactoring description update 2022-06-03 19:38:14 +02:00
Milli
c3798a1d48 removed vscode from gitignore 2022-06-03 19:37:53 +02:00
Milli
32859a3dab Removed comments, default resolution MKT 2022-06-03 19:30:43 +02:00
Milli
f7bc69d76e Merge branch 'main' into automated-market-resolution 2022-06-03 19:06:52 +02:00
Milli
1ce8276013 fix merge 2022-06-03 19:06:23 +02:00
Milli
b1532f766a Merge branch 'vscode_files' into automated-market-resolution
# Conflicts:
#	.vscode/settings.json
2022-06-03 19:05:50 +02:00
Milli
c3b5cc3f7f Working debugger config 2022-06-03 18:41:21 +02:00
Marshall Polaris
49859e6f00
Call cloud functions directly from web client instead of proxy (#405) 2022-06-03 00:50:24 -07:00
James Grugett
c1bda8a775
Follow other users. Filter markets by followed (#387)
* Add follow button to user page

* Update follows in the database using follow button.

* Add toggle for followed market creators to home

* Hide follow toggle from user's markets page

* Check that sold bet is by auth'd user

* Change follow toggle to category pill

* Remove unused imports

* Remove console.logs
2022-06-02 23:52:14 -05:00
Sinclair Chen
749f7aad40 copyedit: username in bet list empty state 2022-06-02 18:07:47 -07:00
Forrest Wolf
397d90c6b7
Replace some more uses of any with more specific types (#389)
* Give confirmation button icon a type

* Give setBids a type

* Make StripeSession type more specific

* Give MenuButton buttonContent a type
2022-06-02 17:40:41 -07:00
Milli
6a46169ab9 Merge branch 'vscode_files' of https://github.com/TrueMilli/manifold into vscode_files 2022-06-03 02:31:34 +02:00
Milli
226c725e7d vscode settings
* correct linebreaks
* search exclusion
* automatic prettifier
2022-06-03 02:31:27 +02:00
TrueMilli
0f2a311b74
Refactoring (#401)
* refactoring

(cherry picked from commit 4de86d5b08)

* removed unused imports and variables

* added type for binary resolution

* Prettier

* const for binary resolutions

* using the type "resolution"

* Prettier

* Update functions/src/create-contract.ts

* launch config for debugging with vs code
* "Launch Chrome" does not work since login via google is not possible in debugger-chrome
* Breakpoints are unbound when attached to chrome
2022-06-02 17:30:34 -07:00
Milli
0ac289bd44 vscode settings
* correct linebreaks
* search exclusion
* automatic prettifier
2022-06-03 02:29:54 +02:00
Milli
7c825242e2 Merge branch 'refactoring' into automated-market-resolution
# Conflicts:
#	common/contract.ts
2022-06-03 02:20:33 +02:00
Milli
46d38dbb0b linebreak crlf 2022-06-03 02:08:40 +02:00
Milli
f3dfd81666 prettier 2022-06-03 01:37:37 +02:00
James Grugett
bbb9a2c1fa Quick bet: Opposite arrow sells position 2022-06-02 18:24:10 -05:00
Milli
7f25a6da1a Revert "Added comments for leading semicolons" 2022-06-03 01:14:45 +02:00
Milli
78969e4a41 launch config for debugging with vs code WIP
* "Launch Chrome" does not work since login via google is not possible in debugger-chrome
* Breakpoints are unbound when attached to chrome
2022-06-03 01:06:24 +02:00
Milli
776f7b7367 Revert "Ignoring vs code files"
This reverts commit 09aea5c207.
2022-06-03 01:03:10 +02:00
TrueMilli
a416a2de6e
Update functions/src/create-contract.ts 2022-06-03 00:48:45 +02:00
Milli
a19e6326a3 Re-added comment 2022-06-03 00:46:38 +02:00
Milli
4be929fd8e Prettier 2022-06-03 00:39:15 +02:00
Milli
5315eb3600 using the type "resolution" 2022-06-03 00:36:24 +02:00
Milli
01adc91a67 const for binary resolutions 2022-06-03 00:31:05 +02:00
Milli
fba083cead Prettier 2022-06-03 00:09:02 +02:00
Milli
dfec5ed8fa added type for binary resolution 2022-06-02 23:35:58 +02:00
Milli
6dab3c4e29 removed unused imports and variables 2022-06-02 23:32:19 +02:00
Milli
09aea5c207 Ignoring vs code files
Should this be done in the repo or should everyone using VS Code do that himself globally on his machine(s)?

(cherry picked from commit 944de9398a)
2022-06-02 23:29:03 +02:00
Milli
03a3726dd8 Added comments for leading semicolons
(cherry picked from commit 60739c7853)
2022-06-02 23:27:13 +02:00
mantikoros
06c5c97a03 down betting arrow disabled for free response markets 2022-06-02 16:25:41 -05:00
Milli
1b2aff170f refactoring
(cherry picked from commit 4de86d5b08)
2022-06-02 23:25:09 +02:00
Milli
722a6e6d94 Merge branch 'refactoring' into automated-market-resolution
# Conflicts:
#	firestore.rules
2022-06-02 23:23:39 +02:00
Milli
d355e7a95e removed unnecessary export 2022-06-02 23:22:04 +02:00
mantikoros
5a4bb65d80 remove extra space (to fix prettier static check) 2022-06-02 16:00:38 -05:00