Commit Graph

166 Commits

Author SHA1 Message Date
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
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
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
Bogdan Artemenko
32e0227c45
Project Payment methods (#2037) 2019-07-10 23:29:26 +03: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
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
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
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
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
Yingrong Zhao
ec63204ab1 fix export name for DatePicker (#2185) 2019-06-13 16:04:48 +02:00
Yingrong Zhao
6a826c53c5
fix satellite gui build issue (#2181)
* move import statement out from declare module

* delete unused component
2019-06-12 13:39:48 -04:00
Yingrong Zhao
df1401d952 add segment.io into satellite GUI (#1946)
* Inject segment snippet

* Add page tracking on components mounted

* Use router state to send tracking data to segment.io

Move router tracking into router file

* Create plugin for analytics

* Add plugin

* Add .env file for segment track id

* Replace custome plugin with vue-segment-analytics package

* Rename .env file to not be used for production

* Add DNT check before tracking

clean up code

* move tracker to be above page reload

* Inject segment snippet

* Add page tracking on components mounted

* Use router state to send tracking data to segment.io

Move router tracking into router file

* Create plugin for analytics

* Add plugin

* Add .env file for segment track id

* Replace custome plugin with vue-segment-analytics package

* Rename .env file to not be used for production

* Add DNT check before tracking

clean up code

* move tracker to be above page reload
2019-06-11 15:00:23 -04:00
Bogdan Artemenko
30784484c8
Fixed error notification on fail project member deletion. (#2148) 2019-06-07 13:56:07 +03:00
VitaliiShpital
f69f7b2d58 frontend bug fixes (#2127)
* frontend bug fixes

* removed redundant styles

* removed redundant media styles
2019-06-06 12:38:32 -04:00
Bogdan Artemenko
206c3a20fa
Web/reload issue (#2139) 2019-06-06 18:40:17 +03:00
Bogdan Artemenko
0fc8fd533d
Web/register success popup close issue (#2141)
* Added succesful registration popup id to Add index ids.
2019-06-06 18:34:02 +03:00
VitaliiShpital
7bd6767220
api keys text bug fixed (#2114) 2019-06-05 11:58:32 +03:00
VitaliiShpital
fbdff0fad8
nobuckets state implemented (#2110) 2019-06-04 16:04:17 +03:00
Yaroslav Vorobiov
79a0085103
Fix storage and object_count calculations on console (#2081) 2019-06-03 15:54:06 +03:00