diff --git a/add b/add index cfc90ea..84a3eb7 100755 --- a/add +++ b/add @@ -1,7 +1,7 @@ #!/bin/bash # IngRRD (https://forge.riquer.fr/p/ingrrd/) -# Copyright (C) 2014 Vincent Riquer +# Copyright (C) 2014-2015 Vincent Riquer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/add.html b/add.html index 55f5a24..43cc39b 100755 --- a/add.html +++ b/add.html @@ -1,7 +1,7 @@ #!/bin/bash # IngRRD (https://forge.riquer.fr/p/ingrrd/) -# Copyright (C) 2014 Vincent Riquer +# Copyright (C) 2014-2015 Vincent Riquer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -42,48 +42,10 @@ cat <<-EOHTML EOHTML if ! [ -w "$rrdfile" ] then - rrdtool create ingress.rrd -s $((60*60)) \ - DS:AP:GAUGE:$((2*24*60*60)):0:NaN \ - DS:Explorer:GAUGE:$((48*60*60)):0:NaN \ - DS:Seer:GAUGE:$((48*60*60)):0:NaN \ - DS:XM:GAUGE:$((48*60*60)):0:NaN \ - DS:Hacker:GAUGE:$((48*60*60)):0:NaN \ - DS:Builder:GAUGE:$((48*60*60)):0:NaN \ - DS:Connector:GAUGE:$((48*60*60)):0:NaN \ - DS:Mind_Controller:GAUGE:$((48*60*60)):0:NaN \ - DS:MU:GAUGE:$((48*60*60)):0:NaN \ - DS:Longest_Link:GAUGE:$((48*60*60)):0:NaN \ - DS:Largest_Field:GAUGE:$((48*60*60)):0:NaN \ - DS:Recharger:GAUGE:$((48*60*60)):0:NaN \ - DS:Liberator:GAUGE:$((48*60*60)):0:NaN \ - DS:Pioneer:GAUGE:$((48*60*60)):0:NaN \ - DS:Purifier:GAUGE:$((48*60*60)):0:NaN \ - DS:Neutralized:GAUGE:$((48*60*60)):0:NaN \ - DS:Links_Destroyed:GAUGE:$((48*60*60)):0:NaN \ - DS:Fields_Destroyed:GAUGE:$((48*60*60)):0:NaN \ - DS:Walked:GAUGE:$((48*60*60)):0:NaN \ - DS:Guardian:GAUGE:$((48*60*60)):0:NaN \ - DS:Link_Maintained:GAUGE:$((48*60*60)):0:NaN \ - DS:Link_Length_x_Days:GAUGE:$((48*60*60)):0:NaN \ - DS:Field_Held:GAUGE:$((48*60*60)):0:NaN \ - DS:Field_x_Days:GAUGE:$((48*60*60)):0:NaN \ - DS:Mercenary:GAUGE:$((48*60*60)):0:NaN \ - DS:Engineer:GAUGE:$((48*60*60)):0:NaN \ - DS:Recruiter:GAUGE:$((48*60*60)):0:NaN \ - DS:Translator:GAUGE:$((48*60*60)):0:NaN \ - DS:Hackaton:GAUGE:$((48*60*60)):0:NaN \ - RRA:HWPREDICT:8760:8e-1:8e-1:$((24)) \ - RRA:AVERAGE:99e-2:1:$((24*15)) \ - RRA:MAX:99e-2:1:$((24*15)) \ - RRA:AVERAGE:99e-2:4:$((24*180)) \ - RRA:MAX:99e-2:4:$((24*180)) \ - RRA:AVERAGE:99e-2:24:$(((4*365)+1)) \ - RRA:MAX:99e-2:24:$(((4*365)+1)) \ - RRA:AVERAGE:99e-2:$((24*30)):$(((32*365)+8)) \ - RRA:MAX:99e-2:$((24*30)):$(((32*365)+8)) \ - || { + rrdcreate || { cat <<-EOHTML

Cannot create $rrdfile

+ EOHTML diff --git a/import b/import index 9d370f7..753f8d5 100755 --- a/import +++ b/import @@ -1,7 +1,7 @@ #!/bin/bash # IngRRD (https://forge.riquer.fr/p/ingrrd/) -# Copyright (C) 2014 Vincent Riquer +# Copyright (C) 2014-2015 Vincent Riquer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -101,46 +101,7 @@ else EOHTML if ! [ -w "$rrdfile" ] then - rrdtool create "$rrdfile" -s $((60*60)) \ - DS:AP:GAUGE:$((2*24*60*60)):0:NaN \ - DS:Explorer:GAUGE:$((48*60*60)):0:NaN \ - DS:Seer:GAUGE:$((48*60*60)):0:NaN \ - DS:XM:GAUGE:$((48*60*60)):0:NaN \ - DS:Hacker:GAUGE:$((48*60*60)):0:NaN \ - DS:Builder:GAUGE:$((48*60*60)):0:NaN \ - DS:Connector:GAUGE:$((48*60*60)):0:NaN \ - DS:Mind_Controller:GAUGE:$((48*60*60)):0:NaN \ - DS:MU:GAUGE:$((48*60*60)):0:NaN \ - DS:Longest_Link:GAUGE:$((48*60*60)):0:NaN \ - DS:Largest_Field:GAUGE:$((48*60*60)):0:NaN \ - DS:Recharger:GAUGE:$((48*60*60)):0:NaN \ - DS:Liberator:GAUGE:$((48*60*60)):0:NaN \ - DS:Pioneer:GAUGE:$((48*60*60)):0:NaN \ - DS:Purifier:GAUGE:$((48*60*60)):0:NaN \ - DS:Neutralized:GAUGE:$((48*60*60)):0:NaN \ - DS:Links_Destroyed:GAUGE:$((48*60*60)):0:NaN \ - DS:Fields_Destroyed:GAUGE:$((48*60*60)):0:NaN \ - DS:Walked:GAUGE:$((48*60*60)):0:NaN \ - DS:Guardian:GAUGE:$((48*60*60)):0:NaN \ - DS:Link_Maintained:GAUGE:$((48*60*60)):0:NaN \ - DS:Link_Length_x_Days:GAUGE:$((48*60*60)):0:NaN \ - DS:Field_Held:GAUGE:$((48*60*60)):0:NaN \ - DS:Field_x_Days:GAUGE:$((48*60*60)):0:NaN \ - DS:Mercenary:GAUGE:$((48*60*60)):0:NaN \ - DS:Engineer:GAUGE:$((48*60*60)):0:NaN \ - DS:Recruiter:GAUGE:$((48*60*60)):0:NaN \ - DS:Translator:GAUGE:$((48*60*60)):0:NaN \ - DS:Hackaton:GAUGE:$((48*60*60)):0:NaN \ - RRA:HWPREDICT:8760:8e-1:8e-1:$((24)) \ - RRA:AVERAGE:99e-2:1:$((24*15)) \ - RRA:MAX:99e-2:1:$((24*15)) \ - RRA:AVERAGE:99e-2:4:$((24*180)) \ - RRA:MAX:99e-2:4:$((24*180)) \ - RRA:AVERAGE:99e-2:24:$(((4*365)+1)) \ - RRA:MAX:99e-2:24:$(((4*365)+1)) \ - RRA:AVERAGE:99e-2:$((24*30)):$(((32*365)+8)) \ - RRA:MAX:99e-2:$((24*30)):$(((32*365)+8)) \ - || { + rrdcreate || { cat <<-EOHTML

Cannot create $rrdfile

diff --git a/index b/index index 26dc3c6..01f169f 100755 --- a/index +++ b/index @@ -1,7 +1,7 @@ #!/bin/bash # IngRRD (https://forge.riquer.fr/p/ingrrd/) -# Copyright (C) 2014 Vincent Riquer +# Copyright (C) 2014-2015 Vincent Riquer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -174,8 +174,12 @@ then && maxtimestamp=$timestamp for stat in ${nextsilver[timestamp]} do - tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} silver)" ) - tableline+=( '
' ) + if ! (( shown["$stat silver"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat silver"]=1 + fi (( ++count == lvlsilver[level] - silvercount )) && break 2 done fi @@ -184,8 +188,12 @@ then do (( count >= lvlsilver[level] - silvercount )) && break 1 (( count < lvlsilver[level] - silvercount )) && never=1 - tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} silver)" ) - tableline+=( '
' ) + if ! (( shown["$stat silver"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat silver"]=1 + fi (( count++ )) done tableline+=( '' ) @@ -205,8 +213,12 @@ then && maxtimestamp=$timestamp for stat in ${nextgold[timestamp]} do - tableline+=( "$(print_medal $timestamp $stat ${upgold[$stat]:-0} gold)" ) - tableline+=( '
' ) + if ! (( shown["$stat gold"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upgold[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat gold"]=1 + fi (( ++count == lvlgold[level] - goldcount )) && break 2 done fi @@ -215,8 +227,12 @@ then do (( count >= lvlgold[level] - goldcount )) && break 1 (( count < lvlgold[level] - goldcount )) && never=1 - tableline+=( "$(print_medal $timestamp $stat ${upgold[$stat]:-0} gold)" ) - tableline+=( '
' ) + if ! (( shown["$stat gold"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upgold[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat gold"]=1 + fi (( count++ )) done tableline+=( '' ) @@ -236,8 +252,12 @@ then && maxtimestamp=$timestamp for stat in ${nextplatinum[timestamp]} do - tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} platinum)" ) - tableline+=( '
' ) + if ! (( shown["$stat platinum"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat platinum"]=1 + fi (( ++count == lvlplatinum[level] - platinumcount )) && break 2 done fi @@ -246,8 +266,12 @@ then do (( count >= lvlplatinum[level] - platinumcount )) && break 1 (( count < lvlplatinum[level] - platinumcount )) && never=1 - tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} platinum)" ) - tableline+=( '
' ) + if ! (( shown["$stat platinum"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat platinum"]=1 + fi (( count++ )) done tableline+=( '' ) @@ -267,8 +291,12 @@ then && maxtimestamp=$timestamp for stat in ${nextblack[timestamp]} do - tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} black)" ) - tableline+=( '
' ) + if ! (( shown["$stat black"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat black"]=1 + fi (( ++count == lvlblack[level] - blackcount )) && break 2 done fi @@ -277,8 +305,12 @@ then do (( count >= lvlblack[level] - blackcount )) && break 1 (( count < lvlblack[level] - blackcount )) && never=1 - tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} black)" ) - tableline+=( '
' ) + if ! (( shown["$stat black"] )) + then + tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} gold)" ) + tableline+=( '
' ) + shown["$stat black"]=1 + fi (( count++ )) done tableline+=( '' ) diff --git a/ingress.xml b/ingress.xml index 9b29478..481c540 100644 --- a/ingress.xml +++ b/ingress.xml @@ -1,5 +1,22 @@ + 0003 diff --git a/ingrrd.css b/ingrrd.css index d85715b..eca101d 100644 --- a/ingrrd.css +++ b/ingrrd.css @@ -1,6 +1,6 @@ /* * IngRRD (https://forge.riquer.fr/p/ingrrd/) - * Copyright (C) 2014 Vincent Riquer + * Copyright (C) 2014-2015 Vincent Riquer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/get_current_level b/lib/get_current_level index 12392ea..7404fd6 100644 --- a/lib/get_current_level +++ b/lib/get_current_level @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + get_current_level() { for level in {1..16} do diff --git a/lib/get_next_level b/lib/get_next_level index c53894a..1cc3247 100644 --- a/lib/get_next_level +++ b/lib/get_next_level @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + get_next_level() { local level next=() diff --git a/lib/globals b/lib/globals index 199d439..b083464 100644 --- a/lib/globals +++ b/lib/globals @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + declare -A \ last \ nosilver \ @@ -17,6 +33,7 @@ declare -A \ hasplatinum \ hasblack \ first \ + shown \ declare -a \ bronzes \ diff --git a/lib/image b/lib/image index 58e7e2e..4dbfb3e 100755 --- a/lib/image +++ b/lib/image @@ -44,6 +44,8 @@ image() { case "$line" in 'Error, please try again.') # Ingress failed when generating image, ignore file. + echo $'\tFailed capture, file removed.' + rm "$1" return 3 ;; #14,522,411 AP 144mm AP diff --git a/lib/import_images b/lib/import_images index d033a63..5d5e668 100644 --- a/lib/import_images +++ b/lib/import_images @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import_images() { local starttime=$(date +%s) imagetime timestamp elapsed lasttime now exec >> images.log diff --git a/lib/medals b/lib/medals index 469035e..5983cf8 100644 --- a/lib/medals +++ b/lib/medals @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + medals() { local \ stat \ diff --git a/lib/print_medal b/lib/print_medal index 7ae0962..5d07cc8 100644 --- a/lib/print_medal +++ b/lib/print_medal @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + print_medal() { local \ timestamp=$1 \ diff --git a/lib/read_query_string b/lib/read_query_string index c8be5ea..abe7f3d 100644 --- a/lib/read_query_string +++ b/lib/read_query_string @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + read_query_string() { local \ exprgraph \ diff --git a/lib/readlast b/lib/readlast index 3d3944a..70f6fe3 100644 --- a/lib/readlast +++ b/lib/readlast @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + readlast() { local \ index \ diff --git a/lib/readold b/lib/readold index 9bdb849..cb3c4de 100644 --- a/lib/readold +++ b/lib/readold @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + readold() { local when=$1 \ line \ diff --git a/lib/rrdcreate b/lib/rrdcreate index 69be12f..18c043f 100644 --- a/lib/rrdcreate +++ b/lib/rrdcreate @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + rrdcreate() { rrdtool restore ingress.xml "$rrdfile" } diff --git a/lib/send_headers b/lib/send_headers index f7a38ad..f163bc3 100644 --- a/lib/send_headers +++ b/lib/send_headers @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + send_headers() { local timestamp do_exit header thisdate expiredate read timestamp < <(stat -c %Y $0 settings "$rrdfile" lib/* .importing 2>/dev/null|sort -r) diff --git a/lib/show_current_level b/lib/show_current_level index 842a4be..fad319f 100644 --- a/lib/show_current_level +++ b/lib/show_current_level @@ -1,5 +1,21 @@ #!/bin/bash +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + show_current_level() { cat <<-EOHTML diff --git a/nginx.example.conf b/nginx.example.conf index cb59f5d..acb89b4 100644 --- a/nginx.example.conf +++ b/nginx.example.conf @@ -1,3 +1,19 @@ +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + server { listen 80; listen [::]:80; diff --git a/settings b/settings index 4eaca83..b0dc14e 100644 --- a/settings +++ b/settings @@ -1,3 +1,19 @@ +# IngRRD (https://forge.riquer.fr/p/ingrrd/) +# Copyright (C) 2014-2015 Vincent Riquer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + # Path to your fastcgi_cache (optional). CACHE_DIR=/web/ingress-stats.riquer.fr/cache/ @@ -224,3 +240,9 @@ silver["Translator"]=2000 gold["Translator"]=6000 platinum["Translator"]=20000 black["Translator"]=50000 + +#bronze[""]= +#silver[""]= +#gold[""]= +#platinum[""]= +#black[""]=