storj/scripts
Moby von Briesen 4c0817bcfb satellite/payments: Populate new coupons during invoice generation
The previously configured never-expiring coupon does not refill every
month. Eventually, even though it never expires, it will run out. This
commit makes several small changes to address this issue for the free
tier:
* Change the config for the promotional coupon to be $1.65 for 1 month
(the change from $10 to $1.65 is due to our recent pricing changes)
* Update PopulatePromotionalCoupons (PPC for brevity) to add promotional
coupons to users with expired and consumed coupons (all users with a
project and no active coupons should get a new coupon when PPC is called)
* Call PPC at the end of the `create-invoice-coupons` stage of invoice
generation - after current coupons are processed and expired/exhausted.
* Remove legacy admin functionality for PPC from satellite/console - we
do not currently use it, but if we did, it should be in satellite/admin
instead.

Change-Id: I77727b97bef972df32ebb23cdc05055827076e2a
2021-04-28 18:07:05 +00:00
..
testdata satellite/payments: Populate new coupons during invoice generation 2021-04-28 18:07:05 +00:00
tests cmd: remove metainfo-migrator and metainfo-verifier 2021-04-08 14:50:29 +00:00
waitlist Waitlist script (#573) 2018-11-06 18:43:20 +01:00
build-wasm.sh build: added brotli compression for wasm bits 2020-12-17 19:23:53 +00:00
cert-gating.sh Delete Bootstrap and Kademlia (#2974) 2019-10-04 16:48:41 -04:00
deploy-storagenode.sh Makefile,scripts: move from aarch64 to arm64v8 (#4008) 2020-12-21 14:50:57 +01:00
deploy-watchtower.sh Script for deploying the Docker manifest for watchtower (#3015) 2019-09-12 17:38:48 +03:00
gerrit-cla.py gerrit: add cla 2019-06-19 18:28:53 +00:00
install-awscli.sh Travis with go1.11 and modules (#479) 2018-10-16 20:02:00 +03:00
pg-to-crdb.go all: fix comments 2020-07-16 19:13:14 +03:00
postgres-dev.sh satellite/testing: Change testing to use PG 12.3 (#3913) 2020-06-25 20:17:39 +03:00
redis-server.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
release.sh release: remove binary stripping 2020-10-14 10:06:20 +03:00
tag-release.sh private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00
test-backwards.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-billing.sh tests: fix calculation of previous month for billing integration test 2021-03-29 10:38:59 +02:00
test-certificates.sh fix certificates auth export command (#3110) 2019-09-24 10:38:18 -06:00
test-network-stalls.go all: fix dots 2020-07-16 14:58:28 +00:00
test-sim-backwards-dev.sh metainfo-migration: basic pointerdb->metabase migrator 2021-01-12 12:59:53 +00:00
test-sim-backwards.sh cmd: remove metainfo-migrator and metainfo-verifier 2021-04-08 14:50:29 +00:00
test-sim-dev.sh scripts: use postgres script with all tests (#3404) 2019-10-31 07:03:54 -07:00
test-sim-redis-up-and-down-dev.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
test-sim-redis-up-and-down.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
test-sim.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-redis-up-and-down.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-uplink-rs-download.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-rs-upload.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-share.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-uplink.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-wasm-size.sh satellite/console/wasm: add test to confirm wasm size isnt growing 2021-01-21 15:48:49 +00:00
update-access.go scripts: remove lib/uplink from update-access 2020-05-29 13:35:10 +03:00
utils.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00