- Dec 18, 2017
-
-
Benjamin Bertrand authored
Scroll up to ensure the from input is not hidden below the navbar. See https://github.com/twbs/bootstrap/issues/1768
-
Benjamin Bertrand authored
Rendering done client side using Showdown: http://showdownjs.com Live preview is shown below the form. Only raw text is saved in the database (no HTML). Note that no XSS filtering is done! See https://github.com/showdownjs/showdown/wiki/Markdown's-XSS-Vulnerability-(and-how-to-mitigate-it)
-
Benjamin Bertrand authored
Markdown to HTML converter in Javascript
-
- Dec 15, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Use endpoint argument to avoid collision with flask-admin Network
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
If a selectfield is disabled, None is returned (not a string). To pass wtforms validation, that value shall be part of the choices. We use None as the value for SelectField that are optional (instead of ''). We were previously converting '' to None when creating a model. We now use the coerce function to let the form convert 'None' to None.
-
Benjamin Bertrand authored
- disable item field for virtual hosts - pre-fill interface name with hostname
-
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
-