renderjs:11ed20942e1b347047fd0647725a695cf433f82e commitshttps://lab.nexedi.com/nexedi/renderjs/-/commits/11ed20942e1b347047fd0647725a695cf433f82e2016-05-31T14:37:20+00:00https://lab.nexedi.com/nexedi/renderjs/-/commit/11ed20942e1b347047fd0647725a695cf433f82edeclareGadget: always generate scope if none is provided.2016-05-31T14:37:20+00:00Romain Courteaudromain@nexedi.com
Gadget can now be declared in HTML without any explicit scope.
It is necessary to use dropGadget to completely remove a gadget.https://lab.nexedi.com/nexedi/renderjs/-/commit/4628479827bb375e169d877000aa11887f3b3450Test: allow dataurl sandbox test to run on any URL2016-04-08T13:03:30+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/8781c770040dc99b5182236b64717d1109f05888Test: fix absolute URL calculation2016-04-08T09:19:14+00:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/a421fa3b1ef13ec21fc08522f60ba383211f7530Update package GIT urls2015-12-18T15:25:37+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/914cbd3d8a99fc7a8229bc3e62a7c46aa0bf00d2Release version 0.7.52015-08-21T09:45:04+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/eb32a211c70236cb95e750e68319d7a4cfacad01Add the 'dataurl' sandbox.2015-08-21T09:42:10+02:00Romain Courteaudromain@nexedi.com
This sandbox download the gadget HTML code and convert it as a dataurl which is loaded in an iframe.
This may help to bypass web browser mixed content policy or CSP restrictions (like inline js).https://lab.nexedi.com/nexedi/renderjs/-/commit/bf3bb35ac16a4d0c7fb74ac19e417b727c255535Release version 0.7.42014-12-04T13:47:02+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/689c76ae68e0cd38cfb563079c8fbdab2bf8449dEnsure iframe methods return RSVP.Queue.2014-12-04T13:44:02+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/f510b4c6deacbb2289355837a7d6a4af354c5a31Move documentation to the website.2014-11-24T17:48:49+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/73c9f3eb46d1856792f1cf7b7bbf6e29dcea80d3Fix html page doctype2014-11-20T13:35:42+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/e168487495d95a8ed9c324eabaa678ecaa9fc548IE does not create an empty head element.2014-11-20T11:22:24+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/d390615dd992d2d690f889bfabfa981bfec7e3d0Do not expect same error message in all browsers2014-11-20T11:21:08+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/932c15126e5c890457711c3ca0bedf53c765628aIE does not fail in case of wrong CSS URL2014-11-20T11:20:02+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/7fa2e72fed4a0342c34a296d592e25863d94359fDo not hardcode server URL2014-11-19T18:31:34+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/bd0024ff43c94d3d1c211b12a601bba5ed65c2a5Support Document.prototype.contains in IE2014-11-19T18:31:10+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/e227ad266a5a1495ce36ac52e86e56d9fbf3f369Drop not needed files.2014-11-19T18:30:28+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/4f84be888b95dc38da06f0d0b0300370ece4a4feRelease version 0.7.32014-11-05T16:57:39+01:00Xiaowu Zhangxiaowu.zhang@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/a289140e7b132ccdb3067143735a85b998796ac5Make renderjs works in iframe2014-11-05T16:04:32+01:00Xiaowu Zhangxiaowu.zhang@tiolive.com
When a gadget is in iframe, it checks its communication's channel by using timeout 100ms (the only way...).
If a timeout occurs, renderjs considers this gadget has no parent gadget and so, consider it as parent gadget by stopping acquisition.https://lab.nexedi.com/nexedi/renderjs/-/commit/90e6dfc0ebfc6f50a82734669fb20fdf8ff8de15jslint refuses to surcharge undefined2014-11-05T15:30:57+01:00Xiaowu Zhangxiaowu.zhang@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/27bc839116d8d62eb42a7e8e72b0fe6fd0082ccaCheck that iframe can catch service errors.2014-09-18T14:41:44+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/00c36f64b568b11f0b50dbf84aa0630a91ed13f6Use RSVP Promise.2014-09-18T14:40:06+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/429eb27e6a3e65b559cc6984a058fb121a9a10ceRelease version 0.7.22014-09-15T16:13:50+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/ad6ab6982d3b22189c5997160b216ed7b1d90d9eAdd service management on gadget.2014-09-15T16:12:31+02:00Romain Courteaudromain@nexedi.com
A service is function which is executed outside the promise tree when the
gadget is attached to the DOM.
Services are stopped when the gadget is removed from the DOM.
You can declare a service with the "declareService" method, which takes a
function as parameter.
Service errors are reported to the parent gadget by acquisition on
"reportServiceError".
If no gadget catched the service error, the application will crash (document
body will display the raw error).https://lab.nexedi.com/nexedi/renderjs/-/commit/eea2661b860e762c6abc23d9900083432d47afd1Reorder dev dependencies2014-09-15T15:33:04+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/103d5cd395062a829b4efae6521823e7dca1bf4bIncrease verbosity in case of test errors.2014-09-12T16:40:03+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/2d73dbdbd9a19a6d894d559f65a3551d12650d26Speed up check if the element is attached to the DOM2014-06-20T16:43:14+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/84717f1fea9a5c17969e0b586feedabd48c3ae00Release version 0.7.12014-05-23T11:41:20+02:00Romain Courteaudromain@nexedi.com
Do not prevent calling declareGadget in ready functions.
Allow to directly declareGadget inside the HTML.https://lab.nexedi.com/nexedi/renderjs/-/commit/5e54123693f0a9ea5cbea778149c08a723b8e96bAllow to directly declareGadget inside the HTML.2014-05-23T11:39:21+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/786c7abf40f563e0aae759a8886f1092fcb7383bImprove error message to ease debugging.2014-05-23T11:38:38+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/67bcae7a464acdb444d7c6501644d639639b4f72Set some data attribute on gadget element.2014-05-22T17:59:02+02:00Romain Courteaudromain@nexedi.com
Only ease to ease developper comprehension.https://lab.nexedi.com/nexedi/renderjs/-/commit/2cdfe26b9dc0abde5ffac7f3cc24aaea05be79b5Do not prevent calling declareGadget in ready functions.2014-05-22T17:37:46+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/4255bd41477966f35577b992bd7af4895292e157Examples have been removed.2014-05-22T17:36:33+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/689ba8d3cdd80a55e109eac0215c6c125a707dc1Move examples code to officejs repository.2014-05-22T11:52:03+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/a0e2a30a2d20918a0c50d2afa3e4e83a67cfbae5Release version 0.7.02014-05-21T11:19:26+02:00Romain Courteaudromain@nexedi.com
Drop EventTarget support on Gadget.
Add declareAcquiredMethod, allowPublicAcquisition.
Prefix attribute non part of the API by __. Such method/property can be rename
in next versions without any compatibility support.
Use base element in iframe to get the same link behaviour with or without
iframe.https://lab.nexedi.com/nexedi/renderjs/-/commit/81140f2f01489b15ff030cca63e0b3cb3ecde9f2Ensure root gadget __path attribute do not contain hash2014-04-22T15:47:06+02:00Thibaut Frainthibaut.frain@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/9d520789a8b0949d8219bcbf24d8cfa1c9189f64Ensure redefining native acquired on the root gadget works2014-04-22T10:01:27+02:00Thibaut Frainthibaut.frain@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/b6682be2d0af7bbfa4f6e2cc50aa3a64f8456776Links in iframed gadgets are opened in top window (using base element)2014-04-16T15:42:17+02:00Thibaut Frainthibaut.frain@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/f7b2f00f4c680534bf1f410687e4b877df565d90ignore .tern-port file created during edition2014-04-14T16:30:01+02:00Thibaut Frainthibaut.frain@tiolive.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/f69c54b2b026e816aa50b0e738cc1fb8d5acb6f6Acquired method get the child scope as parameter.2014-04-14T16:28:21+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/ddaeb274cb03f3980f97d58f9ccdcccc7ea4063cPrevent acquisition loop.2014-04-14T16:16:47+02:00Romain Courteaudromain@nexedi.com
declareAcquiredMethod generated function should not call local (ie, same
gadget) allowedAcquisition method.