Skip to content
Branch: unittest_docker
Commits on Jul 13, 2019
  1. add unittests to travis

    spiccinini committed Jul 13, 2019
Commits on Jul 3, 2019
  1. add run_tests helper

    spiccinini committed Jul 3, 2019
  2. lime.config: fix minor bug when getting a false value from uci

    spiccinini committed Jul 3, 2019
    this probably never gets triggered in the field but the code is
    clearer comparing to nil and not to a boolean value.
  3. lime.config: refactor prints into log function

    spiccinini committed Jul 3, 2019
    this allows disabling the verbosity from the tests
Commits on Jun 22, 2019
Commits on Jun 19, 2019
Commits on Jun 17, 2019
  1. Merge pull request libremesh#532 from libremesh/fix-lime-ubus

    nicopace committed Jun 17, 2019
    Fix lime ubus
  2. Merge pull request libremesh#531 from G10h4ck/dhcp_lease_reserve

    spiccinini committed Jun 17, 2019
    shared-state fix cgi-bin script permissions
Commits on Jun 15, 2019
  1. Merge pull request libremesh#530 from spiccinini/thisnode_translation

    spiccinini committed Jun 15, 2019
    add dns entry (like
Commits on Jun 13, 2019
  1. Merge pull request libremesh#529 from G10h4ck/dhcp_lease_reserve

    gmarcos87 committed Jun 13, 2019
    Multiple improvements to shared-state
  2. add hotplug-initd-services

    G10h4ck committed Jun 13, 2019
    This package provide an observer for init services and trigger hotplug
      hooks when services start/stop
Commits on Jun 12, 2019
Commits on Jun 11, 2019
  1. shared-state improvements

    G10h4ck committed Jun 11, 2019
    refactor shared-state into a Lua library
    move from ctl (changes to live) which made time duration of an entry
      difficult to predict to bleachTTL with deterministic aging
    avoid duplicated entry warning in dnsmasq by not including locally
      generated entries into remote files
  2. remove \n in get_gateway

    gmarcos87 committed Jun 11, 2019
  3. shared-state avoid dependence from clock

    G10h4ck committed Jun 11, 2019
    Use a Changes To Live counter instead of a timestamp to decide when an
      entry should expire, the good part is that we don't depend on clock,
      the bad part is that it is not trivial to extimate how much an entry
      will stay in the shared state, as it depends on how often the state
  4. Improve shared-state performances

    G10h4ck committed Jun 11, 2019
    lock only when strictly necessary
  5. shared-state-dnsmasq-leases share static leases too

    G10h4ck committed Jun 11, 2019
    scrape /etc/dnsmasq.d/*.conf files looking for
      lines and share those static leases too
    Fix config file name in uci-defaults
Commits on Jun 10, 2019
  1. Merge pull request libremesh#526 from gmarcos87/master

    G10h4ck committed Jun 10, 2019
    Fix some uci-defaults files
  2. Merge pull request libremesh#525 from G10h4ck/date_improvements

    nicopace committed Jun 10, 2019
    Obsolete shared-state-date package and add an alternative that should work much better in common scenarios
  3. Add package to check date via HTTP

    G10h4ck committed Jun 10, 2019
    NTP daemon shipped with busybox is not capable to gracefully handle
    cases of extreme time skew, that are common enough in some community
    networks, this package detect that situation and restart sysntpd and/or
    reset the date depending on the configuration.
Commits on Jun 9, 2019
  1. Merge pull request libremesh#524 from G10h4ck/hotfix_shared-state_cgi…

    nicopace committed Jun 9, 2019
    Fix shared-state cgi-bin script /tmp/lua_* pollution
  2. Fix shared-state cgi-bin script /tmp/lua_* pollution

    G10h4ck committed Jun 9, 2019
    Due to the fact that uhttpd may interrupt the script for various reasons
    and the incapability to handle signals in lua without requiring more
    dependencies, the cgi-bin script could terminate without cleaning up the
    temporary files created.
    The script should just check params and call shared-state.
    So to reasonably solve this problem I just rewrote it in ASH that doesn't
    require temporary files at all.
  3. Merge pull request libremesh#523 from libremesh/own-ip-filter-narrowing

    gmarcos87 committed Jun 9, 2019
    Corrects own ip filtering
  4. Corrects own ip filtering

    nicopace committed Jun 9, 2019
    It was selecting too much, filtering out ip6 that partially matched with short ips.
Commits on Jun 6, 2019
  1. Merge pull request libremesh#2 from gmarcos87/fix-uci-defaults

    gmarcos87 committed Jun 6, 2019
    Fix uci defaults
You can’t perform that action at this time.