Yingrong Zhao
051052307d
satellite/rewards: add mongodb into partner info ( #2800 )
2019-08-26 15:19:19 +03:00
Yingrong Zhao
786828ea0a
satellite/console: bypass activation token logic for open source partner referral link ( #2736 )
...
* when there's partner id, we will not require an activation token for creating a new account
* create new token if user has a partner id on creation
* validate partner id first
* fix format
* remove unnecessary code
* display error message instead of reroute
* add more test
* add comments
* add comment
2019-08-14 11:27:22 -04:00
Yingrong Zhao
a496e26e44
satellite/rewards: hardcoded partner ids ( #2776 )
...
* hardcoded partner ids
* fix test
2019-08-14 09:55:12 -04:00
Yingrong Zhao
51833d0650
satellite/satellitedb: get active offer for partners ( #2664 )
...
* get partner offer
* fix lint
* fix deleting user account
* fix sqlite query
* add comments
* fix migration
* fix query_test
* add error logs
* add tests for user credits
2019-08-01 13:46:33 -04:00
Yingrong Zhao
4adafd056c
satellite/rewards: add generate referral link logic ( #2655 )
...
* add GeneratePartnerLink function
* remove unnecessary code
* add copyright
* fix typo and url path creation logic
* re-organize partners map
* fix creating offer for partners
2019-07-31 12:01:18 -04:00
Faris Huskovic
2144181c99
satellite/marketingweb: Add Partner Offer Type ( #2540 )
2019-07-25 18:06:23 -04:00