ethanadams
f06aec06fb
Move int64s to top of struct to resolve alignment issue on ARM ( #2521 )
...
* move int64s to top of struct to resolve alignment issue on ARM
2019-07-10 13:47:22 -04: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
Jeff Wendling
94eeb58b45
mobile: add a way to get an encryption access at some path root ( #2519 )
...
* mobile: add a way to get an encryption access at some path root
this exposes a way to have keys deeper than the bucket root
* APIKey + Caveat exported
* use safeError
* return nil
2019-07-10 12:01:56 -04:00
Jeff Wendling
10547cc1ea
segments: send in the object path to the initial CreateSegment… ( #2518 )
...
otherwise, api key restictions will fail because we look like we're
asking to put to the bucket metadata path.
2019-07-10 11:33:55 -04:00
Jeff Wendling
7886a4d7b9
storagenodedb: use datetime functions in sqlite queries ( #2512 )
...
This way comparison happens on the actual time rather than the
string representation of the time which may change depending on
the time zone.
2019-07-10 10:47:59 -04:00
Cameron
c29f033e7d
Move kademlia dialer into separate package ( #2466 )
...
* move kademlia.Dialer into kademliaclient package
2019-07-10 10:36:37 -04:00
Fadila
fa1f5c8d7f
garbage collection endpoint on storage node ( #2424 )
2019-07-10 09:41:47 -04:00
Nikolay Yurchenko
8f024b3db8
scss beautification ( #2499 )
2019-07-10 12:55:40 +03:00
Michal Niewrzal
13e917f9ed
[Mobile] Add method for EncryptionAccessWithDefaultKey ( #2479 )
2019-07-10 04:45:48 +02:00
JT Olio
a79c7d77f3
overlay cache: slight modification of node-is-online rules ( #2490 )
2019-07-09 22:36:09 -04:00
Alexander Leitner
1c5db71faf
Change protobuf expirations to use time.Time ( #2509 )
...
* Change protobuf expirations to use time.Time instead of timestamp.Timestamp
2019-07-09 17:54:00 -04:00
Michal Niewrzal
bbc25a2bf7
Drop SN certifiates
table from DB ( #2498 )
2019-07-09 17:33:45 -04:00
Jeff Wendling
d616be8ae0
storagenode: use minimum time in the order for expiration ( #2504 )
2019-07-09 17:16:30 -04:00
Egon Elbre
910e4744ad
satellite/metainfo: optimize pointerdb size ( #2506 )
2019-07-09 16:36:18 -04:00
ethanadams
4faed2098d
method name changer per PR 2469 ( #2494 )
2019-07-09 16:05:14 -04:00
Natalie Villasana
6aefa1ae80
adds metainfo rpc doc ( #1957 )
2019-07-09 21:44:01 +02:00
Egon Elbre
203f36a41f
rename order.go to order.pb.go ( #2496 )
2019-07-09 13:24:41 -04:00
Egon Elbre
c5de36ed1f
update to go 1.12.7 ( #2493 )
2019-07-09 11:56:08 -04:00
Andrew Harding
7212423c52
Link Sharing service design ( #2360 )
2019-07-09 09:36:08 -06: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
Jeff Wendling
671648012a
Update password based key derivation design doc ( #2367 )
2019-07-09 00:07:03 -04:00
Ivan Fraixedes
50d601ab07
pkg/identity: Use identity error class ( #2488 )
2019-07-08 22:52:52 -04:00
Vitalii Shpital
93cd05d600
error icon changed ( #2475 )
2019-07-08 22:46:57 -04:00
JT Olio
887b784f54
discovery: use fetch info to ping ( #2491 )
2019-07-08 22:10:17 -04:00
ethanadams
ff6f1d1b32
storagenode: add in-memory tracking for bandwidth and disk usage ( #2469 )
...
* Add in-memory cache for bandwidth and space usage monitoring
* moved some structs around and added error handling for get piece size query
* added to existing bandwidth test. fixed typo
* added test, updates from PR review, added monkit for new methods
* PR review updates. renamed space used methods
* changed bw cache so that only Add updates the cache and it only overwrites when the date moves forward
* moved bandwidth usage to bw and space usage to pieceinfodb
* fixed interface comment
* removed pointer from sync.Once
2019-07-08 20:33:50 -04:00
Jess G
f9696d6c5e
satellite/metainfo: add buckets RPC and database ( #2460 )
...
* add db interface and methods, add sa metainfo endpoints and svc
* add bucket metainfo svc funcs
* add sadb bucekts
* bucket list gets all buckets
* filter buckets list on macaroon restrictions
* update pb cipher suite to be enum
* add conversion funcs
* updates per comments
* bucket settings should say default
* add direction to list buckets, add tests
* fix test bucket names
* lint err
* only support forward direction
* add comments
* minor refactoring
* make sure list up to limit
* update test
* update protolock file
* fix lint
* change per PR
2019-07-08 15:32:18 -07:00
Stefan Benten
16156e3b3d
Ensure we force a segment size and account storage before committing them ( #2473 )
2019-07-08 18:24:38 -04:00
Alexander Leitner
3587e1a579
Change pointerdb pointer to use time.Time for Creation date ( #2483 )
2019-07-09 00:16:50 +02:00
Egon Elbre
674742d1a7
satellite/datarepair: use reliability cache ( #1976 )
2019-07-09 01:04:35 +03:00
Ivan Fraixedes
a786e4249c
pkg: Align errs Class messages ( #2485 )
...
Align 2 errs Class messages with the rest of them.
2019-07-08 17:37:12 -04:00
Yingrong Zhao
e36f43c479
satellite/rewards: replace iota with hardcoded OfferType value ( #2432 )
...
* use 0 as the invalid offer type value
* add comment
* Update satellitedb.dbx.go
* Update satellitedb.dbx.go
* update comment
2019-07-08 14:39:56 -04:00
Alexander Leitner
19ab9852f2
Update node.proto to use time.Time instead of timestamp ( #2482 )
2019-07-08 14:24:42 -04:00
aligeti
a554752ce0
adding expiration date check on satellite's CreateSegment ( #2476 )
...
* adding expiration check on satellite createsegment
2019-07-08 14:10:16 -04:00
Alexander Leitner
dcf8e2936b
Update vouchers to use time.Time instead of timestamp ( #2478 )
...
* Update vouchers to use time.Time instead of timestamp
2019-07-08 13:07:30 -04:00
Simon Guindon
8d15d774b6
Removing trace of encodedPiece.Read() because it's fast. ( #2477 )
...
* Removing trace of encodedPiece.Read() because it's fast.
* Added comment about why tracing was removed.
2019-07-08 11:16:13 -04:00
Stefan Benten
ccef5eee46
Add proper Version Handling to Identity, Gateway and Uplink Binary ( #2471 )
2019-07-08 10:45:20 -04:00
Yaroslav Vorobiov
524eb24c83
storagenode/nodestats: combine stats into single RPC call ( #2455 )
...
* change satellite nodestats endpoint
2019-07-08 17:33:43 +03:00
JT Olio
65aa8f227f
piecestore: pipeline chunks with orders ( #2451 )
2019-07-08 17:26:19 +03:00
Alexander Leitner
88732188cb
Update inspector timestamp to time.time ( #2464 )
...
* Update inspector timestamp
2019-07-08 10:06:12 -04:00
Yehor Butko
dbc07fa865
Satellite frontend tabs fixed ( #2465 )
...
* Satellite frontend tabs fixed
2019-07-08 16:45:25 +03:00
Michal Niewrzal
094e1b8b90
Add 'Old' suffix to some metainfo methods/messages ( #2462 )
2019-07-08 15:33:15 +02:00
Cameron
963e1b9710
Rename voucher service to endpoint ( #2467 )
2019-07-08 14:48:47 +03:00
Fadila
3f4662598e
storagenode/piecestore: add piece_creation field ( #2441 )
2019-07-08 09:22:36 +02:00
Andrew Harding
e3a9c2db90
fix ordering of protoc includes ( #2308 )
2019-07-06 18:52:15 +02:00
Yaroslav Vorobiov
7aca0eb284
storagenode/dashboard: show console address ( #2456 )
2019-07-06 15:40:58 +02:00
Ivan Fraixedes
ea9a8b37bc
pkg/datarepair/checker: Fix typo in doc comment ( #2461 )
2019-07-05 22:20:58 +02:00
Egon Elbre
681f502b0e
lib/uplink: ensure tests are compiled separately ( #2440 )
...
* fix uplink tests
* use consistent receiver names
Change-Id: Ifd5e86aa0a922538374718abfcb605049f5fb3ba
* ugh and actually use the receiver
Change-Id: Iae000ca5549c881ac025432c7722c58868c98e76
* avoid review comments
Change-Id: Id96370e5f2de8a9602d422d470027003ec89b8df
2019-07-05 15:02:49 -05:00
Kaloyan Raev
f9ed0dc1a8
Improve stability of TestDownloadSharesDownloadTimeout ( #2210 )
2019-07-05 19:04:15 +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