Austin Chen
c39e3aedfa
Also send .env file when deploy functions
2022-07-04 16:04:05 -07:00
Sinclair Chen
af2b148b34
show names on admin user table
2022-07-04 13:25:44 -07:00
Ian Philips
790fdad1e3
Display refered by publicly
2022-07-04 09:18:01 -06:00
Ian Philips
22f917e250
Avatar sizes to 24, size 20 is broken
2022-07-04 08:32:51 -06:00
Ian Philips
e712ad8289
Allow users to choose who referred them ( #611 )
...
* Allow users to choose who referred them
* Refactor
* Rewording
* Match list styles
* Match empty text styles
2022-07-04 07:49:41 -06:00
mantikoros
d78bbcb3df
fix navbar tracking
2022-07-03 23:43:18 -04:00
Austin Chen
579dcd81dc
Update env config template
2022-07-03 16:46:45 -07:00
Austin Chen
9839b7b5a4
Allow customizing starting balance & antes
2022-07-03 16:46:15 -07:00
James Grugett
8fdc44f7f3
Switch to firebase dev before serving firebase emulators
2022-07-03 15:37:24 -04:00
Pico2x
960f8a1b3d
Toggle weekly leaderboard and daily/weekly/alltime portfolio graph ( #616 )
...
* Toggle weekly leaderboard and daily/weekly/alltime portfolio graph
* Formatmoney for tooltip value
2022-07-03 14:18:12 -05:00
Marshall Polaris
7dea9cbfa8
Use getAll
Firestore technology to improve some code ( #612 )
2022-07-02 16:24:03 -07:00
Marshall Polaris
90d7f55c6d
Fix backup DB job to actually backup most things, refactor ( #605 )
...
* Make backup manually invokable and thereby testable
* Add a shitload of missing stuff to our backups
* Also backup follows as per James
2022-07-02 13:27:06 -07:00
Marshall Polaris
18b8758191
Remove code for obsolete feed updater backend jobs ( #607 )
...
* Remove code for obsolete feed updater backend jobs
* Kill two more obsolete guys
2022-07-02 13:26:42 -07:00
mantikoros
218b18254c
add liquidity: support pseudo numeric markets
2022-07-02 15:46:32 -04:00
mantikoros
1a6afaf44f
Pseudo numeric market ( #609 )
...
* create pseudo-numeric contracts
* graph and bet panel for pseudo numeric
* pseudo numeric market layout, quick betting
* Estimated value
* sell panel
* fix graph
* pseudo numeric resolution
* bets tab
* redemption for pseudo numeric markets
* create log scale market, validation
* log scale
* create: initial value can't be min or max
* don't allow log scale for ranges with negative values (b/c of problem with graph library)
* prettier delenda est
* graph: handle min value of zero
* bet labeling
* validation
* prettier
* pseudo numeric embeds
* update disclaimer
* validation
* validation
2022-07-02 14:37:59 -05:00
Sinclair Chen
cc52bff05e
fix functions/README formatting
2022-07-01 16:45:05 -07:00
Ian Philips
2dce3e15a1
Correct margin on tabs
2022-07-01 17:03:26 -06:00
Ian Philips
b9931e65da
Allow adding anyone's contract to a group
2022-07-01 16:37:30 -06:00
James Grugett
cb68530e2a
Use client side contract search for emulator
2022-07-01 12:26:45 -04:00
Ben Congdon
d29115b05a
Nitpick on Manalinks claim page ( #608 )
2022-07-01 08:40:43 -07:00
Ian Philips
5034a43c3c
Filter for ian's deleted users
2022-07-01 08:29:12 -06:00
Ian Philips
3165e42119
Referrals ( #592 )
...
* add trigger for updated user
* Add referral bonuses and notifications for them
* Cleanup
* Add share group button, cleanup
* Cleanup
* Add referrals list to user profile
* Remove unused
* Referral bonus => constant
* Refactor
* Add referral txn to helper fn
* Move reads into firebase transaction
* Use effects to write referral info
* Flex-wrap profile objects
* Small ui changes
* Restrict referral user to one update
* Remove rogue semicolon
* Note about group referral query details
* Track referrals, add them to settings list
2022-07-01 07:47:19 -06:00
Marshall Polaris
b0b8c6e98b
Make the resolve API docs not obviously wrong ( #604 )
2022-06-30 15:25:32 -07:00
Ben Congdon
7fc1ec6bd2
Clear suggested FR answer after submission ( #603 )
2022-06-30 15:13:59 -07:00
Ben Congdon
c5efd5b7d0
Market Resolution API ( #600 )
...
* Add market resolution API
* Add additional free market resolution validation
* Address review comments
* Refactor resolution validation code somewhat
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-06-30 15:11:45 -07:00
Ben Congdon
a5a0a1370a
Remove daily free market text from docs ( #601 )
2022-06-30 10:07:28 -05:00
Marshall Polaris
fc7f19e785
Finalize v2 resolvemarket migration ( #598 )
...
* Update resolve-market to be a v2 function
* Cleanup API error responses
* Update frontend to use v2 version of resolvemarket
* Appease ESLint
* Address review comments
* Appease ESLint
* Remove unnecessary auth check
* Fix logic bug in FR market validation
* Make it so you can specify runtime opts for v2 functions
* Cleanup to resolve market API resolutions input, fixes
* Fix up tiny lint
* Last minute cleanup to resolvemarket FR API input validation
Co-authored-by: Benjamin <ben@congdon.dev>
2022-06-29 16:47:06 -07:00
Marshall Polaris
2fbbc66029
Point v2 functions @ localhost during emulation ( #597 )
2022-06-29 16:31:53 -07:00
Austin Chen
7bbc425690
Only show "My Groups" when there is at least 1 group
2022-06-29 17:54:08 -05:00
Austin Chen
19d12c949a
Add a line spacer on the sidebar
2022-06-29 17:51:11 -05:00
Marshall Polaris
3b4666ba3e
Add Firebase schema collection helpers (kind of an RFC) ( #583 )
...
* Add Firebase schema collection helpers
* Decentralize definitions from schema file (James feedback)
* Add lint comment
2022-06-29 12:21:40 -07:00
Austin Chen
8132fa595b
Don't add space when there are 0 groups
2022-06-29 13:08:01 -05:00
Austin Chen
2d79d7f8db
Rework nav to show list of groups ( #596 )
...
* Rework nav to show list of groups
* Fix lint
* Replace Portfolio with Profile link
* Lint: remove unused vars
2022-06-29 12:33:20 -05:00
Ian Philips
8c3c30c707
Show groups on user page, allow to join/leave ( #594 )
...
* Show groups on user page, allow to join/leave
* Link to groups
* Unused var
2022-06-29 11:00:43 -05:00
SirSaltyy
63528aa0f3
Add CES charity ( #591 )
...
Added CES charity to the charity page.
2022-06-28 17:19:58 -05:00
Forrest Wolf
7f9b0557c4
Reorganize verify scripts ( #589 )
...
* Update verify to match check for functions
* Give each subdirectory a verify:dir script
2022-06-28 12:46:25 -07:00
Austin Chen
c18a0378e9
Tweak nav items around
2022-06-28 11:18:55 -05:00
Austin Chen
2f434c849d
Remove portfolio link; user icon links to portfolio
2022-06-28 11:03:14 -05:00
Marshall Polaris
0b585d1c98
Typescript project references take 2 ( #586 )
...
* More liberal .gitignores on TS output directories
* Use project references for Typescript functions project
* Use /dist dir for Cloud Functions deployment payload
* Fix Github actions functions tsc job
2022-06-27 13:32:24 -07:00
James Grugett
4107d5fedb
Fix weird layout on refreshing create page
2022-06-27 14:40:40 -05:00
James Grugett
1e904f567a
Revert "Use Typescript project references, improve functions build/deploy ( #575 )"
...
This reverts commit 4edad9f19b
.
2022-06-27 12:30:22 -05:00
Sinclair Chen
54356b8d2f
Remove undo. Show full tip amount. Linear scale. ( #573 )
2022-06-27 11:18:15 -05:00
Austin Chen
c1765ca0cb
Use green for FR (and numeric) cards
2022-06-26 19:44:10 -05:00
Ben Congdon
3b6ba76db6
Add market liquidity addition events to bets feed ( #578 )
...
* Add liquidity events to bets feed
* Use larger avatar for liquidity feed items
2022-06-26 19:00:02 -05:00
Marshall Polaris
0067bee94b
Compute stats in Firebase instead of Vercel ( #584 )
...
* Add stats updating cloud function
* Read stats from database on client instead of computing them
* Improve logging for stats updater
* Tidying up
2022-06-26 14:42:42 -07:00
Marshall Polaris
2e5d852a77
Fix lint
2022-06-25 18:20:54 -07:00
Marshall Polaris
11f6a57c54
Fix types on API LiteUser
2022-06-25 18:20:10 -07:00
Justin
fa86f5e89a
Add Users API endpoint ( #547 )
...
* add users endpoint to API
* docs, url
* tweak docs
2022-06-25 16:28:01 -07:00
Ben Congdon
5e768aa57c
Prevent duplicate Free Response answers ( #581 )
...
* Prevent duplicate Free Response answers
* Address review comments
2022-06-25 16:18:49 -07:00
Marshall Polaris
b7cbd2a431
More robust functions deploy script
2022-06-24 22:44:41 -07:00