Commit Graph

581 Commits

Author SHA1 Message Date
Qweder93
b4c9badab1 storagenode/console: estimation payout fix
Change-Id: I5d9f11fffd74978f3ca684fd08aac44a27a83c71
2020-07-27 21:41:07 +03:00
NickolaiYurchenko
e982173d61 web/storagenode: payout page bug fix
Change-Id: I6d1eb16ecc18f069a5c3b0e4e5cfec9db3dfb9ea
2020-07-24 13:24:18 +03:00
VitaliiShpital
4684eb5b75 web/satellite: completed transaction state condition changed
WHAT:
completed transaction state condition depends only on stripe balance now

WHY:
avoid waiting for transaction status to update

Change-Id: I09be620f94934209b60ef692ffcc0f5097880920
2020-07-17 17:29:14 +03:00
NickolaiYurchenko
f1c73c127f web/storagenode: suspension tooltip content change
Change-Id: I0d66f9d8c95b20d113c9880602a04ae0176c3b90
2020-07-17 11:21:59 +00:00
VitaliiShpital
0a800336cb web/satellite: token deposit dropdown position fixed
WHAT:
dropdown position fixed before first ever transaction

WHY:
bug fix

Change-Id: I049acc1e1bc8311e165efc92c9769c989dbb8e41
2020-07-16 14:36:03 +00:00
NickolaiYurchenko
b33ef461e8 web/storagenode: available payout periods
Change-Id: I644e62ceb7b65cf3bc6f01ae92cf91bbd7ecc797
2020-07-16 17:09:37 +03:00
stefanbenten
9ace375ee0 satellite/{console,satellitedb}: change project limiting based on new users field
This change switches the backend logic to use the new DB column on the users table to restrict project creation.
Furthermore it back fills the existing limits from registration tokens to the new column to ensure no users are reset to the new default.

UI is updated to reflect ability to create several projects

Change-Id: Ie29157430ae6b065411ca4c4557c9f1be69cdc4f
2020-07-16 10:57:47 +00:00
Qweder93
62fec25104 storagenode/heldamount: returns usage_at_rest in tbm instead of tbh
Change-Id: I183a56460ea76a53680ca6861d02cecebe3576ec
2020-07-15 15:46:13 +03:00
Qweder93
7b4a8c4d6d storagenode/heldamount: payoutHistory added
Change-Id: I93dd3d024085d19ecff76075e52bf66796207fd6
2020-07-14 17:35:03 +03:00
VitaliiShpital
d4bde7848e web/satellite: coupon status replaced with expiration date
WHAT:
coupon status view replaced with month and year of coupon expiration date

WHY:
better User experience

Change-Id: I67abe14418aeb876a524de5e3f3c027407343100
2020-07-13 18:02:44 +00:00
VitaliiShpital
02a39354c6 web/satellite: rel='noopener noreferrer' added to blank links
WHAT:
rels added to target="_blank" links

WHY:
to avoid tabnapping

Change-Id: Iada8ad4e1e1be5d4efd33f5d8c5b14816c2d85e0
2020-07-13 17:21:32 +00:00
NickolaiYurchenko
6c5d948b82 web/storagenode: loading screen added
Change-Id: I7d966d2dfba1c275d98259eb7b368297559f9f2d
2020-07-09 11:16:53 +00:00
VitaliiShpital
dd9eaafceb web/satellite: api keys component slightly refactored
Change-Id: I8d2bde0a7d2c2778ba3c906232a1a38aaf94cff3
2020-07-08 10:13:39 +00:00
VitaliiShpital
a26fab2553 web/satellite: balance history dropdown implemented on billing page
WHAT:
1. STORJ Balance renamed to Available Balance
2. Balance history dropdown added

WHY:
better User experience

Change-Id: I4e7186fd285f6d9d1dd4b1ad93142fcf9d3367f3
2020-07-08 09:59:05 +00:00
VitaliiShpital
2ec9de94ba web/satellite: onboarding tour's payment wall updated
WHAT:
1. payment step added to overview screen
2. pricing modal added to payment screen
3. info bar with payment info added to be shown before adding first payment method
4. message on verifying coin payment transaction screen was updated
5. coin payment transaction checkout button added to verifying screen

WHY:
better User experience

Change-Id: Ia3b12a3f7f6c874f19a9414b61afc6ba5a29970b
2020-07-08 09:44:25 +00:00
Bill Thorp
a3c902ab84 storagenode/pieces: hours in a month should be 720
Per https://documentation.tardigrade.io/pricing/billing-and-payment:
"The calculation of per object fees is based on a standard 720-hour month."

On most years, the average value is 730 (365*24/12), except leap years.
However, we want to have ours be 720 (30*24) so its lines up with days.

Change-Id: Ifb9691878f1a7ea81ed36c92b37985493295fe31
2020-07-07 15:26:15 -04:00
NickolaiYurchenko
5a9c3a7e20 web/storagenode: blank target links rel added
Change-Id: I6408a99d8c972cb084f5852cd589fb2528539903
2020-07-02 10:45:15 +00:00
NickolaiYurchenko
669d62098c web/storagenode: suspension score added
Change-Id: Ic989eb62a768aa829e91aa12ffc5452c961084e6
2020-06-24 17:01:37 +03:00
VitaliiShpital
5b3c8b2f1a web/satellite: google tag manager for signup pages
WHAT:
GTM added for partnered satellites sign up pages
csp values were extended to make GTM work at all:
1. googletagmanager.com for GTM script
2. google-analytics.com for GA script
3. hash was added to avoid using 'unsafe-inline' value in 'script-src' directive

Also config flag for GTM id was added

WHY:
Marketing team needs GTM and GA for their campaigns

Change-Id: Ibb2ace737feb971dda6c191599d479fe4a7af332
2020-06-23 10:45:04 +00:00
VitaliiShpital
8ecf01ece8 web/satellite: credit history page implemented
WHAT:
credit history page implemented.
can be visited by clicking specific button in a free credits dropdown.

WHY:
UI didn't display remaining coupon value.
coupons and referral items (in future) are displayed in the same place.

Change-Id: I495fd7a99f2ea5117152aaf8f495bd5322f02588
2020-06-12 14:31:02 +00:00
NickolaiYurchenko
c384854068 web/storagenode: inactive custom period selection state
Change-Id: I0a915c18a0e0caa06edfd850c959c820f2ac072e
2020-06-12 13:34:41 +00:00
NickolaiYurchenko
ddd261703c web/storagenode: held history monthly breakdown
Change-Id: Ia60070853e160d2a56fc420c02fe6b6955fb4b0f
2020-06-12 12:05:39 +00:00
NickolaiYurchenko
95a7403802 web/storagenode: uptime section removed
Change-Id: I0918d2fdf71e40e70d0b7ed0045de3067195e843
2020-06-10 15:26:20 +00:00
NickolaiYurchenko
dd1fabe2b0 web/satellite: added no payout data state reset
Change-Id: I950e88d957366e9bd058ea60fe22478d69f5dae6
2020-06-10 14:14:19 +00:00
VitaliiShpital
a7211badc2 web/satellite: validate methods replaced into class Validator
Change-Id: Ib52b7209bab3fc1cb2f713421ef6bac2125c5f04
2020-06-09 13:05:24 +00:00
VitaliiShpital
cc0fca850e web/satellite: charges container on billing page reworked
WHAT:
charges container view was reworked to be more user-friendly

WHY:
billing UI/UX enhancements

Change-Id: Ice663544a1e69742a5c5fcc7123eeaa38bfbf255
2020-06-09 12:46:23 +00:00
VitaliiShpital
47a766328f web/satellite: deposit and billing history splitted to be shown separately
WHAT:
1. Deposit & Billing history view was divided to be shown separately as Deposit History and Billing History
2. Datepicker was removed from billing page

WHY:
billing UX enhancements

Change-Id: Ie183849ef0965169997674ce37b71db38a562fc2
2020-06-09 12:32:02 +00:00
NickolaiYurchenko
6b447a415b web/storagenode: free space calculation for chart fix
Change-Id: I4fb19b6ab8ba106dce4dfa49a03601c132ce66f0
2020-06-03 22:29:12 +00:00
NickolaiYurchenko
18914e4d1a web/storagenode: months online calculations changed
Change-Id: I01d0ab5f9929a8cf2fca81adef43d9c979a18118
2020-06-02 17:09:14 +03:00
VitaliiShpital
c9b9c686fc web/satellite: logic for new signup/login flow
WHAT:
1. updated verification page URL in config
2. added list of partnered satellites to config
3. added logic for satellites dropdown on new signup/login pages

WHY:
1. signup/login flow was reworked in tardigrade.io repo (iframe removed, new pages etc.)
2. new config flag was added to check if satellite name matches at least one member of partnered satellites list to redirect user to verification page
3. new pages will have dropdown with partnered satellites list. Appropriate logic was added.

Change-Id: I33399ab66ca31f07b297a433f6b1f41da4cb6e66
2020-05-29 17:11:44 +00:00
VitaliiShpital
0148f421c2 web/satellite: onboarding flow's vertical adaptation fixed
Change-Id: I8c3205b49a44907725a2dcd30951a36c8f3f746a
2020-05-29 16:55:58 +00:00
NickolaiYurchenko
427bfc13fb web/storagenode: disk stat chrt added
Change-Id: I6f0c78992598ebbb3f1b3ee73c74e1559fc886b1
2020-05-27 00:14:33 +03:00
NickolaiYurchenko
b6771d0c52 web/storagenode: period selection separation
Change-Id: I9f50f4bb9282410f9f3cc4124e71a7a631767460
2020-05-26 23:23:19 +03:00
NickolaiYurchenko
d13b693b0c web/storagenode: total payout info area reworked
Change-Id: I2c5bf82105467db7c5919681f45d217b96e88792
2020-05-26 20:04:05 +00:00
VitaliiShpital
45ccf59067 web/satellite: onboarding tour adapted to multiple project state
Change-Id: I853772bf2a05c3fe9ef8dea0d1e290e6074fbfec
2020-05-21 12:19:33 +00:00
VitaliiShpital
f0619c6db7 web/satellite: error handling for login/signup rate limit exceeding
related jira issue:
https://storjlabs.atlassian.net/browse/USR-767

Change-Id: I4b4f27435323234ce6803c06a8c5b004f91873bf
2020-05-21 12:03:27 +00:00
VitaliiShpital
7d00b3c792 web/satellite: billing history item's expiration countdown fixed
related jira issue:
https://storjlabs.atlassian.net/browse/USR-774

Change-Id: I4629b3ea24ba4148f2faf4030d46fb5adad192fe
2020-05-21 11:47:38 +00:00
VitaliiShpital
47def02094 satellite: account balance divided into Free Credits and Coins
Change-Id: I2ae29701bab9f0b48f236ff94b366eb534b81c6b
2020-05-18 14:25:26 +00:00
VitaliiShpital
4544f2dffb web/satellite: navigation side bar reworked
Change-Id: I9be2d23a7a4af219d0b8888b7296fa7b0e57fc5a
2020-05-18 11:04:45 +00:00
NickolaiYurchenko
ffbaaff179 web/storagenode: node module store tests added
Change-Id: I582fc1405263965e870a233def3f2d026490dd70
2020-05-15 14:41:48 +00:00
VitaliiShpital
1ec5eb06bd web/satellite: account dropdown reworked
Change-Id: I415f77c7c13546f467da62fc13feb2774dd54290
2020-05-14 17:08:02 +00:00
VitaliiShpital
a3459ec6b8 web/satellite: project dashboard page UI reworked
Change-Id: I134d70b3a351d2a104612727f7c24e21122a6730
2020-05-14 16:52:11 +00:00
NickolaiYurchenko
ff68a3c2bb web/storagenode: payout page scroll area extended
Change-Id: I937a5e7344a0c3507fe3aa2443458ee86c8f9af7
2020-05-12 21:27:14 +00:00
NickolaiYurchenko
4b4222c2f9 web/storagenode: disposed held added to total held calculations
Change-Id: I593c9ce70c17b3b7a5ff0485a375fe2050ca8451
2020-05-12 17:51:17 +00:00
Stefan Benten
65f3e26f80
satellite: Change Default Project Limits and minimum STORJ Payment (#3877) 2020-05-12 14:18:58 +03:00
Kaloyan Raev
2af7138928 web/satellite: change invoice link title to 'Invoice PDF'
Change-Id: I820bb33f4ba88bb732d1c66ba3369ac4eac72f5c
2020-05-07 18:14:40 +03:00
VitaliiShpital
9837230f1e web/satellite: project dropdown reworked
Change-Id: I6267347693724ec34996af7625a917451aef631d
2020-05-07 12:51:34 +00:00
crawter
693f224ffd storagenode/web: Segment.io integration
Change-Id: I5b8054f39453bbfdebdbaaea1ffda4d5e706dab3
2020-05-06 15:02:53 +00:00
VitaliiShpital
0ae0cea93b web/satellite: billing history UX improved
added sorting header title
currency numbers are displayed with two digits now

Change-Id: I9531f112ff70ffb89b8a2dfe05ab02eb767dd107
2020-05-05 12:07:33 +00:00
NickolaiYurchenko
c5871b83b0 web/storagenode: no data state added to payout table
Change-Id: I3f141debe2f7c04a20999c0d2e2a7cee1434f7d1
2020-05-05 11:10:10 +00:00
VitaliiShpital
2284008b8c web/satellite: onboarding tour: api keys and upload data steps
Change-Id: I8ffa6d688a22c1568495a7e0e176096cadcd6eaa
2020-05-04 13:26:12 +00:00
VitaliiShpital
4e5e6c8e5c web/satellite: onboarding tour: create project step
Change-Id: If091fd7f703e61c402a6bbdd80d98b0ce7b2bfd6
2020-04-30 16:50:19 +03:00
VitaliiShpital
19df9beb33 web/satellite: pagination position unified
Change-Id: I0c763627126bd0007ec5557158252de5b3f5acba
2020-04-29 15:27:44 +00:00
VitaliiShpital
a3eeab2919 web/satellite: UI unit tests for billing history
Change-Id: I60e67fd0a998737dca3a77389f40aefb56311c2c
2020-04-28 18:27:18 +03:00
NickolaiYurchenko
51bf2b6155 web/storagenode: dependencies for testing and payout store tests added
Change-Id: Iae18d073ba35ba8ac48e2d4c88476b38b96bbd9b
2020-04-28 15:44:13 +03:00
VitaliiShpital
befe7574e1 web/satellite: onboarding tour: adding payment methods step
Change-Id: I40c6680de4778700611f2f6978a02688d50d792f
2020-04-27 12:59:43 +03:00
NickolaiYurchenko
533a65a299 web/storagenode: disq and suspended text color fixed in dark mode
Change-Id: I49f4a272f84a92c036f14028b17b8926cf003568
2020-04-25 16:14:29 +03:00
NickolaiYurchenko
16d9d86833 web/storagenode: added held amount in table for current period
Change-Id: I0e3018ab27b5d8c86bee7d0f95bd6ae75cc205cf
2020-04-25 15:40:21 +03:00
NickolaiYurchenko
895eac1711 web/storagenode: api calls ungrouped, removed extra current period call
Change-Id: Id3af8822b6d80c29c94976d96e0a490459358f8a
2020-04-24 23:44:57 +03:00
VitaliiShpital
7365fc434e web/satellite: available credits disabled due to coupon expiration bug
Change-Id: I8271640a7f4364e27e5ff570c7e26d5ee4fdbcd4
2020-04-21 15:48:15 +00:00
NickolaiYurchenko
89c877f461 web/storagenode: payout calculation fix
Change-Id: Ibd030d0ef91a28e2cfa94da78c211c27959bb753
2020-04-21 18:11:47 +03:00
NickolaiYurchenko
0300076684 web/storagenode: audit checks based on score
Change-Id: I7e9c16ded3165a7da31117412700092de135da1d
2020-04-21 16:18:35 +03:00
NickolaiYurchenko
a237512123 web/storagenode: added division on price multiplier
Change-Id: Ie1146ae6eac1f626753e4bcfaecd3c4919d1e464
2020-04-21 15:56:00 +03:00
NickolaiYurchenko
ed701c196d web/storagenode: disk space displayed by hour
Change-Id: Id52fc9da39e0c38a05b6b343e97d18f5453ea1f5
2020-04-21 15:30:58 +03:00
NickolaiYurchenko
b9dbd80515 web/storagenode: all fetched paystub data treated as list
Change-Id: I536d36bc0edf5c54eaa07b60e55b93f1e2a1f826
2020-04-20 18:33:30 +00:00
NickolaiYurchenko
ac1cc9eeda web/storagenode: payout fetch error fix, held row added
Change-Id: Ibf5c254033583759ca282aa9791900154785f88a
2020-04-20 14:35:23 +03:00
NickolaiYurchenko
31c9cc322f web/storagenode: dark theme
Change-Id: I7c987ea19eef4b95832501773e00f592300fc9c5
2020-04-18 23:42:27 +03:00
NickolaiYurchenko
aa6cff405d web/storagenode: payout page bug fix
Change-Id: I1ab8a698101bbe84e1b1cd0f00c18ae079cf27ab
2020-04-18 22:31:49 +03:00
JT Olio
7403e9a8ab satellite web ui: fix spelling mistake
Change-Id: I866c1045a3a487ccb22a336ba34932c7ca9e1fb5
2020-04-17 09:11:19 -06:00
VitaliiShpital
2dce4c232c web/satellite: redirect to verification page on sign up if inside iframe
Change-Id: I606b63fd27bef46597697b491970523e8a3a0cae
2020-04-16 13:35:49 +00:00
VitaliiShpital
6109fa685d web/satellite: allow users who have balance to create projects
Change-Id: I5c93dea09812fcbfcc1b7a9ca2202de3087b7032
2020-04-14 17:10:35 +00:00
VitaliiShpital
d392c6e658 web/satellite: copy api key container reworked
Change-Id: I51945d260095605327cd36e2f7d6e51f4044a429
2020-04-14 15:27:28 +00:00
VitaliiShpital
17ccf36c15 web/satellite: payment methods component divided into smaller ones
Change-Id: Ibecc3803878e0902d458c3b28613c4ffbec0c634
2020-04-14 13:44:27 +00:00
NickolaiYurchenko
4e2a101fcc web/storagenode: audit checks depending on score
Change-Id: I134c25db4474ffcf0bc7e3183343902f32431650
2020-04-10 09:15:45 +00:00
Moby von Briesen
14b3704f56 storagenode: add suspended status to storagenode dashboard/api
* Add migration to storagenode reputation table to add suspended
timestamp
* Send suspended info to storagenode from satellite nodestats endpoint
* Add suspended status to storagenode api
* Add an indicator on the storagenode dashboard informing operator of
the satellites the node is suspended on

Change-Id: Ie3669f6069cc0258ba76ec99d17006e1b5fd9c8a
2020-04-09 13:36:23 +00:00
VitaliiShpital
ef6c9d89bb web/satellite: dashboard blur step after adding payment method removed
Change-Id: I926016feca0cf0bf97feef8fd6936fbf466a5a51
2020-04-07 12:12:03 +00:00
VitaliiShpital
61b6ff5186 web/satellite: available credits amount added on billing page
Change-Id: I9d9c18ad08cf150ceba078356e39132a602558d4
2020-04-06 14:39:05 +00:00
VitaliiShpital
dbd036de8b web/satellite: api key and proj member name's length visibility extended
Change-Id: If42dc48849f6414f4224d57ffa7267431426b457
2020-04-03 11:32:41 +00:00
NickolaiYurchenko
9a72b5fde9 web/storagenode: byte*h to byte*month conversion
Change-Id: Iec95e0d6d946426df38e5725af3a889c6d81b23a
2020-04-01 13:03:16 +00:00
NickolaiYurchenko
4122be154e web/storagenode: payout page adaptation
Change-Id: Iaa9fc69567cc6a3daf11829d0434f12098098f5b
2020-03-29 18:39:30 +00:00
NickolaiYurchenko
5c6c797737 web/storagenode: payout info logic implementation
Change-Id: Ief1768f3987fdbf687fda5a90aa3c1c2320b17a1
2020-03-29 20:01:37 +03:00
NickolaiYurchenko
6cac755916 web/storagenode: notifications page adaptations
Change-Id: I958cde37fdfb6790453f56c9fa1db04b0372cb97
2020-03-29 16:41:50 +00:00
NickolaiYurchenko
b47381138d web/storagenode: added hash to bundle name
Change-Id: Iab71e7b8b5cb4d0b9d37bdf0d9688410ee1ed549
2020-03-27 14:44:53 +02:00
VitaliiShpital
23da9228b3 satellite/console: email used error handling for registration
Change-Id: Ifd3f2ce065ebd3c5e538c5c1eeaa76137b243b78
2020-03-26 17:42:33 +00:00
VitaliiShpital
506582e208 web/satellite: project overview page removed, dashboard page implemented
Change-Id: Id56425fe38296250e5814a0f02a554cdd73b2330
2020-03-26 17:15:14 +00:00
VitaliiShpital
d7558db5ed web/satellite: succesful registration flow reworked
Change-Id: I29f7b0fd2286c32ada39bc1e86d58feda624c645
2020-03-23 16:09:00 +00:00
VitaliiShpital
fe39845a8c web/satellite: refreshing billing history on entering billing page implemented
Change-Id: I986d6bc5ca1277c78ead7cf6323d59cb73045e25
2020-03-23 15:26:08 +00:00
VitaliiShpital
f61b77ea39 web/satellite: request limit link added on project details page
Change-Id: I4e57bb2f9dc610e9103ca21face20a615481bf40
2020-03-23 15:03:40 +00:00
VitaliiShpital
859fce3af7 web/satellite: browser caching bug fixed
Change-Id: I5b97a90d28c754cc893852909dcc87290a739f59
2020-03-23 14:41:20 +00:00
NickolaiYurchenko
b30a9cb1f9 web/satellite: readme structure section
Change-Id: I99dbb1e9689373fe4b490466f7b5f7b5c1d48c9e
2020-03-17 15:16:49 +00:00
VitaliiShpital
2cd5eb7dac web/satellite: navigation side bar reworked
Change-Id: I72af3d825febf172d5a4a32a1d71b52dae152e59
2020-03-17 13:47:18 +00:00
VitaliiShpital
97df9b5704 web/satellite: new project popup reworked
Change-Id: I90c14bed222824231a5f41bc7029d38cb405863e
2020-03-16 16:06:10 +00:00
VitaliiShpital
dedb87a6dd web/satellite: billing periods logic implemented on billing page
Change-Id: Ia762f50e0b700fe17258efcd255c16d635edd003
2020-03-16 15:46:44 +00:00
VitaliiShpital
54dbc5173d web/satellite: limits info bar added to billing page, free credit amount changed
Change-Id: I08f52e5dab16f5d176a909b29952718891f406d5
2020-03-16 14:54:46 +00:00
NickolaiYurchenko
135fa7500e web/storagenode: pages align fix
Change-Id: Ic32f22560d3dc18262701db11e25e270b65bd0bd
2020-03-16 05:02:58 +02:00
NickolaiYurchenko
3a1b71a757 web/storagenode: payout info month range selection logic
Change-Id: Ibb8ab24475212bed5fe8790a317f2d9f4e4105dd
2020-03-15 22:24:14 +02:00
crawter
0c18ecf32e storagenode/api refactored
Change-Id: Icfd6ded7a21b3803411688a0a34b0c80b44e756f
2020-03-15 20:30:23 +02:00
Stefan Benten
bd603c0751
satellite/payments: Improve Invoice Generation (#3800) 2020-03-13 17:07:39 +01:00
NickolaiYurchenko
6e79d1c206 web/storagenode: charts swap due to bandwidth bar info deletion
Change-Id: I91593de272066bce6c9739fff666766e3466b079
2020-03-13 12:01:40 +00:00
NickolaiYurchenko
176d643360 web/storagenode: payments markup
Change-Id: Ifb65f126408e9593febff153f88abf0aa3644b79
2020-03-12 16:16:41 +00:00