manifold/common
James Grugett f533d9bfcb
Verify balance of limit order "makers" (#1007)
* Fetch balance of users with open limit orders & cancel orders with insufficient balance

* Fix imports

* Fix bugs

* Fix a bug

* Remove redundant cast

* buttons overlaying content fix (#1005)

* buttons overlaying content fix

* stats: round DAU number

* made set width for portfolio/profit fields (#1006)

* tournaments: included resolved markets

* made delete red, moved button for regular posts (#1008)

* Fix localstorage saved user being overwritten on every page load

* Market page: Show no right panel while user loading

* Don't flash sign in button if user is loading

* election map coloring

* market group modal scroll fix (#1009)

* midterms: posititoning, make mobile friendly

* Un-daisy share buttons (#1010)

* Make embed and challenge buttons non-daisyui

* Allow link Buttons. Change tweet, dupe buttons.

* lint

* don't insert extra lines when upload photos

* Map fixes (#1011)

* usa map: fix sizing

* useSetIframeBackbroundColor

* preload contracts

* seo

* remove hook

* turn off sprig on dev

* Render timestamp only on client to prevent error of server not matching client

* Make sized container have default height so graph doesn't jump

* midterms: use null in static props

* Create common card component (#1012)

* Create common card component

* lint

* add key prop to pills

* redirect to /home after login

* create market: use transaction

* card: reduce border size

* Update groupContracts in db trigger

* Default sort to best

* Save comment sort per user rather than per contract

* Refactor Pinned Items into a reusable component

* Revert "create market: use transaction"

This reverts commit e1f24f24a9.

* Mark @v with a (Bot) label

* fix padding on daily movers

* fix type errors

* Wrap sprig init in check for window

* unindex date-docs from search engines

* Auto-prettification

* compute elasticity

* change dpm elasticity

* Fix google lighthouse issues (#1013)

* don't hide free response panel on open resolve

* liquidity sort

* Limit order trade log: '/' to 'of'. Remove 'of' in 'of YES'.

* Date doc: Toggle to disable creating a prediction market

* Listen for date doc changes

* Fix merge error

* Don't cancel all a users limit orders if they go negative

Co-authored-by: ingawei <46611122+ingawei@users.noreply.github.com>
Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
Co-authored-by: mantikoros <95266179+mantikoros@users.noreply.github.com>
Co-authored-by: Ian Philips <iansphilips@gmail.com>
Co-authored-by: Pico2x <pico2x@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: sipec <sipec@users.noreply.github.com>
2022-10-06 22:16:49 -05:00
..
envs Bounty comments (#944) 2022-09-30 09:27:42 -06:00
util election map coloring 2022-10-05 16:58:47 -05:00
.eslintrc.js Add eslint plugin to remove unused imports 2022-08-26 23:49:03 -05:00
.gitignore Typescript project references take 2 (#586) 2022-06-27 13:32:24 -07:00
.yarnrc when adding package, don't put ^ before version (#645) 2022-07-13 15:14:06 -07:00
add-liquidity.ts House liquidity (#876) 2022-09-14 00:26:47 -05:00
answer.ts Revert "Represent DB avatar URLs as non-null (#128)" 2022-05-06 14:29:15 -04:00
antes.ts Denormalize user display fields onto bets (#853) 2022-09-14 01:33:59 -07:00
api.ts Revamp backend code to support good local function development (#657) 2022-07-24 00:26:38 -07:00
bet.ts Denormalize user display fields onto bets (#853) 2022-09-14 01:33:59 -07:00
calculate-cpmm.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
calculate-dpm.ts Categories to groups (#641) 2022-07-13 15:11:22 -06:00
calculate-fixed-payouts.ts Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
calculate-metrics.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
calculate.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
categories.ts Convert world and culture categories 2022-07-22 08:12:40 -06:00
challenge.ts Disable challenges for private instances 2022-08-06 17:45:21 -07:00
charity.ts Add Mriya to charities list 2022-10-04 16:57:05 -07:00
comment.ts Bounty comments (#944) 2022-09-30 09:27:42 -06:00
contract-details.ts Remove spaces in hashtags & line clamp metadata 2022-10-04 09:14:27 -06:00
contract.ts compute elasticity 2022-10-06 16:36:32 -05:00
economy.ts Reduce streak and max to 5, 25 respectively 2022-10-03 14:52:21 -06:00
feed.ts Categories (#132) 2022-05-12 10:07:10 -05:00
fees.ts eliminate fees 2022-08-24 15:29:48 -05:00
follow.ts Enrich contract resolved notification 2022-09-15 15:25:19 -06:00
group.ts Update groupContracts in db trigger 2022-10-06 09:26:35 -04:00
like.ts consistent tip amount (M$10) 2022-10-01 15:57:47 -05:00
liquidity-provision.ts Cfmm (#64) 2022-03-15 17:27:51 -05:00
loans.ts Fix loans bug 2022-09-01 23:06:57 -05:00
manalink.ts Manalink: Send mana to anyone via link (#114) 2022-06-23 01:07:52 -07:00
new-bet.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
new-contract.ts change dpm elasticity 2022-10-06 16:47:52 -05:00
notification.ts Allow user to opt out of all unnecessary notifications (#974) 2022-10-03 07:41:39 -06:00
numeric-constants.ts Allow custom environments to override any economic aspect (#787) 2022-08-21 22:37:26 -07:00
package.json Revert "Make parse.richTextToString more efficient (#848)" 2022-09-12 19:06:37 -05:00
payouts-dpm.ts Fix dpm MULTI resolution payouts bug 2022-09-26 15:57:21 -04:00
payouts-fixed.ts Auto-remove unused imports 2022-09-09 21:27:16 +00:00
payouts.ts Multiple choice markets (#698) 2022-07-27 21:40:33 -05:00
post.ts Posts changes (#988) 2022-10-05 11:37:23 +01:00
pseudo-numeric.ts Fix infinite loop in numeric limit bet 2022-07-22 21:03:08 -05:00
quadratic-funding.ts Add quadratic matching to Manifold for Charity (#486) 2022-06-13 20:53:29 -07:00
redeem.ts Redeem shares: pay back a smaller frac of your loan 2022-09-08 22:59:25 -05:00
scoring.ts Auto-remove unused imports 2022-09-09 22:43:33 +00:00
sell-bet.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
stats.ts Add daily activation rate. Remove top tenth actions. Cleanup 2022-09-20 00:10:05 -05:00
tracking.ts Track latency of feed and portfolio page. 2022-04-21 01:00:08 -05:00
tsconfig.json Typescript project references take 2 (#586) 2022-06-27 13:32:24 -07:00
txn.ts Bounty comments (#944) 2022-09-30 09:27:42 -06:00
user-notification-preferences.ts Unique bettors email default on 2022-10-03 14:12:55 -06:00
user.ts Flag incorrectly resolved markets, warn about unreliable creators (#945) 2022-10-03 10:49:19 +01:00
yarn.lock Add package.json to common directory, and lodash dependency 2022-02-01 12:59:51 -06:00