summaryrefslogtreecommitdiffstats
path: root/Sluift
AgeCommit message (Collapse)Author
2014-05-18Sluift: Add assertions on conversionRemko Tronçon
Change-Id: I641380fe7423af7b2c7be992f59244a57fb24b51
2014-05-12Fix create_form to work properly with fieldsEdwin Mons
Change-Id: I02f2ec421bd7ba54f64eff35dc1c6e21a7c22545
2014-05-12Fix to Sluift MAM query parametersEdwin Mons
Change-Id: Ieefb87795316ffa4f513cf1d19d20730596db6d9
2014-05-12Add sluift function create_formEdwin Mons
The function send_mam_query needs an optional form. Created a generic form creation function, and made the pubsub configuration form function use that. Change-Id: I9e839b28df3916c1fd0b09d84a03cc521d1736ad
2014-05-12Add support for <before/> to ResultSetEdwin Mons
Change-Id: I46bd9f24fc887b180cee3c2aa75a6c9e1761473b
2014-05-09Fix MAM Sluift.Richard Maudsley
Change-Id: I75e87e9c1a0f12f6c56dcb63f0a06f715277b99b
2014-05-09Fix compiler warnings in Sluift convertors.Richard Maudsley
Change-Id: I26a212dcf17af79696c0446a88fb2272e890f007
2014-05-02Added Sluift MAM convertors.Richard Maudsley
Change-Id: I472023726e84fbdd14af1fd9f57de411a20eb584
2014-04-30Update LuaElementConvertor interface to work with Element instead of Payload.Richard Maudsley
Change-Id: I4f8b69b1a13fff21c605011f45763e01f03259cf
2014-03-21Sluift: Fix compilation warningRemko Tronçon
Change-Id: Ib542e69848ee85e4a017528e6ffe5da61276619a
2014-03-20Sluift: Initialize client tracing at creation timeRemko Tronçon
This avoids all calls to set_trace_enabled prior to connect() being ignored. Change-Id: Ib4f2bc9815aae2bd456f2ececcb2a37ac460eebc
2014-02-13Fix clang warningsRemko Tronçon
Change-Id: I7cd26f00f626b64da934e9f5594db393d6184b9c
2014-02-02Sluift: Add new_certificateRemko Tronçon
Change-Id: If4e4ef98c00f15c0a88557860f0377843a8713c0
2014-02-02Sluift: Remove accidentally committed code.Remko Tronçon
This was generating incorrect tab completions. Change-Id: I6072de10358d024a3584ae2d7d2fff57149d645f
2014-02-02Sluift: Add missing headersRemko Tronçon
Change-Id: Ie4629a10a26c3c628a67fff1bd634f07a698a948
2014-01-28Update copyright of several filesRemko Tronçon
Change-Id: I09739d53d67d034e15d3ca40406df1255b51afef
2014-01-28Sluift: Add shortcut for 'subject' to send_messageRoger Planas
Change-Id: I4343c98d34a70998f25852f05cf1d95458882541
2014-01-24Sluift: Fix PubSubNode.subscribeRemko Tronçon
- Make sure 'sluift' is available in core.lua - Parse the options correctly Change-Id: I6f830372412008aa61c9203dc4f2f1b2f63b001b
2014-01-24Sluift: 'subscriptionid' -> 'subscription_id'Remko Tronçon
Change-Id: I1e02c4b96be4e8da711f4b3bed06b318061dd116
2014-01-22Sluift: Add SecurityLabel convertorRemko Tronçon
Change-Id: I59357bda2cbfcb044b5c27b41fe0c91c194e7381
2014-01-22Sluift: Support arbitrary payloads in messages & presence.Remko Tronçon
- Add 'payloads' option to send_message and send_presence - Add 'payloads' table to message event Change-Id: I43079d519322abe8c4710ddaec5de22c48edd1ef
2014-01-19Sluift: Add iTunes & PEP User Tune supportRemko Tronçon
Change-Id: I25b3840bb40ce38531922cc737bc82828e026d3f
2014-01-18Sluift: Support for common presence payloadsRemko Tronçon
Change-Id: Idb7cd431f20ea69690a105240a5e2aeec1643cec
2014-01-18Sluift: Keep unprocessed events in queueRemko Tronçon
Iterators over specific events (e.g. get_next_message) would discard other events arriving in the meantime. This no longer is the case. Change-Id: I615295695f7104eff7c4c9a642aa57f7c78a08c9
2014-01-18Sluift: Ensure all events have been processed before disconnectingRemko Tronçon
This avoids errors when disconnecting the client while there are still elements waiting. Change-Id: I005ec3f14c138b76f6381f1a89b3ee250a40777f
2014-01-18Sluift: Fix send_messageRemko Tronçon
Change-Id: I96b35a905553f5b25272179eaaf6c1b12ba2cd41
2014-01-18Sluift: Refactor global debug & timeout options.Remko Tronçon
Use regular table values on the sluift table. Enable enabling tracing on a client after the fact. Change-Id: Iaa2bea61bdadf0b8dec4951654c402b7133c1151
2014-01-18Sluift: Allow blocking calls to be interrupted.Remko Tronçon
Change-Id: I3755e796fbddc038022bbf543c7b1c0529a9b0f9
2014-01-03Sluift: Add with() functionRemko Tronçon
Change-Id: Ife0a7748c2b354017bec5cfdddb0d096950dd15b
2014-01-03Sluift: Document some more elementsRemko Tronçon
Change-Id: I2a755500f0fe88bbea5594ce858bc92dccc34805
2014-01-03Sluift: Add help supportRemko Tronçon
Provide a 'help' function that takes a table/function, and prints help for it. A structured representation can be retrieved through 'get_help'. Change-Id: I2b3ce8992943ef30cee2604fba9200feed263fa5
2014-01-03Sluift: Custom console/interpreterRemko Tronçon
- Prints results of each command (if it can be interpreted as an expression) - Stores results of last command in _1, _2, ... - Supports tab completion - Compatible with Lua 5.2 Other changes: - Add support for specifying custom editline library - Don't load sluift into global namespace. Tab completion should be convenient enough. Change-Id: I2a26346469d67c281d09d47cacaa0b267f5ea9f9
2013-12-27Sluift: RefactoringRemko Tronçon
- Rename boot.lua to core.lua - Support Lua 5.2 - Support version prefixes for sluift module - Add Client:process_events Change-Id: I3fa6d06d1dbdf86f65b9f4203bd2ec5b5526b104
2013-12-27Sluift: Use implicit self in function definitionsRemko Tronçon
Change-Id: Ie981168debc68756c7c7dfd89f24acfc7d69a995
2013-12-27Sluift: tprint() enhancementsRemko Tronçon
- Support recursive tables - Print functions Change-Id: Ic226243bdacc9da90b8b1e55c78311247e663af3
2013-12-27Sluift: Import sluift into global namespaceRemko Tronçon
Change-Id: I783ab0dc7bf46cc02ed4244a5078f6ec040fefb7
2013-12-27Sluift: Add utility functionsRemko Tronçon
New functions: - IDN functions - UUID generator Change-Id: I051dcad32c21107d90b4491b240814f8cf56925d
2013-12-27Sluift: Add message_type to message eventRoger Planas
Change-Id: I156b4cbec401918377af5fd8f21c9845f665b4cb
2013-12-23Sluift: Fix create_submission dropping values from multi fieldsRemko Tronçon
Form->Lua conversion no longer relies on the type to decide how to convert values, and blindly converts value arrays. This also fixes issues if Sluift would be used on the receiving side of a form. Change-Id: I92c346795e1c67c74ccf542d16f79fe8010508f7
2013-12-15Sluift: Fix default values for port and host for connectRoger Planas
Change-Id: Ia19e0a3763005df7fb7db6b57841d6559f74ef46
2013-11-27Add presence_type to presence eventEdwin Mons
Change-Id: I3de5cd5ce1d84d6ce6a4b02af939ed5e0eb721f0
2013-11-19Sluift: fix debug output for BOSH connectionsEdwin Mons
Change-Id: I0bf798200e5e74e682eeab688f3ae79e49c73ed2
2013-11-19Sluift: add allow_plain_without_tls client optionEdwin Mons
Change-Id: Ieef0e455bb13e9ee38d583bee87ebb7e506bd00c
2013-11-18Sluift: add bosh_url client optionEdwin Mons
Change-Id: I42b14f411531f8814bbb85f3941772a4149c4171
2013-11-10Sluift: Use 'value' instead of 'values' for multi-value fieldsRemko Tronçon
Change-Id: Ie8d6bd4b732dd57cd4dc5ba63a9f6f6148348b2a
2013-10-30Implement missing PubSub owner queries.Remko Tronçon
Implemented get_owner_subscriptions, get_owner_affiliations, and set_owner_affiliations. Change-Id: Ib3ccf2f7e7fe228ccdddf83bde324341e69362d6
2013-10-30Implement missing conversion of some PubSub attributesRemko Tronçon
Change-Id: I51a4249fa84aa40dc2a6e3f2c7e5a9c8fce93f32
2013-10-29Sluift: Fix bug in PubSubNode.list_itemsRemko Tronçon
Change-Id: I5c500bdda0f76e81b0b7ae6ce00ee57c2c0fb3e8
2013-10-28Add port option to Sluift client connectRoger
Provide a mechanism to allow setting both the port and hostname for a Sluift client connection. By default Sluift leave port to -1 to use the port discovered by SRV lookups, with 5222 as a fallback. With this change, the port is now manually configurable as well. Change-Id: Idef5457e95127cfa86181b462d9ef42aa4f096ff
2013-09-21Sluift: Fix bug in DiscoItems element convertorRemko Tronçon
Change-Id: I02f038865850b8d86ee85115ef9a63cc2ce0db8e