Comment 16 for bug 161203

Revision history for this message
Mats (matsben) wrote :

There are now so many execution paths I get completely lost :-)
Anyway, I need constant feedback during this process so I don't implement something which is not wanted. From the console, do:
::Subscribe::NewDlg xxxxx@yyyyy -auto accept
::Subscribe::NewDlg xxxxx@yyyyy -auto reject
just for testing. Do it offline since it is just a fake.

Splitting up a line as in:
* jamesssubscautoacc: In %s seconds, the computer will answer "Yes" to next question:\n<bold>May %s see your presence?</bold>\nYou still can select another answer.
is technically very difficult, and impossible in the message box I use. I can use the text without bold or nowlines, however.

configs so far:

    # Set a timer dialog instead of just straight auto accepting.
    set ::config(subscribe,auto-accept-timer) 0

    # Sets a timer in the standard "ask" dialogs to auto accept.
    set ::config(subscribe,auto-accept-std-dlg) 0

    # Set a timer dialog instead of just straight auto rejecting.
    set ::config(subscribe,auto-reject-timer) 0

    # Sets a timer in the standard "ask" dialogs to auto accept.
    set ::config(subscribe,auto-reject-std-dlg) 0

    # Shall we send a message to user when one of the auto dispatchers done.
    set ::config(subscribe,auto-accept-send-msg) 0
    set ::config(subscribe,auto-reject-send-msg) 0

    # Millis to wait for a second subsciption request to show in multi dialog.
    set ::config(subscribe,multi-wait-ms) 2000

    # Use the multi dialog for batches of subscription requests.
    set ::config(subscribe,multi-dlg) 1

    # Sets the number of millisecs the dialog starts its countdown.
    set ::config(subscribe,accept-after) 10000
    set ::config(subscribe,reject-after) 10000

    # Millis to wait for a second subsciption request to show in multi dialog.
    set ::config(subscribed,multi-wait-ms) 4000

    # Use the multi dialog for batches of subscription requests.
    set ::config(subscribed,multi-dlg) 1

    # Use a fancy dialog for queued 'subscribed' events.
    set ::config(subscribed,fancy-dlg) 1

You see. Many execution paths it is...