Egon Elbre
c1ed290903
add snapshot logic to dbschema ( #1312 )
2019-02-14 15:33:42 +02:00
Michal Niewrzal
58792533b9
Fix invalid config key msg for dashbord ( #1314 )
2019-02-14 14:06:15 +01:00
Stefan Benten
661df2a625
Reduce Log Messages on Level Info ( #1313 )
2019-02-14 13:50:35 +01:00
Bill Thorp
9b580c5fb6
Repair checker is checking the same 1000 elements all the time ( #1297 )
...
* removed limit on repair, now using cycle
* added BatchIteratorOptions
* consolidated boltdb common.go
* PR feedback cleanup
2019-02-14 13:33:41 +01:00
Egon Elbre
1a5a9903a2
Move SplitConnstr to a nicer place ( #1308 )
2019-02-13 23:54:59 +02:00
Dylan Lott
6d7fe7c7d8
Add uplink tests ( #1310 )
...
* initial wireup of test script
* making some progress
* working on getting gateway config to work
* get script working for testing uplink
* removes unnecessary stuff
* more removal of unnecessary change
* remove unnecessary pointerdb set in setup
* fix dest dir in test-aws script
2019-02-13 14:44:36 -07:00
Bill Thorp
b53f9896d3
Removed ReverseList from KeyValueStore interfaces ( #1306 )
...
Removed ReverseList from KeyValueStore interfaces
2019-02-13 12:27:03 -05:00
Egon Elbre
497fb756fe
create dbutil package for migration testing ( #1305 )
2019-02-13 18:06:34 +02:00
Bill Thorp
2c5716e874
pb.Equal fix ( #1304 )
...
* pb.Equal fix
* file capitalization
* oh snake case
2019-02-13 09:08:57 -05:00
Bogdan Artemenko
ad95d881c7
Implemented Multiple API key deletion. Added Notification for API key deletion result. ( #1298 )
...
* Implemented Notification for API key deletion result.
* Moved several API keys deletion to Service side.
2019-02-13 13:34:40 +02:00
Egon Elbre
3beaeebdb6
Update dbx ( #1300 )
2019-02-12 21:46:03 +02:00
Egon Elbre
0c6d5fd9ad
implement basic migration ( #1261 )
...
* Implement database migrations.
* Add few notes
* fix linter errors
* add non working example
* initial improvements + basic tests
* update test
* add more tests
* more changes
* small changes
* revert unnecessary changes
* revert unnecessary changes
* don't log ignored steps
* remove OnCreate action
* rename method + validate steps
* fix version comparing
2019-02-12 17:57:26 +01:00
Michal Niewrzal
b2f9453184
Disable Checker subsystem in tests ( #1279 )
...
* Disable Checker subsystem in tests
* rename field
* remove sleeps and errgroup.Group
2019-02-11 22:06:39 +01:00
Maximillian von Briesen
f94a2e1161
Node selection method name change ( #1296 )
...
* SelectNodes -> SelectStorageNodes
2019-02-11 14:24:51 -05:00
Maximillian von Briesen
c9d00d8241
test random selection for new nodes ( #1294 )
2019-02-11 12:10:32 -05:00
Maximillian von Briesen
c6c23a319b
move node type definition to db level for node selection ( #1295 )
2019-02-11 11:35:28 -05:00
Yaroslav Vorobiov
6e38481de1
Gmail auth implementation for SMTP ( #1260 )
...
* init
* fix typo in TokenStore constructor
* simplify naming
* simplify RefreshToken signature
* fix lock usage and remove unnecessary code
* change octal to hex
* remove unnecessary byte reading
2019-02-11 17:07:55 +02:00
Egon Elbre
18bd2d7b1a
Fix randomized selection test limit ( #1290 )
2019-02-11 14:04:00 +02:00
JT Olio
2a59679766
pkg/transport: require tls configuration for dialing ( #1286 )
...
* separate TLS options from server options (because we need them for dialing too)
* stop creating transports in multiple places
* ensure that we actually check revocation, whitelists, certificate signing, etc, for all connections.
2019-02-11 13:17:32 +02:00
JT Olio
ea28a9a581
pkg/transport: fail on bad certificates ( #1285 )
2019-02-11 13:02:49 +02:00
Yehor Butko
8156d911fa
Updating account activation flow ( #1251 )
...
* Updating account activation flow
* Updated integration tests, createUserMutation updated
* removing redundant index
* removed redundant testing code
* review comments fixed
2019-02-11 12:33:56 +02:00
Yaroslav Vorobiov
62b5598596
Smtp mail sending library ( #1254 )
...
* init
* fix typos and remove console log
* fix linter and typos
* move mail to internal
* naming enhancements and remove gmailauth
* add message
* fix linter
* fix comment tabulation
* fix comment
* change flow
* escape subject
* add q encoding to msg fields
* fix typo
* fix comment tabulation
* lil comment fix
2019-02-11 11:54:07 +02:00
Maximillian von Briesen
690d5447a1
Add test for randomized node selection ( #1271 )
2019-02-09 16:17:49 -05:00
Dylan Lott
612919d95b
Adds tests to discovery/graveyard ( #1272 )
...
* adds tests for cache graveyard
* updates tests for cache graveyard to use sync2
2019-02-08 13:56:24 -07:00
Egon Elbre
17a7f9d002
Enable planet Merging test ( #1281 )
2019-02-08 22:35:59 +02:00
Egon Elbre
12bdc0ef21
Disable revocation table for testplanet. ( #1283 )
2019-02-08 21:27:31 +02:00
Egon Elbre
e37e0c1b5f
Fix server config usage ( #1282 )
2019-02-08 20:57:17 +02:00
Kaloyan Raev
4e738bbd44
Fix randomness in stopping nodes in TestGetObjectStream ( #1277 )
2019-02-08 15:20:12 +02:00
Michal Niewrzal
c7ad427d95
Move metainfo config ( #1234 )
...
* Move metainfo config
* move config to uplink
* reorganize code
* use satellite apikey
* comment update
2019-02-08 13:57:35 +01:00
Egon Elbre
995927dcd2
Disable psserver TestRetrieve ( #1273 )
2019-02-08 11:54:50 +02:00
Egon Elbre
9c1e299f3c
Ensure everyone sees everyone else ( #1275 )
2019-02-08 11:25:13 +02:00
Egon Elbre
5a13bdec18
close revocation database in test ( #1274 )
2019-02-08 11:13:32 +02:00
Bryan White
aa99968c66
add inspector to makefile ( #1269 )
2019-02-08 10:53:40 +02:00
paul cannon
c35b93766d
Unite all cryptographic signing and verifying ( #1244 )
...
this change removes the cryptopasta dependency.
a couple possible sources of problem with this change:
* the encoding used for ECDSA signatures on SignedMessage has changed.
the encoding employed by cryptopasta was workable, but not the same
as the encoding used for such signatures in the rest of the world
(most particularly, on ECDSA signatures in X.509 certificates). I
think we'll be best served by using one ECDSA signature encoding from
here on, but if we need to use the old encoding for backwards
compatibility with existing nodes, that can be arranged.
* since there's already a breaking change in SignedMessage, I changed
it to send and receive public keys in raw PKIX format, instead of
PEM. PEM just adds unhelpful overhead for this case.
2019-02-07 14:39:20 -06:00
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