- Dec 15, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Description shall be filled at the host level
-
Benjamin Bertrand authored
TODO: we should be able to render HTML in the comments Look at https://github.com/miguelgrinberg/Flask-PageDown
-
Benjamin Bertrand authored
-
- Dec 14, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- Main blueprint used to declare custom views for all blueprints. (keep inventory blueprint cleaner) - Add url_prefix to each blueprint
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Those tokens are supposed to be used in scripts or applications to access the API and should not expire. Updated to flask-jwt-extended 3.4.0 to be able to disable expiration See https://github.com/vimalloc/flask-jwt-extended/issues/105
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Store some settings to the session to make it easy to register several identical items.
-
- Dec 13, 2017
-
-
Benjamin Bertrand authored
In Flask, session data are stored in a cookie by default. Using a server side session, there is no risk of putting too much data in the session and transmissting a big cookie on every request (only an id is sent in the cookie). Redis is used as backend (without persistent storage).
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
main blueprint splitted in: - inventory - networks
-
Benjamin Bertrand authored
- Rename Host to Interface - Create new Host table to group interfaces
-
Benjamin Bertrand authored
Use the session instead of URL parameters to store the last network chosen.
-
Benjamin Bertrand authored
There is no point displaying the LDAP groups in the profile
-
Benjamin Bertrand authored
- All created tokens are stored in the database. To revoke a token, we just delete it from the database. Tokens not found in the database are thus considered unvalid / revoked. - Add button to copy generated token to the clipboard - Redesign profile page
-
Benjamin Bertrand authored
See https://clipboardjs.com
-
- Dec 12, 2017
-
-
Benjamin Bertrand authored
Open source icon set with ready-to-use fonts for bootstrap See https://useiconic.com/open/
-
- Dec 06, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
hosttags table required for the many-to-many relationship See http://flask-sqlalchemy.pocoo.org/2.3/models/#many-to-many-relationships
-
Benjamin Bertrand authored
- Several IPs (hosts) can be associated to one MAC address - Host name shall be non nullable
-
Benjamin Bertrand authored
- refactor Network class
-
- Nov 26, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
pytest-factoryboy current version (1.3.1) is not compatible with factory_boy >= 2.9 See https://github.com/pytest-dev/pytest-factoryboy/pull/54
-
Benjamin Bertrand authored
- update conda image and all dependencies - uwsgi now available in conda for Python 3.6 (no need to install gcc to install it via pip) - add new dependency: factory_boy / pytest-factoryboy
-
- Nov 21, 2017
-
-
Benjamin Bertrand authored
Catch exception when no network exists (null is passed as network_id).
-
Benjamin Bertrand authored
-
- Nov 20, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- network name should be unique and not nullable - force all name fields to StringField
-
- Nov 17, 2017
-
-
Benjamin Bertrand authored
-
- Nov 15, 2017
-
-
Benjamin Bertrand authored
Don't ovveride SQLAlchemy __init__ method on db.Model classes. See http://flask-sqlalchemy.pocoo.org/2.3/quickstart/: SQLAlchemy adds an implicit constructor to all model classes which accepts keyword arguments for all its columns and relationships. If you decide to override the constructor for any reason, make sure to keep accepting **kwargs and call the super constructor with those **kwargs to preserve this behavior
-
Benjamin Bertrand authored
-