• exec/load/openweathermap.

    From echicken@VERT to CVS commit on Sunday, January 06, 2019 07:32:00
    exec/load openweathermap.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27185

    Added Files:
    openweathermap.js
    Log Message:
    Barebones interface to the openweathermap.org web API.
    Cache and rate limiting is useless right now unless calling script is long-lived.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, January 06, 2019 07:58:00
    exec/load openweathermap.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv30225

    Modified Files:
    openweathermap.js
    Log Message:
    File-based cache and rate-limiting.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, January 06, 2019 08:13:00
    exec/load openweathermap.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31690

    Modified Files:
    openweathermap.js
    Log Message:
    Use system.temp_dir instead of polluting system.data_dir.
    Instead of one large cache file, one file per endpoint + param set.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, January 06, 2019 23:27:00
    exec/load openweathermap.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29274

    Modified Files:
    openweathermap.js
    Log Message:
    Some convenience methods for temperature conversion & wind direction from degrees.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Monday, January 07, 2019 00:58:00
    exec/load openweathermap.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7930

    Modified Files:
    openweathermap.js
    Log Message:
    Simplified wind direction from degrees thing.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Monday, January 07, 2019 04:48:00
    exec/load openweathermap.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8091

    Modified Files:
    openweathermap.js
    Log Message:
    Pass freedom units of temperature measurement through Math.round().
    Use 'dt' value of API response to determine whether to update cache, rather than time since last fetch. New data may appear sooner.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Monday, January 21, 2019 23:04:00
    exec/load openweathermap.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv22526

    Modified Files:
    openweathermap.js
    Log Message:
    Added 'raw' parameter to call_api, for fetching non-JSON data.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Wednesday, May 15, 2019 16:05:00
    exec/load openweathermap.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19246

    Modified Files:
    openweathermap.js
    Log Message:
    don't crash if there is no openweathermap section in modopts.ini


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Wednesday, May 15, 2019 16:40:00
    exec/load openweathermap.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4859

    Modified Files:
    openweathermap.js
    Log Message:
    throw exception on no api key found in modopts.ini


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net