Database now uses variable type IDs. This frees us from having to manually specify constants.
Removed INFORMATION_* and RESOURCE_* constants. Now using a more sane scheme using strings that preserves some sense of hierarchy, lets us define abstract classes, and may eventually let us deprecate the TYPE_* constants as well. Thanks to the previous commit, there is no performance loss, since the database automatically converts these strings into integers (foreign keys).
Fixed small bug in cython test.
Improved behavior when data_type is ommitted and data_subtype is given.
Merge branch 'master' of https://github.com/cr0hn/golismero
Merge branch 'master' of https://github.com/cr0hn/golismero
Merge branch 'master' of https://github.com/cr0hn/golismero
Removed the need to specify the data types when querying by ID - if the underlying db needs it it should be stored elsewhere, it's best to keep the interface simple. Also removed (temporarily) the mongodb code, since it's deviating too much from the current version of the API and I can't mantain it yet. It'll be back later on.
Merge branch 'master' of https://github.com/cr0hn/golismero
Several changes to the database model:
- Now all data is stored together in the same table, called "data".
- Data types are now strings instead of integers. They're stored in a separate table, so there's no performance hit, since data type comparisongs are still integers.
- Graph vertices are stored in a separate table, instead of using the Python serialization. This will help with other changes we need to the database, in the future.
- As a result of this, the database API is simpler - it no longer takes the data type in some methods as it did before.
s/Url/URL/ for consistency. (Sorry for the spam, but I can't believe this was a single operation in PyCharm, this IDE is great!)
Fixed recently introduced bug when refactoring the database API.
First version of the new model that incorporates vertices as well as nodes in the graph. Now plugins can expect vertex events instead of node events.
Fixed bug when calculating the next stage.
Now the SSLScan plugin uses the new vertex event feature.
New test case for the Nmap plugin.
Merge branch 'master' of https://github.com/cr0hn/golismero
Merge branch 'master' of https://github.com/cr0hn/golismero
Merge branch 'master' of https://github.com/cr0hn/golismero
Cosmetic change.