Goffi
0815ee1576
plugin XEP-0060, XEP-0277: added getNodeURI method
2016-01-23 19:53:16 +01:00
Goffi
43ecaa5af9
jp (message): message is now a subcommand, and the sending command is moved to message/send
2016-01-22 21:06:41 +01:00
Goffi
d56e3f1cae
jp: added a blog/import command to handle new blog import plugin
2016-01-22 20:24:17 +01:00
Goffi
c43362ab3f
plugin blog import dotclear: this plugin import Dotclear 2 backups
2016-01-22 20:24:17 +01:00
Goffi
c641953ebf
plugin blog import: this plugin is the base handling blog importers:
...
- blog importers are plugin which register to this one with the "register" method
- blog import manage uploading the given blog data to a PubSub server
- filters can be used.
- current filters fixe the <img> src without host, and upload images to XMPP server
2016-01-22 20:24:17 +01:00
Goffi
94ec775019
plugin upload, XEP-0363: splitted fileUpload in fileUpload + upload:
...
fileUpload is used by external frontends, while upload can be used by frontends. upload return in addition to the progress_id a download_d Deferred which fire with URI when file is uploaded.
changed option ignore-tls-errors to ignore_tls_errors.
2016-01-22 20:24:17 +01:00
Goffi
333a43e824
plugin XEP-0277: fixed encoding issue, specially with parseCommentUrl, which could lead to the impossibility to find comments node
2016-01-22 20:24:17 +01:00
Goffi
dff93495b3
plugin XEP-0277: moved NS_XHTML namespace to constants + adapted parsing to new behaviour of ElementParser
2016-01-22 20:24:17 +01:00
Goffi
7066c7775b
plugin XEP-0277: comments handling improvments:
...
- if comments*, comments*_node or comments*_service are provided, they are used instead of generated values
- moved node and service generation to getCommentNode and getCommentService, so they can be used by an external plugin
2016-01-22 20:24:17 +01:00
Goffi
7dc6760e0f
plugin XEP-0277: added missing author_email parsing
2016-01-22 20:24:17 +01:00
Goffi
99894bd6f2
core (xml_tools): added a method to find all elements corresponding to criteria
2016-01-22 20:24:17 +01:00
Goffi
6c11191230
core (xml_tools): unescape HTML sequences to avoid parsing error in ElementParser
2016-01-22 20:24:17 +01:00
Goffi
4a44b41793
core (xml_tools), plugin XEP-0277: ElementParser element now manage automatically the wrapping with <div/> element when needed + fixed content_xhtml/title_xhtml in XEP-0277
2016-01-22 20:24:17 +01:00
souliane
b51b9a8887
test (RSM): fix according to modification in sat.tmp.wokkel.rsm in rev 1771 (b77dc676a4df)
2016-01-19 14:59:13 +01:00
souliane
a4fc134108
test (RSM): fix according to modification in sat.tmp.wokkel:
...
- parse has been renamed to fromElement in rev 1771 (b77dc676a4df)
- use RSMResponse directly instead of ext_data in rev 1773 (6e867caf4621)
2016-01-19 12:18:29 +01:00
Goffi
950af3bf70
plugin XEP-0277: removed cleanXHTML on output data:
...
- while it is mandatory to clean input data, output data sent by frontends should and need to be clean
- cleaning all output data means that we can't send be sure that all the XHTML we send is not modified
- it's a waste of resources as cleaning today reparse the data with lxml
- behaviour may change in the future (e.g. having an option to use cleaning on output data)
2016-01-19 12:21:38 +01:00
Goffi
9d9cc53b7d
plugin XEP-0071: removed cleanXHTML use for sent message: it's not necessary in this direction
2016-01-19 12:08:38 +01:00
souliane
df30ea7a53
plugin XEP-0071, XEP-0277: method clean_xhtml has been renamed to cleanXHTML
2016-01-19 11:51:07 +01:00
souliane
f24d4f7992
plugin text syntaxes: fixes typo
2016-01-19 11:49:25 +01:00
souliane
930eb1618f
plugin XEP-0055, tmp_directory_subscription: move directory subscription to a new temporary plugin
2015-09-17 11:04:17 +02:00
souliane
aa2b4f6e67
test, setup: requires lxml >= 3.1.0 (fixes html cleaning issue)
2014-08-21 20:45:24 +02:00
Goffi
51b0e9c153
plugin syntax dotclear: renamed syntax to wiki_dotclear, and renamed plugin file to plugin_syntax_wiki_dotclear.py
2016-01-18 17:30:14 +01:00
Goffi
76234954fe
plugin syntax dc_wiki: added XHTML => dc_wiki converter, plus some bug fixes:
...
- escape_chars regex has been fixed (an \ was missing for backslash escaping)
- escape_chars is now splited in consts so XHTML => dc_wiki escape less characters, for better readability
- fixed bad length check in DCWikiParser.parser_link
dotclear wiki syntax should now be usable
2016-01-18 17:04:29 +01:00
Goffi
098e66c4a2
plugin syntax dc_wiki: first draft:
...
handle dotclear wiki syntax
/!\ only dc_wiki -> XHTML is handled for now
2016-01-17 20:39:20 +01:00
Goffi
ee6688f800
pluging text syntaxes: various minor improvments:
...
- use tuple instead of list for STYLES_WHITELIST
- specify where to get python makdown and html2text
- renamed clean_xhtml to cleanXHTML for consistency
- check name for conflict in addSyntax
2016-01-17 17:33:10 +01:00
souliane
7a6fe618d9
plugin misc_account: add a FIXME comment
2016-01-16 10:09:16 +01:00
Goffi
9fe9a339f1
plugin text syntaxes: a non blocking syntax callback can now return a unicode directly instead of a Deferred
2016-01-15 17:13:59 +01:00
Goffi
8b825d4055
plugin (xep-0277): avoid wrapping XML in an extra <div> in data2entry
2016-01-15 17:13:59 +01:00
souliane
aa1e0714dd
tools (strings): add method fixXHTMLLinks to add a scheme if missing, and force opening in new tab
2016-01-15 12:27:34 +01:00
souliane
e3144d93c2
jp (roster): change groups delimiter for "roster get" output, from "|" to "\t"
2016-01-13 22:10:06 +01:00
souliane
8471941dc7
jp (roster): add command "roster get" with parameters "--subscriptions", "--name" and "--groups"
2016-01-13 20:51:42 +01:00
souliane
988990f6f5
jp (roster stats): add some extra information
2016-01-13 19:46:43 +01:00
souliane
6a680d9ff8
jp (roster): add parameters "--no_from" and "--no_to" to command "roster purge" in order to remove the contacts with no from/to subscription
2016-01-13 19:26:09 +01:00
souliane
8a920d41c0
jp: add command "roster stats"
2016-01-13 18:54:58 +01:00
Goffi
bc371c5569
primivitus: Primivitus doesn't handle microblog yet, configure QuickApp accordingly
2016-01-13 18:55:30 +01:00
Goffi
e7d024784e
bridge (D-Bus): fixed handling of profile in kwargs:
...
kwargs are not handled by python D-Bus (i.e. they are not sent through D-Bus). The "profile" and "profile_key" kwargs are often used through SàT with the bridge, this was working so far because they were used for core methods (which have a signature in DBus.py handling profile), or in Libervia browser who ignore profile argument.
But if the profile or profile_key was used as a keyword for plugin method outside of Libervia browser, they were ignored, this commit fix this by adding them to the args list.
2016-01-13 18:44:32 +01:00
souliane
2f88a6ed08
jp: add command "roster purge" to remove the contacts with no from/to subscription
2016-01-13 18:15:20 +01:00
Goffi
7a2b6fa909
tools (xml_tools): removed unused import
2016-01-13 13:12:50 +01:00
Goffi
fbb50a025d
reverted patch 3770d13776e8
2016-01-13 13:11:20 +01:00
souliane
fab073076c
tools (strings): add a parameter "new_target" to addURLToText
2016-01-13 13:08:31 +01:00
souliane
67cf4c7913
plugin XEP-0045: raise a special error when the room has already been joined
2016-01-13 13:07:36 +01:00
souliane
923dcc593d
primitivus (chat): since dialog refresh is done in message notification, print the message first and then notify
2016-01-13 08:50:40 +01:00
souliane
f16e277e8f
quick_frontend, primitivus: mechanism to signal a new message reception when the window is hidden (even if the message is actually displayed):
...
- for now this is only used by Libervia
2016-01-12 17:54:38 +01:00
souliane
a08a073503
quick_frontend, primitivus (chat): move notification command to quick_frontend
2016-01-12 17:52:17 +01:00
Goffi
cab9a9645e
tmp (wokkel.mam): recipient and sender are handled in MAM Request. TODO: MAMRequest should inherit from generic.Stanza, the same way as for PubSubRequest
2016-01-08 18:54:23 +01:00
Goffi
e6a8b8ac85
tmp (wokkel.mam): MAMErrow now inherit from StanzaError so it can be handler properly by services
2016-01-08 18:52:28 +01:00
Goffi
237a47ab27
tmp (wokkel.rsm): raise RSMError when <after/> element is empty
2016-01-08 17:25:19 +01:00
Goffi
19d55f7c8a
tmp (wokkel.rsm): RSMError now inherit from StanzaError, so they are correctly handled by services
2016-01-08 17:24:32 +01:00
Goffi
ea84a344db
tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute
2016-01-07 23:03:15 +01:00
Goffi
f7d64fa8b6
tmp (wokkel.rsm): fixed forgotten method renaming
2016-01-07 22:48:49 +01:00