iwakeh
a3e0928845
Implements task-20596: use metrics-base and reduced build.xml,
...
added executable bootstrap script, removed metrics_checks.xml.
2017-01-05 15:39:00 +01:00
hiromipaw
b7f1fb3b94
Update license
2017-01-03 10:07:59 +01:00
Karsten Loesing
48ef37ab71
Bump version to 1.1.2-dev.
2016-11-24 21:15:43 +01:00
Karsten Loesing
1510b0d060
Prepare for 1.1.1 release.
2016-11-24 20:16:21 +01:00
Karsten Loesing
44087017f2
Fix .jar signing.
...
Adapted from Onionoo's #20712 .
2016-11-24 20:16:21 +01:00
Karsten Loesing
a5eea79f94
Add test for retaining hidserv-* lines.
...
This test currently breaks and will be fixed in #20714 .
2016-11-24 20:16:20 +01:00
Karsten Loesing
8a00f1c702
Retain hidserv-* lines when sanitizing descriptors.
...
Some bridges report these hidserv-* lines, probably shortly after
switching from relay to bridge mode. There's nothing particular
sensitive in these lines that would reveal the bridge IP address or
location. We can simply copy them over like the other statistics
lines.
Fixes #20714 .
2016-11-23 11:15:08 +01:00
iwakeh
74537ca0f9
Makes all tests pass. Implements task-20695.
2016-11-17 22:01:44 +01:00
iwakeh
aa87253196
Added tests for ReferenceChecker; prepares task-20695.
2016-11-17 22:01:33 +01:00
iwakeh
c32cb0bdbc
Addendum to task-20562: File 'nginx-collector' moved to src/main/resources
...
as it is not part of the webapp files.
Adapted path in INSTALL.md to match the new location.
2016-11-17 14:58:02 +01:00
hiromipaw
96d301d240
Edit INSTALL.md and add nginx configuration file.
2016-11-07 14:33:29 +01:00
Karsten Loesing
dcec86480d
Bump version to 1.2.0-dev.
2016-10-28 17:22:44 +02:00
Karsten Loesing
d9e32d54cb
Prepare for 1.1.0 release.
2016-10-28 15:23:08 +02:00
Karsten Loesing
0ac703be63
Expand INSTALL.md.
...
Contains many suggestions by iwakeh.
Implements #20380 .
2016-10-28 14:47:01 +02:00
Karsten Loesing
3081583d9f
Adapt sync/ path to recent change.
2016-10-27 20:32:54 +02:00
iwakeh
7a33c3ed9c
Prevent one descriptor type download from deleting the others,
...
by grouping them according to marker and host.
2016-10-27 18:13:36 +02:00
iwakeh
18e542ea86
Change default for CompressRelayDescriptorDownloads to 'true'.
...
Implements task-19831.
2016-10-27 17:17:40 +02:00
iwakeh
1df211186e
Reduce file-io by first writing all to temporary files and renaming
...
these temporary files after sync.
2016-10-27 09:30:32 +02:00
Karsten Loesing
90f074af25
Become Java 7 compliant again.
2016-10-26 09:27:45 +02:00
iwakeh
234b040259
Make tests for PersistenceUtils pass.
2016-10-25 17:45:48 +02:00
iwakeh
f2079ed440
Added tests for file-storage using PersistenceUtils.
2016-10-25 17:45:08 +02:00
iwakeh
f4cb959d1e
Use a different history file for micro-consensus descriptors.
2016-10-25 17:43:57 +02:00
iwakeh
5c862a18f2
Corrected micro-consensus path (spotted by karsten).
2016-10-25 17:41:31 +02:00
iwakeh
b8386ce0e3
Make sure the sync-markers are used allover; added some constants,
...
and a sync-marker test.
2016-10-25 15:06:10 +02:00
iwakeh
58b27771b4
Replacing a non-ascii character in test.
2016-10-24 15:04:16 +02:00
Karsten Loesing
98e881d821
Generate jars and the tarball in generated/dist/.
2016-10-24 15:04:11 +02:00
Karsten Loesing
e5461f07ec
Update to metrics-lib 1.5.0.
2016-10-24 15:04:06 +02:00
iwakeh
6703873d00
Index should not record temporary files,
...
i.e. files starting with "." or ending with ".tmp".
2016-10-24 15:04:00 +02:00
iwakeh
7e80f72393
Implements task-18910 sync-functionality.
...
ReferenceChecker had to be disabled (cf. #20335 ).
Added persistence and sync package as well as tests and test resources.
2016-10-24 15:03:52 +02:00
iwakeh
53235328ae
Make checkstyle complain about unused imports.
2016-10-24 15:03:38 +02:00
iwakeh
6603811aa9
Tests should compile before being analyzed by checkstyle.
2016-10-24 15:03:31 +02:00
Karsten Loesing
f4e8983bff
Recommend absolute paths in create-tarballs.sh.
...
Some of these paths might work okay if configured relative to the
working directory. But it's safer to just use absolute paths. This
works fine on the main CollecTor instance.
Fixes #20179 .
2016-10-24 12:29:38 +02:00
iwakeh
8bb7de37ad
Finishes task-20162: removed six configuration properties:
...
DownloadCurrentConsensus,
DownloadCurrentMicrodescConsensus,
DownloadCurrentVotes,
DownloadMissingServerDescriptors,
DownloadMissingExtraInfoDescriptors,
and DownloadMissingMicrodescriptors
Each was replaced by hard-coded 'true'.
2016-10-20 17:24:53 +02:00
Karsten Loesing
0397899166
Move index.json* files to index/ subdirectory.
...
Implements #20408 .
2016-10-19 19:45:29 +02:00
iwakeh
3121a2692c
Introduced *Sources and *Origins properties to simplify data
...
source definition.
Already provides properties for task-18910.
2016-10-13 09:04:41 +02:00
iwakeh
5003567318
Added property OutputPath and removed four obsolete path properties.
...
Added new methods to Configuration.
Implements part of task-20162 and prepares task-18910.
2016-10-12 17:30:12 +02:00
Karsten Loesing
4f15d8896c
Bump version to 1.1.0-dev, yet once more.
2016-10-07 14:26:33 +02:00
Karsten Loesing
c43d0ad995
Prepare for 1.0.2 release.
2016-10-07 10:42:00 +02:00
iwakeh
e2f0bef10b
More text for the redirect page.
...
Including some tweaks by Karsten.
2016-10-07 09:37:04 +02:00
iwakeh
96a4006fd1
Task-20234: the first description of CollecTor's client facing file structure.
...
Version 0.9
2016-09-30 15:54:50 +02:00
Karsten Loesing
32459655cd
Add change log entries for bridgedescs changes.
2016-09-30 15:48:16 +02:00
Karsten Loesing
fff9443dfa
Extend checkstyle to test sources.
...
Also fix MainTest.waitSec() by not oversleeping in case of an
interruption.
2016-09-30 15:32:43 +02:00
iwakeh
7ea23e7e52
Adapted cobertura-check to the new coverage rates.
2016-09-30 15:18:56 +02:00
iwakeh
813edcdb7d
Added runTest() and assert stmt to testTarballContainsSameFileTwice.
...
Switched to use of java.nio.file package methods.
Make DescriptorBuilder extend ArrayList saves a few characters throughout
the builders.
2016-09-30 15:18:51 +02:00
iwakeh
105c1f82a9
Use try-with-resources and refer to new bridge auth in comment.
2016-09-30 12:01:47 +02:00
iwakeh
f3b4636632
Added binary literals as cobertura only warns, but all the results are
...
computed correctly.
Rather have more readable code. Test tools will have to adapt.
2016-09-30 11:58:27 +02:00
iwakeh
2164508420
Added tests to point out areas for improvements with next refactoring.
...
Improved coverage a little as aside-effect.
2016-09-30 11:56:35 +02:00
iwakeh
afc2eac755
Add argument check to constructor and removed redundant code.
2016-09-30 11:55:01 +02:00
iwakeh
c6e58d9c54
Added the ShutdownGraceWaitMinutes property to RunOnce test for branch
...
diversity in testing.
2016-09-30 11:52:38 +02:00
Karsten Loesing
bcaed1a443
Add tests for transport and transport-info lines.
2016-09-28 21:26:56 +02:00