Commit Graph

333 Commits

Author SHA1 Message Date
Tony Murray d63b78b1af small clean ups 2020-06-27 07:47:08 -05:00
Tony Murray 46f0ad2110 style fixes 2020-06-27 07:47:08 -05:00
Tony Murray 685d1972f1 remove hard debug 2020-06-27 07:47:08 -05:00
Tony Murray 2c82e919f6 refined finish 2020-06-27 07:47:08 -05:00
Tony Murray 691a73caa6 consistency run through 2020-06-27 07:47:08 -05:00
Tony Murray e267ec1cab step status refactor 2020-06-27 07:47:08 -05:00
Tony Murray d1ceb14b9a create .env if non-existing 2020-06-27 07:47:08 -05:00
Tony Murray b1f526be48 finish conversion 2020-06-27 07:47:08 -05:00
Tony Murray 15cd2311cc User controller 2020-06-27 07:47:08 -05:00
Tony Murray 057f4c49fc db in one refactor WIP3 2020-06-27 07:47:08 -05:00
Tony Murray 246e6741a3 db in one refactor WIP2 2020-06-27 07:47:08 -05:00
Tony Murray 229a501d4f refactor 2020-06-27 07:47:08 -05:00
Tony Murray 5f0388f0e3 Remove DB credentials from config.php
Better validation when config.php does not exist

Update docs and quote password

only populate legacy vars in config_to_json
drop .travis.yml config copy
remove credentials from config.php.default

Check for existance of .env instead of config.php in python scripts

legacy credential cleanup

tiny cleanups

consistent env for artisan server and artisan dusk
2020-06-27 07:47:08 -05:00
Tony Murray 610475356f ajax step status check standardized 2020-06-27 07:47:08 -05:00
Tony Murray c750107906 Refactor to a simpler style 2020-06-27 07:47:08 -05:00
Tony Murray 27027428fa config file writing 2020-06-27 07:47:08 -05:00
Tony Murray 3415cb5272 user creation error handling 2020-06-27 07:47:08 -05:00
Tony Murray adf3afdaca run through and refinement 2020-06-27 07:47:08 -05:00
Tony Murray 94a71f9f41 check for INSTALL environment var 2020-06-27 07:47:08 -05:00
Tony Murray c408f39e5b check for INSTALL environment var 2020-06-27 07:47:08 -05:00
Tony Murray f601ad6d93 dynamic steps WIP 2020-06-27 07:47:08 -05:00
Tony Murray a3a8a6ae67 port to Bootstrap4 for flexbox 2020-06-27 07:47:08 -05:00
Tony Murray 70ebf419b2 WIP migration 2020-06-27 07:47:07 -05:00
Tony Murray f86f4ba307 style reorgs 2020-06-27 07:47:07 -05:00
Tony Murray 36a621a108 round buttons? 2020-06-27 07:47:07 -05:00
Tony Murray d943df40db user create + db migrate 2020-06-27 07:47:07 -05:00
Tony Murray cc7902c084 WIP 2020-06-27 07:47:07 -05:00
Tony Murray dbbd0e9867 db wip 2020-06-27 07:47:07 -05:00
Tony Murray 21aadc1a48 more style tweaks, will probably dump the table 2020-06-27 07:47:07 -05:00
Tony Murray 2221c0cfc2 slight style improvements
checks partial
2020-06-27 07:47:07 -05:00
Tony Murray 72efd7bbd9 structure and better middleware 2020-06-27 07:47:07 -05:00
Tony Murray ad2da9fcdb Install to Laravel WIP 2020-06-27 07:47:07 -05:00
Tony Murray 92153e1307 Merge pull request #11863 from murrant/fix-recurring-days
Fix recurring maintenance days
2020-06-26 07:57:20 -05:00
Tony Murray 04251cdc94 Fix recurring maintenance days 2020-06-25 22:12:21 -05:00
Tony Murray b0927e6416 Merge pull request #11848 from murrant/fix-lnms-user-not-root
lnms script should not be owned or ran by root
2020-06-25 21:22:09 -05:00
SourceDoctor 4e6a7291a2 Device Availability Calculation (#11784)
* Device Availability Calculation

* Travis fix

* .

* schema corrections

* flexible duration

* travis

* .

* .

* .

* .

* remove not needed code

* line Text to RRD

* update humantime

* .

* only set up again if device was marked as down

* set RRD area transparency

* save uptime also, to keep last availability as good as possible

* file description correction

* look for outages even if uptime > duration
2020-06-22 22:57:30 +02:00
Tony Murray 5eddbb7fe2 lnms script should not be owned or ran by root 2020-06-22 14:38:20 -05:00
Tony Murray 9372074b6d Merge pull request #11728 from yac01/master
Feature: F5 LTM bandwidth controller
2020-06-19 13:39:36 -05:00
Tony Murray cd9c349297 Allow device url by hostname (#11831)
* Allow device url by hostname
/device/hostname
/device/hostname/ports

* slightly different code style
without else ;)
2020-06-17 22:13:06 +02:00
louis-oui 80aca5eec9 Fix availability map downtime (#11638)
* fix

* fix widget

* fix widget

* fix widget

* fix

* last_polled fix

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device
2020-06-15 23:53:48 +02:00
Tony Murray 435432e540 Merge pull request #11829 from murrant/device-sort-downtime
Devices List: Sort downtime and uptime
2020-06-15 13:03:45 -05:00
Tony Murray 4e95f667df Merge pull request #11830 from murrant/device-not-found
404 when device does not exist
2020-06-15 13:03:17 -05:00
Tony Murray f18e7f5a20 work for mysql 2020-06-15 10:50:29 -05:00
Tony Murray d1f66bfe97 Merge branch 'master' into device-sort-downtime 2020-06-15 10:33:53 -05:00
Tony Murray 1d3664702a 404 when device does not exist 2020-06-15 10:32:07 -05:00
Tony Murray 605e6f5098 Devices List: Sort downtime and uptime 2020-06-15 10:03:16 -05:00
Tony Murray 853fbf632e Fix table sorts not working
Define sortable fields for all table controllers
2020-06-15 09:50:21 -05:00
Tony Murray 240b84aa3f Merge pull request #11776 from TheGreatDoc/ups-traps
Added UPS-MIB Trap On Battery (upsTraps.0.1)
2020-06-14 16:41:42 -05:00
Tony Murray 67e637e4ca Maintenance Windows: recurring now works overnight (#11389)
* Alert Rules use Carbon
Use carbon for time queries, need to be careful of timezone quirks.  Timestamps won't have that issue

* Convert existing schedules to UTC

* we only need start end... we already have start/end

* Make AlertSchedule::isActive work

* Table display working (and using Eloquent)

* Schedule creation updated

* WIP

* use Eloquent mutators/accessors

* recurring_day mutator/accessor

* WIP UI

* Fix SQL to handle outside times

* fix up some ui issues

* Convert alert-schedule to new style
Improved sorting customization

* fix whitespace

* support sqlite

* Fix schedule creation missing id

* Fix Device::isUnderMaintenance() add location relation
2020-06-14 16:35:50 -05:00
Tony Murray 0a5c3cc747 Fix Device::isUnderMaintenance() add location relation 2020-06-14 12:39:10 -05:00