Commit Graph

454 Commits

Author SHA1 Message Date
Bart Van Der Meerssche 304dbbb803 [api] add support for logging to the Drupal watchdog table 2011-03-29 07:45:59 +00:00
Bart Van Der Meerssche 1cba075938 [api] port night rrd updates to webmachine api 2011-03-28 20:21:38 +00:00
Bart Van Der Meerssche d767c50287 [api] move base and night paths to defines 2011-03-27 19:48:17 +00:00
Bart Van Der Meerssche c9f3eb8431 [api] correct the comment on JSON -> Mochijson2 conversion 2011-03-27 19:18:13 +00:00
Bart Van Der Meerssche 7e37088e7d [api] remove X-Device form the POST header 2011-03-27 11:22:34 +00:00
Bart Van Der Meerssche b157a5dc72 [api] use sensor id to determine the corresponding hash key 2011-03-27 11:19:58 +00:00
Bart Van Der Meerssche bd6762399b [api] Persistent http[s] connections allow a pure RESTful POSTing of sensor measurement data. Thx Mathias! 2011-03-26 22:47:42 +00:00
Bart Van Der Meerssche 8f0a37d869 [luci] add support for persistent http[s] connections to httpclient 2011-03-26 22:23:22 +01:00
Bart Van Der Meerssche 64b67598d7 [api] check against a sha-1 digest hex length of 40 chars 2011-03-26 11:06:06 +00:00
Bart Van Der Meerssche 285833b1f8 [openwrt] remove the rdate hotplug script from the build 2011-03-24 22:24:47 +01:00
Bart Van Der Meerssche 1fbccc9f08 [openwrt] remove the spidev chmod from rc.local 2011-03-24 22:00:05 +01:00
Bart Van Der Meerssche 8e0f9f150f Merge branch 'develop' of github.com:icarus75/flukso into develop 2011-03-24 21:57:34 +01:00
Bart Van Der Meerssche cf45925c44 [openwrt] move sensor config loading at firstboot to flukso init script 2011-03-24 21:56:56 +01:00
Bart Van Der Meerssche 5ec3d9c92e [api] define time constants 2011-03-24 09:28:13 +00:00
Bart Van Der Meerssche f8ba3937bb [api] add a device and digest check to /sensor 2011-03-24 07:31:30 +00:00
Bart Van Der Meerssche 80073a5de5 [api] define a generic 32hex checking function 2011-03-24 07:13:27 +00:00
Bart Van Der Meerssche d64d41be3a [api] move helper functions to a common flukso.hrl 2011-03-23 17:40:28 +00:00
Bart Van Der Meerssche 243d512229 [api] add copyright header to webmachine files 2011-03-23 09:16:02 +00:00
Bart Van Der Meerssche 90ffd3ffcc [api] add the /sensor endpoint to the dispatching rules 2011-03-22 20:39:57 +00:00
Bart Van Der Meerssche a80ea44ca3 [api] use /sensor endpoint for submitting measurement values 2011-03-22 20:23:55 +00:00
Bart Van Der Meerssche de4e46531d [xmlrpc] comment out the authentication failure logging 2011-03-21 21:14:51 +00:00
Bart Van Der Meerssche 44cb03fb76 [drupal] handle $user->roles = NULL condition 2011-03-21 21:14:01 +00:00
Bart Van Der Meerssche 90f4f8be8c [openwrt] add sha1sum and patch busybox commands to the build 2011-03-21 21:04:33 +01:00
Bart Van Der Meerssche b3f324dd2e [drupal] add csv export function for sensor list 2011-03-18 20:45:38 +00:00
Bart Van Der Meerssche b287073333 [drupal] forgot to add the timestamp justification 2011-03-18 13:48:08 +00:00
Bart Van Der Meerssche 4f8d2381ba [drupal] justify sensor timestamp counter with an html align tag 2011-03-18 13:44:43 +00:00
Bart Van Der Meerssche d9732d41bc [drupal] right-justify sensor counter with 0-padding 2011-03-18 13:17:15 +00:00
Bart Van Der Meerssche 7a2f7270be [drupal] define validation function for list form 2011-03-18 12:35:05 +00:00
Bart Van Der Meerssche e2e9fee434 [drupal] plot sensors based on chart field in {logger_meters} 2011-03-18 10:21:14 +00:00
Bart Van Der Meerssche 9d9befbee0 [drupal] handle sensor form submission 2011-03-18 10:03:05 +00:00
Bart Van Der Meerssche 1b26bf0e8c [drupal] use tableselect option of the elements module for sensor selection 2011-03-17 23:52:13 +00:00
Bart Van Der Meerssche c8414867bd [drupal] add a sensor block for pro users 2011-03-17 15:19:20 +00:00
Bart Van Der Meerssche 415bcdda48 [flukso] configure flukso device and sensor ids at firstboot 2011-03-10 20:29:17 +01:00
Bart Van Der Meerssche 70ce6fd748 [openwrt] bump package versions of avahi, expat, gdbm, intltool, libdaemon and ntpclient 2011-03-10 10:07:03 +01:00
Bart Van Der Meerssche 3700e12f24 [gbc] first version of boardconfig generator 2011-03-06 10:32:05 +01:00
Bart Van Der Meerssche 34196cc1f1 [fsync] generate a flukso.service file for avahi 2011-03-06 01:05:15 +01:00
Bart Van Der Meerssche 7b5b64abf8 [fsync] check whether sensor exists and has been enabled when symlinking 2011-03-06 00:25:14 +01:00
Bart Van Der Meerssche 5681ec612f [fsync] update sensor symlinks to cgi-script 2011-03-05 20:02:15 +01:00
Bart Van Der Meerssche 5a2122a0c5 [httpclient] name clash: error is alread used by the basic library in Lua 2011-03-05 10:09:07 +01:00
Bart Van Der Meerssche a826343f6c [luci] allow httpclient to perform peer certificate validation 2011-03-05 00:07:56 +01:00
Bart Van Der Meerssche e5c1cd9f00 [luci] select cyassl as luci crypto library 2011-03-05 00:06:59 +01:00
Bart Van Der Meerssche a00dce9563 [api] add a POST method to sensor/xyz for submitting measurement values 2011-03-04 18:30:58 +00:00
Bart Van Der Meerssche 62b4c7aadf [openwrt] practicing ASCII art 2011-02-26 00:09:24 +01:00
Bart Van Der Meerssche 3bb1345b29 [avr] wrap setup functions in a cli/sei pair 2011-02-17 23:49:54 +01:00
Bart Van Der Meerssche 18d91b024f [avr] throttle back the clock when in power-loss mode 2011-02-17 23:48:31 +01:00
Bart Van Der Meerssche e3de39f026 [fluksod] allow counter to wrap around in WAN branch 2011-02-17 00:11:21 +01:00
Bart Van Der Meerssche 5df1cae92c [avr] subsitute eeprom_write_block for eeprom_update_block so that a byte is written only when it differs from the value stored in EEPROM 2011-02-16 17:33:29 +01:00
Bart Van Der Meerssche acf658dd26 [avr] wrap eeprom_read_blocks in a cli/sei pair 2011-02-16 16:37:16 +01:00
Bart Van Der Meerssche a90b7a8dce [avr] connect the analog comp to the input capture noise canceler for spike suppression 2011-02-15 23:26:54 +01:00
Bart Van Der Meerssche 35e79ca1bf [avr] double-check the ACO to protect against spikes on the sensing circuit 2011-02-15 22:52:46 +01:00