Simone Basso
730373cc75
refactor: move i/netx/archival structs to i/model ( #659 )
...
We recently started moving core data structures inside of the
internal/model package as detailed in https://github.com/ooni/probe/issues/1885 .
The chief reason to do that is to have a set of fundamental
shared data types to help us rationalize the codebase.
This specific diff moves internal/netx/archival's core data types
inside the internal/model package. While there, it also refactors the
existing tests to improve their quality. Additionally, we also added
an extra test to ensure `ArchivalHTTPBody` is an alias for
`ArchivalMaybeBinaryData`, which is required to ensure the
custom JSON serialization process works for it.
We're doing that because both internal/netx/archival and
internal/measurex define their own archival data structures.
We developed measurex using its own structures because it
allowed to iterate more quickly. Now that we have sketched
out measurex, the time has come to consolidate.
My overall aim is to spend a few more hours this week on
engineering measurex. This work is preliminary work before
we finish up both measurex and websteps.
We described this cleanup in https://github.com/ooni/probe/issues/1957 .
2022-01-10 11:25:52 +01:00
..
experiment
cleanup(netx): remove more legacy names and functions ( #658 )
2022-01-07 20:02:19 +01:00
geolocate
cleanup: remove unnecessary legacy interfaces ( #656 )
2022-01-07 18:33:37 +01:00
httpheader
[forwardport] release 3.11: update all the dependencies ( #636 ) ( #637 )
2021-12-06 17:46:13 +01:00
internal
cleanup: remove unnecessary legacy interfaces ( #656 )
2022-01-07 18:33:37 +01:00
legacy
cleanup: merge legacy errorsx in netxlite and hide classifiers ( #655 )
2022-01-07 17:31:21 +01:00
mockable
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
netx
refactor: move i/netx/archival structs to i/model ( #659 )
2022-01-10 11:25:52 +01:00
probeservices
refactor: move httpx into the internal package ( #646 )
2022-01-05 17:17:20 +01:00
testdata
fix: add missing files causing tests to fail ( #202 )
2021-02-02 14:18:22 +01:00
.gitignore
feat: support embedding encrypted psiphon config ( #285 )
2021-04-02 17:36:06 +02:00
allexperiments.go
refactor: introduce and use InputOrStaticDefault ( #632 )
2021-12-03 15:30:56 +01:00
doc.go
feat(engine): allow runner to return many measurements ( #527 )
2021-09-30 00:54:52 +02:00
experiment.go
cleanup: remove unnecessary legacy interfaces ( #656 )
2022-01-07 18:33:37 +01:00
experiment_integration_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
experiment_internal_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
experiment_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
experimentbuilder.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
experimentbuilder_test.go
chore: merge probe-engine into probe-cli ( #201 )
2021-02-02 12:05:47 +01:00
inputloader.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
inputloader_network_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
inputloader_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
inputprocessor.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
inputprocessor_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
saver.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
saver_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
session.go
cleanup: remove unnecessary legacy interfaces ( #656 )
2022-01-07 18:33:37 +01:00
session_integration_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
session_internal_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
session_nopsiphon.go
[forwardport] fix(mk): do nothing if we already have psiphon config ( #605 ) ( #606 )
2021-11-19 12:40:10 +01:00
session_nopsiphon_test.go
[forwardport] fix(mk): do nothing if we already have psiphon config ( #605 ) ( #606 )
2021-11-19 12:40:10 +01:00
session_psiphon.go
[forwardport] fix(mk): do nothing if we already have psiphon config ( #605 ) ( #606 )
2021-11-19 12:40:10 +01:00
session_psiphon_test.go
[forwardport] fix(mk): do nothing if we already have psiphon config ( #605 ) ( #606 )
2021-11-19 12:40:10 +01:00
submitter.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00
submitter_test.go
refactor: interfaces and data types into the model package ( #642 )
2022-01-03 13:53:23 +01:00