networking – ubuntu 18.04 ISO – Disable Network Configuration Prompts / Dialog via preseed config

During ubuntu iso 18.04 server install the network configuration manager dialog will showing if ethernet is not active.

Note: I have created unattended ubuntu 18.04 offline iso. hence I don’t want to show manual interaction like showing network configuration dialog. is there any way to disable the dialog since it has manually interacted?

Can we do it preseed file?

kindly help with this

Thanks,
Ramesh

bash – How to display a program output through a “dialog” window

How can I reroute a program’s output to a dialog window instead of stdout or stderr using bash?

I don’t want to capture that output to a variable by using variable=$(appname) and display it afterwards by using dialog --msgbox. I want to have something like a runtime rerouting so that the program’s output is displayed in that dialog window as it happens. Not after it’s finished.

Is that possible?

Thank you!

macos – Unexplained and persistent “OS X 10.13 is not supported” dialog

I am being interrupted multiple times a day by a mysterious dialog box that says:

“OS X 10.13 is not supported. There is an update but you are on OS X 10.13 or an earlier version. Upgrade to the latest version of macOS to install it.”

While I was considering doing the OS update soon, this dialog has actually caused me to hesitate, because I can find absolutely no documentation for it. A google search gives only a single hit, and that is in French. I am a bit concerned that this could be evidence of malware- perhaps, for example, the running an update could give malware a special opportunity to get extra permissions/control of my system.

Does anyone have an idea where such a dialog could be coming from, or what app may be triggering it? Image attached.

Recurring, unexplained dialog box

8 – Link dialog not opening

I have two environments. The first is the dev environment on my local machine running on mamp and the second one is a prod environment running on an ubuntu server.

On my local env, when I click on the link button, the link dialog opens. But when I do the same thing on the prod environment, only a loading box appears but no dialog. There are not console errors. I have synced both environments using Config Manager. But the JSON data fetched by the environments is different. Not sure whether that’s the issue.

I am logged in as admin in both environments.

This is the response from /editor/dialog/link/full_html?_wrapper_format=drupal_modal

Prod JSON

[
    {
        "command": "settings",
        "settings": {
            "pluralDelimiter": "u0003",
            "suppressDeprecationErrors": true,
            "ajaxPageState": {
                "libraries": "core/drupal.dialog.ajax,core/jquery.form,editor/drupal.editor.dialog",
                "theme": "seven",
                "theme_token": null
            },
            "ajaxTrustedUrl": {
                "form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM": true,
                "/editor/dialog/link/full_html?_wrapper_format=drupal_modal&ajax_form=1": true
            },
            "ajax": {
                "edit-actions-save-modal": {
                    "callback": "::submitForm",
                    "event": "click",
                    "url": "/editor/dialog/link/full_html?_wrapper_format=drupal_modal&ajax_form=1",
                    "dialogType": "ajax",
                    "submit": {
                        "_triggering_element_name": "op",
                        "_triggering_element_value": "Save"
                    }
                }
            },
            "user": {
                "uid": "1",
                "permissionsHash": "3a6738ca15df8edfc0ddf5d973ff2f8f26cd742b3a1df7881a38a3f9b12b021c"
            }
        },
        "merge": true
    },
    {
        "command": "add_css",
        "data": "<link rel="stylesheet" media="all" href="https://s3.ap-southeast-2.amazonaws.com/s3fs-public/css/css_jENWXuxkjHOaJuMxuD20V_G3a-g7i7Dp83a6nhFj2JQ.css" />n<link rel="stylesheet" media="all" href="https://s3.ap-southeast-2.amazonaws.com/s3fs-public/css/css_myeYHdLof8BwQDLV8jrqnCWzPMjjdLpVDH308AtG65A.css" />n"
    },
    {
        "command": "insert",
        "method": "append",
        "selector": "body",
        "data": "<script src="https://s3.ap-southeast-2.amazonaws.com/s3fs-public/js/js_GC9t4DO-I48qtUqCgU0T6RnFx8BPp3s5SOPyYhsMe1U.js"></script>n",
        "settings": null
    },
    {
        "command": "openDialog",
        "selector": "#drupal-modal",
        "settings": null,
        "data": "<div id="editor-link-dialog-form"><form class="editor-link-dialog" data-drupal-selector="editor-link-dialog" action="/editor/dialog/link/full_html" method="post" id="editor-link-dialog" accept-charset="UTF-8">n  <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-attributes-href form-item-attributes-href">n      <label for="edit-attributes-href">URL</label>n        <input data-drupal-selector="edit-attributes-href" type="text" id="edit-attributes-href" name="attributes[href]" value="" size="60" maxlength="2048" class="form-text" />nn        </div>n<input autocomplete="off" data-drupal-selector="form-fyfsakgjm1m9yttskbdyndukc6gnfzlopqnhzx-njyk" type="hidden" name="form_build_id" value="form-FYFsAkGJm1M9yTtskbDYndUKc6gNFzLoPqNHZx_NJYk" />n<input data-drupal-selector="edit-editor-link-dialog-form-token" type="hidden" name="form_token" value="ScTdyPCPdx6rsC_ulbTndiMXXPRR0zIXLLrMMomqBsg" />n<input data-drupal-selector="edit-editor-link-dialog" type="hidden" name="form_id" value="editor_link_dialog" />n<div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-actions"><input data-drupal-selector="edit-actions-save-modal" type="submit" id="edit-actions-save-modal" name="op" value="Save" class="button js-form-submit form-submit" />n</div>nn</form>n</div>",
        "dialogOptions": {
            "modal": true,
            "title": "Add link"
        }
    }
]

Dev JSON

[
    {
        "command": "settings",
        "settings": {
            "pluralDelimiter": "u0003",
            "suppressDeprecationErrors": true,
            "ajaxPageState": {
                "libraries": "core/drupal.dialog.ajax,core/jquery.form,editor/drupal.editor.dialog",
                "theme": "seven",
                "theme_token": null
            },
            "ajaxTrustedUrl": {
                "form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM": true,
                "/editor/dialog/link/full_html?_wrapper_format=drupal_modal&ajax_form=1": true
            },
            "ajax": {
                "edit-actions-save-modal": {
                    "callback": "::submitForm",
                    "event": "click",
                    "url": "/editor/dialog/link/full_html?_wrapper_format=drupal_modal&ajax_form=1",
                    "dialogType": "ajax",
                    "submit": {
                        "_triggering_element_name": "op",
                        "_triggering_element_value": "Save"
                    }
                }
            },
            "user": {
                "uid": "1",
                "permissionsHash": "3a6738ca15df8edfc0ddf5d973ff2f8f26cd742b3a1df7881a38a3f9b12b021c"
            }
        },
        "merge": true
    },
    {
        "command": "add_css",
        "data": "<link rel="stylesheet" media="all" href="/core/assets/vendor/jquery.ui/themes/base/core.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/assets/vendor/jquery.ui/themes/base/checkboxradio.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/assets/vendor/jquery.ui/themes/base/controlgroup.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/assets/vendor/jquery.ui/themes/base/button.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/assets/vendor/jquery.ui/themes/base/resizable.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/themes/seven/css/classy/components/progress.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/themes/seven/css/components/jquery.ui/theme.css?qj0dt5" />n<link rel="stylesheet" media="all" href="/core/themes/seven/css/components/dialog.css?qj0dt5" />n"
    },
    {
        "command": "insert",
        "method": "append",
        "selector": "body",
        "data": "<script src="/core/assets/vendor/jquery/jquery.min.js?v=3.5.1"></script>n<script src="/core/assets/vendor/jquery-once/jquery.once.min.js?v=2.2.3"></script>n<script src="/core/misc/drupalSettingsLoader.js?v=8.9.7"></script>n<script src="/core/misc/drupal.js?v=8.9.7"></script>n<script src="/core/misc/drupal.init.js?v=8.9.7"></script>n<script src="/core/assets/vendor/jquery.ui/ui/data-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/disable-selection-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/form-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/labels-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/jquery-1-7-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/scroll-parent-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/tabbable-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/unique-id-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/version-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/escape-selector-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/focusable-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/keycode-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/plugin-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/safe-active-element-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/safe-blur-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widget-min.js?v=1.12.1"></script>n<script src="/core/misc/debounce.js?v=8.9.7"></script>n<script src="/core/misc/displace.js?v=8.9.7"></script>n<script src="/core/assets/vendor/jquery.ui/ui/form-reset-mixin-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/checkboxradio-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/controlgroup-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/button-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/ie-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/mouse-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/draggable-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/position-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/resizable-min.js?v=1.12.1"></script>n<script src="/core/assets/vendor/jquery.ui/ui/widgets/dialog-min.js?v=1.12.1"></script>n<script src="/core/misc/dialog/dialog.js?v=8.9.7"></script>n<script src="/core/misc/dialog/dialog.position.js?v=8.9.7"></script>n<script src="/core/misc/dialog/dialog.jquery-ui.js?v=8.9.7"></script>n<script src="/core/misc/progress.js?v=8.9.7"></script>n<script src="/core/modules/responsive_image/js/responsive_image.ajax.js?v=8.9.7"></script>n<script src="/core/misc/ajax.js?v=8.9.7"></script>n<script src="/core/themes/stable/js/ajax.js?v=8.9.7"></script>n<script src="/core/modules/editor/js/editor.dialog.js?v=8.9.7"></script>n<script src="/core/assets/vendor/jquery-form/jquery.form.min.js?v=4.22"></script>n<script src="/core/misc/dialog/dialog.ajax.js?v=8.9.7"></script>n",
        "settings": null
    },
    {
        "command": "openDialog",
        "selector": "#drupal-modal",
        "settings": null,
        "data": "<div id="editor-link-dialog-form"><form class="editor-link-dialog" data-drupal-selector="editor-link-dialog" action="/editor/dialog/link/full_html" method="post" id="editor-link-dialog" accept-charset="UTF-8">n  <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-attributes-href form-item-attributes-href">n      <label for="edit-attributes-href">URL</label>n        <input data-drupal-selector="edit-attributes-href" type="text" id="edit-attributes-href" name="attributes[href]" value="" size="60" maxlength="2048" class="form-text" />nn        </div>n<input autocomplete="off" data-drupal-selector="form-cwutb7-ivnx0ap7dpbg-xkp81czhifettd30n-34rw" type="hidden" name="form_build_id" value="form-cWutb7_IVnX0ap7dpBg_xKp81CzhIfeTtD30n_-34Rw" />n<input data-drupal-selector="edit-editor-link-dialog-form-token" type="hidden" name="form_token" value="mvHzsHb4CqjWhQ9Wb7NytPpdDqonI6aG9sTKz14_BBk" />n<input data-drupal-selector="edit-editor-link-dialog" type="hidden" name="form_id" value="editor_link_dialog" />n<div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-actions"><input data-drupal-selector="edit-actions-save-modal" type="submit" id="edit-actions-save-modal" name="op" value="Save" class="button js-form-submit form-submit" />n</div>nn</form>n</div>",
        "dialogOptions": {
            "modal": true,
            "title": "Add link"
        }
    }
]

nodejs – Fallo en Dialog Flow : No responses defined for platform: DIALOGFLOW_CONSOLE

Trabajando con Google Dialog Flow, con alguna de sus actualizaciones me ha dejado de funcionar el uso del fullfilment en el Bot desde la consola de Dialog Flow. Si ataco al bot desde otro gestor (Zendesk, GIA,…) me funciona correctamente.

El error que me da es : No responses defined for platform: DIALOGFLOW_CONSOLE

Las versiones que uso en el fullfilment son:

{
“name”: “dialogflowFirebaseFulfillment”,
“description”: “This is the default fulfillment for a Dialogflow agents using Cloud Functions for Firebase”,
“version”: “0.0.1”,
“private”: true,
“license”: “Apache Version 2.0”,
“author”: “Google Inc.”,
“engines”: {
“node”: “10”
},
“scripts”: {
“start”: “firebase serve –only functions:dialogflowFirebaseFulfillment”,
“deploy”: “firebase deploy –only functions:dialogflowFirebaseFulfillment”
},
“dependencies”: {
“actions-on-google”: “^2.4.1”,
“firebase-admin”: “~6.0.0”,
“firebase-functions”: “^2.1.0”,
“dialogflow”: “^0.6.0”,
“dialogflow-fulfillment”: “^0.6.1”,

}
}

user behavior – Should an “unsaved changes” dialog in a web app contain a “save” option?

When a user makes some changes in a web app and tries to navigate away without saving them, a dialog appears as a confirmation/warning message.

There are two approaches to these dialogues. Sometimes they contain the options “Discard, Save, Cancel”, and sometimes there’s no Save option, and the buttons are just “Discard, Cancel” (whatever the exact phrasing may be, that’s not the point).

With Save option (on desktop)

enter image description here

Without Save option
enter image description here

The way I see it, the main advantage of the first approach is to not force the user to backtrack – it’s reasonable that she might want to save the changes she’d made, so why not help her.

The main advantage of the second approach is probably to make sure that the user sees the changes she’s committing. Also, to some extent it helps the user to learn to use the system properly (saving her work manually). Also, a dialog with two options is easier to process than one with three options.

Should this kind of dialog contain a Save option or not?

The setting is an enterprise app for IT management, so the changes impact a lot of things in the organization, it’s not something for personal use.

(There are many related questions on the site but I couldn’t find one dealing with this specific question).

2013 – How to listen for an Infopath submit dialog in Sharepoint using Javascript

I know I shouldn’t be using Infopath. I don’t have a choice. We’re not in a new Sharepoint environment yet and we don’t have PowerApps yet. It will happen and we’ll have to redo all of this but we need Infopath in the meantime.

I created an infopath form attached to a form library because the user wanted to be able to add multiple attachments and that wasn’t possible with the list form. We needed to add custom scripting behavior to the form submit page but we couldn’t edit the existing form submit page that Sharepoint creates by default for the library so we created a new page and added the form and a script editor webpart for the Javascript.

My user wants the form to go to the list when she pushes the save button. Its set to close in infopath but currently it does nothing, the form just sits there. I have some say over what is in the query string and I heard that if you put Source= that the submit button will take you to the source URL when the submit is done but I’m not sure that’s going to work for my page. I haven’t tested it yet.

What I need to know is, using Javascript, how do I listen for positive confirmation that an infopath form successfully submitted to a Sharepoint list? In case I need to write a script to do this.

Please I know this is all an ugly hack but its what I have to work with. My tools are Javascript, Sharepoint (and only the front end) and Infopath.