- Oct 11, 2018
-
-
Benjamin Bertrand authored
1. If there is a rollback, some objects could be updated in the elasticsearch index but not in the database. Updating the index after commit ensures this can't happen. 2. In after_flush, not all relationships are updated properly. We need to retrieve the objects in the after_flush_postexec event. It can't be done in the after_commit event because we can't emit SQL at that point. See https://groups.google.com/forum/#!topic/sqlalchemy/GdB5J8h7YEU JIRA INFRA-595
-
Benjamin Bertrand authored
Decrease the number of SELECT calls by loading relationships that are almost always used. See https://docs.sqlalchemy.org/en/latest/orm/loading_relationships.html JIRA INFRA-595
-
Benjamin Bertrand authored
This is to ensure that when editing an object it is properly re-indexed. JIRA INFRA-575
-
Benjamin Bertrand authored
JIRA INFRA-575
-
Benjamin Bertrand authored
JIRA INFRA-575
-
- Oct 05, 2018
-
-
Benjamin Bertrand authored
Version shall be identical to the one used in production: 6.4.2
-
Benjamin Bertrand authored
JIRA INFRA-575 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-575
-
- 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
-
Benjamin Bertrand authored
A deferred task will remain deferred forever if the task it depends on fails. When checking for waiting tasks, we should ignore deferred tasks that are too old. "Too old" is currently set to 30 minutes. We shouldn't have tasks that take that long. We might want to shorten that even a bit (to not block new identical tasks to be run) but if a task failed there is probably something to be done. JIRA INFRA-559 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-569 #action In Progress
-
Benjamin Bertrand authored
Add endpoints: DELETE /network/hosts/<host_id> DELETE /network/interfaces/<interface_id> JIRA INFRA-570 #action In Progress
-
Benjamin Bertrand authored
- set cascade to all and delete-orphan to delete interfaces when deleting a host - button added on the view host page to delete host (admin only) JIRA INFRA-557 #action In Progress
-
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 24, 2018
-
-
Benjamin Bertrand authored
-
- Sep 21, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
This was just a typo... It should be AnsibleGroup instead of AnsibleQuery... JIRA INFRA-548
-
Benjamin Bertrand authored
ztp_stack can be empty. We pass it as extra vars only if it's not. The survey of the AWX_ZTP_CONFIGURATION template shall be updated to set the ztp_stack parameter as not required. JIRA INFRA-547
-
Benjamin Bertrand authored
Allow to copy/paste the output of the "ansible-vault encrypt_string" command to CSEntry JIRA INFRA-544 #action In Progress
-
- 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
-
- Sep 14, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-526
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
The .git directory is used to identify the release number
-
Benjamin Bertrand authored
WARNING! To pass the SECRET_KEY as en env variable, you should use base64 encoding as the key is supposed to be a random string of bytes.
-
Benjamin Bertrand authored
Errors are now sent to sentry. No need to send them directly via e-mail. JIRA INFRA-525
-
Benjamin Bertrand authored
JIRA INFRA-525 #action In Progress
-
Benjamin Bertrand authored
CSENTRY_ENVIRONMENT shall be set to production|staging|development It can be used when sending errors to Sentry JIRA INFRA-525
-
- Sep 13, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
JIRA INFRA-500 #action In Progress
-
- Sep 02, 2018
-
-
Benjamin Bertrand authored
New feature added in GitLab 11.2. See https://docs.gitlab.com/ee/ci/yaml/README.html#artifacts-reports-junit
-
- Aug 21, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
New variable required to generate ZTP configuration. Note that we can only pass strings with extra_vars in AWX API (no list or dict). JIRA INFRA-458 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-459 #action In Progress
-
Benjamin Bertrand authored
-
- Aug 16, 2018
-
-
Benjamin Bertrand authored
-