const FooterPun = require("./models/footerPun");
const BreakInfo = require("./models/breakInfo");

module.exports = {
    settings: {
        useRandomFooterPuns: false,
        defaultFooterPun: "christmas",
        winterTheme: true
    },
    onBreak: {
        //The dates are only rendered, never used for checking if closed!
        mensa: new BreakInfo("Weihnachtspause", "Das Mensa-Team wünscht ein besinnliches Weihnachtsfest.", "22.12 ", "8.1", "fa-snowflake-o")
    },
    cache: {
        redisUrl: "//localhost:6379",
        // Time in miliseconds -> 20 min.
        intervall: 1200000,
        overallVisitorKey: "overallVisitors",
        dailyVisitorKey: "dailyVisitors"
    },
    scraper: {
        mensaUrl: "http://menu.mensen.at/index/index/locid/45",
        uniwirtUrl: "http://www.uniwirt.at",
        mittagstischUrl: "http://www.lakeside-scitec.com/services/gastronomie/mittagstisch/",
        unipizzeriaUrl: "http://www.uni-pizzeria.at/speisen/mittagsteller.html"
    },
    userFriendlyUrls: {
        //Usually the same as the scraper ones
        mensa: "http://menu.mensen.at/index/index/locid/45",
        uniwirt: "http://www.uniwirt.at",
        mittagstisch: "http://www.lakeside-scitec.com/services/gastronomie/mittagstisch/",
        "uni-pizzeria": "http://www.uni-pizzeria.at/speisen/mittagsteller.html"
    },
    cookie: {
        // 30 days in milliseconds
        maxAge: 2592000000
    },
    externalApis: {
        paramKey: "${param}",
        numbersApi: "http://numbersapi.com/${param}",
        catFactsApi: "http://catfacts-api.appspot.com/api/facts?number=1", //We want to work with single facts, so number is not a param here
        placeKittenApi: "https://placekitten.com/${param}/200",
        placeKittenWidth: 700,
        placeKittenWidthSpan: 200
    },
    footerPuns: [
        new FooterPun("heart", "Crafted with", "fa-heart"),
        new FooterPun("christmas", "Frohe Weihnachten!", "fa-snowflake-o"),
        new FooterPun("empire", "Constructed for the", "fa-empire", "http://starwars.wikia.com/wiki/Galactic_Empire"),
        new FooterPun("rebellion", "Join the", "fa-rebel", "http://starwars.wikia.com/wiki/Alliance_to_Restore_the_Republic"),
        new FooterPun("lizardpaper", "<i class='fa fa-fw fa-hand-lizard-o'></i> eats", "fa-hand-paper-o")
        /*      new FooterPun("star", "Hey look!", "fa-star fa-spin", null, " It's spinning!"),
         new FooterPun("keyboard", "Use your ", "fa-keyboard-o", null, " arrows on desktop!"),
         new FooterPun("infinity", "To infinity ", "fa-space-shuttle", null, " and beyond!")*/
    ],
    snowFall: {
        particles: 50
    }
};

@@ -1156,32 +1156,48 @@
 //www.uniwirt.at
+/wp/home/mittag/
 %22,%0A        mitta

change userfriendly url for uniwirt