- Nov 13, 2017
-
-
Benjamin Bertrand authored
Don't override the Admin view __init__ method for consistency. Avoid having to import models in admin/views.py
-
Benjamin Bertrand authored
CIText is displayed as a TextAreaField by flask-admin. Override it to use StringField.
-
Benjamin Bertrand authored
- Allow to pass several mandatory fields in create_generic_model - Add tests
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- A network defines an available range of IP addresses - A host defines an IP address and name - A host is always linked to a network - A mac address is always linked to an item (physical equipment) - A mac address can be linked to one host (IP) - An item can have several mac addresses
-
- Nov 10, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Text is as efficient in Postgres and is recommended over varchar. It avoids having to put an arbitrary max length to strings.
-
- Nov 07, 2017
-
-
Benjamin Bertrand authored
-
- Nov 03, 2017
-
-
Benjamin Bertrand authored
CSE makes it clearer that it's linked to CSEntry
-
Benjamin Bertrand authored
-
- Oct 17, 2017
-
-
Benjamin Bertrand authored
This reverts commit 8d6acd19. See https://issues.jenkins-ci.org/browse/JENKINS-46736
-
- Sep 29, 2017
-
-
Benjamin Bertrand authored
Bug in bitbucket team project?
-
- Sep 26, 2017
-
-
Benjamin Bertrand authored
Client moved to its own repository (ics-inventory-client)
-
Benjamin Bertrand authored
Add button to return to main index
-
- Sep 25, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Sep 21, 2017
-
-
Benjamin Bertrand authored
ics_id, serial_number, manufacturer_id and model_id should not change. Repeating them in the history table takes space for nothing. We are only interested in tracking the status, location and parent.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- catch IntegrityError on patch - disable autoflush (IntegrityError was raised before commit due to autoflush)
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Sep 17, 2017
-
-
Benjamin Bertrand authored
Pass ?qrcode=true as query string
-
Benjamin Bertrand authored
-
- Sep 09, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Sep 08, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Fix default button issue on login page
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- use same postgres container for dev and test (create 2 different databases) - use docker-compose.override.yml to avoid duplication - ignore more files not needed in the docker image By default docker-compose reads both docker-compose.yml and docker-compose.override.yml. In docker-compose.override.yml we mount the current directory as a volume for development. To test the image we only use docker-compose.yml: - don't force port 5432 to the outside world to avoid conflict - do not mount the current directory
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- change label (jenkins-slave should have docker-compose installed) - only push when the current commit is a tag
-
- Sep 07, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Can use: - /api/items?serial_number=123456 - /api/items?location_id=1
-
- Sep 06, 2017
-
-
Benjamin Bertrand authored
This allows a client to login only once a day. We might want to decrease that and look into refresh token. But this looks overkill for our use case.
-
Benjamin Bertrand authored
- add more tests - patching an item update children location and status - setting the parent on an item updates the location and status with the parent ones
-
Benjamin Bertrand authored
-