Bill Thorp
0b35762105
Convert Payments to use SQL, for SUM() and Wallet ( #1266 )
...
* payments query no longer DBX, using SQL
* sum in SQL
* removed old function
* fixed rollup test
* wrap errors
* removed DBX code
2019-02-07 15:26:55 -05:00
Egon Elbre
8e448e2f6e
sync2.Cycle for controllable intervals ( #1267 )
2019-02-07 22:01:13 +02:00
aligeti
b736ae4823
Store the uplinks public key on the satellite so that it can verify bandwidth requests in the future ( #1042 )
...
* integrated with bwagreement & psserver
* integrated with pointerdb
* code review updates
* refactor after code review
* uplinkdb rename to certdb
* Code review changes
2019-02-07 14:22:49 -05:00
paul cannon
ef61c170b1
Consolidate key/cert/signature encoding and decoding ( #1243 )
2019-02-07 12:40:28 -06:00
Kaloyan Raev
0ffdaeebce
Disable colors in dashboard by default. --color flag to enable them ( #1264 )
2019-02-07 19:54:46 +02:00
paul cannon
32882daf38
SHA256Hash() and TBSBytes() needn't return error ( #1242 )
2019-02-07 11:08:52 -06:00
Bogdan Artemenko
4493e5ef43
Changed graphQL port to default 10100. ( #1265 )
2019-02-07 18:01:30 +02:00
Nikolay Yurchenko
987c112b02
web satellite popups changed ( #1262 )
2019-02-08 00:13:12 +10:00
Stefan Benten
f5ab9e34e6
fix difficulty display ( #1256 )
2019-02-07 11:36:19 +02:00
paul cannon
0032147665
regroup things related to public-key cryptography ( #1241 )
2019-02-07 10:04:29 +01:00
Bogdan Artemenko
899b064a59
Added congratulations page after registration. Implemented Account confirmation argument validation. ( #1253 )
...
* Added congratulations page after registration. Implemented Account confirmation argument validation.
2019-02-07 09:12:20 +02:00
Cameron
bfe8060f4d
Rollup tests ( #1224 )
...
* createdAt field no longer autoinsert
* rollup tests
2019-02-06 23:16:24 -05:00
Bryan White
3b54cf0e15
identity improvements: ( #1215 )
2019-02-06 17:40:55 +01:00
JT Olio
0c96353078
storagenode: fix port in entrypoint ( #1252 )
...
Change-Id: I07fa4cec447f2d6a3a3e308ad9b63bdc9dc1b161
2019-02-06 09:19:58 -07:00
Bill Thorp
dc7deab695
go test fail due to consoleql UTC issues ( #1198 )
...
* is this right?
* used time.Equal for conceptual clarity
2019-02-06 09:48:30 -05:00
Egon Elbre
30f89b0362
Ensure overlay tests run against postgres ( #1232 )
2019-02-06 15:32:42 +02:00
Egon Elbre
bb11d83ed0
Proper planet shutdown ( #1249 )
2019-02-06 15:19:14 +02:00
Michal Niewrzal
aa3836c06a
Add checker irreparable test ( #1246 )
...
* Add checker irreparable test
* use RepairUnixSec
* wait for second check
* use storagenode.ID()
* Update comments
2019-02-06 14:03:38 +01:00
Egon Elbre
60b0275a44
Enable ipv6 tests ( #1204 )
2019-02-06 14:47:00 +02:00
Egon Elbre
fdbe2db273
Remove node package and simplify DHT interface ( #1233 )
2019-02-06 14:37:17 +02:00
Egon Elbre
2d6b5faf6d
Fix discovery busy-spin ( #1248 )
2019-02-06 14:25:29 +02:00
Bryan White
00554f0876
add certificates claims+ ( #1216 )
2019-02-06 12:00:26 +01:00
Egon Elbre
ab83f0f077
Fix parallel execution sharing ( #1247 )
2019-02-06 11:16:05 +02:00
Bryan White
7b7e6c43f8
better batch-generation ( #1219 )
2019-02-06 09:04:12 +01:00
Egon Elbre
218e95728c
psserver: swallow io.EOF when getting full content in FileRanger ( #1238 )
2019-02-06 07:41:41 +02:00
paul cannon
331f0cc845
don't put nil nodes in GetResponse ( #1218 )
2019-02-05 23:12:27 +02:00
Egon Elbre
b5d86aa0b4
Make testplanet.Run and satellitedbtest.Run parallel by default ( #1231 )
2019-02-05 21:44:00 +02:00
Egon Elbre
0b6e8f0764
restore previous folder layout in travis ( #1240 )
2019-02-05 13:09:29 -06:00
Bill Thorp
690e8b2061
storage node cert cache ( #1226 )
...
* draft
* still errors
* double close fix
* added tests
* weird, goimports must not be working
* renames
* missed one
* forgot to save:
2019-02-05 12:57:56 -05:00
Egon Elbre
07412698a9
Use lower bcrypt cost for console.Service when running tests and disable flaky tests ( #1236 )
2019-02-05 19:31:53 +02:00
Yaroslav Vorobiov
2ff0d9d435
Add bucket to project relationship on satellite ( #1143 )
...
* integrate console api keys with buckets in pointerdb
* fix test
* fix tests kvmetainfo
* linter fix
* disable account activation
* fix test
* review fixes
* fix comments
* little refactoring
* remove debug println
* fix typo
* disable activation in a propper way
* fix test
* fix imports
* fix uplink count in testplanet
* move key creation to planet.newUplink
2019-02-05 19:22:17 +02:00
Egon Elbre
b16f27c54b
Ensure discovery tests run against postgres ( #1230 )
2019-02-05 19:03:16 +02:00
Kaloyan Raev
3c73d3a33c
Fixes intermitent failures in storage/ec TestPut ( #1239 )
2019-02-05 18:49:52 +02:00
paul cannon
1573cbf4c4
pass UTC times to db so that sqlite3 understands ( #1237 )
...
* pass UTC times to db so that sqlite3 understands
this fixes the pkg/accounting/tally tests, at least for me.
(credit to Bill Thorp)
* also fix this one
2019-02-05 11:33:14 -05:00
Egon Elbre
39c1e5ccec
Ensure checker tests run against postgres ( #1229 )
2019-02-05 18:00:52 +02:00
Egon Elbre
94ee200e35
Ensure cursor tests run against postgres ( #1228 )
2019-02-05 17:45:09 +02:00
Kaloyan Raev
44346d2c6b
Fix data race in teeReader ( #1235 )
2019-02-05 17:18:15 +02:00
Egon Elbre
6564357e13
Ensure that tally tests run against postgres ( #1227 )
2019-02-05 16:23:45 +02:00
Kaloyan Raev
dd76829d10
Improve logic for cutting the long tail during upload ( #909 )
2019-02-05 12:54:25 +02:00
Egon Elbre
87d6410b50
Revert "Remove node package and simplify DHT interface."
...
This reverts commit 03ec1ff92d
.
2019-02-05 10:38:48 +02:00
Egon Elbre
03ec1ff92d
Remove node package and simplify DHT interface.
2019-02-05 10:37:24 +02:00
Dylan Lott
21a58d0ece
node graveyard resurrection ( #1186 )
...
* deletes nodes from cache if unresponsive
* update error messages
* WIP restructuring discovery tickers
* passes tests
* Removes log messages
* Passes up error in graveyard ticker
2019-02-04 14:52:06 -07:00
Egon Elbre
c37e0c1b6d
testplanet.Run ( #1222 )
2019-02-04 22:37:46 +02:00
Michal Niewrzal
2f8b3da1af
Upload/download for testplanet Uplink ( #1183 )
...
* Upload/download for testplanet Uplink
* check error in tests
* cleanup
* refactor node -> uplink
* add missing test file
* rest of refactoring
* workaround to resolve cycles in tests
* rename method
* add missing comments
* review comments
* use KiB
2019-02-04 17:56:10 +01:00
Michal Niewrzal
383cb05e8e
Divide uplink and gateway params set ( #1026 )
...
* Divide uplink and gateway params set
* attempt to fix docker
* attempt to fix all in one
* test
* more reorganization
* fix compilation error
* fix imports order
* fix dependency
* rename structs
* keep minio params for now
* review comments
* remove manual flag check
2019-02-04 16:50:06 +01:00
Egon Elbre
d1cc0dd85b
testplanet: add capability to stop peers ( #1221 )
2019-02-04 17:40:37 +02:00
Michal Niewrzal
53c11dfc5d
Stop storagenode on ctrl+c ( #1220 )
...
* Stop storagenode on ctrl+c
* Cancel grpc server
* handle error
* handle error
* use errgroup
* fix check-travis-tidy
* remove pipefail
2019-02-04 15:50:55 +01:00
Egon Elbre
7163dcc403
Fix typos in check-travis-tidy.sh ( #1223 )
2019-02-04 15:40:36 +02:00
paul cannon
0238a7785b
make a map object before inserting into it ( #1217 )
...
I think this is causing panics.
2019-02-03 18:42:20 -06:00
Bill Thorp
0f662b8e38
sql based tally ( #1166 )
...
* WIP
* wacky changes
* more
* it builds.... IT BUILDS!!!
* fixed SQL, broke out saving tallies for testing
* shorter lines
* fixed SQL, moved tally_test to testplanet
* lint
* WIP logic error preventing PUT and GETs to same serialnum
* fixed BWA test
* fixed temporary brain failure
* eliminated magic numbers
* cleaned up satellite uplink stats
* use errs.Combine instead
* thrashing
* fixed tally erroneous error msg
* fixed tally test
* lint
* SQL syntax attempt to fix
* spelling error
* made bwa db test resist old postgres data
* postgres pk error msg hunting
* postgres pk error msg hunting
* postgres
* err might be nil?
* fixed error logging bug
* hopefully solved postgres issue
* using rebind
* moved tests to _test package
* fixing test dirs
* finally made sense of Egons package name feedback
* UTC, array fixes
2019-02-01 13:50:12 -05:00