Commit Graph

19 Commits

Author SHA1 Message Date
Simone Basso 1983672e3c fix(config/parser.go): correct unlocking on error paths (#146)
Spotted while reading the code.
2020-07-24 17:12:51 +02:00
Simone Basso b4934b1619 Use ooni/probe-engine 0.12.0+patches (#133)
* nettests/groups.go: remove redundant struct names

* go.mod go.sum: update deps except probe-engine

* Update to ooni/probe-engine@e768161f91

The API has changed. Methods that used to change bits of the session have
been removed. Now the session is more immutable than before.

As such, we need to completely fill the config before using it.

* Set IncludeCountry to always true

Co-authored-by: Arturo Filastò <arturo@filasto.net>
2020-06-04 11:19:38 +02:00
Arturo Filastò b095b41e19 Fix broken test 2020-06-03 13:13:15 +02:00
Arturo Filastò f2e62b7ad7 Always include the country code and drop include_probe_cc setting
Fixes: https://github.com/ooni/probe/issues/1183
2020-06-02 19:16:09 +02:00
Arturo Filastò 7a992761a4 Merge pull request #110 from ooni/no-help
Remove help link from the default config
2020-02-13 14:21:37 +01:00
Arturo Filastò 090cd44735 Remove help link from the default config
This fixes: https://github.com/ooni/probe/issues/946
2020-02-12 15:09:59 +01:00
Arturo Filastò 1f94b20be5 Add support for parsing the enabled websites category codes
This implements: https://github.com/ooni/probe/issues/1012
2020-02-12 15:07:40 +01:00
Arturo Filastò 8a27de6c7d Remove all settings which are not implemented (#73)
* Remove all settings which are not implemented

* Add support for migrating config files from version 0 -> 1

Add basic unittests for the config file migration

* Update the config file used by travis

* Fix typos in console log messages

* Improve the comment

* Fix type of limit

* Set informed consent to true in the travis config
2019-11-14 17:58:31 +01:00
Arturo Filastò f425d3f007 Implement the show command (#53) 2019-10-02 18:23:14 +02:00
Arturo Filastò 6735c8d617 Strip the trailing slash from the bouncer url 2018-09-26 15:35:17 +02:00
Arturo Filastò 0d21186492 Add support for custom collectors and bouncers 2018-09-21 18:54:44 +02:00
Arturo Filastò 251f136b53 Move include_country to the sharing options 2018-09-13 11:02:49 +02:00
Arturo Filastò 247d128b19 Add _is_beta flag to config file 2018-07-30 18:51:44 +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ò 78cf8d6ca2 Create config file when it's missing 2018-06-25 17:49:17 +02:00
Arturo Filastò 1bba0c7899 Add basic unittests for the config related functionality 2018-06-22 11:01:15 +02:00
Arturo Filastò 2653a3f67f Consolidate config related functionality into the config package 2018-06-22 10:29:47 +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