- Jan 08, 2018
-
-
Benjamin Bertrand authored
Pagination information (next, prev, first, last) is included in the Link HTTP header. The total number of entries is provided in the X-Total-Count HTTP header.
-
- Jan 05, 2018
-
-
Benjamin Bertrand authored
gateway tag shall be admin_only
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Only keep the values really required by the application.
-
- Jan 04, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Fix failure for ajax request GET /inventory/_retrieve_items?draw=7&columns...: invalid request block size: 5574 (max 4096)...skip # Please enter the commit message for your changes. Lines starting
-
Benjamin Bertrand authored
Sorting on manufacturer/model/location/status requires a join which removes the row with empty field. Disable it until we find a way to sort properly including null values.
-
Benjamin Bertrand authored
When there are more than a 1000 items in the table, retrieving and displaying all items takes about 7 seconds. This is every time we refresh the items page, which is too slow.
-
- Jan 03, 2018
-
-
Benjamin Bertrand authored
Some tags (like gateway) should only be selectable by admin users.
-
Benjamin Bertrand authored
- The query to retrieve used ICS ids was run at each iteration of the loop... - Use a set to quickly test the existence of used ICS ids
-
Benjamin Bertrand authored
Enable to run the application closer to the production environment
-
- Jan 02, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Having the description field only on the Model class makes things inconsistent. It's nice to have a description on other attributes as well.
-
Benjamin Bertrand authored
The generation of the QR code image is quite slow and makes the page displaying them take a long time to load when it includes more a few. The data never changes and can easily be cached (the repr() of the class is used in the cache key, so if the name or id changes, the cache will be recomputed - there is no need for a timeout).
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Column not visible but searchable. Allow to search comments and TAG number for items imported from JIRA.
-
- Dec 22, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
One should be able to enter a MAC when creating/editing an interface.
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Allow to scan a label to enter an ICS id via the web interface
-
Benjamin Bertrand authored
The user_id is used to track the item creator. It's not supposed to be updated afterwards. There is no need to track changes.
-
- Dec 21, 2017
-
-
Benjamin Bertrand authored
uwsgi is used to run the application in production. It was lost during some environment updates...
-
Benjamin Bertrand authored
Strings are automatically converted to datetime object. Note that datetime are stored without timezone in the database (in UTC).
-
Benjamin Bertrand authored
text is really generic and could conflict with another variable. body is often used for comments.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Required to create users when importing items from JIRA. Renamed blueprint from "users" to "user" to be consistent with other blueprints (inventory and network).
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
+ fix tests
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
This allows to easily register items via the API without giving an ICS id.
-
Benjamin Bertrand authored
Split API in different blueprints like for the web UI: - users (login) - inventory - network Use version in API url (api/v1) to make future changes easier without breaking backward compatibility
-
Benjamin Bertrand authored
- This will help tracking who and what was created / changed - Move fetch_current_user_id to utils.py - Make ItemComment inherit from CreatedMixin
-
- Dec 20, 2017
-
-
Benjamin Bertrand authored
- Only admin should be able to create networks - Deleting an interface should require at least create group (should that be restricted to admin?)
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Add delete and delete-orphan options to the cascade behavior: - delete: delete from database associated cnames when deleting an interface - delete-orphan: delete cname when removing it from the list of interface.cnames
-