manifold/functions/src
Austin Chen 6cc2d8af58
Manalink: Send mana to anyone via link (#114)
* Set up Firestore structure for mana bounty links

* Split up manalinks into successes and failures

* Allow clients to create manalinks

* Track txnId and successful users

* Store custom amounts in the link

* List all manalinks you've created

* Support backend for claiming manalinks

* Add some more error handling

* Tweak readme

* Fix typescript breakage

* Revert "Convert common imports in functions to be absolute"

This reverts commit c03518e906.

* Scaffolding so `claimManalink` works

* Clean up imports

* Barebones endpoint to claim mana

* Fix rules to only allow link creators to query

* Design out claim giftcard

* List all claimed transactions

* Style in a more awesome card

* Fix import

* Padding tweak

* Fix useManalinkTxns hook

* /send -> /link

* Tidy up some details

* Do a bunch of random manalinks work

* Fix up LinksTable to build

* Clean up LinksTable an absurd amount

* Basic details functionality on manalinks table

* Work on manalink claim stuff

* Fix up some merge mess

* Not-signed-in flow implemented

* Better manalinks table

* Only show outstanding links in table

* Use new `ManalinkTxn` type

* /link -> /links

* Change manalinks page UI to use nice looking tabs

* Many fixes to manalinks UI

* Default to 1 use

* Tidying up

* Some copy changes based on feedback

* Add required index

Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-06-23 01:07:52 -07:00
..
email-templates Update welcome.html (#465) 2022-06-08 21:28:29 +01:00
scripts Daily/Weekly/Monthly Leaderboards by Fede (#557) 2022-06-22 15:29:40 -05:00
add-liquidity.ts Revert "Make absolute imports work with functions project (#168)" 2022-05-15 13:39:42 -04:00
analytics.ts Clean up unclean user names (#543) 2022-06-18 14:31:39 -07:00
api.ts Groups (#510) 2022-06-22 11:35:50 -05:00
backup-db.ts Groups (#510) 2022-06-22 11:35:50 -05:00
call-cloud-function.ts Ratchet up linting for functions package a little bit (#431) 2022-06-05 22:50:27 -07:00
change-user-info.ts Clean up unclean user names (#543) 2022-06-18 14:31:39 -07:00
claim-manalink.ts Manalink: Send mana to anyone via link (#114) 2022-06-23 01:07:52 -07:00
create-answer.ts Switch to Google Secret Manager for function secrets (#418) 2022-06-04 14:39:25 -07:00
create-contract.ts Remove group details cache, update group directly 2022-06-22 17:19:17 -05:00
create-group.ts Groups (#510) 2022-06-22 11:35:50 -05:00
create-notification.ts Groups (#510) 2022-06-22 11:35:50 -05:00
create-user.ts Daily/Weekly/Monthly Leaderboards by Fede (#557) 2022-06-22 15:29:40 -05:00
emails.ts comment email: include username in subject; 'on Manifold' in from label 2022-06-22 15:01:03 -05:00
fetch.ts keep awake cloud functions 2021-12-17 20:13:20 -06:00
get-feed-data.ts Make feed updating do much less work (#455) 2022-06-09 15:13:06 -07:00
health.ts Implement really obvious optimizations on placebet, sellbet, sellshares (#452) 2022-06-10 17:51:55 -07:00
index.ts Manalink: Send mana to anyone via link (#114) 2022-06-23 01:07:52 -07:00
keep-awake.ts turn keep awake on 2021-12-24 16:14:02 -05:00
market-close-notifications.ts Notifications for liquidity proiders/provisions (#478) 2022-06-10 16:48:28 -06:00
on-create-answer.ts Speed up notification loading by prepopulating relevant info (#453) 2022-06-08 08:43:24 -06:00
on-create-bet.ts Don't unnecessarily query contract in onCreateBet (#528) 2022-06-17 00:15:37 -07:00
on-create-comment.ts Speed up notification loading by prepopulating relevant info (#453) 2022-06-08 08:43:24 -06:00
on-create-contract.ts Notifications for liquidity proiders/provisions (#478) 2022-06-10 16:48:28 -06:00
on-create-group.ts Groups (#510) 2022-06-22 11:35:50 -05:00
on-create-liquidity-provision.ts Ignore manifold as lp for now 2022-06-10 17:23:17 -06:00
on-follow-user.ts Create Top Followed Users leaderboard (#531) 2022-06-22 11:05:54 -05:00
on-unfollow-user.ts Create Top Followed Users leaderboard (#531) 2022-06-22 11:05:54 -05:00
on-update-contract.ts Notifications for liquidity proiders/provisions (#478) 2022-06-10 16:48:28 -06:00
on-update-group.ts Groups (#510) 2022-06-22 11:35:50 -05:00
on-view.ts Revert "Make absolute imports work with functions project (#168)" 2022-05-15 13:39:42 -04:00
place-bet.ts Clean some API stuff up and instrument placeBet with a bunch of logging (#521) 2022-06-16 20:57:03 -07:00
redeem-shares.ts Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
resolve-market.ts Clean up unclean user names (#543) 2022-06-18 14:31:39 -07:00
sell-bet.ts Implement really obvious optimizations on placebet, sellbet, sellshares (#452) 2022-06-10 17:51:55 -07:00
sell-shares.ts check if shares below min pool qty for sales 2022-06-13 21:14:52 -05:00
send-email.ts Switch to Google Secret Manager for function secrets (#418) 2022-06-04 14:39:25 -07:00
stripe.ts Clean up unclean user names (#543) 2022-06-18 14:31:39 -07:00
transact.ts Manalink: Send mana to anyone via link (#114) 2022-06-23 01:07:52 -07:00
unsubscribe.ts Ratchet up linting for functions package a little bit (#431) 2022-06-05 22:50:27 -07:00
update-feed.ts Make feed updating do much less work (#455) 2022-06-09 15:13:06 -07:00
update-metrics.ts Daily/Weekly/Monthly Leaderboards by Fede (#557) 2022-06-22 15:29:40 -05:00
update-recommendations.ts Change lodash stuff so that it can be tree-shaken out of build (#233) 2022-05-22 01:36:05 -07:00
utils.ts Daily/Weekly/Monthly Leaderboards by Fede (#557) 2022-06-22 15:29:40 -05:00
withdraw-liquidity.ts prevent total liquidity stat from going negative 2022-06-15 11:33:58 -05:00