Commit Graph

306 Commits

Author SHA1 Message Date
David Newhall II 5a2eb8c415 rename method 2019-06-14 21:34:47 -07:00
David Newhall II f267965a0e Add site metrics to influxdb. 2019-06-14 21:13:55 -07:00
David Newhall II 9519a56757 Slightly better test? 2019-06-14 00:49:29 -07:00
David Newhall II c98e3daf6c add image name. derp. 2019-06-14 00:41:35 -07:00
David Newhall II e467c56a26 add docker tests 2019-06-14 00:38:17 -07:00
David Newhall II bb89f8c6f5 Put plist back 2019-06-14 00:38:17 -07:00
David Newhall II 0fa742c0e2 more updates. 2019-06-14 00:38:17 -07:00
David Newhall II 60d6a91977 fix ruby version in new linux build
fix rvm

try 1.9.2?

install rvm

newer ruby?
2019-06-14 00:38:17 -07:00
David Newhall II 28ead82a54 fix merge conflict. 2019-06-14 00:37:44 -07:00
Martin Buchleitner a487374611 replace braces and rename docker repo
Signed-off-by: Martin Buchleitner <mabunixda@gmail.com>
2019-06-14 09:29:38 +02:00
Martin Buchleitner 156cde22ed cleanup dockerfile
Signed-off-by: Martin Buchleitner <mabunixda@gmail.com>
2019-06-14 09:29:22 +02:00
Martin Buchleitner d5921b58c2 remove dockerbin target, fix dockerfile and update docker_repo in makefile
Signed-off-by: Martin Buchleitner <mabunixda@gmail.com>
2019-06-14 07:39:16 +02:00
Martin Buchleitner 80e6c20e4f adding docker image build
Signed-off-by: Martin Buchleitner <mbuchleitner@infralovers.com>
2019-06-13 14:33:57 +02:00
David Newhall II 4f23301cb2 add comments 2019-06-13 02:40:56 -07:00
David Newhall II 2d5847f6dd Rename license and include it in packages. 2019-06-13 02:29:02 -07:00
David Newhall II fc40af74ba Fix homebrew formula template 2019-06-13 02:25:41 -07:00
David Newhall II 3287464777 Fix homebrew build. 2019-06-13 01:46:42 -07:00
David Newhall II 59b77d6e44 Update SYNOPSIS 2019-06-13 01:15:47 -07:00
David Newhall II 3ffb658a4a Rename u 2019-06-13 01:07:56 -07:00
David Newhall II 10c54bf77c rename main 2019-06-13 01:05:34 -07:00
David Newhall II e2493252c9 Makefile cleanup. 2019-06-13 01:04:53 -07:00
David Newhall II 84df3cc118 Migrate main to pkg. 2019-06-13 01:00:20 -07:00
David Newhall II 39273cee86 Cleanup 2019-06-13 00:48:16 -07:00
David Newhall II 65ee1bdb50 change up counter 2019-06-13 00:16:13 -07:00
David Newhall II 5aae21fa10 Better output formatting. 2019-06-13 00:08:46 -07:00
David Newhall II 3dfd46413f More cleanup. 2019-06-12 23:40:11 -07:00
David Newhall II 4d9937a121 minor 2019-06-12 22:56:46 -07:00
David Newhall II ac24dd12dd Fix up the code. 2019-06-12 22:53:52 -07:00
David Newhall II 7494e5ce59 fix long line 2019-06-12 22:31:14 -07:00
David Newhall II 2c379708f1 really fix build 2019-06-12 22:25:03 -07:00
David Newhall II 446c8bb6c8 fix build 2019-06-12 22:21:22 -07:00
unifi-poller-bot 11d4c7612b Split things up a bit 2019-06-12 21:02:40 -07:00
unifi-poller-bot 0f47a79ac7 Update readme. 2019-06-12 20:39:09 -07:00
unifi-poller-bot 023f5749b0 Add json dump debug feature. 2019-06-12 20:32:33 -07:00
unifi-poller-bot f5dbef88f5 Final workings.
Final workings. fix
2019-06-12 19:11:11 -07:00
unifi-poller-bot aa91cc54d8 Add ETC folder and plist
fix github setup
2019-06-12 19:11:11 -07:00
unifi-poller-bot e1ec5ca0d3 Add new deploy setup.
make it deploy.
2019-06-12 19:11:10 -07:00
unifi-poller-bot 7fbce898b7 trying something else
fix synatx error
2019-06-12 19:11:09 -07:00
David Newhall II b58661ea14 Fix rpm version 2019-06-12 17:30:38 -07:00
unifi-poller-bot 7db6da8196 make it work? 2019-06-12 17:30:38 -07:00
unifi-poller-bot a621856743 Start deployment of formula 2019-06-12 17:30:38 -07:00
David Newhall II b05dc10a32 Make makefile more generic. 2019-06-12 17:30:38 -07:00
David Newhall II 54a58d0edd Make URL more dynamic. 2019-06-12 17:30:38 -07:00
David Newhall II 0720ec54f4 Forgot the template 2019-06-12 17:30:38 -07:00
David Newhall II 6a79baa341 Build formula file from template with Makefile. 2019-06-12 17:30:38 -07:00
David Newhall II ee1173e19f Grab release SHA during build. 2019-06-12 17:30:38 -07:00
David Newhall II acfbef3eda Cleanup clean. 2019-06-12 12:59:41 -07:00
David Newhall II ce38009ad3 do not include generated formula file 2019-06-12 12:49:52 -07:00
David Newhall II 83c02560ac Use install instead of cp. Add homebrew formula. 2019-06-12 12:25:53 -07:00
David Newhall II 4cc22bccb9 Add make install back, for brew. 2019-06-12 11:55:07 -07:00
David Newhall II 73fa2ab341 Make version/git optional 2019-06-12 11:05:05 -07:00
David Newhall II bb0e00a538 Build more. 2019-06-12 04:16:21 -07:00
David Newhall II df1978c9a5 Add SHAs and build man page without ruby. 2019-06-12 03:53:42 -07:00
David Newhall II de6d1233fc Update README.md 2019-06-11 02:48:26 -07:00
David Newhall II a0dfe6a3dc Dont include pngs in package. Fix version output. Lint slice. 2019-06-10 14:54:21 -07:00
David Newhall II 7527373082 Update Makefile 2019-06-09 21:23:51 -07:00
David Newhall II 5b960f586a only count master for iteration 2019-06-09 21:13:50 -07:00
David Newhall II 204b48f3d1 fix typo 2019-06-09 21:01:11 -07:00
David Newhall II 4349868a9c fix rpm build on macOS
fixes #30
2019-06-09 20:53:40 -07:00
David Newhall II 42204b19f0 Run as nobody on macos. 2019-06-08 03:22:10 -07:00
David Newhall II c04ceaf820 Deprecate make install 2019-06-07 15:40:05 -07:00
David Newhall II 3419469b28 More cleanup. Move uninstall to Makefile. 2019-06-07 15:12:06 -07:00
David Newhall II 7f52cdcc5a doc and path updates. 2019-06-07 14:24:20 -07:00
David Newhall II 1399f72650 Combined after install scripts. 2019-06-07 13:54:26 -07:00
David Newhall II 7eed5073bb Move builds into Makefile. 2019-06-07 13:45:19 -07:00
David Newhall II 1ae96f046a Makefile and build pipeline updates. 2019-06-07 12:19:17 -07:00
David Newhall II 7c100fe7d3 Fix up dashboards. 2019-06-07 02:14:49 -07:00
David Newhall II bec1e19fa8 Update vendors 2019-06-06 18:15:21 -07:00
David Newhall II e4e60d13e9 fixes 2019-06-06 17:46:02 -07:00
David Newhall II 5b1470f86a shrink png 2019-06-06 16:59:06 -07:00
David Newhall II c7a102ec10 Switch Updates. Dashboard fixes. Site output. 2019-06-06 16:53:51 -07:00
David Newhall II fee6b1db1f Update screenshots 2019-06-05 23:21:06 -07:00
David Newhall II 6dea78043c Update readme 2019-06-05 18:54:41 -07:00
David Newhall II 823f16a78c Update dashboards. 2019-06-05 18:11:10 -07:00
David Newhall II 484b4fd3f9 minor updates. 2019-06-05 18:07:30 -07:00
David Newhall II 5e822be755 Use darwin dep 2019-06-05 03:50:56 -07:00
David Newhall II 99adf6a764 Build an osx package with osx builder. 2019-06-05 03:47:21 -07:00
David Newhall II 7d9e2feb6f built metadata 2019-06-05 02:30:05 -07:00
David Newhall II 5ea3ba58c2 Add iteration too. 2019-06-05 02:22:10 -07:00
David Newhall II 8d7a97250d Make Travis CI build the linux packages. 2019-06-05 02:11:37 -07:00
David Newhall II 6991cfc251 better upgrade support in packages. 2019-05-31 01:07:25 -07:00
David Newhall II cce2899eff Update build. Allow less "building" to create all the packages. 2019-05-31 00:48:55 -07:00
David Newhall II 8675f970d1 Fix clean and inject version 2019-05-30 23:34:59 -07:00
David Newhall II 93a025a82a This needs to go in too. 2019-05-30 23:30:19 -07:00
David Newhall II b125b93f36 disable service on remove 2019-05-30 23:01:06 -07:00
David Newhall II d8e7638880 A few tweaks. 2019-05-30 22:24:54 -07:00
David Newhall II ec6749aeeb Support uninstall of pkg on os x w/ script. 2019-05-30 21:39:33 -07:00
David Newhall II db75d7b74f Deal with config file and logging path ownership. 2019-05-30 21:20:35 -07:00
David Newhall II 52d8197f72 Build osx package too. 2019-05-30 20:25:48 -07:00
David Newhall II f6fe4070d5 Update build procedures. Add rpm and deb package scripts. 2019-05-30 19:14:05 -07:00
David Newhall II 0a3b479c5f change error message 2019-05-30 19:12:33 -07:00
David Newhall II 1f621f73ed Run all the pollers even during an error. 2019-05-30 02:40:25 -07:00
David Newhall II 812ec0e155 Minimize main 2019-05-30 02:28:35 -07:00
David Newhall II 4777fc159d Use spf13 pflag. 2019-05-30 02:17:13 -07:00
David Newhall II 3399eda094 Fixes. 2019-05-30 01:57:47 -07:00
David Newhall II 144f9dad5c dont do this.. 2019-04-15 02:30:09 -07:00
David Newhall II 94e571b626 Use []Site type 2019-04-15 02:26:19 -07:00
David Newhall II ad1c68f084 Update readme and example config 2019-04-15 01:33:20 -07:00
David Newhall II 1da5766eba Add support for multiple sites. 2019-04-15 01:29:08 -07:00
David Newhall II aa668bd7c3 Remove extra -
Thanks to @mylivingweb 
65b088ea60
2019-04-10 02:11:03 -07:00
David Newhall II 5a8ab56975 Revert "Update LICENSE." 2019-01-26 18:30:55 -08:00
David Newhall II e302b1e132 add current year. 2019-01-26 16:31:39 -08:00
David Newhall II e6c6d58c8a Update LICENSE. 2019-01-26 16:27:29 -08:00
David Newhall II 955d741e16 rename device to controller 2019-01-26 16:04:16 -08:00
David Newhall II cccb0d1be5 more makefile fixes. 2019-01-26 15:56:05 -08:00
David Newhall II 2496460a4c Bump version, fix Makefile. 2019-01-26 15:49:58 -08:00
David Newhall II 63723ccb4b new library release. fix bugs. 2019-01-26 15:42:31 -08:00
David Newhall II 33779accab Use new libraries. 2019-01-26 15:07:48 -08:00
David Newhall II 77c88ff179 Upgrade dep, more readme updates. 2019-01-26 02:08:09 -08:00
David Newhall II f4820ca79b empty buffer 2019-01-25 20:42:07 -08:00
David Newhall II 1cd01e3b72 Documentation updates. 2019-01-24 00:52:08 -08:00
David Newhall II f1213c0128 Rename influx back to influx. 2019-01-24 00:14:41 -08:00
David Newhall II 45d4b2a07d Fix version of lib. 2019-01-24 00:12:23 -08:00
David Newhall II 80f22aee62 Remove the library. Source it externally. 2019-01-24 00:11:04 -08:00
DN2 f0ac1429a2 Move flags to config file. 2019-01-11 21:08:58 -08:00
DN2 bc5516dbb3 switch to dep, another test, add flags - minor features 2019-01-11 20:36:29 -08:00
DN2 50d3629cd3 Cleanup. 2019-01-11 02:32:00 -08:00
DN2 2c23be0f0f New vendors work just fine. 2019-01-11 02:18:29 -08:00
DN2 5bb9f3f420 Dissolve a few lines for fun. 2019-01-11 02:16:33 -08:00
DN2 cedb3054e6 Convert UAP.uptime to FlexInt also. 2019-01-11 01:38:54 -08:00
DN2 bd98300015 Save the integer and the string. 2019-01-11 01:35:56 -08:00
DN2 26b2f9be57 make the test smaller, because why not. 2019-01-10 01:35:39 -08:00
DN2 7ff41b1eab Fix the error test. 2019-01-10 01:34:35 -08:00
DN2 a9a035d2fc Check for normal string and accept it. 2019-01-10 01:32:17 -08:00
DN2 a92fb9f3ef Move FlexInt into main file, add small test. 2019-01-10 01:24:44 -08:00
DN2 5eea11e008 A start. 2019-01-10 00:54:30 -08:00
Russell Cloran c3bc7406e1 Handle some fields that may be strings or numbers 2018-10-14 18:27:51 -07:00
DN2 1542d1e2cb Fix tag limits. 2018-07-24 21:22:45 -07:00
DN2 60db7d48c2 Add USG dashboard. 2018-04-29 02:56:39 -07:00
DN2 530c3bff57 Better errors, fix bugs, correct usg data. 2018-04-29 01:35:42 -07:00
DN2 565f339cf1 Bump version. 2018-04-28 18:40:04 -07:00
DN2 d39a5dee39 Fix a couple more odd string->float types and add docs/dashboard 2018-04-28 17:36:02 -07:00
DN2 df7a661f7a Missed used memory. 2018-04-28 03:43:44 -07:00
DN2 9951e4a46e Suck more data out of UAPs. 2018-04-28 01:59:43 -07:00
DN2 3d3d7866d8 Fix pointer mismatch. 2018-04-28 01:42:44 -07:00
DN2 646c273d54 Add two new functions to make the library more useful. 2018-04-28 00:21:44 -07:00
DN2 3b8927e589 Allow multiple points per device. 2018-04-27 23:44:18 -07:00
DN2 a4eee21a31 Offload Unifi work to dedicated module. 2018-04-23 03:56:58 -07:00
DN2 fea5eda08b The beginning of device support. 2018-04-22 21:28:36 -07:00
DN2 202a35375e Add launch files and make install. 2018-04-22 17:17:07 -07:00
DN2 922dd906b0 Use a config file instead of env vars. 2018-04-22 15:39:55 -07:00
DN2 b809c7d17e Test fixes and variable cleanup. 2018-04-22 14:19:03 -07:00
DN2 7fca3f7242 Projectize the project. 2018-04-22 14:10:55 -07:00
David Newhall II 95530f599f Add files via upload 2018-04-22 13:44:13 -07:00
DN2 2fd001bb6c Shuffle things around a bit more. 2018-04-21 00:51:57 -07:00
DN2 e780cf093f Split out config data. 2018-04-21 00:02:34 -07:00
DN2 16b6a55d2b Restructure the code. 2018-04-20 23:42:03 -07:00
DN2 c010c3638e Eliminate global variables. 2018-04-20 13:33:51 -07:00
DN2 47d24e125b Basic Makefile to start with. 2018-04-20 13:21:30 -07:00
DN2 25ef711166 Minor Cleanup 2018-04-20 13:20:07 -07:00
Garrett Bjerkhoel 2eba122b4a Add README 2016-09-30 11:24:23 -07:00
Garrett Bjerkhoel 1739735289 Clean up some of the code 2016-09-30 11:24:17 -07:00
Garrett Bjerkhoel a0ae47e46e Add example .env file 2016-09-30 00:24:28 -07:00
Garrett Bjerkhoel 1e59836609 Use a known version 2016-09-30 00:13:32 -07:00
Garrett Bjerkhoel 97f30cd4d0 Vendoring what we need 2016-09-30 00:09:19 -07:00
Garrett Bjerkhoel 476cd15c0e Build heroku compatible app 2016-09-30 00:08:55 -07:00