<commit_before>#!/bin/sh

# This script will start the federated wave server.
# Please see http://code.google.com/p/wave-protocol/wiki/Installation for
# instructions on how to configure the flags.
#
# The following is an example configuration, please take care to configure
# your instance correctly.

# Comment out the next line by putting a # at the front, once you have
# changed the flags.

echo "You need to edit the run-server.sh script" ; exit 0

PRIVATE_KEY_FILENAME=your_private_keyfile.key
CERTIFICATE_FILENAME_LIST=certificate_file.cert
CERTIFICATE_DOMAIN_NAME=yourdomainnamehere

XMPP_SERVER_HOSTNAME=$CERTIFICATE_DOMAIN_NAME
XMPP_SERVER_IP=$XMPP_SERVER_HOSTNAME
XMPP_SERVER_SECRET="opensesame"

java -jar dist/fedone-0.2.jar \
  --client_frontend_hostname=127.0.0.1 \
  --client_frontend_port=9876 \
  --xmpp_component_name=wave \
  --xmpp_server_hostname=$XMPP_SERVER_HOSTNAME \
  --xmpp_server_ip=$XMPP_SERVER_IP \
  --xmpp_server_port=5275 \
  --xmpp_server_secret $XMPP_SERVER_SECRET \
  --xmpp_server_ping="" \
  --certificate_private_key=$PRIVATE_KEY_FILENAME \
  --certificate_files=$CERTIFICATE_FILENAME_LIST \
  --certificate_domain=$CERTIFICATE_DOMAIN_NAME \
  --waveserver_disable_verification=false

<commit_msg> Disable verification by default until we have necessary protocol updates in place to allow correct verification (we need signed deltas to be passed as bytes).<commit_after>#!/bin/sh

# This script will start the federated wave server.
# Please see http://code.google.com/p/wave-protocol/wiki/Installation for
# instructions on how to configure the flags.
#
# The following is an example configuration, please take care to configure
# your instance correctly.

# Comment out the next line by putting a # at the front, once you have
# changed the flags.

echo "You need to edit the run-server.sh script" ; exit 0

PRIVATE_KEY_FILENAME=your_private_keyfile.key
CERTIFICATE_FILENAME_LIST=certificate_file.cert
CERTIFICATE_DOMAIN_NAME=yourdomainnamehere

XMPP_SERVER_HOSTNAME=$CERTIFICATE_DOMAIN_NAME
XMPP_SERVER_IP=$XMPP_SERVER_HOSTNAME
XMPP_SERVER_SECRET="opensesame"

java -jar dist/fedone-0.2.jar \
  --client_frontend_hostname=127.0.0.1 \
  --client_frontend_port=9876 \
  --xmpp_component_name=wave \
  --xmpp_server_hostname=$XMPP_SERVER_HOSTNAME \
  --xmpp_server_ip=$XMPP_SERVER_IP \
  --xmpp_server_port=5275 \
  --xmpp_server_secret $XMPP_SERVER_SECRET \
  --xmpp_server_ping="" \
  --certificate_private_key=$PRIVATE_KEY_FILENAME \
  --certificate_files=$CERTIFICATE_FILENAME_LIST \
  --certificate_domain=$CERTIFICATE_DOMAIN_NAME \
  --waveserver_disable_verification=true

{'fraction_non_alphanumeric': 0.0866412213740458, 'fraction_numerical': 0.012977099236641221, 'mean_word_length': 5.181603773584905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4460285', 'n_tokens_mistral': 959, 'n_tokens_neox': 914, 'n_words': 191}