summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Turn latitude and longitude into floats.Karsten Loesing2014-04-13
|
* Split up ResponseBuilder class.Karsten Loesing2014-04-13
| | | | Suggested by SonarQube.
* Reduce visibility of attributes to private.Karsten Loesing2014-04-13
| | | | Suggested by SonarQube.
* Remove unused attributes from Document classes.Karsten Loesing2014-04-13
|
* Move date and time constants to single place.Karsten Loesing2014-04-13
| | | | Suggested by SonarQube to avoid magic numbers.
* Preserve stack trace.Karsten Loesing2014-04-13
| | | | Found by SonarQube.
* Avoid parameter assignment.Karsten Loesing2014-04-13
| | | | Found by SonarQube.
* Remove commented out code.Karsten Loesing2014-04-13
| | | | Suggested by SonarQube.
* Change method visibility.Karsten Loesing2014-04-13
| | | | Found by SonarQube.
* Make utility class constructors private.Karsten Loesing2014-04-13
| | | | Found with SonarQube.
* Move date parsing and formatting to util class.Karsten Loesing2014-04-13
| | | | Suggested by SonarQube to avoid code repetition.
* Avoid inner assignment.Karsten Loesing2014-04-13
| | | | Found with SonarQube.
* Use String.indexOf(char) because it's faster.Karsten Loesing2014-04-13
| | | | Found with SonarQube.
* Implement hashCode() whenever implementing equals().Karsten Loesing2014-04-13
| | | | Found with SonarQube.
* Don't store user-supplied array directly.Karsten Loesing2014-04-13
| | | | Found with SonarQube.
* Document difference between bandwidth values.Karsten Loesing2014-04-13
| | | | Fixes #11369.
* Split node data writer into two classes.Karsten Loesing2014-04-11
|
* Split bandwidth data writer into two classes.Karsten Loesing2014-04-11
|
* Simplify weights status updater by taking out threading code.Karsten Loesing2014-04-11
| | | | | The threading code was never used, because it's broken. No reason to keep it.
* Split weights data writer into two classes.Karsten Loesing2014-04-11
|
* Move (de-)serialization code into WeightsStatus.Karsten Loesing2014-04-10
|
* Split clients data writer into two classes.Karsten Loesing2014-04-10
|
* Move (de-)serialization code into ClientsStatus.Karsten Loesing2014-04-10
|
* Split uptime data writer into two classes.Karsten Loesing2014-04-10
|
* Move (de-)serialization code into UptimeStatus.Karsten Loesing2014-04-10
|
* Split DataWriter interface into two interfaces.Karsten Loesing2014-04-10
| | | | | | | | | | | Classes implementing DataWriter perform two tasks: update internal status files and rewrite output document files. These tasks could also be performed by two separate classes, and there may be cases when we want to rewrite output document files using already existing internal status files. As the first step in splitting up these classes, split the DataWriter interface into two interfaces StatusUpdater and DocumentWriter. The current classes that implement DataWriter need to implement the two new interfaces.
* Add fingerprint listener to learn which documents need updating.Karsten Loesing2014-04-10
| | | | | | | | | | | | | | | Our data writers register at the descriptor source as descriptor listeners to be notified when new descriptors are parsed. They use these descriptors to update their internal status files and to know which output documents need to be rewritten. We now add a second type of listener, the fingerprint listener, which can be used to learn relay or bridge fingerprints from new descriptors. Knowing the fingerprints is sufficient to rewrite output documents, because their content is only based on internal status files. This will enable us to later split data writers into status updaters and document writers.
* Fix protocol specification.Karsten Loesing2014-03-14
| | | | | Broken in 558615fc41771c9d7bc31aa3b2403643534de9bc when taking out old news.
* Take out old news.Karsten Loesing2014-03-11
|
* Clean up protocol specification.Karsten Loesing2014-03-11
| | | | No new content, just trying to flatten the lists.
* Add new document with fractional uptimes.Karsten Loesing2014-03-11
| | | | Prepares for providing monthly relay and bridge statistics (#11041).
* Don't merge intervals across month ends.Karsten Loesing2014-03-11
| | | | Prepares for providing monthly relay and bridge statistics (#11041).
* Add new document with per-bridge usage statistics.Karsten Loesing2014-03-11
| | | | Implements #10331.
* Fix compressing bandwidth and weights histories.Karsten Loesing2014-03-06
| | | | | | | | | We compress histories by merging adjacent intervals to save disk space, unless we want intervals to stay distinct. For example, we might want to compress all intervals on the same UTC day but not want to merge intervals with the previous or next UTC day. However, we had an off-by-one error which made us merge the wrong intervals. For example, we merged intervals from 23:00:00 on one day to 23:00:00 the next day.
* Be more precise about leaving out non-null values.Karsten Loesing2014-03-06
| | | | | | | | The specification said that we're only including non-null values for series of at least two subsequent data points. But that's not true. We're not including histories if there are not at least two subsequent non-null values. But those histories may contain single non-null values with null values previous and next to them.
* Don't include empty latitude and longitude.Karsten Loesing2014-02-25
| | | | | | | | | | | | | | | | | | | | | | | | Example details document where this produces invalid JSON (extract only): """ "or_addresses":["93.114.41.153:9401"], "country":"ro", "latitude":, "longitude":, "country_name":"Romania", "as_number":"AS39743", "as_name":"Voxility S.R.L.", """ Lines in GeoLite2-City-Blocks.csv and -Locations.csv: """ ::ffff:93.114.41.0,121,,798549,,,,,1,0 """ """ 798549,EU,Europe,RO,Romania,,,,,Europe/Bucharest """
* Include bridges when filtering by flag.Karsten Loesing2014-02-24
| | | | Fixes #10908.
* Add unit tests for new GeoIP2 code, and fix a bug.Karsten Loesing2014-02-24
|
* Switch to using MaxMind's GeoLite2 city database.Karsten Loesing2014-02-21
|
* Fix <ul> indentations.Karsten Loesing2014-01-30
|
* Add workaround to avoid bulk-editing details files.Karsten Loesing2014-01-28
| | | | Workaround for bug fixed in 427111314eea8a01b43ad30bc10f744a8edcca81.
* "True" is not valid in JSON, but "true" is.Karsten Loesing2014-01-28
|
* Fix language.Karsten Loesing2014-01-28
|
* Include hibernation information in details documents.Karsten Loesing2014-01-28
| | | | Implements #10707.
* Don't sync microdescriptors from metrics.tpo.Karsten Loesing2014-01-22
|
* Add recommended_version field to details documents.Karsten Loesing2014-01-13
| | | | Implements #10619.
* Add v6 exit policy summary.Karsten Loesing2014-01-06
| | | | Implements Onionoo part of #10523.
* Add note how to improve tests.Karsten Loesing2013-11-28
|
* Write our own dummy DocumentStore for testing.Karsten Loesing2013-11-28
| | | | | | Previously, we wrote out/summary and out/update files to a temp directory. Avoiding this step makes tests faster and prepares for more sophisticated tests.
* Simplify tests by getting rid of test helpers.Karsten Loesing2013-11-27
|