Commit Graph

628 Commits

Author SHA1 Message Date
David Newhall II 9c15577ef0 add empty line 2019-06-29 19:45:49 -07:00
David Newhall II e3da8250a2 almost missed one 2019-06-29 17:52:13 -07:00
David Newhall II ec93651e01 no double questions 2019-06-29 17:49:08 -07:00
David Newhall II 1919c73b8f do not protect example file. 2019-06-29 17:46:29 -07:00
David Newhall II a51076a6bf Make config filer generic too. Remove warning. 2019-06-29 17:44:31 -07:00
David Newhall II a8ab7a8175 Makefile updates. 2019-06-29 17:42:11 -07:00
David Newhall II 625a0016b6 Fix config files. Do not overwrite them. 2019-06-29 15:42:58 -07:00
David Newhall II 2a326c26c1 Make brew pass all audit tests. 2019-06-25 00:40:32 -07:00
David Newhall II 9ba16588be Update README.md 2019-06-24 02:18:52 -07:00
David Newhall II 8ff7958a5f move more 2019-06-24 01:20:35 -07:00
David Newhall II d6b51761bc missed these 2019-06-24 01:12:24 -07:00
David Newhall II 99691c0e5f Move library. 2019-06-24 01:07:52 -07:00
David Newhall II 6d646ba6a0 Re-arrange travis build. 2019-06-24 01:06:38 -07:00
David Newhall II 102711f4da Rename the pkg back to what it was. 2019-06-23 20:13:40 -07:00
David Newhall II 98dd037853 Run parseflags, always. 2019-06-23 20:05:42 -07:00
David Newhall II f6f750f2e7 Call it mode. 2019-06-23 19:55:26 -07:00
David Newhall II 07f7de57c9 allow missing sites in config 2019-06-23 19:33:57 -07:00
David Newhall II b5053ce77d more docs. 2019-06-23 19:15:53 -07:00
David Newhall II 6d6c19715f a few fixes 2019-06-23 18:53:46 -07:00
David Newhall II adb187c319 Rename a few things. 2019-06-23 18:38:27 -07:00
David Newhall II 8a624a38e5 move file. 2019-06-23 16:47:34 -07:00
David Newhall II 2c864b154e Update man page. 2019-06-23 16:47:22 -07:00
David Newhall II d414c387b2 update examples for lambda config 2019-06-23 16:28:51 -07:00
David Newhall II 14fd95121c fix typo 2019-06-23 16:28:51 -07:00
David Newhall II 11eb4b24ab Add a run-once lambda mode. 2019-06-23 16:28:51 -07:00
David Newhall II 4178407e15 text and comment updates. 2019-06-23 12:06:52 -07:00
David Newhall II 4a2d5dbf81 Update Gopkg.toml 2019-06-23 02:30:38 -07:00
David Newhall II 86d88cabc4 Update formula-deploy.sh 2019-06-23 02:13:36 -07:00
David Newhall II 04f4bda000 Update after-install.sh 2019-06-23 02:09:46 -07:00
David Newhall II b80e2744fb add link minor cleanup 2019-06-23 01:50:00 -07:00
David Newhall II 2479f88c0d fix spelling. 2019-06-23 01:47:17 -07:00
David Newhall II 616dba3624 Update README.md 2019-06-23 01:20:08 -07:00
David Newhall II ecf13f2654 Copy all example configs to doc dir. 2019-06-23 01:13:26 -07:00
David Newhall II 072d286040 Update docs with ne wdashboard locations. 2019-06-23 01:02:20 -07:00
David Newhall II 3837899ecd Update README.md 2019-06-22 19:46:54 -07:00
David Newhall II 7e0ed86bc0 Man file and config file updates. 2019-06-22 19:41:44 -07:00
David Newhall II 07dd5e48a3 minor readme update 2019-06-21 18:59:33 -07:00
David Newhall II 33b5b84e4d Allow app to import example files without renaming. 2019-06-21 18:48:20 -07:00
David Newhall II 2d039339ea fix build 2019-06-21 05:04:15 -07:00
David Newhall II f952d95eb0 Fix logging 2019-06-21 04:56:17 -07:00
David Newhall II 8d6b2b2039 more fixes. 2019-06-21 04:34:57 -07:00
David Newhall II d4278ca847 fixes 2019-06-21 04:29:07 -07:00
David Newhall II 15152e630d Tested and working. 2019-06-21 04:22:10 -07:00
David Newhall II 92ae3fc4f7 More untested thingies. 2019-06-21 04:09:12 -07:00
David Newhall II f0a94e2b6c Change to newer toml library. Add untested support for xml, json and yaml config file formats. 2019-06-21 03:58:05 -07:00
David Newhall II 17c112f328 Change man file 2019-06-21 03:25:28 -07:00
David Newhall II 15b4a17daf Add file names to output. All working now. 2019-06-21 03:19:15 -07:00
David Newhall II c7a8ff2d15 Test new travis build. 2019-06-21 03:01:50 -07:00
David Newhall II ec22f6653f Do not clean vendor folder. 2019-06-21 02:50:44 -07:00
David Newhall II 6ccafb535f zip windows file. 2019-06-21 02:48:17 -07:00
David Newhall II 8da332cc04 Build exe too. Update docs. 2019-06-21 02:37:25 -07:00
David Newhall II 517e29a4d5 doc updates. fix docker build. 2019-06-20 22:59:24 -07:00
David Newhall II 58e5320c6e make files around 2019-06-19 02:52:58 -07:00
David Newhall II c42e740f33 Update vendors. 2019-06-19 01:51:42 -07:00
David Newhall II 74927086da Add better loggers. 2019-06-19 01:29:03 -07:00
David Newhall II bafc579b38 clean up dumper code. 2019-06-19 00:30:43 -07:00
David Newhall II b3432205eb fix variable order 2019-06-18 23:55:04 -07:00
David Newhall II b31397214e typo. 2019-06-18 23:38:02 -07:00
David Newhall II d2681219fb Update log file location on macOS. 2019-06-18 23:33:43 -07:00
David Newhall II c30e53b9ca Fix homebrew sha256 in build. 2019-06-18 23:33:33 -07:00
David Newhall II c8d0d540c1 Add max_errors and ability to exit. 2019-06-18 23:32:35 -07:00
David Newhall II b865f91d12 Print go verdsion in build 2019-06-18 21:39:40 -07:00
David Newhall II 154ff47645 Update version 2019-06-18 21:15:24 -07:00
David Newhall II 32e8ad7a76 Minor Client dash update. 2019-06-18 21:09:27 -07:00
David Newhall II ea67b4ca41 Fix repeating on site dashboard panels. 2019-06-18 20:57:03 -07:00
David Newhall II 9bc8a70e48 Update dashboard. 2019-06-18 20:17:04 -07:00
David Newhall II 758676e076 Update vendors. 2019-06-18 20:12:01 -07:00
David Newhall II 387d8fc1d3 Update unifi library 2019-06-15 13:31:05 -07:00
David Newhall II 3c01ed3c48 Add sites dashboard and screenshot 2019-06-15 13:30:44 -07:00
David Newhall II bf40004b1c one more link 2019-06-14 21:59:19 -07:00
David Newhall II 4f35730ac7 Add links to description. 2019-06-14 21:56:14 -07:00
David Newhall II d0b43e1dd3 Add description. 2019-06-14 21:51:36 -07:00
David Newhall II 6c7c5504c5 rename method 2019-06-14 21:34:47 -07:00
David Newhall II 3cd3e6fff3 Add site metrics to influxdb. 2019-06-14 21:13:55 -07:00
David Newhall II 97ca6859d6 Slightly better test? 2019-06-14 00:49:29 -07:00
David Newhall II ddb831aa96 add image name. derp. 2019-06-14 00:41:35 -07:00
David Newhall II 20866d2c53 add docker tests 2019-06-14 00:38:17 -07:00
David Newhall II edccd894d2 Put plist back 2019-06-14 00:38:17 -07:00
David Newhall II 75e754e2b4 more updates. 2019-06-14 00:38:17 -07:00
David Newhall II 435be5a09e 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 8dbfcd6e03 fix merge conflict. 2019-06-14 00:37:44 -07:00
Martin Buchleitner f13f5a2454 replace braces and rename docker repo
Signed-off-by: Martin Buchleitner <mabunixda@gmail.com>
2019-06-14 09:29:38 +02:00
Martin Buchleitner 65c7ca5480 cleanup dockerfile
Signed-off-by: Martin Buchleitner <mabunixda@gmail.com>
2019-06-14 09:29:22 +02:00
Martin Buchleitner 58556f46f6 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 59ec38f03b adding docker image build
Signed-off-by: Martin Buchleitner <mbuchleitner@infralovers.com>
2019-06-13 14:33:57 +02:00
David Newhall II 59b67d9a9b add comments 2019-06-13 02:40:56 -07:00
David Newhall II 9639a6a184 Rename license and include it in packages. 2019-06-13 02:29:02 -07:00
David Newhall II 3af8a2c569 Fix homebrew formula template 2019-06-13 02:25:41 -07:00
David Newhall II c7ffccb00a Fix homebrew build. 2019-06-13 01:46:42 -07:00
David Newhall II 648de50bd7 Update SYNOPSIS 2019-06-13 01:15:47 -07:00
David Newhall II 0cac132758 Rename u 2019-06-13 01:07:56 -07:00
David Newhall II 28999b3cfa rename main 2019-06-13 01:05:34 -07:00
David Newhall II eb5ddf0a6a Makefile cleanup. 2019-06-13 01:04:53 -07:00
David Newhall II 86b74318cd Migrate main to pkg. 2019-06-13 01:00:20 -07:00
David Newhall II 760ded3425 Cleanup 2019-06-13 00:48:16 -07:00
David Newhall II 90b5754cc4 change up counter 2019-06-13 00:16:13 -07:00
David Newhall II c31520ee90 Better output formatting. 2019-06-13 00:08:46 -07:00
David Newhall II d648b80f1a More cleanup. 2019-06-12 23:40:11 -07:00
David Newhall II 9a5d3bd420 minor 2019-06-12 22:56:46 -07:00
David Newhall II cd9d1dce39 Fix up the code. 2019-06-12 22:53:52 -07:00
David Newhall II 412c78e55e fix long line 2019-06-12 22:31:14 -07:00
David Newhall II 01b313bb8c really fix build 2019-06-12 22:25:03 -07:00
David Newhall II 3fae0588dc fix build 2019-06-12 22:21:22 -07:00
unifi-poller-bot 20d980ff93 Split things up a bit 2019-06-12 21:02:40 -07:00
unifi-poller-bot f016cb2102 Update readme. 2019-06-12 20:39:09 -07:00
unifi-poller-bot d4a403586a Add json dump debug feature. 2019-06-12 20:32:33 -07:00
unifi-poller-bot 73036616fc Final workings.
Final workings. fix
2019-06-12 19:11:11 -07:00
unifi-poller-bot 7fadbd6780 Add ETC folder and plist
fix github setup
2019-06-12 19:11:11 -07:00
unifi-poller-bot f06d0c8739 Add new deploy setup.
make it deploy.
2019-06-12 19:11:10 -07:00
unifi-poller-bot 29018f980f trying something else
fix synatx error
2019-06-12 19:11:09 -07:00
David Newhall II 529e0e654e Fix rpm version 2019-06-12 17:30:38 -07:00
unifi-poller-bot 38c6eaee06 make it work? 2019-06-12 17:30:38 -07:00
unifi-poller-bot 5c8c26690a Start deployment of formula 2019-06-12 17:30:38 -07:00
David Newhall II 3de76ce3e9 Make makefile more generic. 2019-06-12 17:30:38 -07:00
David Newhall II 98b8d01512 Make URL more dynamic. 2019-06-12 17:30:38 -07:00
David Newhall II 0b08cab95b Forgot the template 2019-06-12 17:30:38 -07:00
David Newhall II 5197c260b1 Build formula file from template with Makefile. 2019-06-12 17:30:38 -07:00
David Newhall II 126780142b Grab release SHA during build. 2019-06-12 17:30:38 -07:00
David Newhall II 1160b95dda Cleanup clean. 2019-06-12 12:59:41 -07:00
David Newhall II 4a28647557 do not include generated formula file 2019-06-12 12:49:52 -07:00
David Newhall II 7e7c9416e8 Use install instead of cp. Add homebrew formula. 2019-06-12 12:25:53 -07:00
David Newhall II 3d33b58df5 Add make install back, for brew. 2019-06-12 11:55:07 -07:00
David Newhall II 1aac758211 Make version/git optional 2019-06-12 11:05:05 -07:00
David Newhall II f00cfdfd88 Build more. 2019-06-12 04:16:21 -07:00
David Newhall II c272eac9ea Add SHAs and build man page without ruby. 2019-06-12 03:53:42 -07:00
David Newhall II 87c90d8ddb Update README.md 2019-06-11 02:48:26 -07:00
David Newhall II 432ec5b438 Dont include pngs in package. Fix version output. Lint slice. 2019-06-10 14:54:21 -07:00
David Newhall II 98d42afc42 Update Makefile 2019-06-09 21:23:51 -07:00
David Newhall II 176b52b42f only count master for iteration 2019-06-09 21:13:50 -07:00
David Newhall II f0cc50ede2 fix typo 2019-06-09 21:01:11 -07:00
David Newhall II a19ad189a1 fix rpm build on macOS
fixes #30
2019-06-09 20:53:40 -07:00
David Newhall II ddef9a6b15 Run as nobody on macos. 2019-06-08 03:22:10 -07:00
David Newhall II a7b1cc7d59 Deprecate make install 2019-06-07 15:40:05 -07:00
David Newhall II 6e805090f6 More cleanup. Move uninstall to Makefile. 2019-06-07 15:12:06 -07:00
David Newhall II 43e412c9d3 doc and path updates. 2019-06-07 14:24:20 -07:00
David Newhall II 0c173abc97 Combined after install scripts. 2019-06-07 13:54:26 -07:00
David Newhall II dccaca7003 Move builds into Makefile. 2019-06-07 13:45:19 -07:00
David Newhall II 1f047cb9e2 Makefile and build pipeline updates. 2019-06-07 12:19:17 -07:00
David Newhall II 5db155d925 Fix up dashboards. 2019-06-07 02:14:49 -07:00
David Newhall II 9f2f311097 Update vendors 2019-06-06 18:15:21 -07:00
David Newhall II 3568a9b324 fixes 2019-06-06 17:46:02 -07:00
David Newhall II cdc1dbc4a4 shrink png 2019-06-06 16:59:06 -07:00
David Newhall II e344edb5c0 Switch Updates. Dashboard fixes. Site output. 2019-06-06 16:53:51 -07:00
David Newhall II 6fb4e85864 Update screenshots 2019-06-05 23:21:06 -07:00
David Newhall II 6e00faa21c Update readme 2019-06-05 18:54:41 -07:00
David Newhall II fe73ee0f42 Update dashboards. 2019-06-05 18:11:10 -07:00
David Newhall II 1be3e1881c minor updates. 2019-06-05 18:07:30 -07:00
David Newhall II 92bc4cf13e Use darwin dep 2019-06-05 03:50:56 -07:00
David Newhall II d7409387f8 Build an osx package with osx builder. 2019-06-05 03:47:21 -07:00
David Newhall II e3ff164a8d built metadata 2019-06-05 02:30:05 -07:00
David Newhall II 337af121a5 Add iteration too. 2019-06-05 02:22:10 -07:00
David Newhall II 2bbb0a3771 Make Travis CI build the linux packages. 2019-06-05 02:11:37 -07:00
David Newhall II 2bd9bdd517 better upgrade support in packages. 2019-05-31 01:07:25 -07:00
David Newhall II 27acfe4d95 Update build. Allow less "building" to create all the packages. 2019-05-31 00:48:55 -07:00
David Newhall II bd7f364a3c Fix clean and inject version 2019-05-30 23:34:59 -07:00
David Newhall II 3aaa746f41 This needs to go in too. 2019-05-30 23:30:19 -07:00
David Newhall II 2db824630f disable service on remove 2019-05-30 23:01:06 -07:00
David Newhall II 480a04d9b2 A few tweaks. 2019-05-30 22:24:54 -07:00
David Newhall II ff96030a77 Support uninstall of pkg on os x w/ script. 2019-05-30 21:39:33 -07:00
David Newhall II 6822b07e1e Deal with config file and logging path ownership. 2019-05-30 21:20:35 -07:00
David Newhall II 42b647e1a7 Build osx package too. 2019-05-30 20:25:48 -07:00
David Newhall II d4f25e06ae Update build procedures. Add rpm and deb package scripts. 2019-05-30 19:14:05 -07:00
David Newhall II 5933c2820f change error message 2019-05-30 19:12:33 -07:00
David Newhall II c4f7a8f016 Run all the pollers even during an error. 2019-05-30 02:40:25 -07:00
David Newhall II 3346379080 Minimize main 2019-05-30 02:28:35 -07:00
David Newhall II b4484aeabe Use spf13 pflag. 2019-05-30 02:17:13 -07:00
David Newhall II f5385750ae Fixes. 2019-05-30 01:57:47 -07:00
David Newhall II 4116ad7ebb dont do this.. 2019-04-15 02:30:09 -07:00
David Newhall II f3853066ab Use []Site type 2019-04-15 02:26:19 -07:00
David Newhall II 10f7a6852c Update readme and example config 2019-04-15 01:33:20 -07:00
David Newhall II b1ece3ca31 Add support for multiple sites. 2019-04-15 01:29:08 -07:00
David Newhall II 43e1f94854 Remove extra -
Thanks to @mylivingweb 
65b088ea60
2019-04-10 02:11:03 -07:00
David Newhall II 32b141b5ed Revert "Update LICENSE." 2019-01-26 18:30:55 -08:00
David Newhall II c27a57f87f add current year. 2019-01-26 16:31:39 -08:00
David Newhall II ba9e8628c0 Update LICENSE. 2019-01-26 16:27:29 -08:00
David Newhall II ec422313c3 rename device to controller 2019-01-26 16:04:16 -08:00
David Newhall II c2de547c73 more makefile fixes. 2019-01-26 15:56:05 -08:00
David Newhall II 298404a62d Bump version, fix Makefile. 2019-01-26 15:49:58 -08:00
David Newhall II d46422e60b new library release. fix bugs. 2019-01-26 15:42:31 -08:00
David Newhall II c61fa71a68 Use new libraries. 2019-01-26 15:07:48 -08:00
David Newhall II d81c512e28 Upgrade dep, more readme updates. 2019-01-26 02:08:09 -08:00
David Newhall II 7ca0efb09f empty buffer 2019-01-25 20:42:07 -08:00
David Newhall II 0a58ba7f56 Documentation updates. 2019-01-24 00:52:08 -08:00
David Newhall II ffb874e6ef Rename influx back to influx. 2019-01-24 00:14:41 -08:00
David Newhall II 69186e2fdf Fix version of lib. 2019-01-24 00:12:23 -08:00
David Newhall II f50af43c62 Remove the library. Source it externally. 2019-01-24 00:11:04 -08:00
DN2 0643bec6e5 Move flags to config file. 2019-01-11 21:08:58 -08:00
DN2 eff7df9cc4 switch to dep, another test, add flags - minor features 2019-01-11 20:36:29 -08:00
DN2 efb9c80c1c Cleanup. 2019-01-11 02:32:00 -08:00
DN2 2d5e73d8f6 New vendors work just fine. 2019-01-11 02:18:29 -08:00
DN2 027cbd3bf2 Dissolve a few lines for fun. 2019-01-11 02:16:33 -08:00
DN2 18bbee7bd8 Convert UAP.uptime to FlexInt also. 2019-01-11 01:38:54 -08:00
DN2 ccd80c8d45 Save the integer and the string. 2019-01-11 01:35:56 -08:00
DN2 a7f74b270a make the test smaller, because why not. 2019-01-10 01:35:39 -08:00
DN2 98e5df622e Fix the error test. 2019-01-10 01:34:35 -08:00
DN2 b9e9bc37b0 Check for normal string and accept it. 2019-01-10 01:32:17 -08:00
DN2 016a39b9c3 Move FlexInt into main file, add small test. 2019-01-10 01:24:44 -08:00
DN2 cbbf677532 A start. 2019-01-10 00:54:30 -08:00
Russell Cloran c6be85f54c Handle some fields that may be strings or numbers 2018-10-14 18:27:51 -07:00
DN2 a1294b1c7e Fix tag limits. 2018-07-24 21:22:45 -07:00
DN2 3aa846b1ef Add USG dashboard. 2018-04-29 02:56:39 -07:00
DN2 5fa4f60ace Better errors, fix bugs, correct usg data. 2018-04-29 01:35:42 -07:00
DN2 b663c07e65 Bump version. 2018-04-28 18:40:04 -07:00
DN2 f27c96775f Fix a couple more odd string->float types and add docs/dashboard 2018-04-28 17:36:02 -07:00
DN2 44ca420580 Missed used memory. 2018-04-28 03:43:44 -07:00
DN2 65f2a83620 Suck more data out of UAPs. 2018-04-28 01:59:43 -07:00
DN2 a5b5aae5b4 Fix pointer mismatch. 2018-04-28 01:42:44 -07:00
DN2 1c06cea465 Add two new functions to make the library more useful. 2018-04-28 00:21:44 -07:00
DN2 09af1f4183 Allow multiple points per device. 2018-04-27 23:44:18 -07:00
DN2 0f6a7b8633 Offload Unifi work to dedicated module. 2018-04-23 03:56:58 -07:00
DN2 21f97e0a72 The beginning of device support. 2018-04-22 21:28:36 -07:00
DN2 f8cd768b5c Add launch files and make install. 2018-04-22 17:17:07 -07:00
DN2 5a0f149d26 Use a config file instead of env vars. 2018-04-22 15:39:55 -07:00
DN2 70fe3dd175 Test fixes and variable cleanup. 2018-04-22 14:19:03 -07:00
DN2 c5a4a33791 Projectize the project. 2018-04-22 14:10:55 -07:00
David Newhall II e45eaafd65 Add files via upload 2018-04-22 13:44:13 -07:00
DN2 2f26d0dab4 Shuffle things around a bit more. 2018-04-21 00:51:57 -07:00
DN2 20afec6747 Split out config data. 2018-04-21 00:02:34 -07:00
DN2 63f46f9edb Restructure the code. 2018-04-20 23:42:03 -07:00
DN2 5e611ed8d7 Eliminate global variables. 2018-04-20 13:33:51 -07:00
DN2 8d21b3d6bb Basic Makefile to start with. 2018-04-20 13:21:30 -07:00
DN2 b96256287b Minor Cleanup 2018-04-20 13:20:07 -07:00
Garrett Bjerkhoel c5a4f4a1bf Add README 2016-09-30 11:24:23 -07:00
Garrett Bjerkhoel 5449dcfdb2 Clean up some of the code 2016-09-30 11:24:17 -07:00
Garrett Bjerkhoel 5e700957b6 Add example .env file 2016-09-30 00:24:28 -07:00
Garrett Bjerkhoel be1edd1675 Use a known version 2016-09-30 00:13:32 -07:00
Garrett Bjerkhoel 94a0c640fb Vendoring what we need 2016-09-30 00:09:19 -07:00
Garrett Bjerkhoel 500c59002f Build heroku compatible app 2016-09-30 00:08:55 -07:00