Commit graph libervia-backend/frontends
Author SHA1 Message Date
souliane
c18f64f4fb frontends (jp): onActionNew displays xmlui message if no meta_type is defined and xmlui is defined 2016-02-04 11:48:37 +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
13d24075c1 jp (blog): import now show progression + value to add to sat.conf for URLs redirection 2016-01-24 18:24:01 +01:00
Goffi
d1fed06699 jp: an onProgressUpdate method is now called on each progress update, allowing to handle metadata 2016-01-23 20:04:28 +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
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
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
souliane
fab073076c tools (strings): add a parameter "new_target" to addURLToText 2016-01-13 13:08:31 +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
348be27934 copyright update 2016-01-03 16:28:30 +01:00
souliane
2a99e4bc38 quick_frontend (chat): temporary fix for bug 12:
- avoid duplicate one2one message (before the history + as a part of it)
    - do not display "=> <nick> has joined the room" for each occupant when we have just joined a MUC
2015-12-22 11:44:51 +01:00
souliane
87bd260149 quick_frontend (chat): scroll down after having printed the history 2015-12-22 11:43:02 +01:00
souliane
f153fd885d quick_frontend, primitivus (chat): printing the history is left to quick_frontend 2015-12-22 11:39:45 +01:00
Goffi
6c8121324c quick_frontend (blog): replaced first argument in addEntry by edit_entry, so it can be managed separately from entries + handle it in Entry.delete 2015-12-18 19:36:00 +01:00
souliane
8aec15cecf primitivus (chat): duplicate message check is actually not needed when retrieving local MUC history is disabled 2015-12-16 13:29:24 +01:00
souliane
99785755e1 quick_frontend: restore printing the day change while displaying history 2015-12-15 20:05:27 +01:00
souliane
77c0656c85 frontends: small message refactorisation:
- factorize some treatments that were done both in Primitivus and Libervia
    - the way it was done, especially with QuickChat.printMessage returning a tuple, was quite disturbing
    - FIXME: we can probably remove some arguments and do a deeper factorization e.g with QuickChatText
2015-12-12 12:18:54 +01:00
souliane
9e0b24a4a5 memory (params): parameter jids_list values are specified with <jid>...</jid> 2015-12-15 14:12:19 +01:00
Goffi
26b892c622 reverted patch 58ecc0e2e6fc as it may hide an other issue 2015-12-15 14:25:26 +01:00
souliane
17476b420c quick_frontend: catch an exception that can occurs when using a concurrent client 2015-12-10 10:44:04 +01:00
souliane
8a1e54b194 primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
    - moved Search directory from Service to Contacts
    - moved "Join room" from Communication to Groups
    - moved Bookmarks from Communication to Groups
2015-12-01 12:45:14 +01:00
souliane
030f20f7d8 jp (profile): fixed creating profile with given JID and XMPP password 2015-11-30 09:25:23 +01:00
Goffi
a03b45c7f6 primitivus (profile manager): session is started for newly create profiles 2015-11-27 16:58:16 +01:00
Goffi
e652a2e86f jp (profile): fixed profile/modify command:
- profile modify was resetting profile password if the option was not used
     - str types where used instead of unicode decoder
     - a new option allow to disable profile password (mutually exclusive with --password)
     - XMPP password was broken in a similar way as profile password
2015-11-26 15:49:58 +01:00
Goffi
42b64871a8 primitivus: a warning is loggued when trying to remove an unknown popup, instead of an error raised 2015-11-25 13:03:44 +01:00
Goffi
57d47b8e61 jp (pipe): pipe commands now use the new CommandAnswering API (with actionNew) 2015-11-25 02:06:44 +01:00
souliane
fb6b1e5377 quick_frontend (quick_blog): remove tags2mbdata which is replaced by common.iter2dict 2015-11-24 23:42:49 +01:00
Goffi
44ad744c63 quick frontend (blog): replaced mbdata2tags and tags2mbdata by sat.tools.common.dict2iter and iter2dict 2015-11-24 23:28:11 +01:00
Goffi
da0c8ec0ba quick_frontend(blog): groups blog sending is handled 2015-11-24 16:21:18 +01:00
souliane
b68d6ec6e9 primitivus: fixes joining a MUC room 2015-11-24 14:43:49 +01:00
souliane
54e9afe5a3 quick_frontend, primitivus: display the number of alerts for each contact and not only a symbol (*) 2015-11-24 13:31:28 +01:00
Goffi
ba295f1429 quick_frontend: getFeatures is called on profile plug, and saved in host.features 2015-11-23 23:30:41 +01:00
Goffi
8e9ef84243 quick frontend (blog): fixed group blog panels (displaying only, sending is not working yet) 2015-11-23 16:21:32 +01:00
Goffi
45d6db1063 jp (file): new file/upload command 2015-11-22 17:37:47 +01:00
Goffi
11d7dfa8fe jp (base): progressStarted signals are cached until progress_id is known, this avoid missing the progression if we have the signal before the id. 2015-11-22 17:37:19 +01:00
Goffi
698dcc2415 jp (base): fixed verbose option + there is a new line on ProgressErrorHandler only if the progress bar is actually displayed 2015-11-22 17:35:32 +01:00
souliane
323006d216 quick_frontend (quick_blog): retrieve and set the tags from/to microblog data 2015-11-21 13:58:30 +01:00
Goffi
435a3fcb90 primivitus: fixed crash when self.target is a full jid 2015-11-20 11:46:26 +01:00
Goffi
4ffbce51c3 primitivus: fixed progress panel 2015-11-20 01:57:18 +01:00