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 e0424d6..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 diff --git a/import b/import index 34587fc..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 diff --git a/index b/index index 26dc3c6..1741939 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 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..637238d 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 \ 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 0dce2ce..29d8868 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=/var/www/ingRRD/cache