From 8ce6a8dd66afa73d228d26d2afd42e600e4edb0f Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 21 Nov 2017 15:56:27 +0100 Subject: [PATCH] update: install_script and config --- config/config.cfg.default | 3 ++- install_dependencies.sh | 6 ++++++ templates/trendings.html | 4 ---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config/config.cfg.default b/config/config.cfg.default index 51cf3bc..cdb6eed 100644 --- a/config/config.cfg.default +++ b/config/config.cfg.default @@ -27,7 +27,7 @@ rankMultiplier = 2 categories_in_datatable = ["internal_reference", "targeting_data", "antivirus_detection", "payload_delivery", "artifacts_dropped", "payload_installation", "persistence_mechanism", "network_activity", "payload_type", "attribution", "external_analysis", "financial_fraud", "support_Tool", "social_network", "person", "other" ] default_pnts_per_contribution = 1 # array of the form [[category, pntsRcv], ...] -pnts_per_contribution = [["payload_delivery", 1], ["artifact_dropped", 1], ["network_activity", 1]] +pnts_per_contribution = [["payload_delivery", 1], ["artifacts_dropped", 1], ["network_activity", 1]] additional_help_text = ["Sightings multiplies earned points by 2", "Editing an attribute earns you the same as creating one"] [Log] @@ -47,6 +47,7 @@ zmq_url=tcp://localhost:50000 db=0 channel=1 channelLastContributor = lastContributor +channelLastAwards = lastAwards [RedisMap] db=1 diff --git a/install_dependencies.sh b/install_dependencies.sh index b8bfe64..e3e5c14 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -102,4 +102,10 @@ wget https://cdn.datatables.net/${DATATABLE_VERSION}/js/dataTables.bootstrap.js git clone https://github.com/bassjobsen/Bootstrap-3-Typeahead.git temp/Bootstrap-3-Typeahead mv temp/Bootstrap-3-Typeahead/bootstrap3-typeahead.min.js ./static/js +#punchcard +git clone https://github.com/melenaos/jquery-punchcard.git tmep/jquery-punchcard +mv temp/jquery-punchcard/src/punchcard.js ./static/js +mv temp/jquery-punchcard/src/punchcard.css ./static/css +wget https://momentjs.com/downloads/moment.js -O ./static/js + rm -rf ./temp diff --git a/templates/trendings.html b/templates/trendings.html index f6e3784..924e316 100644 --- a/templates/trendings.html +++ b/templates/trendings.html @@ -36,10 +36,6 @@ - - - -