Commit Graph

958 Commits

Author SHA1 Message Date
Iain R. Learmonth
19ae66a131 PROTOCOL: Add bandwidth lists
See: #30217
2019-05-01 11:32:47 +01:00
Karsten Loesing
7eeec86ff1 Stop signing jars.
Implements #28584.
2018-11-28 10:16:39 +01:00
Karsten Loesing
2c379bd469 Bump version to 1.8.0-dev. 2018-10-15 16:40:15 +02:00
Karsten Loesing
7900e9df64 Prepare for 1.8.0 release. 2018-10-11 14:36:32 +02:00
Karsten Loesing
3d66878f43 Update directory authority IP addresses.
Previously, we were using longclaw's old IP address (changed in
October 2017) and missing bastet entirely (also added in October
2017).

Fixes #27973.
2018-10-11 14:33:02 +02:00
Karsten Loesing
1f43887178 Properly clean up web server logs in recent/.
Fixes #27390.
2018-10-11 14:31:23 +02:00
Karsten Loesing
0e42541bb9 Improve logging to find missing descriptors.
Part of #27980.
2018-10-08 16:08:12 +02:00
Karsten Loesing
6714bde1ce Avoid unnecessary continue statements. 2018-08-21 15:20:39 +02:00
Karsten Loesing
4361bd5e5f Use Map.putIfAbsent and Map.getOrDefault where possible. 2018-08-21 14:58:36 +02:00
Karsten Loesing
7c44c114e4 Inline redundant local variables. 2018-08-21 14:58:36 +02:00
Karsten Loesing
5080bf9907 Replace if with switch. 2018-08-21 14:58:32 +02:00
Karsten Loesing
00eb709d43 Remove a couple redundant string operations. 2018-08-21 12:07:28 +02:00
Karsten Loesing
1ea6a9dc1d Remove unused assignment. 2018-08-21 12:05:50 +02:00
Karsten Loesing
adb442aaa0 Remove unused assignment. 2018-08-21 12:00:54 +02:00
Karsten Loesing
569e172c82 Add missing log statement. 2018-08-21 11:57:33 +02:00
Karsten Loesing
1e61e82289 Use parameterized constructor for bulk add. 2018-08-21 11:55:44 +02:00
Karsten Loesing
1884861532 Remove unnecessary return statements. 2018-08-21 11:47:59 +02:00
Karsten Loesing
556a0a5ff7 Use parameterized log statements. 2018-08-21 10:45:52 +02:00
Karsten Loesing
4f120ba1c3 Make a couple JavaDoc fixes. 2018-08-21 10:45:48 +02:00
Karsten Loesing
941a18353a Remove unnecessary modifiers and semicolons. 2018-08-21 09:23:45 +02:00
Karsten Loesing
698d15d94f Refactor CachedRelayDescriptorReader. 2018-08-20 21:17:03 +02:00
Karsten Loesing
1caca7c1f4 Refactor ArchiveReader. 2018-08-20 21:08:19 +02:00
Karsten Loesing
bb8c53a64d Remove some more unthrown exceptions. 2018-08-20 20:30:30 +02:00
Karsten Loesing
cc692b7e2f Remove redundant initializers. 2018-08-20 20:06:06 +02:00
Karsten Loesing
1c74a356ad Replace addAll with parameterized constructor call. 2018-08-20 20:06:06 +02:00
Karsten Loesing
1c376afd3b Use Arrays.asList with varargs. 2018-08-20 20:06:06 +02:00
Karsten Loesing
ca4ec0c161 Simplify expression. 2018-08-20 20:06:06 +02:00
Karsten Loesing
be14c1f065 Remove redundant cast. 2018-08-20 20:06:06 +02:00
Karsten Loesing
a9ebc71f75 Use chained String.append calls. 2018-08-20 20:06:06 +02:00
Karsten Loesing
82444f7e3f Avoid manual array copies. 2018-08-20 20:06:06 +02:00
Karsten Loesing
4204fcfd62 Replace Option.ifPresent() with functional style. 2018-08-20 20:06:06 +02:00
Karsten Loesing
bc83cc6450 Collapse identical catch blocks. 2018-08-20 20:06:06 +02:00
Karsten Loesing
013370a008 Use more powerful Map methods. 2018-08-20 20:06:06 +02:00
Karsten Loesing
e88a103711 Replace lambdas with method references. 2018-08-20 20:06:06 +02:00
Karsten Loesing
20742f4690 Replace anonymous types with lambdas. 2018-08-20 20:06:06 +02:00
Karsten Loesing
3c89aaebfb Remove unnecessary boxing. 2018-08-20 20:06:06 +02:00
Karsten Loesing
cfd3aecaf7 Remove unthrown exceptions. 2018-08-20 20:06:02 +02:00
Karsten Loesing
3ba8bdcc16 Use Java 5 and 7 idioms in more places. 2018-08-20 15:04:31 +02:00
Karsten Loesing
dafd7ed246 Use StandardCharsets.US_ASCII rather than "US-ASCII". 2018-08-20 11:33:51 +02:00
Karsten Loesing
c2073cf672 Update metrics-base. 2018-08-20 11:03:54 +02:00
Karsten Loesing
61881b9c76 Simplify bridge descriptor tests. 2018-08-20 11:01:28 +02:00
Karsten Loesing
5223617c6e Unwrap if statements that are always true.
We're already checking whether rdp is null at the beginning. No need
to check this again and again.
2018-08-20 10:47:54 +02:00
Karsten Loesing
5e1ae90ec4 Actually fix #26193 now.
The earlier attempt to fix this issue in 98244f3 did not work, because
it was missing the important `-f` switch.
2018-08-09 08:28:06 +02:00
Karsten Loesing
78fbb4d60e Bump version to 1.7.0-dev. 2018-07-15 08:59:40 +02:00
Karsten Loesing
aee8e52b20 Prepare for 1.7.0 release. 2018-07-14 20:49:48 +02:00
Karsten Loesing
2472f01296 Recognize new bridge authority Serge.
Fixes #26786.
2018-07-14 20:41:11 +02:00
iwakeh
9d8a0ae6ec Prevent weird values in cut-off time calculation.
Rename variable to include the unit (which is days).
Log cut-off date on info level.

Implements task-20224.
2018-07-09 14:39:22 +02:00
Karsten Loesing
98244f3ee1 Fix bug in tarball-creating script.
The bug was that some tarballs were not compressed in a run following
an aborted run.

Fixes #26193.
2018-07-09 14:30:32 +02:00
Karsten Loesing
9f05667878 Rename packages.
Rename root package org.torproject.collector to
org.torproject.metrics.collector and ..index to ..indexer.

Implements #24291.
2018-07-05 10:59:03 +02:00
Karsten Loesing
55a9f76d10 Bump version to 1.6.0-dev. 2018-05-25 15:03:49 +02:00