Commit graph

2,219 commits

Author SHA1 Message Date
Goffi
feac2da87d plugin invitations: added modify method (+ bridge) and fixed email setting in extra 2017-04-03 00:23:01 +02:00
Goffi
697da436af plugin XEP-0060: node create/delete improvments:
- use client instead of profile for createNode and deleteNode
    - new bridge method psCreateNode
    - renamed psDeleteNode to psNodeDelete
2017-04-03 00:22:58 +02:00
Goffi
6b0c5dc01a tmp(wokkel/pubsub): fixed configuration parsing 2017-04-03 00:13:33 +02:00
Goffi
0c01779ae7 tools(common/uri): XMPP uri parsing module, first draft 2017-03-29 21:04:43 +02:00
Goffi
d70547a611 jp (invitation): invitation command first draft 2017-03-29 19:42:44 +02:00
Goffi
fce4b9fd1b jp (pubsub/get): --service is now optional argument, and sub_id now use "-S" short option 2017-03-29 19:42:44 +02:00
Goffi
f7657610f4 jp (base): added msg and exit_code argument to errback so it's more generic 2017-03-29 19:42:44 +02:00
Goffi
f12d873897 plugin invitations: added getInvitation method, it return invitation data and raise an error if it is not found 2017-03-29 19:42:42 +02:00
Goffi
e70fc0d62f plugin invitations: invitation id and invitee jid are now added to return dict in invitationCreate, bridge signature has changed too 2017-03-29 19:35:55 +02:00
Goffi
594cf2d02a plugin invitations: raise ValueError if url_template and message_body are both not specified 2017-03-29 19:30:29 +02:00
Goffi
06fd34fe5e memory (persistent, sqlite): fixed getPrivates bug with keys arguments and its use in LazyPersistentBinaryDict 2017-03-29 19:27:52 +02:00
Goffi
d067b1b8be plugin invitations: fixed leak of uuid in jid 2017-03-26 21:23:03 +02:00
Goffi
3eb7074f26 jp (pubsub/node) added pubsub/node/affiliations/set command 2017-03-26 18:08:05 +02:00
Goffi
f829ef828b plugin XEP-0060: added setNodeAffiliations and its bridge method (psNodeAffiliationsSet) 2017-03-26 18:06:58 +02:00
Goffi
b211d3afe6 tmp(wokkel/pubsub): removed affiliations attribute which was there twice + added missing _render_affiliations 2017-03-26 16:57:53 +02:00
Goffi
281c514ae4 jp (pubsub): added affiliations and node/affiliations/get:
affiliations allow to retrieve all node were a profile is affiliated on a service, or the affiliation on a specific node.

node/affiliations/get is for node owner and allow to retrieve who is affiliated with a node and which kind of affiliation.
2017-03-23 21:04:01 +01:00
Goffi
d3b9f16860 plugin XEP-0060: added affiliation handling:
New methods getAffiliations (for checking affiliation by any entity) and getNodeAffiliations (for checking the affiliations of a node, for the owner), and theirs corresponding bridge methods.
2017-03-23 21:01:51 +01:00
Goffi
bc08258fe7 tmp (wokkel/pubsub): fixed affiliations (normal entity) handling 2017-03-23 20:59:25 +01:00
Goffi
425d342183 plugin groupblog, XEP-0060: added ACCESS_PUBLISHER_ROSTER and switched to it in groupblog 2017-03-23 09:11:25 +01:00
Goffi
2db9c76c4a tmp (wokkel/pubsub): fixed configuration setting 2017-03-23 09:07:10 +01:00
Goffi
afef209d70 jp (pubsub/node): added set command 2017-03-14 00:21:20 +01:00
Goffi
34f6f89025 plugin XEP-0060: added setConfiguration/psNodeConfigurationSet + fix in tmp.wokkel.pubsub 2017-03-14 00:18:02 +01:00
Goffi
b9db15510f jp (pubsub): added pubsub/node/info command to retrieve node configuration 2017-03-13 23:18:57 +01:00
Goffi
a022ae21af plugin XEP-0060: added getConfiguration ad psNodeConfigurationGet bridge method 2017-03-13 23:18:00 +01:00
Goffi
ba8534ee4f plugin XEP-0060: renamed psGet bridge method to psItemGet 2017-03-13 23:17:13 +01:00
Goffi
444926825c jp (output dict): added color and no-header option 2017-03-13 23:15:06 +01:00
Goffi
b6c9073322 jp (base): raise InternalError if output is used when use_output is not declared 2017-03-13 23:14:00 +01:00
Goffi
2c6afc6d4f jp (output xml): remove blank spaces on parsing for better pretty printing 2017-03-13 23:12:57 +01:00
Goffi
220042d6b1 jp(pubsub/get): pubsub/get command, first draft 2017-03-12 23:34:51 +01:00
Goffi
6fd7bd5313 jp (outputs): new xml and list_xml outputs, handling pretty formatting and syntax highlighting 2017-03-12 23:34:19 +01:00
Goffi
4d96b85178 jp (base): output can now specify a default when registering 2017-03-12 23:33:26 +01:00
Goffi
09bf7b9b11 jp (base): replaced log.warning by stderr prints 2017-03-12 23:32:43 +01:00
Goffi
a860999204 jp (outputs): moved output options parsing and checking to base methods 2017-03-12 23:31:06 +01:00
Goffi
48a5f1f4c7 jp (std output): force unicode on simple output 2017-03-12 23:29:09 +01:00
Goffi
20ffb6d2eb plugin XEP-0060: added psGet bridge method 2017-03-12 23:28:04 +01:00
Goffi
d7d5ca1d18 plugin invitations: first draft:
/!\ new dependency: shortuuid
Plugin invitations allows to invite somebody without XMPP account, using an unique identifier.
The various arguments are explained in the docstring.
2017-03-12 19:35:36 +01:00
Goffi
94370a8da3 plugin XEP-0077: minor raise fix 2017-03-12 19:33:25 +01:00
Goffi
ceab0c6bdc memory (persistent, sqlite): better private values handling + new LazyPersistentBinaryDict:
- merged private values method handling in sqlite, and added a keys arguments to get only some keys
    - LazyPersistentBinaryDict allow to get values in database only when they are needed, saving memory for big data
2017-03-12 19:33:17 +01:00
Goffi
25c07ce105 plugin account, tools: some cleaning account + email and password tools:
- plugin misc account has been reordered and cleaned a bit.
    - new xmpp_domain setting is used to get the domain name of main XMPP server
    - password generation method has been moved to tools.utils
    - email sending method has been moved to tools.email
2017-03-12 19:32:59 +01:00
Goffi
bb48d87434 jp (account): command to handle XMPP account creation/password change/deletion using in-band registration 2017-03-09 23:11:42 +01:00
Goffi
2e9404421a jp (profile): fixed help gettext calls 2017-03-09 23:10:17 +01:00
Goffi
90824a69b0 jp (base): added generic errback to CommandBase + show error message on plugin ImportError 2017-03-09 23:09:18 +01:00
Goffi
7c58313ed0 plugin XEP-0077: added inBandAccountNew, inBandUnregister and inBandPasswordChange bridge methods 2017-03-09 23:07:38 +01:00
Goffi
06be5a58aa plugin account: removed dependency to Prosody/prosodyctl and properly use in-band registration instead 2017-03-09 00:06:13 +01:00
Goffi
1c64f98989 plugin XEP-0077: added changePassword and removeRegistration methods 2017-03-09 00:06:13 +01:00
Goffi
03d8930672 jp (profile/list): fixed options help 2017-03-09 00:06:13 +01:00
Goffi
52dce48694 core (params): removed registerNewAccount button: it is misplaced and more confusing than useful, may come back in the future 2017-03-09 00:06:09 +01:00
Goffi
d1ba64c780 core, plugin XEP-0077: in-band registration fix and move:
in-band was partially in core for historical reason, it has been moved to XEP-0077, and fixed. It is still incomplete, but should work for basic accounts creation.
2017-03-08 20:59:31 +01:00
Goffi
6378718ddc primitivus: fixed profileCreate bridge call 2017-03-08 20:44:28 +01:00
Goffi
0257809292 i18n: updated sat.po 2017-03-06 21:22:59 +01:00