storj/satellite
Yingrong Zhao 6778caf846
satellite/console: add referral link logic (#2576)
* setup referral route

* referredBy

* add user id

* modify user query

* separate optional field from userInfo

* get current reward on init of satellite gui

* remove unsed code

* fix format

* only apply 0 credit on registration

* only pass required information for rewards

* fix time parsing

* fix test and linter

* rename method

* add todo

* remove user referral logic

* add null check and fix format

* get current offer

* remove partnerID on CreateUser struct

* fix storj-sim user creation

* only redeem credit when there's an offer

* fix default offer configuration

* fix migration

* Add helper function for get correct credit duration

* add comment

* only store userid into user_credit table

* add check for partner id to set correct offer type

* change free credit to use invitee credits

* remove unecessary code
2019-07-19 14:22:10 -04:00
..
attribution internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
console satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
inspector internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
mailservice Use zap.Stringer instead of zap.String (#2223) 2019-06-18 01:37:43 +02:00
marketingweb web/marketing/pages: partner UI table (#2523) 2019-07-12 09:52:00 -04:00
metainfo value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
nodestats storagenode/nodestats: combine stats into single RPC call (#2455) 2019-07-08 17:33:43 +03:00
orders [V3-1927] Repairer uploads to max threshold instead of success… (#2423) 2019-07-12 00:44:47 +02:00
payments Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
rewards satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
satellitedb satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
vouchers Update vouchers to use time.Time instead of timestamp (#2478) 2019-07-08 13:07:30 -04:00
peer.go Metainfo RPC objects methods (#2534) 2019-07-16 12:39:23 +02:00