Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
souliane
ba1e8079ed plugin misc account: separate profile creation and sending emails, so we can wait and send the emails at the right time (when we know that no error occured) 2016-03-11 12:31:33 +01:00
Goffi
27cd8412d5 plugin XEP-0060: fixed traceback if service was None 2016-03-10 17:50:17 +01:00
Goffi
5857a69546 plugin misc ip: changed URL of GET_IP_PAGE for the new one on salut-a-toi.org 2016-04-26 19:59:28 +02:00
Goffi
faef205761 plugin misc ip: fixed exception when a web error happen while retrieving IP from external website 2016-04-26 19:04:59 +02:00
Goffi
c4ac825c8f plugin XEP-0060: service, node and uri are added to metadata when doing a getItems 2016-03-09 16:59:29 +01:00
Goffi
3890a108f4 plugin XEP-0277: removed mbGetAtom which has not reason to be in the backend, as it is highly dependant of (web) frontend elements. The code will be moved to Libervia:
/!\ this break Libervia static blog temporarily, the time to commit the changes
2016-03-09 14:33:54 +01:00
Goffi
edeaa0f9bc plugin misc account: fixed handling of None/empty values in sendEmails.sendEmail 2016-03-09 12:54:26 +01:00
souliane
7ca5b00183 plugin XEP-0096: add missing dependency to FILE plugin 2016-03-09 12:08:31 +01:00
souliane
f445c844c2 plugin misc_account: fixes sending email (twisted.mail.smtp.sendmail doesn't want unicode) 2016-03-09 11:52:18 +01:00
Goffi
e45ceec338 plugin account: fixed use of {domain} instead of hardcoded libervia.org for welcoming e-mail. 2016-03-09 11:17:32 +01:00
souliane
a6f9cd5bfb plugin misc_account: fixes handling of deprecater parameter "admin_email" 2016-03-07 16:20:41 +01:00
Goffi
ed2219df8f plugin XEP-0045: overriden availableReceived method of MUCClient to work around a bug in Wokkel (affiliation and role are not set). TODO: propose a patch upstream 2016-03-07 15:48:11 +01:00
Goffi
a99d593a35 plugin XEP-0045: fixed feedback for /kick /ban and /afficiliate commands which should not be public 2016-03-07 13:50:57 +01:00
Goffi
e56883c613 plugin text commands: fixed log in genericErrback which was raising an exception when something than StanzaError was received 2016-03-07 13:49:13 +01:00
souliane
c24537407b plugin XEP-0363: fixes a forgotten attribute update 2016-03-04 10:00:23 +01:00
Goffi
b28dcdbfb3 plugin text syntaxes: added 'poster' and 'controls' in allowed attributes for cleanXHTML 2016-03-01 16:36:16 +01:00
Goffi
893aa7a595 plugin XEP-0277: service can be None in mbGet, resulting in a request on default pubsub service of profile (i.e. profile's PEP) 2016-03-01 01:47:32 +01:00
Goffi
735db1b94a plugin account: modifications in welcoming email:
- removed "it misses some features and it's not stable enough to be used for any serious purpose." as we are being more and more close to general audience version
    - removed the reference to http://salut-a-toi.org/faq.html#certificate as we have no more certificate warning since the move to let's encrypt on the demo server
2016-02-27 14:55:23 +01:00
Goffi
63c5083839 plugin account: email sending improvments:
the following new options are handled:
        - email_sender_domain (default None)
        - email_port (default 25)
        - email_username (defaut None)
        - email_password (default None)
        - email_starttls true to force starttls (default false)
        - email_auth true to require authentication (default false)
    in addition, admin_email has been deprecated in favor of email_admins_list which can handle several addresses
2016-02-27 14:49:20 +01:00
Goffi
413af63280 plugin XEP-0060: fixed bad xmpp: URI generation in getNodeURI 2016-02-25 16:21:17 +01:00
Goffi
c92ce5da75 plugin blog import dokuwiki: fixed bad use of MissingModule and unmodified docstring 2016-02-25 16:05:31 +01:00
Goffi
69df5fc49c plugin blog import: mb_data handle unicode only, so comments_service must be a unicode and not a JID 2016-02-24 16:11:36 +01:00
souliane
01f851c9f7 plugin misc_upload: fixes things that have been forgotten after a refactoring 2016-02-23 15:02:03 +01:00
souliane
e25f9def1b plugin XEP-0277: add a forgotten string to JID conversion 2016-02-22 14:33:47 +01:00
Goffi
bd971186de plugin text syntaxes: fixed defaut syntax handling 2016-02-18 15:41:47 +01:00
Goffi
6d1bb065cd plugin XEP-0065: fixed timer cancellation when a profile is receiving a file 2016-02-08 18:06:07 +01:00
souliane
7f2d6e56c7 plugin blog_import_dokuwiki: also uses the generic image uploader from blog_import (when media_repo is empty and OPT_UPLOAD_IMAGES is True) 2016-02-04 18:56:53 +01:00
souliane
657c234406 plugin blog_import_dokuwiki: fixes wrong URL when a substitution occurs twice 2016-02-04 17:37:33 +01:00
souliane
de3eaeeeeb plugin blog_import_dokuwiki: refactor to make it look more similar to blog_import_dotclear 2016-02-04 17:36:22 +01:00
souliane
0b81c7726d plugin blog_import_dokuwiki: first draft 2016-02-04 12:29:43 +01:00
souliane
0eaf531608 frontends (jp/blog), plugin blog_import: fixes:
- argparse argument with nargs > 1 and default == {} crashes when reading the user input
    - separate blog import options with a new line
    - convert DBus strings received by the backend to unicode
2016-02-04 11:44:43 +01:00
Goffi
12a18b9d51 plugin XEP-0277: fix bad call after methods renaming 2016-01-28 16:44:47 +01:00
Goffi
27e6434132 plugin maildir: added an option to block intercepted normal messages:
NOTE: this plugin is old and experimental, it need a good review/cleaning.
2016-01-25 18:04:24 +01:00
Goffi
7fddbe943e plugin blog import, XEP-0277: progress + redirect:
- progression is now handled
    - url redirections are handled with PubSub URIs, and returned as metadata with progressFinished
    - tmp_dir is cleaned in a finally close
2016-01-23 20:01:28 +01:00
Goffi
0815ee1576 plugin XEP-0060, XEP-0277: added getNodeURI method 2016-01-23 19:53:16 +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
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
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
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