- Jan 25, 2019
-
-
Benjamin Bertrand authored
- Restrict the width of the vars column - Make the children and hosts a list of comma separated words with space to allow line break JIRA INFRA-763
-
- Nov 09, 2018
-
-
Benjamin Bertrand authored
- mac is now a column - the id of the input field changed from #mac_address to #mac JIRA INFRA-639
-
- Nov 06, 2018
-
-
Benjamin Bertrand authored
- Host names are unique (no 2 hosts with same name) - A host name shall not conflict with a cname or interface (if not main interface) - Interface names are unique (no 2 interfaces with same name) - An interface shall not conflict with a cname or host (if not assigned host) - cnames are only unique by domain (2 cnames can have the same name if different domains) - A cname shall not conflict with a host or interface - An interface has to be linked to a host Validation is implemented at the model level. Some is also implemented at the form level as it gives nicer feedback, but not all as it's a bit more complex when it requires check on several fields. JIRA INFRA-245
-
Benjamin Bertrand authored
selectize-bootstrap4-theme v2.0.2 from https://github.com/const-se/selectize-bootstrap4-theme To use selectize on a Select or MultiSelect field, add the selectize-default class. It initializes selectize with the default options. JIRA INFRA-644 #action In Progress
-
- Oct 18, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-618 #action In Progress
-
- Oct 11, 2018
-
-
Benjamin Bertrand authored
This saves the state of hosts and items tables (search input, ordering, paging position) so that it can be restored when the user reloads a page. See https://datatables.net/examples/basic_init/state_save.html JIRA INFRA-608 #action In Progress
-
Benjamin Bertrand authored
- switch to server side processing to retrieve network hosts (the table started to be bigger and takes time to load) - add full text search using elasticsearch Note that only the first IP is displayed in the host table (all interfaces were displayed before). Search can be performed on any interfaces. JIRA INFRA-595 #action In Progress
-
- Oct 05, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-575 #action In Progress
-
- Oct 03, 2018
-
-
Benjamin Bertrand authored
The buttons should only be created if the items_table exists JIRA INFRA-584
-
- Sep 28, 2018
-
-
Benjamin Bertrand authored
Retrieving all items from the database takes some time. The task is thus handled by the RQ worker. We use ajax to periodically monitor the status of the job and redirect to the file when ready. A progress bar is displayed to let the user see the progress. The mechanism put in place could be re-used for other use cases. JIRA INFRA-545 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-545
-
Benjamin Bertrand authored
Included libraries: - DataTables 1.10.18 (with bootstrap 4 theme) - Buttons 1.5.2 - Column visibility 1.5.2 - Print view 1.5.2 JIRA INFRA-545
-
- Sep 21, 2018
-
-
Benjamin Bertrand authored
-
- Sep 20, 2018
-
-
Benjamin Bertrand authored
This is not directly supported by CodeMirror. See https://github.com/codemirror/CodeMirror/issues/850 Add cm-resize library from https://github.com/Sphinxxxx/cm-resize JIRA INFRA-543 #action In Progress
-
- Aug 02, 2018
-
-
Benjamin Bertrand authored
The official flask-bootstrap is still not compatible with bootstrap 4. The application basically only uses the main template and one macro. It's easier to include directly bootstrap in CSEntry. It makes upgrading to the latest bootstrap much easier and removes a dependency. Update to bootstrap 4.1.3 Added: - jquery-3.3.1.min.js - bootstrap.bundle.min.js (include popper but not jquery) Note that jquery.slim can't be used. We need for example $.getJSON for datatables.
-
- Aug 01, 2018
-
-
Benjamin Bertrand authored
-
- Jul 31, 2018
-
-
Benjamin Bertrand authored
-
- Jul 17, 2018
-
-
Benjamin Bertrand authored
-
- Jul 13, 2018
-
-
Benjamin Bertrand authored
-
- Jul 12, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-412
-
- Jul 11, 2018
-
-
Benjamin Bertrand authored
Allow to enter Ansible variables on host in YAML format. Use codemirror (http://codemirror.net) to make editing YAML easier. JIRA INFRA-412
-
Benjamin Bertrand authored
+ yaml mode
-
- Jul 03, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Jul 02, 2018
-
-
Benjamin Bertrand authored
Allow to display tasks JIRA INFRA-403
-
- May 25, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-302
-
- May 09, 2018
-
-
Benjamin Bertrand authored
-
- Apr 23, 2018
-
-
Benjamin Bertrand authored
This is to be used for stack of switches only - a stack_member is linked to an host (device_type has to be "Switch") - a stack_member is an integer between 0 and 9 (included) or can be None - the couple (host_id, stack_member) must be unique JIRA INFRA-267
-
Benjamin Bertrand authored
- rename "Virtual" to "Virtual Machine" - add "Virtual IOC" - add several physical devices (Switch, Industrial PC IOC, MicroTCA, VME, PLC)
-
- Apr 20, 2018
-
-
Benjamin Bertrand authored
1. When we have a stack of switches, the same IP is associated to several switches 2. Move the items <-> host assocation to the item create/edit page JIRA INFRA-267
-
Benjamin Bertrand authored
The interface name doesn't need to be displayed in the form as we force it to the hostname. We set the interface name to the hostname when submitting the form. This fixes the copy/paste issue with the mouse that didn't trigger the keyup event. JIRA INFRA-287
-
- Apr 10, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-281
-
- Apr 09, 2018
-
-
Benjamin Bertrand authored
If an error is raised when submitting the form, we should keep the IP that was entered. JIRA INFRA-285
-
Benjamin Bertrand authored
The class "is-invalid" is removed on all type=text input on keyup event. JIRA INFRA-285
-
Benjamin Bertrand authored
- create many-to-many relationships between the user table and attributes tables (manufacturer / model / location / status / action) - add a checkbox as the first column of the attributes table to add or remove an attribute to the favorites - add a new page to display the favorite attributes JIRA INFRA-283
-
- Apr 06, 2018
-
-
Benjamin Bertrand authored
On page load we have to check the machine type to enable / disable item_id and check / uncheck the random MAC
-
Benjamin Bertrand authored
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
-
- Feb 26, 2018
-
-
Benjamin Bertrand authored
-
- Feb 20, 2018
-
-
Benjamin Bertrand authored
If we scroll to the submit button, we can't see the "Submit" QRCode
-
Benjamin Bertrand authored
The QRCode content doesn't matter. It's only there to trigger a CR to submit the form. Scanning a serial number will focus on the submit button so that scanning the QRCode doesn't enter text in any form input field.
-