Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ooni/backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
https://github.com/ooni/backend

Run coveralls when the tests have been run.

458b71ae71be0bee8fc2ba9b9109377d127e7620 authored over 10 years ago by Arturo Filastò <[email protected]>
Add information about what oonib is.

9b93e553846d18980ee83d65f529997b28624805 authored over 10 years ago by Arturo Filastò <[email protected]>
convert README to .rst

d32ecb0d8a5386ad2061fb3103370f72143a7d58 authored over 10 years ago by Arturo Filastò <[email protected]>
Comment out notifications.

7177f91b283f97675d309181bd5a7b9da3d6974f authored over 10 years ago by Arturo Filastò <[email protected]>
Use requirements.txt not .requirements.txt

28bc0a5bb54c5fe5ea898c7c867ecf97c6330a51 authored over 10 years ago by Arturo Filastò <[email protected]>
Update travis.yml to run unittests.

e2f02c8b2af2c810696fa5b320230e4250097b66 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #53 from TheTorProject/fix/12747

Use the correct txtorcon API depending on the software version.

ced0ca66d53ca77425ecd70f3dc8775eddc56ea2 authored over 10 years ago by Arturo Filastò <[email protected]>
Use the correct txtorcon API depending on the software version.

This fixes: https://trac.torproject.org/projects/tor/ticket/12747

a277eaa249185cea4a221497e885a15743c7e610 authored over 10 years ago by Arturo Filastò <[email protected]>
Review of policy aware changes

b920bee584cd860e90c7cae961031eb5b47c4432 authored over 10 years ago by kudrom <[email protected]>
Implement policy aware bouncing support in the backend

fdc0a4460cb3df9ec7ab55669e71f2008e0ee322 authored over 10 years ago by kudrom <[email protected]>
Add service-identity to requirements.txt.

This closes: https://github.com/m-lab-tools/ooni-support/issues/41

199edf6807355dd84910cba0b97c9a6a72b59549 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #51 from TheTorProject/feature/dns_discovery

Add test helper that can be used to discover the resolver being used by ...

1a9e075af792115e3bd5be9c6c1af3409f20de01 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #52 from kudrom/fix/error-handling

Improved http error handling, the test coverage and some cleanups

70d21f8ebee94577b42a88c7b026fc3657dec39d authored over 10 years ago by Arturo Filastò <[email protected]>
Improved http error handling, the test coverage and some cleanups

df768a6c02bef81a7d4f58e14057e74cfcc2eca5 authored over 10 years ago by kudrom <[email protected]>
Add test helper that can be used to discover the resolver being used by a probe.

df43691bedae4e5024aa39d6b10d47b99dc946e4 authored over 10 years ago by Arturo Filastò <[email protected]>
Update Tor to latest stable release

1e5e851b8e104ff7efb1b67d1a85c3d201333467 authored over 10 years ago by Arturo Filastò <[email protected]>
Fix check condition inside of build_tor2web script.

06ae860106c30960475103a0c28ae49100347b63 authored over 10 years ago by Arturo Filastò <[email protected]>
Detect which command to run for computing sha256 sum.

4e10fff9cb7a02c4db4704d91aa40b9461eb0301 authored over 10 years ago by Arturo Filastò <[email protected]>
Bump to 1.0.2

9a0b5fff24fbbef83826810ed285e7d4b98f0199 authored over 10 years ago by Arturo Filastò <[email protected]>
Use SystemRandom instead of insecure RNG

7dfd89b22c66eb4cfc38218b9430adc38e8ad073 authored over 10 years ago by Arturo Filastò <[email protected]>
Be sure to cancel the callLater deferred only if it has not been already called.

5765bd000ee5b9f729cf4326d7a7fff12605d90c authored over 10 years ago by Arturo Filastò <[email protected]>
Bump to version 1.0.0

46489362d9c3657e74d9f52bc5a7c19b6706d3f1 authored over 10 years ago by Arturo Filastò <[email protected]>
Fix missing import.

583603d15dcd667d8b845f27cdb5b71b2b3c74f7 authored over 10 years ago by Arturo Filastò <[email protected]>
Make the header length check more stringent.

543ed205930da70b9311b9a696eb482c054bd6c4 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge branch 'master' of github.com:TheTorProject/ooni-backend

* 'master' of github.com:TheTorProject/ooni-backend:
Make Vagrantfile also install libffi-dev

3455f6a2273d5de1742560be4fd85494a417beee authored over 10 years ago by Arturo Filastò <[email protected]>
Also apply encoding to the debug level logs.

b4d1a8a1392cc72bbb60f14c89a3d81390d5c154 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #49 from defuse/addffi

Make Vagrantfile also install libffi-dev

83d9d23851466198ae7625af3e249cd3a0f74625 authored over 10 years ago by Arturo Filastò <[email protected]>
Make Vagrantfile also install libffi-dev

f65f1683f10714291d8ab899ee02f41fca02484d authored over 10 years ago by Taylor Hornby <[email protected]>
Merge pull request #47 from TheTorProject/fix/refactoring

Fix/refactoring

ebb8c55980a6e8a804643e453a4c6777cd0316e1 authored over 10 years ago by Arturo Filastò <[email protected]>
Add unittests for the report handlers.

Add a useful base class for implementing any unittest.

699c26c018d0b19ee61c57d7c27207faee1e556c authored over 10 years ago by Arturo Filastò <[email protected]>
Refactoring and tidying up of various different parts of the codebase.

Let pylint guide the way!

c0cad1259227019150258b5dfc2bc8d4844590a1 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #46 from TheTorProject/fix/issue_e

Set limits on the number of headers that can be sent and their length.

0ee9875aefe47e963bf2939221464bb2d8029e1b authored over 10 years ago by Arturo Filastò <[email protected]>
Set limits on the number of headers that can be sent and their length.

1452e777377d2ecccc4b7bf0dff3d815fbb018b0 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #45 from TheTorProject/fix/issue_c

Escape all strings before writing them to the log file.

42b4985d44a3d714540f7a2455df106f2d154e6f authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #44 from TheTorProject/fix/issue_d

Verify the sha 256 sum of the zlib package.

bc337c58d3beb87c3bc31694e530af9cf5e987d9 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge pull request #43 from TheTorProject/fix/issue_g

Set Content-Disposition in RandomPage HTTP Helper

72a86dee6fc2d147271380e9fc3e9627cbe169c1 authored over 10 years ago by Arturo Filastò <[email protected]>
Escape all strings before writing them to the log file.

This fixes: https://github.com/TheTorProject/ooni-probe/issues/302 for the backend

f40f3c530e25d10eeef9bb3e9c36c6c8c23bfded authored over 10 years ago by Arturo Filastò <[email protected]>
Verify the sha 256 sum of the zlib package.

d60d0ccff97699724c6c9cff6bd202272df9225f authored over 10 years ago by Arturo Filastò <[email protected]>
Set Content-Disposition in RandomPage HTTP Helper

Fixes: https://github.com/TheTorProject/ooni-probe/issues/305

5e3bb398741fa9d9400115a41be3d69b0b0dae72 authored over 10 years ago by Arturo Filastò <[email protected]>
Merge branch 'darius'

* darius:
Handle writing exceptions that don't have log_exception attribute
Fix bug introduc...

7b35b7fa5a3d81f6574c7494cde0ac705d4e2cea authored over 10 years ago by Arturo Filastò <[email protected]>
Merge branch 'master' of github.com:TheTorProject/ooni-backend

* 'master' of github.com:TheTorProject/ooni-backend:
If p is a dictionary (as I assume) then y...

873b193ad40a625e58cdf3004600d0e40d61ac6c authored over 10 years ago by Arturo Filastò <[email protected]>
tighter try/except/with blocks

112a7e2655f2ec2ea94670361c094dcaa51b85f5 authored over 10 years ago by Darius Bacon <[email protected]>
tighter try/except/with blocks

9302045df0bce7689e06fb2fa868fd093f70b866 authored over 10 years ago by Darius Bacon <[email protected]>
Fix bug introduce in previous PR.

540e30528ddce5dabbb76240d5cbcdfe780c631a authored over 10 years ago by Arturo Filastò <[email protected]>
remove overbroad try/except

ac2f6a42f71d828cc6dad18bbd7f9573d14f2732 authored over 10 years ago by Darius Bacon <[email protected]>
a more-direct test

304d8a5d5d86f51af40b8fd4af7e628afcba156c authored over 10 years ago by Darius Bacon <[email protected]>
try/except is not needed here

4fb2c669147b602e9e126c5eea112b7f0aa1792f authored over 10 years ago by Darius Bacon <[email protected]>
move write() out of the scope of an IOError catch clause not meant for it

b4eb149099b64bcfccc8a8f2fd0c5008c74a4fe0 authored over 10 years ago by Darius Bacon <[email protected]>
remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's how it's meant to be used)

64615d89908b18469281d84b2cbe70b7a3a110d8 authored over 10 years ago by Darius Bacon <[email protected]>
Handle writing exceptions that don't have log_exception attribute

0148e9951a7fc7505becd2bfb47e3fcae6c05533 authored over 10 years ago by Arturo Filastò <[email protected]>
Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.)

8ade100d5df1730c6d953c5f1916cb79234d8fd4 authored over 10 years ago by Darius Bacon <[email protected]>
Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest.

ec09d0763e820165e2b9630a4c2eb6ece80f717f authored over 10 years ago by Darius Bacon <[email protected]>
simpler methods in Storage

e8304df436d1a0ca84f6c50a015acb65b0470b93 authored over 10 years ago by Darius Bacon <[email protected]>
fix doctest (python -m doctest __init__.py was failing)

5581e1c07cecf1f9aa32c5dac17e8a8e69a5bae2 authored over 10 years ago by Darius Bacon <[email protected]>
clearer check_paths()

16dab41d88997b1132a444007d69eee696623b01 authored over 10 years ago by Darius Bacon <[email protected]>
remove unused (and confusing) global

d61784b8bad62d5be71975db2359b784db7b7dcb authored over 10 years ago by Darius Bacon <[email protected]>
simpler Config.load()

abfaed208212af9c65de0fed6ab1ea5b344e4823 authored over 10 years ago by Darius Bacon <[email protected]>
clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together

e3fe7ae7b44e9a1e2ac473588efdb3591332db42 authored over 10 years ago by Darius Bacon <[email protected]>
If p is a dictionary (as I assume) then you don't need the .keys().

f4a18e0d4f0ebeab05ca340de92e258cd1b6e562 authored over 10 years ago by Darius Bacon <[email protected]>
remove duplicate import

486f8e147df22f59dcb1db091d79949150719743 authored over 10 years ago by Darius Bacon <[email protected]>
note missing import

cebaa01fe3eb8e47f3f1ac47524cf358380ec9b7 authored over 10 years ago by Darius Bacon <[email protected]>
Apply the correct regular expression to the test helper key.

Fixes #37

882095a92a9fe4123529ee05e1beaa5e2a9e4bed authored over 10 years ago by Arturo Filastò <[email protected]>
Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time.

afb5dd4da67a684ba3f5630a8a9945592c56b221 authored over 10 years ago by Darius Bacon <[email protected]>
fix 'false midnight' bug (https://lwn.net/Articles/590299/ for an explanation)

443df222c023b4b737582037649a24460a2834d3 authored over 10 years ago by Darius Bacon <[email protected]>
Fix: old code could raise a KeyError because choices[c] preceded the if c in choices

e9e4701794b40ac2e7fdc97a3d71189820634b06 authored over 10 years ago by Darius Bacon <[email protected]>
Fix typo in parsing of nettests.

Thanks to @Darius for spotting it.

2fd5df09bd739c773eb58d2919c07e3dd24807d5 authored over 10 years ago by Arturo Filastò <[email protected]>
Add $ to the end of regexps that should have it

a17e817117daf7a5aaad4dc63a74df2da2fa1a89 authored over 10 years ago by Taylor Hornby <[email protected]>
Export ssl_helpers. (Or was it meant to be left out?)

bf6aa6024200724cc79b219f5dd2cc491932b297 authored over 10 years ago by Darius Bacon <[email protected]>
Make the CC regexp also more accurate

40930004c23163d0c38423026bd4e14e9942846d authored over 10 years ago by Arturo Filastò <[email protected]>
More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash.

fcd5b892f03431bc79978321320453423931cbf6 authored over 10 years ago by Darius Bacon <[email protected]>
Check version semantically instead of by string (the old code answers wrong for '0.10.0').

480b19722b918abdfaae0d4e694e829a77c2a7a4 authored over 10 years ago by Darius Bacon <[email protected]>
Remove unused duplicate of updateKnownHelpers

f9fd863c1707497a0fa8486b239aa97177c94502 authored over 10 years ago by Taylor Hornby <[email protected]>
Fix InvalidArchiveDirectory exception message

a1c3023b94da46c044a9470ba8aa2dba9b0c562c authored over 10 years ago by Taylor Hornby <[email protected]>
Handle writing exceptions that don't have log_exception attribute

168a7c9b9f5c0699009d8ef6eea0078c2a6a19cc authored over 10 years ago by Arturo Filastò <[email protected]>
Fix bug introduce in previous PR.

bf6da812764aa3879fef67aedd6e072bad193e24 authored over 10 years ago by Arturo Filastò <[email protected]>
remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's how it's meant to be used)

5a21e98880a7e903f335ada22856248f346dad5a authored over 10 years ago by Darius Bacon <[email protected]>
try/except is not needed here

c543fee5b416af54604c3d356f6b5bb058860405 authored over 10 years ago by Darius Bacon <[email protected]>
remove overbroad try/except

eae427c12a5c1ca1ec42c9c10893710eb9ed9d08 authored over 10 years ago by Darius Bacon <[email protected]>
tighter try/except/with blocks

fe398cdf47ab94d9199f286fc1b161b1ebee912c authored over 10 years ago by Darius Bacon <[email protected]>
tighter try/except/with blocks

bb924d9f178bc6ee32233b36680fd69e59ea9a26 authored over 10 years ago by Darius Bacon <[email protected]>
move write() out of the scope of an IOError catch clause not meant for it

92379c18388b9438a5affec452f0855fef087a32 authored over 10 years ago by Darius Bacon <[email protected]>
a more-direct test

38048f623f84d6bc8edfbb7c68ec4669b2450a76 authored over 10 years ago by Darius Bacon <[email protected]>
note missing import

238ea56a4ecc9e255a73d29848d9d86dd910b7ef authored over 10 years ago by Darius Bacon <[email protected]>
remove duplicate import

529fe95115154860365a5d15c89275c6038dc82b authored over 10 years ago by Darius Bacon <[email protected]>
clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together

6ce07ebd9c2261d4dc069c52baa02bad965564a6 authored over 10 years ago by Darius Bacon <[email protected]>
remove unused (and confusing) global

1c1e3d73086e47ef17031a55909853f8f0812516 authored over 10 years ago by Darius Bacon <[email protected]>
simpler Config.load()

01c410b21020932179b3d62a73268f1132067ba5 authored over 10 years ago by Darius Bacon <[email protected]>
fix doctest (python -m doctest __init__.py was failing)

9c14a5dd6651b4237d541b564d567474348fb9a2 authored over 10 years ago by Darius Bacon <[email protected]>
simpler methods in Storage

f5001bdebb0395b0817144c1d05a8466ac067714 authored over 10 years ago by Darius Bacon <[email protected]>
clearer check_paths()

562649ffe895025bc579314b4f19a8f31c944464 authored over 10 years ago by Darius Bacon <[email protected]>
Merge pull request #41 from darius/master

Miscellaneous cleanups

207e4b078e8ce2fbda38c5840b6c899c8a8b0e6a authored over 10 years ago by Arturo Filastò <[email protected]>
If p is a dictionary (as I assume) then you don't need the .keys().

3af27326a39046ad8397fb92a4b5ee398418096b authored over 10 years ago by Darius Bacon <[email protected]>
Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest.

2b8081ef8de3efe6434fe67a4e7e16ecde7abb11 authored over 10 years ago by Darius Bacon <[email protected]>
Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.)

67788384562254bbf8a8b6f1edaf7812cf2d83fa authored over 10 years ago by Darius Bacon <[email protected]>
More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash.

ae549520175fd0f764143954faa5ce299435251d authored over 10 years ago by Darius Bacon <[email protected]>
Make validateNettest work like validateInputHash. Previously the code was clearly redundant and thus probably wrong.

b8b81deba021d5f103e50e3cf2c259234ce79bad authored over 10 years ago by Darius Bacon <[email protected]>
Export ssl_helpers. (Or was it meant to be left out?)

0af1b10491623ab74a0c6977d3f03772fbb4ec35 authored over 10 years ago by Darius Bacon <[email protected]>
Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time.

4c483d5bedba1d74795048d54b0f3eebd21d07d4 authored over 10 years ago by Darius Bacon <[email protected]>
Fix: old code could raise a KeyError because choices[c] preceded the if c in choices

3cb4394c9c4e8d20fd1068bbd0c75ab907999fdf authored over 10 years ago by Darius Bacon <[email protected]>
Check version semantically instead of by string (the old code answers wrong for '0.10.0').

d588abacd02722a39a46b96e0ad0ef62542d75e1 authored over 10 years ago by Darius Bacon <[email protected]>