SirSaltyy
c871135260
500 mana email ( #687 )
...
* Create 500-mana.html
* Update 500-mana.html
Fixed typos and links not working
* Added "create a good market" guide
added page creating-market.html
For Stephen to set up condition (email 3 days after signing up)
* Update 500-mana.html
updated 500 Mana email (still need to make changes to create market guide)
* email changes
* sendOneWeekBonusEmail logic
* add dayjs as dependency
* don't use mailgun scheduling
Co-authored-by: mantikoros <sgrugett@gmail.com>
2022-08-04 21:33:36 -07:00
Ian Philips
4dbabd2a77
Add challenge slug to bet and filter by it
2022-08-04 05:53:35 -06:00
Ian Philips
625c8944bd
Merge branch 'main' into challenges
2022-08-03 20:47:26 -06:00
Ian Philips
903264b9be
New create challenge panel
2022-08-03 10:46:50 -06:00
Ian Philips
4252157290
Your outcome/cost=> acceptorOutcome/cost
2022-08-03 08:57:09 -06:00
Ian Philips
754d4cb489
Accepted challenge sharing card, fix accept bet call
2022-08-02 16:37:57 -06:00
Marshall Polaris
f8a74aa438
Allow admins to resolve any market ( #711 )
2022-08-02 15:34:20 -07:00
Keri Warr
cfeb50826c
Add endpoint for reading currently authenticated user ( #710 )
2022-08-02 00:06:23 -07:00
Marshall Polaris
6901507461
Allow unspecfied outcome as input to sellshares
( #706 )
...
* Allow unspecfied outcome as input to `sellshares`
* Fix small details
2022-08-01 23:53:12 -07:00
Ian Philips
0b06ded5e5
Groups contracts ( #709 )
...
* Update group links in trigger and api
* Remove extra call during creation
* Remove grouplinks on frontend
* Deserialize
* Consolidate logic
* Move function locally
2022-08-01 21:15:09 -06:00
Marshall Polaris
b4e8c5d602
Backfill missing group IDs ( #708 )
2022-08-01 16:40:04 -06:00
ingawei
ae2e7dfe30
noobify welcome demo ( #699 )
...
* noobify welcome
* also beginning to add greyscale color scheme
2022-07-30 02:50:03 -05:00
mantikoros
1aaae93113
Multiple choice markets ( #698 )
...
* multipe choice answers
* create multiple choice cloud function
* multi choice market page
* show outcome '0'
* stats: multi choice type
* update place bet
* answer doc id = outcome
* update resolve market
* prettier
* fix
* fix resolution
2022-07-27 21:40:33 -05:00
Ian Philips
5d48530421
Remove s from property, replace prob with outcome
2022-07-26 18:03:51 -07:00
Ian Philips
013ff1d941
Show api error on create contract
2022-07-26 16:44:51 -07:00
Marshall Polaris
b506e96548
Implement "sell all shares" functionality in sellshares
and expose API ( #696 )
...
* Change `sellshares` to be able to sell all shares
* Sell all shares properly on bet panel UI
* Add API route for selling shares, document
2022-07-26 12:47:19 -07:00
mantikoros
cecf696e1f
fix accept challenge: don't change pool/probability
2022-07-26 10:57:51 -07:00
mantikoros
ec0e25e5ed
create user: remove ip check
2022-07-25 18:25:23 -07:00
Marshall Polaris
312b244e2a
Small backend cleanups ( #643 )
...
* Reuse DAY_MS in update-metrics job
* More concise transaction in cancelbet
* Remove some meaningless awaits
* Do less work in onCreateLiquidityProvision
* Do less work in onCreateAnswer
2022-07-24 00:45:45 -07:00
Marshall Polaris
a1d5d161dd
Revamp backend code to support good local function development ( #657 )
...
* Move concurrently dep upwards
* Add express as explicit dependency
* Accept just one HTTP method per endpoint
* Fix endpoint option coalescing
* Expressification of cloud functions
* Nicer logging of API requests
* Refactor web package.json
* Add ts-node and nodemon to dev dependencies, bring back cors
* Add scaffolding to point dev server at local functions
* Enable emulator in dev server scaffolding
* Fix up a little stuff I broke
2022-07-24 00:26:38 -07:00
Sinclair Chen
6c89e5f18f
Add @ mentions to editor ( #670 )
...
* Add @ mentions to editor
* Fix mention list not loading
* Sort mention list by prefix, follow count
* Render at mention with Linkify component
- mentions are now Next <Link> rather than <a>
- fix bug where editor.getText() returns [object Object] for mentions
- fix mention rendering for posted markets
2022-07-23 20:37:34 -07:00
Marshall Polaris
6c8c068327
Write script to fix old comments without IDs and user IDs ( #680 )
2022-07-23 13:48:28 -07:00
Ian Philips
56a579ff91
Don't filter for group contract ids
2022-07-22 16:44:03 -06:00
Ian Philips
abde013ab6
Re-get contracts to get updated links
2022-07-22 16:40:37 -06:00
Ian Philips
5f074206de
Backfill and forward fill contracts with group info ( #686 )
...
* Backfill and forward fill contracts with group info
* No nested queries :(
* Fix filter
* Pass empty arrays instead of undefined
2022-07-22 16:28:53 -06:00
Ian Philips
d319b654ce
Add creator id to unique bettor ids
2022-07-22 14:15:42 -06:00
Austin Chen
87170894e2
Suppress eslint warning for script
2022-07-22 09:12:01 -07:00
Ian Philips
83cb0a6130
Allow clickable username in welcome message
2022-07-22 08:19:06 -06:00
Ian Philips
bfb11339ca
Convert world and culture categories
2022-07-22 08:12:40 -06:00
Sinclair Chen
4b4734531f
refactor createNotif - put ?: args in object ( #681 )
2022-07-21 17:08:09 -07:00
Ian Philips
71d8ffcee5
pretty
2022-07-21 15:43:51 -06:00
Ian Philips
13aa1f9540
Set shares to equal each other
2022-07-21 15:15:15 -06:00
Ian Philips
ac4964f058
Fix before and after probs
2022-07-21 12:01:33 -06:00
Ian Philips
6051d436b8
Store avatar url
2022-07-21 10:18:16 -06:00
Ian Philips
2ce508382a
Challenge bets
2022-07-21 10:08:50 -06:00
Ian Philips
921ac4b2a9
Fix last 3 days number
2022-07-19 17:22:23 -06:00
Ian Philips
1f0983a145
Find old contracts to decrement score on
2022-07-19 17:08:51 -06:00
Ian Philips
2152e5286a
Score & sort by unique bettors in last 3 days
2022-07-19 16:29:41 -06:00
James Grugett
93b9ace477
Comment email: Subject no longer varies between questions so emails are threaded in gmail
2022-07-19 14:54:42 -05:00
Ian Philips
39c38a669e
Referrals bug fix and attribute group
2022-07-18 10:40:44 -06:00
SirSaltyy
d012561c50
Create 500-mana.html ( #658 )
2022-07-18 15:13:16 +01:00
Ian Philips
906cfc29c8
Endswith=>includes to handle sort query in group chat
2022-07-18 07:59:21 -06:00
James Grugett
6d8ad74b4d
Redeem shares of makers after sellshares
2022-07-16 13:11:13 -05:00
ingawei
7d24a3e4a2
Inga/manalink bug fixes ( #653 )
...
* fixed manalinks bug of claiming own manalink, and also rerouting to home upon claiming if not logged in
* no more multiple hardcoded manalink messages
2022-07-15 20:42:37 -05:00
Ian Philips
a6cbb6b759
Small notifications ux improvements
2022-07-15 11:53:30 -06:00
Ian Philips
9c49f2e2d7
Revert "Revert "Order groups by most recent chat activity ( #650 )""
...
This reverts commit 17c9beca28
.
2022-07-15 06:52:08 -06:00
James Grugett
17c9beca28
Revert "Order groups by most recent chat activity ( #650 )"
...
This reverts commit 6e1aa4b0f4
.
2022-07-14 20:51:38 -05:00
James Grugett
a9018d77c7
If a limit bet doesn't match any orders, don't update the contract, don't redeem shares. Perf win!
2022-07-14 18:01:35 -05:00
Ian Philips
6e1aa4b0f4
Order groups by most recent chat activity ( #650 )
...
* Order groups by most recent chat activity
* Use group chat slug constant
* Match source slug and isSeenOnHref
* Listen for group member changes
2022-07-14 16:46:45 -06:00
Ian Philips
deaa595f07
Exclude contract creator in both places
2022-07-14 09:32:50 -06:00