Commit Graph

112 Commits

Author SHA1 Message Date
Arturo Filastò
9ad7c6507a Remove shutil tests 2019-05-15 18:13:34 +02:00
Arturo Filastò
826822df31 Copy and delete instead of rename
Fixes: https://github.com/ooni/probe-cli/issues/21
2019-05-15 18:06:09 +02:00
Arturo Filastò
dbed661357 Vendor shutil from: bcacb06fec 2019-05-15 18:05:51 +02:00
Simone Basso
9992690f8f Use MK v0.10.x, zap legacy GeoIP, build also on Linux (#29)
* Gopkg.lock: use MK v0.10.3

* ooni: stop using legacy GeoIP database files

* Some yak shaving of Makefile

1. remove now broken commands to download deps

2. also define the CXX cross compiler

* chore(dep): migrate from dep to go 1.11+ modules

See https://blog.callr.tech/migrating-from-dep-to-go-1.11-modules/

I need this to simplify my life in building for Travis.

* Introduce build.sh and repair build

In going forward, I believe we don't actually need a Makefile but I
didn't want to make such a radical change now.

* Another strategy wrt gopath

* travis: run regress tests on macOS

Closes #30
2019-05-15 15:48:06 +03:00
Arturo Filastò
34556dcbf1 Add support for running all tests with ooni run 2018-09-27 18:38:37 +02:00
Arturo Filastò
8916ff8398 Add note about the testKeys extraction function 2018-09-27 11:42:55 +02:00
Arturo Filastò
6735c8d617 Strip the trailing slash from the bouncer url 2018-09-26 15:35:17 +02:00
Arturo Filastò
2b01dfaa17 Close the DB before deleting ooni_home 2018-09-26 15:09:59 +02:00
Arturo Filastò
a60f376846 Adjust the progress bars depending on the test type 2018-09-24 15:57:28 +02:00
Arturo Filastò
4fc745172d Update bindata 2018-09-21 18:54:56 +02:00
Arturo Filastò
0d21186492 Add support for custom collectors and bouncers 2018-09-21 18:54:44 +02:00
Arturo Filastò
8402446e47 Use Stdout in CLI logging 2018-09-18 09:55:23 +02:00
Arturo Filastò
47a2fbb88c Add rm command to delete results 2018-09-18 09:54:27 +02:00
Arturo Filastò
e6a67ca5aa Improve output of CLI 2018-09-18 09:36:26 +02:00
Arturo Filastò
aad8a395ed Fix return value of database.Connect method 2018-09-17 17:57:26 +02:00
Arturo Filastò
41f449d6c9 Remove debug log from unittests 2018-09-17 17:35:57 +02:00
Arturo Filastò
18a89f4cbd [schema-change] Prefix all columns that could cause conflicts 2018-09-17 17:30:38 +02:00
Arturo Filastò
52bfe5df6c Add support for deleting measurements 2018-09-17 17:30:29 +02:00
Arturo Filastò
30c6041423 Remove unused nettest command 2018-09-17 16:33:56 +02:00
Arturo Filastò
d55cccc236 Exit with non-zero code when trying to do interactive onboarding and --batch is set 2018-09-17 16:16:56 +02:00
Arturo Filastò
6c49bd694f Improve output of incomplete measurements
Rename done to is_done
2018-09-17 13:04:48 +02:00
Arturo Filastò
5cae6b0b83 Make it possible to disable uploading of results 2018-09-17 11:51:54 +02:00
Arturo Filastò
867204adfb Improve the testKeys logging 2018-09-13 15:59:29 +02:00
Arturo Filastò
4ed94dfc53 Improve the presentation of the measurement listing from the CLI 2018-09-13 14:54:56 +02:00
Arturo Filastò
251f136b53 Move include_country to the sharing options 2018-09-13 11:02:49 +02:00
Arturo Filastò
7f5df07782 Fix a very annoying logic bug in URL insertion
Write test case for it
2018-09-12 18:47:57 +02:00
Arturo Filastò
b1ae8bc13e Show data usage in summary of measurements 2018-09-12 15:41:54 +02:00
Arturo Filastò
2b1fb662fb Fix showing data usage indicators 2018-09-12 14:03:07 +02:00
Arturo Filastò
54af7170d4 Add support for data_usage event 2018-09-12 13:42:16 +02:00
Arturo Filastò
2081c25b73 Expose the median_bitrate in the list view 2018-09-11 18:41:15 +02:00
Arturo Filastò
044748c2ce Fix exposing the country code 2018-09-11 18:16:14 +02:00
Arturo Filastò
0ee0c28129 Resolve country code ambigious selection 2018-09-11 18:06:15 +02:00
Arturo Filastò
d02ed117f9 Include total_runtime in the summary of measurements 2018-09-11 16:36:09 +02:00
Arturo Filastò
8da12a9c07 Add measurement summary to list command 2018-09-11 15:40:42 +02:00
Arturo Filastò
31ccb1c181 Improvements to the list output 2018-09-11 15:19:08 +02:00
Arturo Filastò
1637fdbf93 Structured output of measurements 2018-09-10 18:03:32 +02:00
Arturo Filastò
e5c508a94c Fix bug in result listing 2018-09-10 16:56:32 +02:00
Arturo Filastò
e0c0acffeb Make error reporting more robust to panic 2018-09-10 16:29:14 +02:00
Arturo Filastò
5055eaa88a Add info and reset commands 2018-09-10 15:15:29 +02:00
Arturo Filastò
898332064b Add result testkeys projection 2018-09-10 15:03:52 +02:00
Arturo Filastò
73fafacc2c Zap unused method 2018-09-10 12:53:43 +02:00
Arturo Filastò
b29071f37b Replace summary with test_keys 2018-09-10 12:41:28 +02:00
Arturo Filastò
b727aba854 Update result listing 2018-09-07 15:39:22 +02:00
Arturo Filastò
ca505dfff3 Write a unittest for the URL creation function 2018-09-07 15:29:16 +02:00
Arturo Filastò
6f0defc672 Refactor URL table row creation into the actions file 2018-09-07 15:23:29 +02:00
Arturo Filastò
c2ea0c2a63 Fix List* workflows and add unittests for them 2018-09-07 15:16:20 +02:00
Arturo Filastò
dabbdc15d2 Fix bug in the test creation workflow 2018-09-07 14:06:08 +02:00
Arturo Filastò
ecc8216ceb Update bindata 2018-09-07 12:56:06 +02:00
Arturo Filastò
35bd334cfc Update the measurement, network and url creation to the new schema 2018-09-07 12:55:27 +02:00
Arturo Filastò
5ed67ee422 Update bindata 2018-09-06 16:17:00 +02:00