Commit Graph

480 Commits

Author SHA1 Message Date
Nikolai Siedov
3fe518d547
satellite: added ability to inject stripe public key post build (#3560) 2019-11-18 13:38:43 +02:00
Vitalii Shpital
b79fad6591
web/satellite: redirecting condition for universal login page added (#3550) 2019-11-15 18:26:16 +02:00
Yehor Butko
a8e4e9cb03
satellite/payments: project usage charges (#3512) 2019-11-15 16:27:44 +02:00
Vitalii Shpital
f1d0d0d68f
web/satellite: static pages styling fixed (#3549) 2019-11-14 19:51:14 +02:00
Vitalii Shpital
b2d2377d2e
web/satellite no buckets page reworked (#3419) 2019-11-12 14:44:47 +02:00
Vitalii Shpital
b7a04eb881
web/satellite: saving selected project in local storage implemented (#3470) 2019-11-12 14:14:05 +02:00
Vitalii Shpital
e99af18229
web/storagenode: date and data formating fixed (#3519) 2019-11-12 14:04:54 +02:00
Nikolay Yurchenko
20eef5a20a
sorting header on api keys page styles fixed (#3537) 2019-11-11 15:13:36 +02:00
Nikolay Yurchenko
e065ad0016
detailed usage charges info markup added (#3528) 2019-11-11 13:12:32 +02:00
Nikolay Yurchenko
06a52e75b8
web/satellite: name hint (#3515) 2019-11-08 19:23:01 +02:00
Nikolay Yurchenko
9ce6dad317
web/satellite: usage report date selected date range formatted (#3518) 2019-11-08 18:47:45 +02:00
Nikolay Yurchenko
7ef0bbe00d
credit cards icons selection added (#3527) 2019-11-08 18:36:07 +02:00
Nikolay Yurchenko
f37f28020d
bug with not compressing to small css file fixed (#3516) 2019-11-06 19:44:20 +02:00
Nikolai Siedov
fd9f860fd6 token error code fixed (#3514) 2019-11-06 17:28:16 +02:00
Nikolay Yurchenko
8a3b0ccbee
added ability to close menu on small windows by clicking outside (#3484) 2019-11-06 15:10:46 +02:00
Vitalii Shpital
e7a188e3e6
web/storagenode: satellite dropdown enhanced (#3490) 2019-11-06 14:41:59 +02:00
Nikolay Yurchenko
e6c7b8180c web/satellite: tabs title change (#3496) 2019-11-06 14:27:26 +02:00
Vitalii Shpital
0e3f0eeb12
web/satellite: project description enhanced (#3494) 2019-11-05 18:15:27 +02:00
Vitalii Shpital
466cc8ab0b
web/storagenode: text selection on specific elements disabled (#3492) 2019-11-05 17:53:37 +02:00
Vitalii Shpital
bee1acef4e web/satellite: info button added on PM page (#3449) 2019-11-05 14:10:06 +02:00
Nikolai Siedov
1a0757ebf7
web/satellite: auth error messages fixed (#3426) 2019-11-05 13:55:26 +02:00
Vitalii Shpital
c27958427d
web/satellite: blinking before fetching PMs, APIkeys, buckets removed (#3432) 2019-11-05 13:37:49 +02:00
Vitalii Shpital
169d9d7bf7
web/satellite scrollbars to navigation and billing page added (#3442) 2019-11-05 13:30:18 +02:00
Vitalii Shpital
2dcfa18f38
web/satellite: api keys copied state removed (#3445) 2019-11-05 13:20:22 +02:00
Vitalii Shpital
21f3a68de5
web/satellite: removed redundant functionality from billing page (#3444) 2019-11-05 13:05:20 +02:00
Vitalii Shpital
c81f90b1ec
web/satellite: added functionality to remove yourself from someone else's project (#3462) 2019-11-05 12:56:40 +02:00
Nikolay Yurchenko
4ef98b05e1
datepicker tests issue resolved (#3473) 2019-11-05 12:43:28 +02:00
Nikolay Yurchenko
75db47f13f
web/satellite: Pages lazy loading added (#3467) 2019-11-05 12:32:34 +02:00
Yehor Butko
5cb46d2ce3
satellite/payments: mock payment service created, api calls from frontend returned (#3448) 2019-11-04 12:54:25 +02:00
Vitalii Shpital
a59d07d4dc
web/satellite: text selection on specific elements disabled (#3424) 2019-11-01 18:00:28 +02:00
Nikolai Siedov
8ce09700af web/satellite: internal server error template added, errors separated (#3430) 2019-10-31 20:42:28 +02:00
Yehor Butko
ecde507e4e
satellite/payments: list invoices (#3389) 2019-10-31 18:56:54 +02:00
Vitalii Shpital
7e7de8a29d web/satellite: date picker unit tests temporary removed (#3423) 2019-10-31 14:01:51 +02:00
Nikolai Siedov
6354b38849
web/satellite: auth graphql api replaced with REST API (#3396) 2019-10-29 16:24:16 +02:00
Vitalii Shpital
b0a9438137
hot fix (#3410) 2019-10-29 16:16:22 +02:00
Nikolay Yurchenko
fef0c51c18 web/satellite: notification plugin (#3352) 2019-10-28 19:33:06 +02:00
Nikolay Yurchenko
04b16c8b6c stylelint added, lint errors fixed (#3360) 2019-10-28 17:59:19 +02:00
Vitalii Shpital
366da85e0a
web/satellite: ts default exports removed (#3382) 2019-10-28 15:27:12 +02:00
Vitalii Shpital
2105dfbbdd
web/storagenode: stylelint applied (#3363) 2019-10-28 15:19:57 +02:00
Vitalii Shpital
03f399857f
web/satellite: removed ability to check project owner for deletion (#3350) 2019-10-25 13:01:03 +03:00
Vitalii Shpital
3880f7a60e
web/storagenode: vue-svg-loader implemented (#3347) 2019-10-25 12:53:35 +03:00
Vitalii Shpital
bff5c19de6 web/satellite: temporar removing of payments api calls (#3361) 2019-10-24 17:48:41 +02:00
Yehor Butko
e82245e10e
satellite/payments: credit card selection (#3304) 2019-10-23 20:33:24 +03:00
Vitalii Shpital
99ccdc1bca
web/satellite: long email bug fixed (#3294) 2019-10-23 16:37:51 +03:00
Vitalii Shpital
810dc80d45
web/satellite: vue-svg-loader implemented (#3307) 2019-10-23 15:26:39 +03:00
Vitalii Shpital
4489c86539
web/storagenode: node version bug fixed (#3339) 2019-10-22 17:46:07 +03:00
Vitalii Shpital
867771787f
web/satellite: project owner status added on team page (#3160) 2019-10-22 14:12:49 +03:00
Yehor Butko
26cc625dc6
satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00
Nikolay Yurchenko
afdd340586
name removed from header (#3209) 2019-10-17 15:25:18 +03:00
Vitalii Shpital
774758c656
web/satellite: bucket name bug fixed (#3240) 2019-10-17 13:57:20 +03:00
Vitalii Shpital
41dc5ef7ff
web/satellite: styling bugs fixed (#3277) 2019-10-17 13:34:45 +03:00
Vitalii Shpital
25dbf46bb2
web/satellite: validation added on delete account popup (#3290) 2019-10-17 13:19:21 +03:00
Nikolay Yurchenko
875c7dfe72
web/satellite: project members frontend selection caching added (#3238) 2019-10-15 16:22:41 +03:00
Vitalii Shpital
f1867a954b
web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
Nikolay Yurchenko
a34730a60b
web/satellite: api keys selection caching added (#3239) 2019-10-15 15:07:18 +03:00
Vitalii Shpital
0560b2bac4
web/storagenode: chart y and x axis reworked (#3179) 2019-10-11 20:07:30 +03:00
Vitalii Shpital
78a71ad3b6
web/storagenode: node status updated (#3220) 2019-10-11 19:28:47 +03:00
Vitalii Shpital
91fcabd83c
web/satellite: notification message text breaking fixed (#3221) 2019-10-11 13:53:22 +03:00
Vitalii Shpital
9f5d81b5b4
web/satellite: prevent multiple request on login and registration (#3234) 2019-10-11 13:42:38 +03:00
Vitalii Shpital
8170eb8d23
web/satellite: api key validation bug fixed (#3227) 2019-10-11 13:18:00 +03:00
Vitalii Shpital
4ba4d03fbf
web/satellite: labels and titles style following problems solved (#3226) 2019-10-11 13:08:13 +03:00
Nikolay Yurchenko
5ac531863a
logo click action changed to redirection to Overview page (#3210) 2019-10-11 12:45:38 +03:00
Vitalii Shpital
ca0f749428
web/storagenode: charts on first day of the month updated (#3219) 2019-10-10 15:08:48 +03:00
JT Olio
37491d0d32 storagenode: embed the console into the binary and makefile (#3164)
* web/storagenode: add package-lock.json
* storagenode: compile console into binary
2019-10-08 10:52:19 +02:00
Vitalii Shpital
2a4a4b60d5
web/satellite: scroll added for project description container (#3166) 2019-10-07 17:51:33 +03:00
Nikolay Yurchenko
ef2615fcf4
web/satellite: DatePicker rework (#3157) 2019-10-07 17:40:45 +03:00
Nikolay Yurchenko
f81821785d
units added to buckets table header (#3158) 2019-10-07 15:34:08 +03:00
Nikolay Yurchenko
dfd76a93f8
web/satellite: Payments methods removed (#3180) 2019-10-07 14:29:41 +03:00
Bogdan Artemenko
a1b2527b28
satellite/web: Fixed Login Button overlapping. (#3156) 2019-10-07 13:51:59 +03:00
Jennifer Li Johnson
7ceaabb18e
Delete Bootstrap and Kademlia (#2974) 2019-10-04 16:48:41 -04:00
Vitalii Shpital
4a86906e11
web/storagenode: memory conversions extended (#3188) 2019-10-04 20:30:31 +03:00
Nikolay Yurchenko
51003dcad2
web/satellie: added missing alt attribute to img tags (#3172) 2019-10-04 16:22:26 +03:00
Nikolay Yurchenko
c169993b30
web/satellite: sorting in api keys fixed (#3159) 2019-10-04 16:06:22 +03:00
Nikolay Yurchenko
284b75d861
web/satellite: fix registration popup ref check (#3173) 2019-10-04 14:55:18 +03:00
Yaroslav Vorobiov
f05a2eea5b satellite/console: remove domain prefix from token cookie key (#3170) 2019-10-04 10:23:52 +03:00
littleskunk
b2e328f118 storagenode/dashboard: update online status (#3168) 2019-10-03 20:31:39 +02:00
Vitalii Shpital
b7d4a3b09a
web/storagenode: vue style guide applying (#3120) 2019-10-02 13:26:50 +03:00
Vitalii Shpital
2dfea75e81
web/storagenode: logic removed from template (#3138) 2019-10-02 13:08:52 +03:00
Vitalii Shpital
6a1203ea46 web/satellite: logic removed from template (#3136) 2019-10-02 12:42:12 +03:00
Vitalii Shpital
c7d05ebbf4
web/satellite: editing of project description bug fixed (#3145) 2019-10-01 13:10:18 +03:00
Vitalii Shpital
09c3efa51f
web/storagenode: vue files renamed (#3121) 2019-09-30 18:17:30 +03:00
littleskunk
d1109f17ff storagenode/dashboard: change etherscan link to open ERC-20 transactions (#3131) 2019-09-29 01:34:07 +02:00
Nikolay Yurchenko
b85addb658 web/satellite: Payment methods markup (#3054) 2019-09-27 13:32:27 -06:00
Bogdan Artemenko
423d35fb3f
satellite/console: Added support URLs and other fields to config file (#3090) 2019-09-27 10:48:53 -06:00
Yehor Butko
fd54cc80d0
web/satellite routing updated, tests added (#3113) 2019-09-27 17:41:04 +03:00
Vitalii Shpital
0afbb1e0ca
web/satellite: vue style guide applying for UI (#3112) 2019-09-26 16:36:12 +03:00
Vitalii Shpital
cfe058d190
web: using kebab notation for props names in html (#3030) 2019-09-23 14:31:42 +03:00
Vitalii Shpital
756d0ad2b5
web/satellite: new navigation area adaptation implemented (#3093) 2019-09-20 13:21:22 +03:00
Nikolay Yurchenko
74ccc1b86f
web/satellite: eye icon fits lastpass (#3091) 2019-09-20 13:13:22 +03:00
Vitalii Shpital
870e70e0e4
web/satellite: copy api key popup title changed (#3080) 2019-09-19 16:21:07 +03:00
Vitalii Shpital
021dba6c95
web/storagenode: UI node ID container fixed (#3079) 2019-09-19 14:43:57 +03:00
Vitalii Shpital
46ada7b6b1
web/storagenode: error processing added (#3046) 2019-09-13 19:06:04 +03:00
Yehor Butko
8b54e329f3
web/satellite: added trailing coma rule to tslint (#3044) 2019-09-13 17:58:18 +03:00
Nikolay Yurchenko
77e7f182db
notification height fixed (#3020) 2019-09-13 13:25:52 +03:00
Yehor Butko
4266f8c364
web/satellite: linter updated, analytics artifacts removed (#3043) 2019-09-13 12:48:27 +03:00
Yehor Butko
a342c3abad
web/satellite: analytics removed, buckets header foreground improved (#3027) 2019-09-13 11:34:36 +03:00
Vitalii Shpital
500ed27e01
web/satellite: error while project creation fixed (#3023) 2019-09-12 18:04:49 +03:00
Vitalii Shpital
489047a96e
web/satellite: notifications for billing page implemented (#3004) 2019-09-12 17:49:31 +03:00
Bogdan Artemenko
0c1798407c
web/satellite: API Keys Pagination implementation (#3019) 2019-09-12 17:10:50 +03:00
Vitalii Shpital
5383b8be82
web/storagenode: frontend bug fixes (#3021) 2019-09-12 16:46:22 +03:00
Yehor Butko
6c0d21046f
web/satellite: minor improvements (#3016) 2019-09-12 14:53:43 +03:00
littleskunk
c45d53e085
storagenode/dashboard: change disqualification text (#3007) 2019-09-11 22:57:57 +02:00
paul cannon
c139ed8ea1 storagenode/console: remove kademlia (#2942)
this is a trivial operation for storagenode/console, as it doesn't
really need or use kademlia in the first place.

What:

Removes kademlia from storagenode/console

Why:

We are in the process of getting rid of kademlia, and this is one place where it's particularly easy.

Please describe the tests:

Existing tests exercise storagenode/console behavior; if they continue to work, everything here should be tested satisfactorily.
Please describe the performance impact:

None
2019-09-11 16:41:43 -04:00
Vitalii Shpital
4ddfffce46 web/satellite: markup for billing history page (#2993) 2019-09-11 13:21:45 +03:00
Vitalii Shpital
3b72cb6720 web/satellite: side bar markup updated (#2937) 2019-09-09 19:29:19 +03:00
Vitalii Shpital
c5658fa736
web/storagenode: markup and logic for node operator dashboard (#2906) 2019-09-09 19:00:25 +03:00
Nikolay Yurchenko
d6f50ec701
notification to buckets page added (#2949) 2019-09-09 16:44:54 +03:00
Yehor Butko
2b9fcd1191
web/satellite: tslint update (#2962) 2019-09-09 13:33:39 +03:00
Bogdan Artemenko
15e52e0985
web/satellite: Fixed usage tests. (#2963) 2019-09-05 16:10:46 +03:00
Yehor Butko
d6bbc2a653
modules versions fixed (#2926) 2019-09-05 12:03:25 +03:00
Yehor Butko
bc8a531a22
dashboard refactored, tests added (#2929) 2019-09-05 11:41:39 +03:00
Bogdan Artemenko
a4dddc65ba
web/satellite: Fixed Project Members deletion. (#2891) 2019-09-04 18:02:39 +03:00
Vitalii Shpital
534a74dac9 web/satellite: account billing page initial markup (#2928) 2019-09-04 17:33:25 +03:00
Yingrong Zhao
10a896bf73
web/marketing: static asset path (#2872)
* use relative path instead of absolute path

* add template func baseURL

* add a method

* update storj-sim

* add comment
2019-08-30 18:43:53 -04:00
Yehor Butko
7e702aa107
web/satellite: navigation, button and project members unit tests (#2907) 2019-08-30 14:34:51 +03:00
JT Olio
539f3857f1
web/satellite: downgrade typescript and pin stuff (#2918)
Change-Id: Ie14bd099fec1d6e7e30d4d0fe1d8878fdf2d4d31
2019-08-29 17:27:48 -06:00
Yehor Butko
24a36999ba
Revert "web/satellite: navigation, button and project members unit tests (#2904)" (#2905) 2019-08-29 18:06:17 +03:00
Yehor Butko
5bb51c9876
web/satellite: navigation, button and project members unit tests (#2904) 2019-08-29 17:49:34 +03:00
Nikolay Yurchenko
368f6cc320
web/satellite: account route redirect fix (#2895) 2019-08-29 17:41:27 +03:00
Vitalii Shpital
07d6019a13
web/satellite: project members UI slightly reworked, bugs and tests fixed (#2896) 2019-08-29 13:05:22 +03:00
Yehor Butko
7b874db8ce
web/satellite project related bugs fixed (#2894) 2019-08-28 17:23:37 +03:00
Nikolay Yurchenko
499c4d0c26
web/satellite: navigation bugs fixed (#2893) 2019-08-28 16:08:19 +03:00
Nikolay Yurchenko
8c24399438
web/satellite: usage api refactored (#2864) 2019-08-28 12:53:53 +03:00
Bogdan Artemenko
8fbb25f3b5
web/satellite: ProjectMembers unit-tests refactoring. (#2865) 2019-08-28 11:29:40 +03:00
Yingrong Zhao
4e16a5c598
satellite/marketingweb: fix broken pipe error (#2853)
* add a writer wrapper

* remove unused code

* read out the rest of the connection in client

* remove unused code

* no panic

* check response status code
2019-08-23 14:33:21 -04:00
Nikolay Yurchenko
357a4cdf5e
projects tests fixed (#2854) 2019-08-22 19:34:41 +03:00
Nikolay Yurchenko
9981bbda24
web/satellite: Projects api refactoring (#2844) 2019-08-22 19:03:13 +03:00
Yehor Butko
7c6fdd09d2
web/satellite: router refactoring (#2846) 2019-08-22 13:44:08 +03:00
Vitalii Shpital
87ef5e3398
web/satellite: buckets api and store refactored (#2830) 2019-08-21 17:07:49 +03:00
Vitalii Shpital
1e099839dd
web/satellite: api keys component updated (#2819) 2019-08-21 16:47:07 +03:00
Nikolay Yurchenko
0f5d533781
web/satellite: Notification rework (#2781) 2019-08-21 16:21:23 +03:00
Yehor Butko
513563eff3
TabNavigation component fixed, unit tests added (#2834) 2019-08-20 18:23:56 +03:00
Bogdan Artemenko
77f1555cf4
web/satellite: Moved endpoint url to config file. (#2832) 2019-08-20 16:31:01 +03:00
Bogdan Artemenko
2e3ff4587a
web/satellite: ProjectMembers store and graphQL queries refactoring (#2820) 2019-08-20 15:57:43 +03:00
Yehor Butko
bf681f32af
web/satellite/credits: api/store/component and tests refactored (#2811) 2019-08-19 21:12:23 +03:00
Bogdan Artemenko
b77f582b29
web/satellite: Project members web client refactoring. (#2783) 2019-08-19 14:20:38 +03:00
Vitalii Shpital
af41039eae
web/satellite: projects api key refactored (#2807) 2019-08-19 13:00:38 +03:00
Vitalii Shpital
b1abbe5ce3
web/satellite: add team member placeholder changed (#2794) 2019-08-16 14:05:20 +03:00
Nikolay Yurchenko
5fe05df774
web/satellite: Buckets page rework (#2763) 2019-08-16 13:13:23 +03:00
Vitalii Shpital
989051328f
web/satellite: api key header updated, redundant components removed (#2770) 2019-08-15 21:21:46 +03:00
Yehor Butko
012775f874
web/satellite user api simplification (#2787) 2019-08-14 21:11:18 +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
Yehor Butko
ce5c45b33c
satellite/console/server: parse html files as templates (#2750) 2019-08-13 15:37:01 +03:00
Vitalii Shpital
6290d8c645
web/satellite: title removed from header component (#2749) 2019-08-09 16:24:21 +03:00
Nikolay Yurchenko
fc4c675ffa
web/satellite: pagination component implemented (#2722) 2019-08-09 15:51:28 +03:00
Bogdan Artemenko
02b7be74fb
web/satellite Generic List component (#2712) 2019-08-09 14:38:23 +03:00
Vitalii Shpital
cccc438628
web/satellite: team area header updated (#2740) 2019-08-09 14:19:49 +03:00
Yehor Butko
4576c4f418
Satellite console server gzip compression (#2665)
* satellite/console server gzip compression
2019-08-08 15:12:39 +03:00
Yingrong Zhao
c32fc283c3
make display order consistent (#2705) 2019-08-06 10:41:25 -04:00
Bogdan Artemenko
53017a0f03
Fix graphql query escaping (#2695) 2019-08-05 18:43:52 +03:00
Vitalii Shpital
a89b3a7459 Web/satellite search component test build fix (#2709) 2019-08-05 13:18:32 +03:00
Vitalii Shpital
4a827cd928 web/satellite color pallet of buttons on create/login account updated (#2697) 2019-08-03 11:11:30 -04:00
Vitalii Shpital
1b051ef3c3
web/satellite common search component created (#2696) 2019-08-02 19:54:07 +03: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
Bogdan Artemenko
9496a8adb1
Changed forgot password button label. (#2660) 2019-07-31 10:55:58 +03:00
Bogdan Artemenko
d859341310
web/satellite Master fix (#2663) 2019-07-30 18:09:47 +03:00
Yingrong Zhao
efa2c776b7
satellite/satellitedb: add updateEarnedCredits method for user_credits table (#2609)
* parent 13dd501042
author Yingrong Zhao <yingrong.zhao@gmail.com> 1563560530 -0400
committer Yingrong Zhao <yingrong.zhao@gmail.com> 1563581673 -0400

parent 13dd501042
author Yingrong Zhao <yingrong.zhao@gmail.com> 1563560530 -0400
committer Yingrong Zhao <yingrong.zhao@gmail.com> 1563581428 -0400

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

* add credit update in activateAccount

* remove unused code

* fix format

* close reader and fix front-end build

* move create credit logic into CreateUser method

* when there's no offer set, user flow shouldn't be interrupted by referral program

* add appropriate error messages

* remove unused code

* add comment

* add error class for no current offer error

* add error class for credits update

* add comment for migration

* only log secret when it's in debug level

* fix typo

* add testdata
2019-07-30 09:21:00 -04:00
Yehor Butko
518a198221
CSP implementation for satellite console (#2644)
* CSP implementation for console
2019-07-30 13:13:24 +03:00
Vitalii Shpital
2b2a01fedc
web/satellite cursor:pointer removed from new project popup (#2604) 2019-07-30 12:49:17 +03:00
Vitalii Shpital
5ab32a4944
web/satellite project payment methods code refactored, dialogs repositioned, bugs fixed (#2643) 2019-07-29 15:47:49 +03:00
Yingrong Zhao
3b6c69c594
fix mutation (#2641) 2019-07-26 10:58:17 -07:00
Faris Huskovic
2144181c99
satellite/marketingweb: Add Partner Offer Type (#2540) 2019-07-25 18:06:23 -04:00
Vitalii Shpital
4de815ae5a
web/satellite short name updated to nickname (#2610) 2019-07-24 13:59:48 +03:00
Yingrong Zhao
aaf3283b4e
satellite/console: referral link for individual users (#2614)
* init

* change give credit to be invitee credits for free credits

* remove unused variables

* fix tests
2019-07-23 12:08:07 -04:00
Nikolay Yurchenko
9204c57c06 markup for add stripe card popup (#2570) 2019-07-22 18:28:38 +03:00
Vitalii Shpital
30eeb64816
web/satellite add card button on account payment methods disabled (#2613) 2019-07-22 17:26:23 +03:00
Vitalii Shpital
499b5db83e
web/satellite info button on create account screen fixed (tooltip created) (#2612) 2019-07-22 17:21:24 +03:00
Yehor Butko
6143be5915
V3-1839 web satellite auth cookie subdomain differentiation (#2601)
* V3-1839 web satellite auth cookie subdomain differentiation
2019-07-22 12:46:26 +03:00
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
Vitalii Shpital
ff31f865a1
web/satellite hover to cross buttons added (#2603) 2019-07-19 18:59:15 +03:00
Vitalii Shpital
17a2e81af6
web/satellite buckets empty state and search bugs fixed (#2597) 2019-07-19 16:40:42 +03:00
Yehor Butko
af93366fb0
V3-2076 Do not allow users to type more than the allowed number of ch… (#2600)
* V3-2076 Do not allow users to type more than the allowed number of characters in the create project name field
2019-07-19 16:32:01 +03:00
Yehor Butko
8fb70aed11
Satellite frontend refactoring (#2537)
Satellite frontend refactoring
2019-07-18 16:39:39 +03:00
Vitalii Shpital
20a7748fb3
web/satellite close cross symbol bug fixed (#2583) 2019-07-17 17:33:07 +03:00
Yehor Butko
5f194b4533
SNO Dashboard API (#2427)
* SNO Dashboard API
2019-07-17 14:42:00 +03:00
Faris Huskovic
003828c348
web/marketing/pages: partner UI table (#2523)
* add UI table for partner offers

* remove award credit from partner table, add referral link column
2019-07-12 09:52:00 -04:00
Yingrong Zhao
6e57b102c5
satellite/satellitedb: remove num_redeemed in offers table (#2510)
* remove num_redeemed

* remove the field frol Offer struct

* remove the field in the UI templates

* fix merge conflict

* fix migration

* fix merge conflict

* fix typo
2019-07-12 09:19:18 -04:00
Bogdan Artemenko
32e0227c45
Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
Faris Huskovic
0d294103e9
satellite/rewards: nicer offers handling (#2390)
* organize offers

* revert changes to go.mod and go.sum

* change OfferStatus enums back to original

* revert modified auto-gen files

* don't render empty row if offers is empty

* change return val of ListAll to Offers

* fix build

* add method to check for empty offer when rendering template

* fix typo

* fix lint and typos

* lean out IsEmpty

* dont use named return vals

* better clarify offer statuses

* change back order of setting offer.Status

* lint

* satellite/marketingweb: allow disabling rewards (#2392)

* implement handler for stop offer endpoint

* use proper text and fix data-target for free-credit stop modal
2019-07-10 13:12:40 -04:00
Nikolay Yurchenko
8f024b3db8 scss beautification (#2499) 2019-07-10 12:55:40 +03:00
Vitalii Shpital
aefb775061
frontend template tabs fixed (#2497) 2019-07-09 18:04:51 +03:00
Bogdan Artemenko
e81e25c271
Web satellite master fix (#2495) 2019-07-09 16:51:33 +03:00
Vitalii Shpital
93cd05d600 error icon changed (#2475) 2019-07-08 22:46:57 -04:00
Yehor Butko
dbc07fa865
Satellite frontend tabs fixed (#2465)
* Satellite frontend tabs fixed
2019-07-08 16:45:25 +03:00
Yehor Butko
b5f8a536e5 Satellite console frontend data reload (#2457)
* Satellite console frontend data reload

* removing deleted projects, code formatted

* usage report code formatted

* removing commented code
2019-07-05 16:49:10 +03:00
Egon Elbre
e8605d312e satellite/rewards: use USD type (#2384)
* fix String converison

* add method

* rename to USD

* fix types

* fix parsing of forms

* fix tests

* fix header

* use larger type

* use int64

* rename func

* move currency to separate package

* convert types, renames

* fix usercredits

* remove unnecessary conversion

* fix comment and named params
2019-07-01 15:16:49 -04:00
Faris Huskovic
ebd976ec28
satellite/marketing: Create New Offer (#2186)
* update UI to reflect final mockups

* implement create handler and render offers table data to UI

* fix line-height unit and remove important from selectors

* update file names and ids for clarity

* shorten 'label' in ids

* localize global vars, fix endpoint names, remove unnecessary receiver, fix comments

* fix unnecessary initialization of pointer

* correct file-naming conventions

* register timeConverter in an init func for safety and remove unnecessary important from css

* consolidate create endpoints and add comments

* register timeConverter in init func

* add copyright to files

* introduce require pkg

* add proper http server unit test

* update linting and create offers concurrently in unit test

* fix getOffers comment

* add copy-right to unit-test

* fix data-races

* fix linting

* remove converter in NewServer

* requested changes in progress

* add require for checking status code

* renamed template file

* fix 400 handler

* fix missing copyright and remove extra line

* fix build

* run goroutine for testing parallel

* evaluate reqType with switch stmt and promp for credit amount in cents

* fix lint issue

* add default case

* remove unnecessary var

* fix range scope error

* remove empty lines and use long form for struct field

* fix merge conflicts

* fix template reference

* fix modal id

* not delete package

* add currency formatting and requested changes

* markup formatting

* lean out currency logic and move wait outside loop

* pass ToDollars func to home template

* fix lint
2019-06-28 10:34:10 -04:00
Egon Elbre
05a283f331 jenkins: disallow files over 600KB (#2323) 2019-06-26 08:44:52 +02:00
Yaroslav Vorobiov
841bb83a6a fix ts lint build error (#2325) 2019-06-25 08:11:04 -04:00
Yingrong Zhao
5fb2e01912
web/satellite: create ReferralStats component (#2309)
* create referral stats component

*  add title

* add copyright

* use correct font
2019-06-24 13:40:59 -04:00
Nikolay Yurchenko
20041d43ba hovers on icons, apikey name errormessage added (#2307) 2019-06-24 18:50:07 +03:00
Yehor Butko
96bc0ccfa4
SNO Dshboard initial api endpoint added (#2284)
* initial api endpoint added
2019-06-24 18:15:31 +03:00
Yingrong Zhao
1c2067a090
Create graphql query for getting user credit usage (#2255)
* set up creditUsage query

* rename function name to follow convention

* remove unused code

* add coipyright

* fix linting
2019-06-20 09:09:50 -04:00
Yehor Butko
e5fd0287e4
V3-1819 Storage node operator server and service started (#2112)
* V3-1819 Storage node operator server and service started
2019-06-20 14:52:32 +03:00
Yaroslav Vorobiov
503b951bcd
modify build scripts for satellite ui (#2228) 2019-06-18 16:36:54 +03:00
Yaroslav Vorobiov
78db9d2780
Fix project email sign in and project links and comments (#2166) 2019-06-18 13:49:11 +03:00
Faris Huskovic
7795ba8169
update UI to reflect final mockups (#2175)
* update UI to reflect final mockups

* fix line-height unit and remove important from selectors

* update file names and ids for clarity

* shorten 'label' in ids

* correct file-naming conventions

* add copyright to files

* check if break in imports is causing lint error

* resolve lint

* tidy go mod

* fix shorthands
2019-06-17 21:57:04 -04:00
Egon Elbre
f4f776d092 Use mail.test as domain in emails (#2224) 2019-06-18 02:28:40 +02:00
Yingrong Zhao
1a5483221a add fake id so there's always a segment instance created on Vue (#2214) 2019-06-14 18:33:44 +03:00
Yingrong Zhao
7a68b10904 fix satellite gui build (#2204) 2019-06-14 15:34:18 +03:00