- Feb 26, 2020
-
-
Benjamin Bertrand authored
Normal users can only view networks they have access to JIRA INFRA-1809 #action In Progress
-
- Feb 24, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1790 #action In Progress
-
- Feb 03, 2020
-
-
Benjamin Bertrand authored
- Remove "- CSEntry" (logo is already displayed in tabs depending on the browser) - Specify name of the instance in view and edit pages JIRA INFRA-1726 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-1724
-
Benjamin Bertrand authored
Sensitive hosts shall not be returned in search and get queries (both web and API) for non admin users JIRA INFRA-1671
-
Benjamin Bertrand authored
JIRA INFRA-1671
-
- Jan 28, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1671 #action In Progress
-
- Dec 19, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-1627
-
Benjamin Bertrand authored
JIRA INFRA-1627 #action In Progress
-
- Dec 18, 2019
-
-
Benjamin Bertrand authored
Check that a group child is not: - the group itself - the "all" group - in one of the parent groups (recursively) JIRA INFRA-1622 #action In Progress
-
Benjamin Bertrand authored
stack_member was incorrectly coerced to a string JIRA INFRA-1648 #action In Progress
-
- Dec 04, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-1604 #action In Progress
-
- Nov 26, 2019
-
-
Benjamin Bertrand authored
Validation worked in the models because fullmatch is used but in the Regexp validators from wtforms, only match is called. The form validator didn't catch "AAA1100". Test added for this. JIRA INFRA-1569 #action In Progress
-
- Aug 27, 2019
-
-
Benjamin Bertrand authored
A string or list is valid YAML but not valid for Ansible variables. We expect only key-value-pairs (dict). JIRA INFRA-1221
-
- Aug 22, 2019
-
-
Benjamin Bertrand authored
Replace previous implementation based on the domain. The domain can be changed per network but in practice we always use the same domain in a network scope. We currently have 9 network scopes but only 3 domains. Using the network scope gives us finer granularity in practice. JIRA INFRA-1228 #action In Progress
-
- Jun 13, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-1049 #action In Progress
-
- May 10, 2019
-
-
Benjamin Bertrand authored
- admin can delete any hosts - normal users can delete hosts they created Note that still only admin users can delete hosts via the API (more dangerous operation as a script could delete many hosts). JIRA INFRA-1018 #action In Progress
-
- Mar 18, 2019
-
-
Benjamin Bertrand authored
- users with access to the network can create VIOC - VM can be created only in the ALLOWED_VM_CREATION_DOMAINS JIRA INFRA-775
-
- Mar 05, 2019
-
-
Benjamin Bertrand authored
Tags were basically only used for IOCs. Tags were linked to the interface (and not the host). But for IOC we assume it should always be the main (first) interface. Using a field on the host table will make it more obvious for users. Created a IOC dynamic group type, to create a group including all IOCs JIRA INFRA-862 #action In Progress
-
- Jan 29, 2019
-
-
Benjamin Bertrand authored
The MAC field has both a Regexp and Unique validators. In wtforms, the validation doesn't stop on the first error (all validators are run). In case of invalid mac address, the Unique validator makes a request to the database that raises a DataError. This exception has to be catched. JIRA INFRA-777 #action In Progress
-
- Jan 25, 2019
-
-
Benjamin Bertrand authored
Search on keyword can be made case insensitive by using a normalizer. But some fields with type keyword include several words. They are only returned by entering all words. This is not what most users expect. It's better to use the "text" type by default (for text fields) and add an extra "keyword" field of type "keyword" for sorting. JIRA INFRA-770
-
Benjamin Bertrand authored
JIRA INFRA-763
-
- Dec 10, 2018
-
-
Benjamin Bertrand authored
Not sure why a tuple instead of network was returned... There must have been a comma at the end of the line due to copy/pasting and black converted that to a tuple. Added a test for the create_interface function. JIRA INFRA-697 #action In Progress
-
- Nov 30, 2018
-
-
Benjamin Bertrand authored
- create_host doesn't return 403 for user_lab but 200 because the form validation fails (the network_id is not part of the form choices) - caching disabled during tests the current_user could sometimes return a different username because of caching: the database is cleaned between each test, so different users can have the same id and an old user could be returned instead of the new one due to caching JIRA INFRA-578
-
Benjamin Bertrand authored
- add fqdn to host - add gateway to network - add netmask to interface - allow to pass recursive via the API (to expand interfaces in host) - add is_main property to interface (True if the interface is the main interface of the host) JIRA INFRA-640
-
- Nov 27, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-578 #action In Progress
-
- 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
- mac is now a column in the interface table (no link to the mac table) - mac column is unique (can't have 2 interfaces with the same mac) - the mac table is kept for the items JIRA INFRA-639
-
- Oct 18, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-618 #action In Progress
-
- Oct 11, 2018
-
-
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
-
- Aug 08, 2018
-
-
Benjamin Bertrand authored
New get_json method on test client response. See http://flask.pocoo.org/docs/1.0/testing/#testing-json-apis
-
- Jul 06, 2018
-
-
- Feb 09, 2018
-
-
Benjamin Bertrand authored
Fixes INFRA-197
-
- Jan 18, 2018
-
-
Benjamin Bertrand authored
Allow to keep track of batches of small parts.
-
- Jan 05, 2018
-
-
Benjamin Bertrand authored
-
- Jan 02, 2018
-
-
Benjamin Bertrand authored
Column not visible but searchable. Allow to search comments and TAG number for items imported from JIRA.
-
- Dec 21, 2017
-
-
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
+ fix tests
-
Benjamin Bertrand authored
-