Commit Graph

156 Commits

Author SHA1 Message Date
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
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
Egon Elbre
fdddaa2a47 Fix marketingweb code (#2177)
* set to only listen on 127.0.0.1, move static files to same location, better template handling

* handle error

* fix path in storj-sim

* revert template handling changes

* code shouldn't panic on invalid tempalte

* do not rewrite once writing has started

* write correct error code

* use filepath for path handling

* revert change

* fix

* fix mod tidy

* use correct error code for not found, avoid infinite loop on failure
2019-06-12 09:42:39 -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
Nikolay Yurchenko
5062436846
Account settings page rework (#2007) 2019-06-03 15:19:48 +03:00
Nikolay Yurchenko
8918a14bbf add payment popup added (#2032) 2019-05-29 19:22:16 +03:00
Yaroslav Vorobiov
20782d75bd Fix dates source on UsageReport page (#2070) 2019-05-29 12:00:33 +02:00
Yaroslav Vorobiov
4463153f46
Console rollup period fix (#1833) 2019-05-16 17:38:55 +03:00
Brandon Iglesias
46e19954ba
updating words to be accurate on GUI (#1971) 2019-05-16 08:41:56 -04:00
Yaroslav Vorobiov
2d2301d5ff
Console buckets page (#1847) 2019-05-16 13:43:46 +03:00
Nikolay Yurchenko
ae24778ef7
Billing markup and project page rework (#1963) 2019-05-15 18:01:41 +03:00
Bogdan Artemenko
38acc4dba6
Resend account activation email (#1961) 2019-05-15 11:28:36 +03:00
Nikolay Yurchenko
eac18352f3
headers in team and apiKeys pages aligned (#1893) 2019-05-14 18:29:11 +03:00
Bogdan Artemenko
78c86a8760
Back to login pop-up issue (#1962) 2019-05-14 17:53:44 +03:00
Bogdan Artemenko
f46487b015
ResetPassword Table and all CRUD methods. (#1916) 2019-05-13 18:53:52 +03:00
Nikolay Yurchenko
dd45fb54ea Uplink CLI link added to popup (#1894) 2019-05-07 16:25:35 -04:00
Yehor Butko
ba78ad8c0b
V3-1243 audit all node code and vulnerabilities part 1 (#1881) 2019-05-02 16:48:47 +03:00