diff src/bridge/bridge_constructor/bridge_template.ini @ 1599:e2ed8009e66e

backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:21:56 +0100
parents a3d0cfa5b7a6
children 5b24d6bf5d15
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sat Nov 14 19:20:33 2015 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sat Nov 14 19:21:56 2015 +0100
@@ -112,14 +112,23 @@
 [actionNew]
 type=signal
 category=core
-sig_in=a{ss}ss
+sig_in=a{ss}sis
 doc=A frontend action is requested
 doc_param_0=action_data: a dict where key can be:
     - xmlui: a XMLUI need to be displayed
+    - progress: a progress id
+    - meta_*: meta information on the action, used to make automation more easy,
+        some are defined below
+    - meta_from_jid: origin of the request
+    - meta_type: type of the request, can be one of:
+        - C.META_TYPE_FILE: a file transfer request validation
+        - C.META_TYPE_OVERWRITE: a file overwriting confirmation
+    - meta_progress_id: progress id linked to this action
 doc_param_1=id: action id
     This id can be used later by frontends to announce to other ones
     That the action is managed and can now be ignored.
-doc_param_2=%(doc_profile)s
+doc_param_2=%(doc_security_limit)s
+doc_param_3=%(doc_profile)s
 
 [actionResult]
 deprecated=