Commit Graph

37 Commits

Author SHA1 Message Date
Adrian Schmutzler 71802221a0 Remove hoodsv1 table and corresponding interface with KeyXchangeV1
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-05-11 23:52:32 +02:00
Adrian Schmutzler 6efd0bda59 api/alfred: Only use single hood for V1
This removes code to evaluate the position of a V1 router.

Distinction between Default and NoCoordinates is dropped.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-05-11 23:51:53 +02:00
Adrian Schmutzler 61e2e4600b MySQL: Make all hood IDs unsigned
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-05-11 23:50:08 +02:00
Adrian Schmutzler bb61351fbf Polyhoods: Introduce database support and read functions
Polyhoods need to be read manually. Running
scripts/readpolyhoods.py will erase both tables and reread data.

At the moment, the URL points to a test setup.

This requires changes to the MySQL database!

This is meant for later use and does NOT add any data to the
Monitoring at the moment.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-05-11 23:50:03 +02:00
Adrian Schmutzler 95a67bf0a4 db/*: Add quotes for all tables and fields
This is a cosmetic change only meant to harmonize style.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 14:14:10 +01:00
Adrian Schmutzler 0bf2312fe4 Global: Put hoods into table and use smallint for reference
This will reduce size of stats_hood and, more importantly,
make hood assignment independent of hood name changes:

Previouly: Name change = changing string in every place
Now: Name change = change of one table entry

This requires changes to the MySQL database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
Adrian Schmutzler b38af9a74b Global: Read V1 hoods from KeyXchange
This obsoletes the hood initialization file.

Hood are capitalized and "V1" is added at the end.

This may require a rename of the existing hood stats.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
Adrian Schmutzler 77bd43c73a Global: Add V2 hoods to table
This requires changes to the MySQL database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
Adrian Schmutzler 4f4452e06f db/*: Add missing commit to database
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-01-15 12:30:08 +01:00
Adrian Schmutzler 58a3747be8 MySQL: Reduce field size for hood to VARCHAR(30)
This is just a change of the database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-30 18:04:12 +01:00
Adrian Schmutzler 9ab707a214 MySQL: Apply changes leftover from modifications to db init files
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:06:16 +01:00
Adrian Schmutzler 9d167bdb86 Respect case in database and code
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-16 00:06:25 +01:00
Adrian Schmutzler e3fe995407 MySQL: alpha3
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-16 00:00:07 +01:00
Dominik Heidler f8c5913ad1 Commit unstaged changes from production instance 2017-08-21 11:49:26 +02:00
Dominik Heidler 96a8466e7a Merge pull request #58 from adridolf/consistent_hoodnames
Make capitalization and spelling of hoods consistent
2017-07-25 10:51:19 +02:00
Christian Dresel 216b0ec801 Projekt Hoodteilung extremo #9
Add Hood Erlenbach
2017-07-25 09:20:24 +02:00
Adrian Schmutzler 46dbde5c72 Make capitalization and spelling of hoods consistent
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-07-24 23:49:07 +02:00
Christian Dresel a3115c54d0 Projekt Hoodteilung extremo #8
Add Hood Coburg
2017-07-20 18:16:03 +02:00
Christian Dresel db4cd7d57f Projekt Hoodteilung extremo #7
Add Hood Lauf
2017-07-20 15:16:38 +02:00
Christian Dresel a1e7cf2650 Projekt Hoodteilung extremo #6
Add Hood Ebern
Re-positioned Hood Aschaffenburg
2017-07-19 17:10:17 +02:00
Christian Dresel 3e567ba07a Projekt Hoodteilung extremo #5
Add Hood Ebern
HoodID 25 is reserved for Coburg, it is created in the next steps
2017-07-17 20:31:34 +02:00
Christian Dresel 096c3a48fa Projekt Hoodteilung extremo #4
Re-positioned Hood Markredwitz
Re-positioned Hood Hof
Add Hood Fichtelberg
Add Hood Rehau
2017-07-17 16:20:19 +02:00
Christian Dresel 12384f2f5a Projekt Hoodteilung extremo #3
Add Hood Bayreuth
HoodID 21 is reserved for Lauf, it is created in the next steps
2017-07-17 10:56:43 +02:00
Christian Dresel e15c8908bf Projekt Hoodteilung extremo #2
Add Hood Ebermannstadt
2017-07-16 22:34:32 +02:00
Christian Dresel d9e70533ca Projekt Hoodteilung extremo #1
Re-positioned Hood Adelsdorf
Re-positioned Hood Forchheim
Add Hood ErlangenWest
2017-07-16 11:55:10 +02:00
moexe 576c8dd0c0 adding hood Schweinfurt to hoods.py 2017-05-19 22:56:07 +02:00
Steffen Pankratz 138c8c81b8 Added hood Adelsdorf.
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2017-03-23 19:24:49 +01:00
Steffen Pankratz 3db647d40f Re-positioned hood HassbergeSued
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-09-17 09:53:58 +02:00
Steffen Pankratz 626595ad17 Re-positioned hood Hof
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-13 18:10:09 +02:00
Steffen Pankratz a8b38bc808 Added hood Muenchberg
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-13 18:10:09 +02:00
Steffen Pankratz 392d6adce8 Added hood Forchheim
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-13 18:10:09 +02:00
Steffen Pankratz 1698047715 Added hood Bamberg
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-13 18:09:44 +02:00
Steffen Pankratz d95604688d Added hood Marktredwitz
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-02 19:13:56 +02:00
Steffen Pankratz 9ec37e715b Added hood Aschaffenburg
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2016-07-02 19:13:56 +02:00
Dominik Heidler ae75d547f9 Add hood: hof 2016-04-28 17:43:55 +02:00
Dominik Heidler 36938ad60a new hood: nbgland 2015-11-27 15:59:09 +01:00
Dominik Heidler 84cf486269 reorganize folder structure 2015-10-12 15:08:28 +02:00