Commit Graph
78 Commits
Author SHA1 Message Date
ponas b0579fe7c0 Adds unfinished management command for dhcp sync 2014-10-15 19:40:38 +02:00
ponas b261c9bc7f Removes unused mdb.views functionality. 2014-10-08 03:44:02 +02:00
ponas 0577a9407c It appears settings.py is usually not placed in the root.
Moves settings-sample.py, updates manage.py and README
2014-10-08 03:43:13 +02:00
ponas 4b5ebf27f6 Silence Django warnings by adding a test runner. 2014-10-08 03:43:13 +02:00
ponas 25a5a103a7 1021% more README. 2014-10-08 03:43:13 +02:00
ponas 19611dea0a I guess this is how it's done. 2014-10-08 03:43:13 +02:00
ponas 4ec8299779 Adds requirements.txt 2014-10-08 03:43:13 +02:00
ponas 0e2a1943d9 - 1.7 migration: Methods in django.conf.urls.defaults have moved up one level.
- Let's just redirect to the admin interface
2014-10-08 02:00:28 +02:00
ponas c5b83a8364 Migration to Django 1.7: New generation of manage.py 2014-10-08 01:38:04 +02:00
ponas 35ac6717ee Migration to Django 1.7
- Access model sets case-sensitively
- BooleanFields must have a default value
- Adds verbose names where needed
2014-10-08 01:34:59 +02:00
nikolark f78cc98477 list_display for operatingsystems 2014-09-11 20:32:17 +02:00
nikolark 4a3561109c Oops 2014-09-11 20:27:54 +02:00
nikolark 0b1d6de47c Merge pull request #4 from paalbra/master
Order OperatingSystem and HostType as displayed
2014-09-11 19:41:21 +02:00
Paal Braathen 93209b2e10 Order OperatingSystem and HostType as displayed 2014-09-11 18:40:38 +02:00
Tor Martin Slåen 8e05c2e4d4 Fixed type ttl->rtt in rrd file generation 2012-02-09 22:26:29 +01:00
Tor Martin Slåen 512097073e removed domain auto-update-serial as there was an unfortunate loop with the zone-synchronizer script. Will have to fix it later. 2012-02-09 01:53:45 +01:00
Tor Martin Slåen 86d1840b7d Added basic template with a menu on the left. 2012-02-09 01:00:33 +01:00
Tor Martin Slåen 0bb67ac188 More frontend design. Started implementing the info view, which shall be able to present information about hosts stored in the databse. 2012-02-09 00:59:17 +01:00
Tor Martin Slåen c368fe506f Forgot to add this file in the last commit :/ 2012-02-08 23:57:08 +01:00
Tor Martin Slåen 5c75c6b1b7 Added support for A-Records in domains 2012-02-08 23:55:31 +01:00
Tor Martin Slåen f4b3d07bf4 started upgrading front-end 2012-02-08 23:39:48 +01:00
Tor Martin Slåen 0474cb4797 wrote a small rrd-grapher (real quick - so do not expect much of it.) 2012-02-08 01:53:51 +01:00
Tor Martin Slåen 7c935524b1 added explicit exit status 2012-02-08 01:53:10 +01:00
Tor Martin Slåen 5a09609724 Written script which creates and populates an rrd database with average ping times. 2012-02-07 00:50:48 +01:00
Tor Martin Slåen afd1d9fb70 WARNING: The script is horribly inefficient. It might also lock up the database with lots of hanging connections. Use on own risk. 2012-02-07 00:49:46 +01:00
Tor Martin Slåen 062ee7a521 trying to save objects at the end... 2012-02-06 00:36:03 +01:00
Tor Martin Slåen bc76c60a11 Finished ping script. It now supports a variant of command-line arguments and supports threaded pinging. 2012-02-05 19:16:27 +01:00
Tor Martin Slåen 006283ab61 Created script which prints commands to run to setup the python environment for command-line execution. 2012-02-05 19:15:03 +01:00
Tor Martin Slåen 99a931c199 Created script which pings a specific host-type and writes to the ip4address object when it was last seen. Also made a change to the models in order to facilitate the logging. 2012-02-04 13:16:43 +01:00
Tor Martin Slåen 83bbfbe1a8 Added function for formatting domain serial. Updated domain_serial increment code with a call to this function. Added update of domain_serial when changing host information, eg. hostname. Added function for updating domain_serial when changing the domain itself, eg. adding CNAME records. 2012-02-04 12:28:07 +01:00
Tor Martin Slåen 2559725b1e Added hostname sorting in the list_display of hosts. Removed the brand column, it isn't really necessary. 2012-02-04 11:23:46 +01:00
nikolark 2aaa184444 Oops 2012-01-13 01:45:38 +01:00
nikolark 8f13ebf59a Deploy fixes 2012-01-13 01:39:48 +01:00
nikolark d3d5bcb27c Adds field search to admin models
- Search hosts by hostname, MAC adress or IP adress.
 - Search domains by domain name.
 - Lists MAC adress and IP address in list of hosts.
2012-01-13 01:23:43 +01:00
nikolark 5c847bcf3e Adds a basic landing page.
Uses the bootstrap css library from Twitter.
2012-01-13 01:22:25 +01:00
nikolark 1f7696bef7 Validate hostname. No duplicate ip-addresses. 2011-09-19 21:59:56 +02:00
Tor Martin Slåen f6247c88e8 added fix to ipv6 reverse zone export 2011-05-10 19:38:01 +02:00
Tor Martin Slåen 90230ffd39 remove origin in ipv6 subnet zones 2011-05-09 01:13:38 +02:00
Tor Martin Slåen f4e54820c6 forgot to remove debug 2011-05-09 01:05:28 +02:00
Tor Martin Slåen 0009f6a306 added zone export for ipv6 subnets 2011-05-09 00:53:59 +02:00
Tor Martin Slåen bf1c90af0d added zone export for ipv6 subnets 2011-05-09 00:53:44 +02:00
Tor Martin Slåen 117a32ecd4 fixed bug where script would crash if zone validation fails. 2011-05-08 22:24:29 +02:00
Tor Martin Slåen bc0958a6f0 added ipv6 support in zone file export 2011-05-08 22:22:37 +02:00
Tor Martin Slåen ef6e8e9cf6 added ipv6 support in models 2011-05-08 21:43:35 +02:00
Tor Martin Slåen 080acaaec3 fixed bug with subnet zone export. reverse dns would print entire ip, not just the past segment. 2011-04-22 18:44:48 +02:00
Tor Martin Slåen 148f650b89 removed old dns and dhcp scripts 2011-04-22 18:11:27 +02:00
Tor Martin Slåen d22730b378 deleted file 2011-04-22 18:02:00 +02:00
Tor Martin Slåen 5e36759d27 created script to export dhcp configuration 2011-04-22 18:01:49 +02:00
Tor Martin Slåen e515b7cb41 added debugging variable 2011-04-22 18:01:09 +02:00
Tor Martin Slåen c3124259e7 created dhcpd configuration export function 2011-04-22 17:59:10 +02:00