iwakeh
edde3fce47
Make the start happen at HH:mm:00, implements part 3 of #19776 .
2016-08-09 10:50:32 +02:00
iwakeh
ffdb49851f
task-19830: Check root of given path avoids non-existant files exception.
2016-08-07 11:32:25 +02:00
Karsten Loesing
9d54f0e8d3
Fix path for storing exit list.
...
The earlier code would store exit lists to paths like:
`out/exit-lists2016/08/05/2016-08-05-09-03-43`
Found while testing #19840 .
2016-08-05 11:26:42 +02:00
Karsten Loesing
4b9b08283c
Change path defaults.
...
Change path defaults to match those of the main CollecTor instance.
Implements #19840 .
2016-08-05 11:26:06 +02:00
Karsten Loesing
a88094fb86
Update directory authority addresses and v3idents.
...
It's been a while since we last updated authority addresses and
identities. Updating from tor commit c9b8d4c. Implements #19829 .
2016-08-05 10:26:47 +02:00
iwakeh
f2d0cf0b9f
Make checkstyle task fail, when new warnings appear.
2016-08-02 20:10:06 +02:00
iwakeh
0724744961
Check available disk space in relaydescs module.
...
Check if there's enough space before and after running the relaydescs
module, and warn if less than 200 MiB are left.
Implements #18865 .
2016-08-01 14:56:22 +02:00
Karsten Loesing
50463327de
Add missing = in properties template.
2016-07-25 21:52:47 +02:00
Karsten Loesing
69535b64e2
Make some trivial whitespace fixes.
2016-07-25 21:52:41 +02:00
iwakeh
6c43548bfb
Prevent updateindex NPE, b/c of dubious files that are regcognized as directories. Adjusted coverage rate. Modified scheduler test. Reduced repeated try-catch in run methods. Log cron package to all module logs.
2016-07-25 21:52:00 +02:00
iwakeh
40ae515995
Changed another hard-coded directory reference.
2016-07-25 21:49:13 +02:00
iwakeh
7517480e44
Don't add META-DATA files from other jars to the collector jar.
2016-07-25 21:49:07 +02:00
iwakeh
997d4a4a2e
Implements #19018 'Run CollecTor without crontab'. Added scheduler logic, adapted and added tests, adapted coverage check.
2016-07-25 21:48:56 +02:00
iwakeh
62c94124d1
Added new properties for scheduled module runs and adapted tests accordingly. Scheduler implementation open. Partially implements task-19018.
2016-07-25 21:48:43 +02:00
iwakeh
7dc17f8e14
Implements task-19727: make exitlist url configurable and correct default setting.
2016-07-22 09:13:28 +02:00
iwakeh
2f725efbf6
Implements #19424 : make all main paths configurable, add property instance url.
2016-07-20 09:38:05 +02:00
iwakeh
adee62f641
Use the latest describtor release 1.3.0
2016-07-19 14:24:03 +02:00
Karsten Loesing
7cc1d9d970
Let Eclipse organize imports.
2016-07-14 15:54:58 +02:00
Karsten Loesing
74bae5b448
Write Javadocs to appease checkstyle.
2016-07-14 15:54:53 +02:00
iwakeh
ae4be6f06b
Checkstyle warnings down to zero.
2016-07-14 15:54:48 +02:00
iwakeh
4383ae9386
Enable suppression annotations for checkstyle.
2016-07-14 15:54:43 +02:00
iwakeh
94278aa92f
Added symlink update steps.
2016-07-14 11:02:30 +02:00
iwakeh
4b79249fef
Tests now point at empty temporary 'in' directory. This prevents lengthy import operations that appear as a hanging test.
2016-07-13 16:18:07 +02:00
iwakeh
c94d483ad2
Made directories configurable; added copyright, description, and path checks.
2016-07-13 10:25:51 +02:00
iwakeh
7aa2fb51dd
Add create-tarball script from main CollecTor instance to resources.
...
Initial check-in.
2016-07-12 13:07:40 +02:00
iwakeh
0d9a197f1c
Implement #19373 and add one word to comment in build.xml.
2016-07-07 08:41:55 +02:00
Karsten Loesing
050a88ffcf
Make another trivial tweak to INSTALL.md.
2016-06-06 22:41:56 +02:00
Karsten Loesing
f7811f4ed6
Make some trivial tweaks to INSTALL.md.
2016-06-06 17:13:43 +02:00
iwakeh
b65b4ade06
task-19015 minor tweaks. added console appender, some test permissions
...
for logback, and test error info.
2016-06-03 21:24:25 +02:00
iwakeh
295adfb877
Implements task-19015. Removed obsolete scripts and changed INSTALL.md
2016-06-03 15:32:44 +02:00
iwakeh
e89f50ec0e
Implements task-19015, switch from jul to slf4j and logback.
2016-06-03 15:10:38 +02:00
iwakeh
8767c73d08
Implements task-19021 and task-19005.
...
Adds the very first tests to CollecTor.
Increases testability and prepares task-19018.
Avoid using literal path separators,use Paths.get instead.
2016-05-30 15:14:49 +02:00
Karsten Loesing
a91e320bc5
Add Javadoc titles, usage info, and footer.
...
Suggested by iwakeh on #18733 .
2016-05-24 20:32:53 +02:00
iwakeh
79653eb977
cobertura.ser needs to be in basedir in order to calculate coverage correctly.
2016-05-19 17:23:21 +02:00
iwakeh
3a783ec004
Moved web to src/main/webapp and resources to src/test/resources; added cobertura.ser to .gitignore.
2016-05-18 18:26:34 +02:00
Karsten Loesing
1c0661e99e
Move all Java sources to src/main/java/.
2016-05-18 09:09:11 +02:00
Karsten Loesing
6d228544da
Reorder attributes and methods in relaysdescs classes.
...
Attributes go first, followed by constructors, high-level methods, and
then lower-level methods.
2016-05-18 08:47:59 +02:00
Karsten Loesing
393a8d6d5b
Remove unused bridge pool assignments code.
2016-05-12 21:43:59 +02:00
iwakeh
f85683536b
implements task-18922, make logging configurable.
2016-05-10 12:21:10 +02:00
iwakeh
2be9f6890a
Provide executable jar containing all dependencies, removed obsolete ant-tasks, changed scripts for implementing task-18719.
2016-05-04 15:02:40 +02:00
Karsten Loesing
c88783d6b5
Relax CatchParameterName check.
2016-04-30 21:02:59 +02:00
Karsten Loesing
8bd642198c
Resolve a bunch of checkstyle warnings.
2016-04-30 08:24:55 +02:00
Karsten Loesing
b41a71cd70
Prefix entries in .gitignore with slash.
...
We really only want to ignore files and directories in the current
directory, not files and directories in subdirectories.
2016-04-29 00:14:43 +02:00
iwakeh
1609d64dbf
Added checkstyle task.
2016-04-28 23:57:50 +02:00
iwakeh
9b6c3054d9
Extended .gitignore, replaced ERNIE by CollecTor, and changed copyright year for the touched files.
2016-04-28 23:57:50 +02:00
Karsten Loesing
a81992b824
Remove two unnecessary lines from build file.
2016-04-28 11:32:26 +02:00
Karsten Loesing
b9fcfc30ab
Remove metrics-lib submodule.
2016-04-28 11:32:05 +02:00
iwakeh
e3a2d947be
implements tasks 18794 and 18792; java7, test task, coverage, and some jars.
2016-04-28 10:42:00 +02:00
Karsten Loesing
0b398e9adb
Stop using deprecated parts of metrics-lib.
...
We're currently using two metrics-lib types that have been deprecated:
- `org.torproject.descriptor.impl.DescriptorParseException` and
- `org.torproject.descriptor.ExitListEntry`.
It's easy to avoid using those parts and move to non-deprecated types.
This also removes the last dependency on a type in the impl package.
Implements #18818 .
2016-04-14 10:01:03 +02:00
Karsten Loesing
b04182d027
Rename packages to org.torproject.collector.**.
...
Implements #18727 .
2016-04-06 16:11:03 +02:00