- Apr 27, 2018
-
-
Benjamin Bertrand authored
- RQ Dashboard shall only be accessible to admin users - "REDIS_URL" is hard-coded in rq-dashboard (had to rename RQ_REDIS_URL)
-
Benjamin Bertrand authored
The "REDIS_URL" variable is hard-coded in RQ Dashboard. REDIS_URL was used by redis_store that is passed to Flask Session. The url variable used by Flask-Redis can be changed by setting the config_prefix. 1. Rename REDIS_URL to SESSION_REDIS_URL 2. Rename redis_store to session_redis_store 3. Use "SESSION_REDIS" config_prefix to initialize session_redis_store This makes it clear that this Redis instance is used by Flask-Session. REDIS_URL will be used for RQ.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
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)
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Add .pytest_cache/ directory
-
- 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 13, 2018
-
-
Benjamin Bertrand authored
-
- 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
The sorting of the models was done in the utils.get_model_choices funtion but a specific query was passed to not display admin_only networks. The sorting is now done even when passing a specific query to get_model_choices. JIRA INFRA-284
-
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
JIRA INFRA-281
-
Benjamin Bertrand authored
JIRA INFRA-277
-
Benjamin Bertrand authored
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
-
Benjamin Bertrand authored
The description is only shown if not empty JIRA INFRA-280
-
- Apr 05, 2018
-
-
Benjamin Bertrand authored
Many new models are not descriptive (part number) and being able to search in the model description should help.
-
- Mar 21, 2018
-
-
Benjamin Bertrand authored
-
- Mar 16, 2018
-
-
Benjamin Bertrand authored
We should reserve 10 addresses at the beginning and 5 at the end. Meaning for a /24 network, we should start at 11 and end at 249.
-
- Mar 14, 2018
-
-
Benjamin Bertrand authored
Some tests were hanging due to the addresses generated by factory.Faker('ipv4', network=True) Replace it by a Sequence of /24 addresses
-
Benjamin Bertrand authored
pytest-factoryboy 1.3.2 required factory_boy < 2.9 Newer version (2.0.1) requires: - pytest >= 3.3.2 - factory_boy >= 2.10.0 So both pytest and factory_boy could be updated as well
-
Benjamin Bertrand authored
cnames entered in CSEntry are just names not FQDN See d1f500238c5798259f536bb80fa93aba2d493b97
-
Benjamin Bertrand authored
This reverts commit 920b9bc5. Allowing cnames with different domains makes things too complex. The domain shall be the same as the host. See INFRA-242
-
- Mar 13, 2018
-
-
Benjamin Bertrand authored
Factory boy doesn't reset the sequence between tests. We use a sequence to generate unique IP addresses in the InterfaceFactory. When the sequence number gets too high, the IP is not in the network range anymore. To fix the issue, we reset the sequence number when initializing a new session.
-
Benjamin Bertrand authored
Allow to filter by domains
-
Benjamin Bertrand authored
Fix INFRA-242
-
Benjamin Bertrand authored
Having the username in the API is more useful than the display name. We keep the display name in the UI. Fix INFRA-241
-
- Mar 12, 2018
-
-
Benjamin Bertrand authored
Create unit test and coverage report with pytest
-
- Mar 07, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Not everyone at ICS is part of the 'ICS Employees' AD group. We have to accept 'ICS Consultants' as well. The CSENTRY_LDAP_GROUPS settings now takes a list of groups instead of just one. Remove unused is_member_of_all_groups method. Fixes INFRA-225
-
- Mar 06, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Fixes INFRA-224
-
- Mar 05, 2018
-
-
Benjamin Bertrand authored
Allow to easily print the actions
-
- Mar 03, 2018
-
-
Benjamin Bertrand authored
-