manifold/functions/src
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
..
email-templates Update welcome.html (#465) 2022-06-08 21:28:29 +01:00
scripts Compute stats in Firebase instead of Vercel (#584) 2022-06-26 14:42:42 -07: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 Bump memory on all v2 functions to 2GB (#577) 2022-06-24 00:18:08 -07: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 Free daily markets on hiatus 2022-06-23 13:00:14 -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 Compute stats in Firebase instead of Vercel (#584) 2022-06-26 14:42:42 -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
update-stats.ts Compute stats in Firebase instead of Vercel (#584) 2022-06-26 14:42:42 -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