Commit Graph

749 Commits

Author SHA1 Message Date
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
Arturo Filastò
b75cee5e84 Progress on schema and fixing unittests 2018-09-06 16:13:04 +02:00
Arturo Filastò
a518ca79da Fix DB schema, write a basic unittest for the DB operations 2018-09-06 15:34:56 +02:00
Arturo Filastò
ff2f973523 Start integrating upper/db as a new ORM 2018-09-05 18:40:37 +02:00
Arturo Filastò
ec459a7f15 Update bindata 2018-09-05 17:58:27 +02:00
Arturo Filastò
247d128b19 Add _is_beta flag to config file 2018-07-30 18:51:44 +02:00
Arturo Filastò
8fb5e397d7 Cleanup the output of the progress handler 2018-07-16 13:15:01 +02:00
Arturo Filastò
69ec294ad4 Go for a much more minimal progress update 2018-07-14 17:19:06 +02:00
Arturo Filastò
45aea93e6b Fix default config and version 2018-07-14 16:58:08 +02:00
Arturo Filastò
83ed5fa767 Fix bug in version info 2018-07-11 18:06:13 +02:00
Arturo Filastò
d8cbfd1b90 One color package to rule them all. 2018-06-29 16:50:05 +02:00
Arturo Filastò
c4c13cb279 Properly compute the padding by fixing the ansi escape regexp 2018-06-29 16:38:13 +02:00
Arturo Filastò
d88764aa34 Add support for crash reporting via sentry and change the send_crash_reports key 2018-06-29 15:29:05 +02:00
Arturo Filastò
cf588c8466 Move summary related code into it's own package 2018-06-28 13:51:43 +02:00
Arturo Filastò
d23f30d159 Update bindata 2018-06-27 15:45:27 +02:00
Arturo Filastò
a6b95f50c9 Move onboard into a separate package 2018-06-25 17:14:29 +02:00
Arturo Filastò
aae2805786 Write the config file when onboarding is run 2018-06-25 17:09:10 +02:00
Arturo Filastò
7951ee6bb5 Add onboard command 2018-06-25 16:31:44 +02:00
Arturo Filastò
38a5637cf5 Write to output when a function is not implemented 2018-06-25 13:19:54 +02:00
Arturo Filastò
030ecacf80 Improve the help output of run 2018-06-22 14:55:00 +02:00
Arturo Filastò
65b5feef0d Make the geoip lookup output prettier 2018-06-22 14:25:30 +02:00
Arturo Filastò
5b31403061 Implement progressbar for web_connectivity test 2018-06-22 13:56:42 +02:00
Arturo Filastò
eb4e6988b3 Implement quick and dirty measurement listing 2018-06-22 12:12:35 +02:00
Arturo Filastò
04eb07624c Add zero state 2018-06-22 11:57:25 +02:00
Arturo Filastò
6ff00eeed1 Rename result_item to results 2018-06-22 11:53:30 +02:00
Arturo Filastò
703b260903 Implement missing bits in result listing 2018-06-22 11:53:10 +02:00
Arturo Filastò
15c901ed68 Make the download of geoip data files conditional 2018-06-22 11:17:51 +02:00
Arturo Filastò
1bba0c7899 Add basic unittests for the config related functionality 2018-06-22 11:01:15 +02:00
Arturo Filastò
a0be45e323 Fix paths to be windows friendly 2018-05-31 12:33:08 +02:00
Arturo Filastò
c620bc9726 Make path and homedir related logic more robust
Add ability to pass OONI_HOME environment variable
2018-05-21 17:33:59 -07:00
Arturo Filastò
ecf3370f53 Implement result listing from CLI
Change the schema to include ASN and Network Name in the results table
2018-05-03 18:40:52 +02:00
Arturo Filastò
0c5b6aa37c Rename gooni to probe-cli
This is the command I used:
```
rg 'github.com/openobservatory/gooni' --files-with-matches \
    | xargs sed -i '' 's/github.com\/openobservatory\/gooni/github.com\/ooni\/probe-cli/g'
```
2018-05-03 14:59:55 +02:00
Arturo Filastò
cffb9ea74c Move all directory related functionality into paths utils
As per suggestion by @willscott in: https://github.com/OpenObservatory/gooni/pull/9#discussion_r176760264
2018-03-27 15:09:34 +02:00
Arturo Filastò
749cc665af Add support for downloading legacy geoip databases
Pass the geoip databases to measurement-kit
2018-03-23 15:26:25 +01:00
Arturo Filastò
98e95b8b7e Add support for generating the web connectivity summary 2018-03-23 14:58:33 +01:00
Arturo Filastò
f5ff3ac87a Add support for generating the Measurement summary
To generate the result summary we need to refactor how the SummaryMap
works
2018-03-23 13:17:39 +01:00
Arturo Filastò
00859e87a6 Get web_connectivity to work with dynamic URL fetching 2018-03-23 12:41:06 +01:00
Arturo Filastò
7fe1551951 Refactor how we create the context 2018-03-23 12:10:14 +01:00
Arturo Filastò
e852713ed7 Add functions for structured progress logging 2018-03-22 15:22:29 +01:00
Arturo Filastò
bd6c5b20d0 Minor style fixes 2018-03-20 14:31:05 +01:00
Arturo Filastò
ce0e077175 Add hooks for generating result summaries 2018-03-20 14:19:19 +01:00
Arturo Filastò
e0bb4000e9 Implement most of the measurement & result DB workflow 2018-03-20 12:38:33 +01:00
Arturo Filastò
6a70fe7da1 Update bindata 2018-03-20 12:38:28 +01:00
Arturo Filastò
9f438ae068 Implement state tracking in database 2018-03-19 19:28:32 +01:00
Arturo Filastò
25c15dc3ab Edit SQL creation 2018-03-19 19:28:22 +01:00
Arturo Filastò
e2499dc4b0 Keep track of the measurement state in the database 2018-03-19 16:23:30 +01:00
Arturo Filastò
90c1c2de87 Start adding support for writing measurements to disk 2018-03-19 13:20:42 +01:00
Will Scott
1d40171e04 add a Dash Test. 2018-03-14 06:44:37 -07:00
Will Scott
e47554cae2 remove the system go-bindata requirement.
close #1
close #3
2018-03-08 11:34:30 -08:00
Will Scott
41e56f6a41 Merge branch 'master' of github.com:openobservatory/gooni 2018-03-08 05:12:52 -08:00
Will Scott
90edffb1d7 ensure presence of home and home/db dir's during creation of the default config file 2018-03-08 05:07:25 -08:00
Arturo Filastò
9cf8008c01 Fix MK integration 2018-03-08 13:46:21 +01:00
Will Scott
7e9a4fc3b7 implement db update 2018-03-08 02:53:04 -08:00
Will Scott
8d5da14c4b Initial creation of the '.ooni/db' folders when not yet setup 2018-03-08 02:25:40 -08:00
Arturo Filastò
3cdb927eb0 Implement handlers to normalise how logging is handled 2018-02-21 17:06:30 +02:00
Arturo Filastò
e7ee54436e Get some data into the database 2018-02-13 18:11:22 +02:00
Arturo Filastò
d3d3ce9d78 Get NDT test to run via gooni 2018-02-13 17:16:23 +02:00
Arturo Filastò
7cf5bd2718 Lay out the structure of nettests 2018-02-13 11:48:46 +02:00
Arturo Filastò
138b394cf0 Update bindata 2018-02-12 18:30:27 +02:00
Arturo Filastò
ca231bca9f Start fleshing out database related functions 2018-02-12 18:29:03 +02:00
Arturo Filastò
6008b5c7c5 Config file workflow management 2018-02-12 17:45:13 +02:00
Arturo Filastò
602a5dc952 Add functions to handling migration from legacy OONI Probe 2018-02-12 12:18:14 +02:00
Arturo Filastò
7327e1ff7f Start laying out the structure of gooni 2018-02-07 20:02:18 +02:00