aboutsummaryrefslogtreecommitdiffstats
path: root/web/api
Commit message (Collapse)AuthorAgeLines
* added distro_name to api endpointLasse Haugen2016-12-16-1/+1
|
* Start clean switches-tableKristian Lyngstol2016-11-15-6/+6
| | | | Lots of cruft
* Various build-tweaks and cache tweaksKristian Lyngstol2016-11-11-2/+4
| | | | | | | | | - mibs are moved to data/, update gitignore - Adjust cache for switches and switches-management to improve responsiveness when adding new content. - Ensure mibs are correctly loaded if the data directory doesn't exist - Add a small timer to the startup of ping collector/snmp to avoid starting before graphite.
* Add distro-tree endpointKristian Lyngstol2016-11-08-0/+25
| | | | | | | Fixes #139 References #148 New problem: Test data is insufficient.
* Remove debug output and fix linknet-adding in nightmodeKristian Lyngstol2016-07-01-2/+0
|
* Implement support for per-switch/port queries for switch-stateKristian Lyngstol2016-07-01-4/+25
|
* Implement tags and various other minor tweaksKristian Lyngstol2016-07-01-8/+18
|
* switch-state: Use ifAlias to determine client/uplinkKristian Lyngstol2016-06-30-14/+16
|
* Uplink logic for DXKristian Lyngstol2016-06-30-3/+3
|
* Get cisco temperatures too and mix other tweaksKristian Lyngstol2016-06-28-1/+1
|
* front/api: Add user-provided nick to oplogKristian Lyngstol2016-05-28-1/+1
| | | | | | Fixes #84 It's really stupid simple, but it will work.
* front: Fix/tweak edit-boxKristian Lyngstol2016-05-25-1/+1
| | | | | | | | | No need to expose 'switch' id in the API - it's internal to the db. The entire edit-logic should be cleaned up, but at least this fixes the immediate problem. Fixes #74
* Ping and expose ipv6 as a true equal/superiorKristian Lyngstol2016-05-23-8/+12
| | | | | | | | | | Fixes #80 I should go to bed. Also: Fixes a tiny little issue where we didn't take into account the nature if the OPing timeout? Or has it changed? Either way, no longer do we store thousands of ping replies - per second.
* Search box/oplog: Add string-literal searchKristian Lyngstol2016-05-22-1/+1
| | | | | You can now use "foo" to find a switch called foo, but not also the ones called foobar foobar1, etc
* Add rudimentary way of providing linknets.Kristian Lyngstol2016-05-20-0/+32
| | | | Needs a lot of work, including the API side, possibly also the schema.
* Add system-generated op logsKristian Lyngstol2016-05-20-1/+3
| | | | | | | | First up: Add a switch, get a log entry. This might require some filtering in the GUI eventually. This is why the user is set to 'system', even when we have an actual user that triggered the event.
* Config: Output some defaults if there is no config.Kristian Lyngstol2016-05-20-0/+3
| | | | Fixes #79
* Remove comments from code in place of oplogsKristian Lyngstol2016-05-18-65/+1
|
* Add basic oplogKristian Lyngstol2016-05-18-0/+44
| | | | | | | | | | It still needs to be integrated with switches/info box, but this is a good start. Shows the last 5 log messages in an overlay on the map, with the rest visible in an oplog tab. Fixes #20
* Add write-api for configKristian Lyngstol2016-05-16-0/+22
| | | | References #54
* Add config read-api and use it to detect public accessKristian Lyngstol2016-05-16-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently no way to modify the settings except by manual SQL, but it's coming. This allows us to have event-specific configuration in the database. This commit adds js that uses this to detect if the frontend is a public vhost or not. There are currently only three columns provided in addition to ID. publicvhost: The domain name of the publicly accessible version of Gondul. shortname: code name for the vent. e.g dx16, tg17, etc. data: jsonb to contain most other settings as we see fit. Most settings will be stored in 'data' if it's only or mainly used by the frontend. This will allow frontend developers to supply arbitrary configuration options without the need for API or database changes in the future. Fixes #51 References #54 Still need the GUI for it.
* Move stuff from /opt/nms to /opt/gondul etcKristian Lyngstol2016-05-13-13/+13
| | | | Still lots to do
* Tweak README and create doc/ directoryKristian Lyngstol2016-04-14-131/+0
|
* More work on adapting /opt and testsKristian Lyngstol2016-04-13-13/+13
|
* Actual initial importKristian Lyngstol2016-04-12-0/+720
Fetched from tgmanage.