Skip to content
Snippets Groups Projects
Select Git revision
  • ac84ddf10135b62d32504f2035e1c7f06b0593e6
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-07-04
  • experimental-2025-07-04-base
  • experimental-2025-07-01
  • experimental-2025-07-01-base
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
41 results

site_config.lua

Blame
  • config.js 2.51 KiB
    /*
     * 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 <http://www.gnu.org/licenses/>.
     */
    
    var config = {
      // list images on console that match no model
      listMissingImages: true,
      // see devices.js for different vendor model maps
      vendormodels: vendormodels,
      // set enabled categories of devices (see devices.js)
      enabled_device_categories: ["recommended", "ath10k_lowmem", "4_32", "8_32", "16_32"],
      // Display a checkbox that allows to display not recommended devices.
      // This only make sense if enabled_device_categories also contains not
      // recommended devices.
      recommended_toggle: true,
      // community prefix of the firmware images
      community_prefix: 'gluon-ffs-',
      // firmware version regex
      version_regex: "-([0-9]+\.[0-9]+[+][0-9]{4}-[0-9]{2}-[0-9]{2}-g\.[a-f0-9]+-s\.[a-f0-9]+-)",
      prettyPrintVersionRegex: "([0-9]+\.[0-9]+)", // removes +2017-09-13-g.d722c26-s.b0e5e48
      // relative image paths and branch
      directories: {
        //'../gluon/stable/factory/': 'stable',
        '../gluon/archive/1.7/images/sysupgrade/': 'stable',
        '../gluon/archive/1.7/images/factory/': 'stable',
        '../gluon/archive/1.7/images/other/': 'stable',
        '../gluon/beta/images/sysupgrade/': 'beta',
        '../gluon/beta/images/factory/': 'beta',
        '../gluon/beta/images/other/': 'beta',
        '../gluon/nightly/images/sysupgrade/': 'nightly',
        '../gluon/nightly/images/factory/': 'nightly',
        '../gluon/nightly/images/other/': 'nightly'
      },
      // page title
      title: 'Firmware',
      // branch descriptions shown during selection
      branch_descriptions: {
        nightly: 'Ungetestet, automatisch generiert.'
      },
      // recommended branch will be marked during selection
      recommended_branch: 'nightly',
      // experimental branches (show a warning for these branches)
      experimental_branches: ['beta', 'nightly'],
      // path to preview pictures directory
      preview_pictures: 'pictures/',
      // link to changelog
      changelog: 'https://gitlab.freifunk-stuttgart.de/firmware/site-ffs/-/tags'
    };