diff --git a/configuration/unique_ips_per_referrer_generate_month_results_only b/configuration/unique_ips_per_referrer_generate_month_results_only new file mode 100755 index 00000000000..dcea8f54211 --- /dev/null +++ b/configuration/unique_ips_per_referrer_generate_month_results_only @@ -0,0 +1,16 @@ +#!/bin/bash + +CACHE=/var/log/old/cache/unique-ips-per-referrer +VISITED_FILES=$CACHE/visited +STATS=$CACHE/stats +MONTHS=$STATS/months + +for month in `cat $MONTHS`; do + for i in ${STATS}/*.ips; do + echo -n "`basename $i .ips` " + cat $i | grep "^[^ ]* [0-9]*/$month .*" | sort -u | wc | awk '{ print $1; }' + # TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files + done | tee $STATS/unique-ips-days-useragents-per-event-`echo $month | tr / -` + echo "Wrote per-month results to $STATS/unique-ips-days-useragents-per-event-$month" +done +echo "Done." diff --git a/configuration/unique_ips_per_referrer_generate_results_only b/configuration/unique_ips_per_referrer_generate_results_only new file mode 100755 index 00000000000..23e316484ce --- /dev/null +++ b/configuration/unique_ips_per_referrer_generate_results_only @@ -0,0 +1,26 @@ +#!/bin/bash + +CACHE=/var/log/old/cache/unique-ips-per-referrer +VISITED_FILES=$CACHE/visited +STATS=$CACHE/stats +MONTHS=$STATS/months + +for i in ${STATS}/*.ips; do + echo -n "`basename $i .ips` " + cat $i | sort -u | wc | awk '{ print $1; }' + # TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files +done | tee $STATS/unique-ips-days-useragents-per-event +echo "Wrote total results to $STATS/unique-ips-days-useragents-per-event" + + +# Now filter and group by month +cat ${STATS}/*.ips | awk '{ print $2; }' | sed -e 's/^[0-9]*\///' | sort -u >$MONTHS +for month in `cat $MONTHS`; do + for i in ${STATS}/*.ips; do + echo -n "`basename $i .ips` " + cat $i | grep "^[^ ]* [0-9]*/$month .*" | sort -u | wc | awk '{ print $1; }' + # TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files + done | tee $STATS/unique-ips-days-useragents-per-event-`echo $month | tr / -` + echo "Wrote per-month results to $STATS/unique-ips-days-useragents-per-event-$month" +done +echo "Done." diff --git a/java/com.sap.sailing.domain.common/pom.xml b/java/com.sap.sailing.domain.common/pom.xml index 5f896eb9cd0..493effbd498 100755 --- a/java/com.sap.sailing.domain.common/pom.xml +++ b/java/com.sap.sailing.domain.common/pom.xml @@ -1,62 +1,62 @@ - 4.0.0 - - root - com.sap.sailing - 1.0.0-SNAPSHOT - - com.sap.sailing.domain.common - eclipse-plugin - - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - 1.7 - 1.7 - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - - - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + root + com.sap.sailing + 1.0.0-SNAPSHOT + + com.sap.sailing.domain.common + eclipse-plugin + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.7 + 1.7 + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + + + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/com.sap.sailing.domain.shared.android/pom.xml b/java/com.sap.sailing.domain.shared.android/pom.xml index 1d175b22975..faa8527098a 100644 --- a/java/com.sap.sailing.domain.shared.android/pom.xml +++ b/java/com.sap.sailing.domain.shared.android/pom.xml @@ -1,63 +1,63 @@ - 4.0.0 - - root - com.sap.sailing - 1.0.0-SNAPSHOT - - com.sap.sailing.domain.shared.android - eclipse-plugin - - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - 1.7 - 1.7 - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - - - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - 4.3.0 - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + root + com.sap.sailing + 1.0.0-SNAPSHOT + + com.sap.sailing.domain.shared.android + eclipse-plugin + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.7 + 1.7 + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + + + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + 4.3.0 + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/com.sap.sailing.server.gateway.serialization.shared.android/pom.xml b/java/com.sap.sailing.server.gateway.serialization.shared.android/pom.xml index b9be255a28b..38a8b69b2e8 100644 --- a/java/com.sap.sailing.server.gateway.serialization.shared.android/pom.xml +++ b/java/com.sap.sailing.server.gateway.serialization.shared.android/pom.xml @@ -10,38 +10,38 @@ com.sap.sailing.server.gateway.serialization.shared.android eclipse-plugin - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - 1.7 - 1.7 - - - + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.7 + 1.7 + + + - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/com.sap.sse.common/pom.xml b/java/com.sap.sse.common/pom.xml index 3df5e43c281..eb918d91769 100644 --- a/java/com.sap.sse.common/pom.xml +++ b/java/com.sap.sse.common/pom.xml @@ -1,63 +1,63 @@ - 4.0.0 - - root - com.sap.sailing - 1.0.0-SNAPSHOT - - com.sap.sse.common - eclipse-plugin + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + root + com.sap.sailing + 1.0.0-SNAPSHOT + + com.sap.sse.common + eclipse-plugin - - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - 1.7 - 1.7 - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - - - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.7 + 1.7 + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + + + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/com.sap.sse.datamining.annotations/pom.xml b/java/com.sap.sse.datamining.annotations/pom.xml index aad0943afac..eef028bf898 100644 --- a/java/com.sap.sse.datamining.annotations/pom.xml +++ b/java/com.sap.sse.datamining.annotations/pom.xml @@ -1,53 +1,53 @@ - 4.0.0 - - root - com.sap.sailing - 1.0.0-SNAPSHOT - - com.sap.sse.datamining.annotations - eclipse-plugin - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - - - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + root + com.sap.sailing + 1.0.0-SNAPSHOT + + com.sap.sse.datamining.annotations + eclipse-plugin + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + + + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/com.sap.sse.security.common/pom.xml b/java/com.sap.sse.security.common/pom.xml index 2819a8b13ee..e2a941ded0a 100755 --- a/java/com.sap.sse.security.common/pom.xml +++ b/java/com.sap.sse.security.common/pom.xml @@ -11,43 +11,43 @@ eclipse-plugin - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/org.json.simple/pom.xml b/java/org.json.simple/pom.xml index aa0371bb42f..7ae5dba2e94 100644 --- a/java/org.json.simple/pom.xml +++ b/java/org.json.simple/pom.xml @@ -1,64 +1,64 @@ - 4.0.0 - - root - com.sap.sailing - 1.0.0-SNAPSHOT - - org.json.simple - 1.1.0-SNAPSHOT - eclipse-plugin - - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - 1.7 - 1.7 - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - generate-sources - - plugin-source - - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + root + com.sap.sailing + 1.0.0-SNAPSHOT + + org.json.simple + 1.1.0-SNAPSHOT + eclipse-plugin + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.7 + 1.7 + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + generate-sources + + plugin-source + + + + + + - - - with-mobile - - - ldi.releaseBuild - - - - - - com.simpligility.maven.plugins - android-maven-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - - - - - + + + with-mobile + + + ldi.releaseBuild + + + + + + com.simpligility.maven.plugins + android-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + diff --git a/java/pom.xml b/java/pom.xml index 16b0de453df..ba168751d39 100755 --- a/java/pom.xml +++ b/java/pom.xml @@ -357,27 +357,27 @@ - - org.codehaus.mojo - build-helper-maven-plugin - 1.9.1 - - - package - - attach-artifact - - - - - aar - ${project.build.directory}/${project.build.finalName}.aar - - - - - - + + org.codehaus.mojo + build-helper-maven-plugin + 1.9.1 + + + package + + attach-artifact + + + + + aar + ${project.build.directory}/${project.build.finalName}.aar + + + + + + diff --git a/mobile/com.sap.sailing.android.shared/pom.xml b/mobile/com.sap.sailing.android.shared/pom.xml index d4a34b503fa..64c5814649a 100644 --- a/mobile/com.sap.sailing.android.shared/pom.xml +++ b/mobile/com.sap.sailing.android.shared/pom.xml @@ -1,23 +1,23 @@ - 4.0.0 - - com.sap.sailing - mobile - 1.0.0-SNAPSHOT - - com.sap.sailing.android.shared - aar + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + com.sap.sailing + mobile + 1.0.0-SNAPSHOT + + com.sap.sailing.android.shared + aar - + com.android.support appcompat-v7 - aar + aar - + com.sap.sailing com.sap.sse.security.common @@ -25,7 +25,7 @@ aar compile - + com.sap.sailing com.sap.sse.shared.android @@ -33,7 +33,7 @@ aar compile - + com.sap.sailing com.sap.sse.datamining.annotations @@ -41,7 +41,7 @@ aar compile - + com.sap.sailing com.sap.sailing.domain.common @@ -49,7 +49,7 @@ aar compile - + com.sap.sailing com.sap.sailing.domain.shared.android @@ -57,7 +57,7 @@ aar compile - + com.sap.sailing com.sap.sailing.server.gateway.serialization.shared.android @@ -73,7 +73,7 @@ aar compile - + com.sap.sailing org.json.simple @@ -85,23 +85,23 @@ com.google.android.gms play-services-location - aar + aar - + ${android.api.groupId} android - + - - src - ${project.artifactId} - - - com.simpligility.maven.plugins - android-maven-plugin - - - + + src + ${project.artifactId} + + + com.simpligility.maven.plugins + android-maven-plugin + + + diff --git a/mobile/com.sap.sailing.racecommittee.app/pom.xml b/mobile/com.sap.sailing.racecommittee.app/pom.xml index ea3b52e0a34..a26a12256b0 100644 --- a/mobile/com.sap.sailing.racecommittee.app/pom.xml +++ b/mobile/com.sap.sailing.racecommittee.app/pom.xml @@ -1,113 +1,113 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 - - com.sap.sailing - mobile - 1.0.0-SNAPSHOT - + + com.sap.sailing + mobile + 1.0.0-SNAPSHOT + - com.sap.sailing - com.sap.sailing.racecommittee.app - apk + com.sap.sailing + com.sap.sailing.racecommittee.app + apk - - - com.sap.sailing.racecommittee.app.version - - ${rc-app-version} - + + + com.sap.sailing.racecommittee.app.version + + ${rc-app-version} + - - - ${android.api.groupId} - android - + + + ${android.api.groupId} + android + - - com.h6ah4i.android.widget.advrecyclerview - advrecyclerview - 0.6.2 - aar - - - com.android.support - recyclerview-v7 - - - com.android.support - appcompat-v7 - - - + + com.h6ah4i.android.widget.advrecyclerview + advrecyclerview + 0.6.2 + aar + + + com.android.support + recyclerview-v7 + + + com.android.support + appcompat-v7 + + + - - com.android.support - recyclerview-v7 - aar - + + com.android.support + recyclerview-v7 + aar + - - ${project.groupId} - com.sap.sailing.android.shared - ${project.version} - aar - + + ${project.groupId} + com.sap.sailing.android.shared + ${project.version} + aar + - - junit - junit - 4.8.2 - test - - - org.mockito - mockito-core - 1.10.16 - test - - + + junit + junit + 4.8.2 + test + + + org.mockito + mockito-core + 1.10.16 + test + + - - ${project.artifactId} - src - - - com.simpligility.maven.plugins - android-maven-plugin - - - alignApk - install - - zipalign - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-test-source - generate-test-sources - - add-test-source - - - - ${project.basedir}/tests-jvm/src - - - - - - - - + + ${project.artifactId} + src + + + com.simpligility.maven.plugins + android-maven-plugin + + + alignApk + install + + zipalign + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source + generate-test-sources + + add-test-source + + + + ${project.basedir}/tests-jvm/src + + + + + + + + non-leandi diff --git a/pom.xml b/pom.xml old mode 100644 new mode 100755 index 4e730b9e849..69a0a1f0717 --- a/pom.xml +++ b/pom.xml @@ -1,37 +1,37 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 - com.sap.sailing - workspace - 1.0.0-SNAPSHOT - pom + com.sap.sailing + workspace + 1.0.0-SNAPSHOT + pom - - java - + + java + - - - with-mobile - - - ldi.releaseBuild - - - - mobile - - - - - with-ios - - ios - - + + + with-mobile + + + ldi.releaseBuild + + + + mobile + + + + + with-ios + + ios + + leandi @@ -99,32 +99,32 @@ - + - - UTF-8 - UTF-8 - - 24.4 - 21.1 - 23.0.1 - 22.0.1 - 5.1 - 22_r02 - - - ${env.WORKSPACE} - ${ldi.android.sdk.parent.location}/android-sdk-windows - - 22 - android - 5.1.1_r2 - - - - - - + + UTF-8 + UTF-8 + + 24.4 + 21.1 + 23.0.1 + 22.0.1 + 5.1 + 22_r02 + + + ${env.WORKSPACE} + ${ldi.android.sdk.parent.location}/android-sdk-windows + + 22 + android + 5.1.1_r2 + + + + + + com.simpligility.maven.plugins android-maven-plugin @@ -139,7 +139,7 @@ - - - + + + diff --git a/wiki/onboarding.md b/wiki/onboarding.md index 12d24ae467a..d4a53baa226 100644 --- a/wiki/onboarding.md +++ b/wiki/onboarding.md @@ -67,11 +67,13 @@ First of all, make sure you've looked at http://www.amazon.de/Patterns-Elements- * Rebuild all projects 4. Run the Race Analysis Suite * Start the MongoDB - * Start the appropriate Eclipse launch configuration (e.g. 'Sailing Server (Proxy)') You´ll find this in the run dropdown - * Run "Security UI sdm" in the run dropdown - * Run "SailingGWT" in the run dropdown -5. Within the Race Analysis Suite + * Start the appropriate Eclipse launch configuration (e.g. 'Sailing Server (Proxy)') You´ll find this in the debug dropdown + * Run "Security UI sdm" in the debug dropdown + * Run "SailingGWT" in the debug dropdown +5. Import races within the Race Analysis Suite + * Choose "Security UI sdm" in the upper left corner of the "Development Mode" Tab in Eclipse and open "...Login.html" in your browser * Default Login: user "admin", password "admin" + * Choose "Sailing GWT" in the "Development Mode" Tab and open "...AdminConsole.html..." (It is normal that the first try fails. Reload the page after the first try) * For TracTrac Events: (Date 27.11.2012) Use Live URI tcp://10.18.22.156:4412, Stored URI tcp://10.18.22.156:4413, JSON URL http://germanmaster.traclive.dk/events/event_20120905_erEuropean/jsonservice.php * Press List Races