contrib/cloudeebus.git
10 years agoMerge pull request #31 from fpaut/master
Luc Yriarte [Mon, 22 Jul 2013 13:25:04 +0000 (06:25 -0700)]
Merge pull request #31 from fpaut/master

dbus service : removing service do not remove agent(s)

10 years agodbus-service : removing unused try/catch
Frederic PAUT [Mon, 22 Jul 2013 12:53:55 +0000 (14:53 +0200)]
dbus-service : removing unused try/catch

10 years agodbus service : doc-sample/agent, restoring 'Div' method
Frederic PAUT [Mon, 22 Jul 2013 12:42:45 +0000 (14:42 +0200)]
dbus service : doc-sample/agent, restoring 'Div' method

10 years agodbus service : avoiding multi-connection on each 'run script' button
Frederic PAUT [Mon, 22 Jul 2013 12:42:02 +0000 (14:42 +0200)]
dbus service : avoiding multi-connection on each 'run script' button

10 years agodbus service : doc-sample/agent, avoid multiple registration to signal on each 'run...
Frederic PAUT [Mon, 22 Jul 2013 10:04:10 +0000 (12:04 +0200)]
dbus service : doc-sample/agent, avoid multiple registration to signal on each 'run script'

10 years agodbus service : doc sample/agent, a few simplification of client side
Frederic PAUT [Mon, 22 Jul 2013 09:50:31 +0000 (11:50 +0200)]
dbus service : doc sample/agent, a few simplification of client side

10 years agodbus service : removing service do not remove agent(s)
Frederic PAUT [Mon, 22 Jul 2013 09:48:56 +0000 (11:48 +0200)]
dbus service : removing service do not remove agent(s)
updating sample/agent

10 years agocomment cleanup
Luc Yriarte [Wed, 17 Jul 2013 07:46:17 +0000 (09:46 +0200)]
comment cleanup

10 years agoMerge pull request #30 from fpaut/master
Luc Yriarte [Tue, 16 Jul 2013 15:56:52 +0000 (08:56 -0700)]
Merge pull request #30 from fpaut/master

Fix typo

10 years agoFix typo
Frederic PAUT [Tue, 16 Jul 2013 15:09:03 +0000 (17:09 +0200)]
Fix typo

10 years agocode cleaning
Frederic PAUT [Tue, 16 Jul 2013 13:50:28 +0000 (15:50 +0200)]
code cleaning

10 years agoMerge pull request #29 from fpaut/master
Luc Yriarte [Wed, 10 Jul 2013 13:00:09 +0000 (06:00 -0700)]
Merge pull request #29 from fpaut/master

simplifying a small part of code

10 years agosimplifying a small part of code
Frederic PAUT [Wed, 10 Jul 2013 12:42:11 +0000 (14:42 +0200)]
simplifying a small part of code

10 years agoAdd (minor) information on error
Frederic PAUT [Wed, 10 Jul 2013 08:57:16 +0000 (10:57 +0200)]
Add (minor) information on error

10 years agoMerge pull request #28 from fpaut/master
Luc Yriarte [Mon, 8 Jul 2013 12:23:08 +0000 (05:23 -0700)]
Merge pull request #28 from fpaut/master

Remove unused traces

10 years agoRemove unused traces
Frederic PAUT [Mon, 8 Jul 2013 12:21:12 +0000 (14:21 +0200)]
Remove unused traces

10 years agoMerge pull request #27 from fpaut/master
Luc Yriarte [Mon, 8 Jul 2013 12:20:20 +0000 (05:20 -0700)]
Merge pull request #27 from fpaut/master

dbus service : bug fix on 'remove agent'

10 years agoCode cleaning
Frederic PAUT [Mon, 8 Jul 2013 12:13:03 +0000 (14:13 +0200)]
Code cleaning

10 years agoAdding more informations on error
Frederic PAUT [Mon, 8 Jul 2013 12:12:46 +0000 (14:12 +0200)]
Adding more informations on error

10 years agodbus service : bug fix on 'remove agent'
Frederic PAUT [Mon, 8 Jul 2013 12:11:00 +0000 (14:11 +0200)]
dbus service : bug fix on 'remove agent'

10 years agodoc agent : Add a button for removing service (and agents)
Frederic PAUT [Mon, 8 Jul 2013 09:23:23 +0000 (11:23 +0200)]
doc agent : Add a button for removing service (and agents)
and a parameter was added to evalScript(), used to pass a script

10 years agotest scripts authorizations
Luc Yriarte [Thu, 4 Jul 2013 09:50:47 +0000 (11:50 +0200)]
test scripts authorizations

10 years agorework help messages
Luc Yriarte [Thu, 4 Jul 2013 09:04:27 +0000 (11:04 +0200)]
rework help messages

10 years agoerror.uri is autobahn-related, not needed here
Luc Yriarte [Thu, 4 Jul 2013 08:36:18 +0000 (10:36 +0200)]
error.uri is autobahn-related, not needed here

10 years agoMerge pull request #26 from fpaut/security
Luc Yriarte [Wed, 3 Jul 2013 14:54:49 +0000 (07:54 -0700)]
Merge pull request #26 from fpaut/security

dbus service : adding security feature (provided by a list of allowed service name)

10 years agoin doc/agent, renaming WHITELIST -> SAMPLELIST and using it in common for whitelist...
Frederic PAUT [Wed, 3 Jul 2013 13:51:19 +0000 (15:51 +0200)]
in doc/agent, renaming WHITELIST -> SAMPLELIST and using it in common for whitelist and servicelist

10 years agoAdding some informations in Readme
Frederic PAUT [Wed, 3 Jul 2013 13:49:05 +0000 (15:49 +0200)]
Adding some informations in Readme

10 years agotracing dictionnary result one time only
Frederic PAUT [Wed, 3 Jul 2013 13:03:16 +0000 (15:03 +0200)]
tracing dictionnary result one time only

10 years agodbus service : adding manifest providing security
Frederic PAUT [Wed, 3 Jul 2013 13:01:17 +0000 (15:01 +0200)]
dbus service : adding manifest providing security

10 years agodbus service : adding security feature (provided by a list of allowed service name)
Frederic PAUT [Wed, 3 Jul 2013 13:00:22 +0000 (15:00 +0200)]
dbus service : adding security feature (provided by a list of allowed service name)

10 years agodbus service : adding security feature (provided by a list of allowed service name)
Frederic PAUT [Wed, 3 Jul 2013 12:59:32 +0000 (14:59 +0200)]
dbus service : adding security feature (provided by a list of allowed service name)

10 years agoerror management simplification
Luc Yriarte [Fri, 28 Jun 2013 13:55:41 +0000 (15:55 +0200)]
error management simplification

10 years agoremove logs unrelated to session initialization or errors
Luc Yriarte [Fri, 28 Jun 2013 13:22:48 +0000 (15:22 +0200)]
remove logs unrelated to session initialization or errors

10 years agominor code prettyfy / whitespaces
Luc Yriarte [Fri, 28 Jun 2013 13:15:23 +0000 (15:15 +0200)]
minor code prettyfy / whitespaces

10 years agocode cleanup / local variables
Luc Yriarte [Fri, 28 Jun 2013 13:11:12 +0000 (15:11 +0200)]
code cleanup / local variables

10 years agoMerge pull request #25 from fpaut/agent_future
Luc Yriarte [Fri, 28 Jun 2013 08:50:41 +0000 (01:50 -0700)]
Merge pull request #25 from fpaut/agent_future

switching all methods to 'Promise' interface

10 years agoRename method delAgent -> removeAgent
Frederic PAUT [Thu, 27 Jun 2013 14:24:22 +0000 (16:24 +0200)]
Rename method delAgent -> removeAgent

10 years agoRemoving alert() and using cloudeebus.log()
Frederic PAUT [Thu, 27 Jun 2013 14:20:47 +0000 (16:20 +0200)]
Removing alert() and using cloudeebus.log()

10 years agoswitching all methods to 'Promise' interface
Frederic PAUT [Thu, 27 Jun 2013 14:17:15 +0000 (16:17 +0200)]
switching all methods to 'Promise' interface

10 years agodbus service : removing the method cloudeebus.BusConnection.removeService
Frederic PAUT [Thu, 27 Jun 2013 13:10:52 +0000 (15:10 +0200)]
dbus service : removing the method cloudeebus.BusConnection.removeService
(to avoid the confusion with cloudeebus.Service.remove)

10 years agodbus service : removing the method cloudeebus.Service.add
Frederic PAUT [Thu, 27 Jun 2013 10:21:43 +0000 (12:21 +0200)]
dbus service : removing the method cloudeebus.Service.add
(to avoid the confusion with cloudeebus.BusConnection.addService)

10 years agosignal sending now supported
Luc Yriarte [Tue, 25 Jun 2013 14:18:09 +0000 (16:18 +0200)]
signal sending now supported

10 years agotemp version 0.5.99
Luc Yriarte [Tue, 25 Jun 2013 14:16:44 +0000 (16:16 +0200)]
temp version 0.5.99

10 years agoMerge pull request #24 from fpaut/agent_future
Luc Yriarte [Tue, 25 Jun 2013 13:43:11 +0000 (06:43 -0700)]
Merge pull request #24 from fpaut/agent_future

merge from master

10 years agoUpdate with new agent function prototype, and formatting error
Frederic PAUT [Tue, 25 Jun 2013 12:18:47 +0000 (14:18 +0200)]
Update with new agent function prototype, and formatting error

10 years agoGeneric definition of an Agent renamed cloudeebus.Agent
Frederic PAUT [Tue, 25 Jun 2013 12:07:27 +0000 (14:07 +0200)]
Generic definition of an Agent renamed cloudeebus.Agent

10 years agoForgotten some errors formatting (with cloudeebus.getError)
Frederic PAUT [Tue, 25 Jun 2013 10:22:49 +0000 (12:22 +0200)]
Forgotten some errors formatting (with cloudeebus.getError)

10 years agoFormatting error with cloudeebus.getError()
Frederic PAUT [Tue, 25 Jun 2013 09:03:24 +0000 (11:03 +0200)]
Formatting error with cloudeebus.getError()

10 years agoforgotten to replace two accept -> fulfill
Frederic PAUT [Tue, 25 Jun 2013 08:55:42 +0000 (10:55 +0200)]
forgotten to replace two accept -> fulfill

10 years agoFactorize creation of dynamic className (and ensure that's always the same)
Frederic PAUT [Tue, 25 Jun 2013 08:55:09 +0000 (10:55 +0200)]
Factorize creation of dynamic className (and ensure that's always the same)

10 years agoadding function to parse error object
Frederic PAUT [Mon, 24 Jun 2013 12:13:02 +0000 (14:13 +0200)]
adding function to parse error object

10 years agoMerge branch 'master' into agent_future
Frederic PAUT [Mon, 24 Jun 2013 10:18:07 +0000 (12:18 +0200)]
Merge branch 'master' into agent_future

Conflicts:
cloudeebus/cloudeebus.js
cloudeebus/cloudeebus.py
setup.py

10 years agodbus service : integrating generic JS definition of an 'Agent' in cloudeebus.js
Frederic PAUT [Mon, 24 Jun 2013 10:14:56 +0000 (12:14 +0200)]
dbus service : integrating generic JS definition of an 'Agent' in cloudeebus.js
Let list of 'service' storage to application, not cloudeebus

10 years agobump version 0.5.1
Luc Yriarte [Wed, 19 Jun 2013 12:55:08 +0000 (14:55 +0200)]
bump version 0.5.1

10 years agoDOM spec update: Future/accept -> Promise/fulfill
Luc Yriarte [Wed, 19 Jun 2013 12:20:25 +0000 (14:20 +0200)]
DOM spec update: Future/accept -> Promise/fulfill

10 years agoMerge pull request #23 from fpaut/agent_future
Luc Yriarte [Mon, 10 Jun 2013 12:56:01 +0000 (05:56 -0700)]
Merge pull request #23 from fpaut/agent_future

dbus service : Fix JSON encoding for allowing encoding of byte not utf-8

10 years agobump version 0.5.0
Luc Yriarte [Wed, 29 May 2013 16:46:44 +0000 (18:46 +0200)]
bump version 0.5.0

10 years agodbus service : Fix JSON encoding for allowing encoding of byte not utf-8
Frederic PAUT [Mon, 10 Jun 2013 12:40:50 +0000 (14:40 +0200)]
dbus service : Fix JSON encoding for allowing encoding of byte not utf-8
(and will be deliver in arguments for javascript functions)

10 years agoAdd Documentation section with references to 01.org website
Luc Yriarte [Mon, 10 Jun 2013 12:34:33 +0000 (14:34 +0200)]
Add Documentation section with references to 01.org website

10 years agoMerge branch 'future' into agent_future
Luc Yriarte [Mon, 3 Jun 2013 14:43:59 +0000 (16:43 +0200)]
Merge branch 'future' into agent_future

10 years agoProxyObject connectToSignal successCB renamed handlerCB, as it is a signal handler
Luc Yriarte [Mon, 3 Jun 2013 09:49:32 +0000 (11:49 +0200)]
ProxyObject connectToSignal successCB renamed handlerCB, as it is a signal handler

10 years agoMerge branch 'future'
Luc Yriarte [Wed, 29 May 2013 16:48:27 +0000 (18:48 +0200)]
Merge branch 'future'

10 years agobump version 0.5.0
Luc Yriarte [Wed, 29 May 2013 16:46:44 +0000 (18:46 +0200)]
bump version 0.5.0

10 years agoupdate TODO
Luc Yriarte [Wed, 29 May 2013 09:08:46 +0000 (11:08 +0200)]
update TODO

10 years agoMerge pull request #22 from fpaut/agent_future
Luc Yriarte [Tue, 28 May 2013 15:19:06 +0000 (08:19 -0700)]
Merge pull request #22 from fpaut/agent_future

Using 'Future' interface in service/agent creation

10 years agoMerge branch 'future' into agent_future
Frederic PAUT [Tue, 28 May 2013 13:37:39 +0000 (15:37 +0200)]
Merge branch 'future' into agent_future

10 years agoFuture : Server side, using 'Future' to create service and adding agents
Frederic PAUT [Tue, 28 May 2013 13:35:59 +0000 (15:35 +0200)]
Future : Server side, using 'Future' to create service and adding agents
In client side, using 'Future' to set callbacks

11 years agocorrecting Future static methods resolve, accept, reject: the spec doesn't mention...
Luc Yriarte [Fri, 24 May 2013 15:27:12 +0000 (17:27 +0200)]
correcting Future static methods resolve, accept, reject: the spec doesn't mention setting the synchronous flag

11 years agoadding Future static methods: any, every, some
Luc Yriarte [Fri, 24 May 2013 15:25:35 +0000 (17:25 +0200)]
adding Future static methods: any, every, some

11 years agoadding Future helper done method. Support undefined callbacks passed to Future.append...
Luc Yriarte [Fri, 24 May 2013 13:23:10 +0000 (15:23 +0200)]
adding Future helper done method. Support undefined callbacks passed to Future.appendWrappers

11 years agoadding Future helper catch method
Luc Yriarte [Fri, 24 May 2013 13:08:44 +0000 (15:08 +0200)]
adding Future helper catch method

11 years agoadding Future static methods: resolve, accept, reject
Luc Yriarte [Fri, 24 May 2013 12:49:12 +0000 (14:49 +0200)]
adding Future static methods: resolve, accept, reject

11 years agofix resolver's resolve method: accept callback calls resolve, not accept
Luc Yriarte [Thu, 23 May 2013 15:26:02 +0000 (17:26 +0200)]
fix resolver's resolve method: accept callback calls resolve, not accept

11 years agocall resolver's accept and reject synchronously in the callMethod async handlers
Luc Yriarte [Thu, 23 May 2013 14:52:11 +0000 (16:52 +0200)]
call resolver's accept and reject synchronously in the callMethod async handlers

11 years agoimplement FutureResolver.resolve
Luc Yriarte [Thu, 23 May 2013 14:45:14 +0000 (16:45 +0200)]
implement FutureResolver.resolve

11 years agoimplement basic DOM Future and FutureResolver mechanism
Luc Yriarte [Wed, 22 May 2013 15:01:56 +0000 (17:01 +0200)]
implement basic DOM Future and FutureResolver mechanism

11 years agoRequest.result is an object, not an array. If the DBus method returns several results,
Luc Yriarte [Thu, 16 May 2013 15:47:29 +0000 (17:47 +0200)]
Request.result is an object, not an array. If the DBus method returns several results,
only the first will be in Request.result, but all results are passed as parameters to the onsuccess handler anyway.

11 years agocloudeebus.Request implements DOMRequest as defined in
Luc Yriarte [Wed, 15 May 2013 14:54:06 +0000 (16:54 +0200)]
cloudeebus.Request implements DOMRequest as defined in
http://www.w3.org/2012/sysapps/runtime/#idl-def-DOMRequest

11 years agobump version 0.4.0
Luc Yriarte [Wed, 15 May 2013 08:04:26 +0000 (10:04 +0200)]
bump version 0.4.0

11 years agorequest onerror callback: args for apply is an array
Luc Yriarte [Tue, 23 Apr 2013 16:58:50 +0000 (18:58 +0200)]
request onerror callback: args for apply is an array

11 years agoeval method result in a try block
Luc Yriarte [Tue, 23 Apr 2013 15:45:26 +0000 (17:45 +0200)]
eval method result in a try block

11 years agorequest : adding 'signature' parameter
Frederic PAUT [Wed, 17 Apr 2013 12:31:11 +0000 (14:31 +0200)]
request : adding 'signature' parameter
(for nodejs compatibility and future use)

11 years agorequest : Bug fix
Frederic PAUT [Tue, 16 Apr 2013 15:31:54 +0000 (17:31 +0200)]
request : Bug fix

11 years agorequest : removing successCB, errorCB as parameters in callMethod
Frederic PAUT [Tue, 16 Apr 2013 08:56:08 +0000 (10:56 +0200)]
request : removing successCB, errorCB as parameters in callMethod
and using 'then' method instead
(allowing to standardize 'this' in callback)

11 years agouse request onerror handler on callback exceptions also
Luc Yriarte [Mon, 15 Apr 2013 16:03:48 +0000 (18:03 +0200)]
use request onerror handler on callback exceptions also

11 years agosyntax check
Luc Yriarte [Mon, 15 Apr 2013 16:00:49 +0000 (18:00 +0200)]
syntax check

11 years agoImplementing request interface
Frederic PAUT [Mon, 15 Apr 2013 14:21:15 +0000 (16:21 +0200)]
Implementing request interface
providing callbacks called when the operation completes,
as well as a reference to the operation's result.

11 years agofix resolver's resolve method: accept callback calls resolve, not accept
Luc Yriarte [Thu, 23 May 2013 15:26:02 +0000 (17:26 +0200)]
fix resolver's resolve method: accept callback calls resolve, not accept

11 years agocall resolver's accept and reject synchronously in the callMethod async handlers
Luc Yriarte [Thu, 23 May 2013 14:52:11 +0000 (16:52 +0200)]
call resolver's accept and reject synchronously in the callMethod async handlers

11 years agoimplement FutureResolver.resolve
Luc Yriarte [Thu, 23 May 2013 14:45:14 +0000 (16:45 +0200)]
implement FutureResolver.resolve

11 years agoimplement basic DOM Future and FutureResolver mechanism
Luc Yriarte [Wed, 22 May 2013 15:01:56 +0000 (17:01 +0200)]
implement basic DOM Future and FutureResolver mechanism

11 years agoRequest.result is an object, not an array. If the DBus method returns several results,
Luc Yriarte [Thu, 16 May 2013 15:47:29 +0000 (17:47 +0200)]
Request.result is an object, not an array. If the DBus method returns several results,
only the first will be in Request.result, but all results are passed as parameters to the onsuccess handler anyway.

11 years agoMerge pull request #20 from fpaut/agent
Luc Yriarte [Thu, 16 May 2013 15:17:31 +0000 (08:17 -0700)]
Merge pull request #20 from fpaut/agent

Add sample with variant (dictionary which is an array of string/variant)

11 years agoAdd sample with variant (dictionary which is an array of string/variant)
Frederic PAUT [Thu, 16 May 2013 15:12:57 +0000 (17:12 +0200)]
Add sample with variant (dictionary which is an array of string/variant)
note: for now, the variant could no be null nor an empty list

11 years agocloudeebus.Request implements DOMRequest as defined in
Luc Yriarte [Wed, 15 May 2013 14:54:06 +0000 (16:54 +0200)]
cloudeebus.Request implements DOMRequest as defined in
http://www.w3.org/2012/sysapps/runtime/#idl-def-DOMRequest

11 years agoNo JSON.parse for Javascript method results
Luc Yriarte [Wed, 15 May 2013 09:38:17 +0000 (11:38 +0200)]
No JSON.parse for Javascript method results

11 years agoreturn dbus error on javascript exception
Luc Yriarte [Wed, 15 May 2013 08:34:25 +0000 (10:34 +0200)]
return dbus error on javascript exception

11 years agobump version 0.4.0
Luc Yriarte [Wed, 15 May 2013 08:04:26 +0000 (10:04 +0200)]
bump version 0.4.0

11 years agoarguments.callee is deprecated
Luc Yriarte [Tue, 14 May 2013 16:13:04 +0000 (18:13 +0200)]
arguments.callee is deprecated

11 years agocleanup misplaced comment
Luc Yriarte [Tue, 14 May 2013 16:12:39 +0000 (18:12 +0200)]
cleanup misplaced comment