Commit graph libervia-backend/frontends/src
Author SHA1 Message Date
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
Goffi
fc9b4fb02c primitivus: removed all file menu + temporary workaround to send full jid on C.MENU_SINGLE menu action. 2015-11-20 01:57:18 +01:00
Goffi
51a5b7c56f quick frontend: added progressIdHandler to managed progress id on action result + ignore meta_* action results 2015-11-20 01:57:16 +01:00
Goffi
1c86c2b9b4 primitivus: fixed showDialog 2015-11-19 22:31:06 +01:00
Goffi
7c340bb518 jp (base, file): use of new progress API. Progress callbacks are managed through CommandBase.onProgress* method instead of host attributes. 2015-11-19 18:13:26 +01:00
Goffi
55c75bc304 core, plugins file, XEP-0234, bridge: progression api enhancement:
- progressStarted have a new metadata parameter, useful to know the kind of progression, direction, etc. Check bridge doc
    - progressGetAllMetadata can be used to retrieve this data and discover on currently running progressions
    - progressFinished also have a new metadata parameter, used to e.g. indicate that hash is checked
    - core: fixed progressGetAll
    - file, XEP-0234: implemented the API modifications,  hash is returned on progressFinished
    - file: SatFile.checkSize allows to check size independently of close (be sure that all the data have been transfered though)
2015-11-19 18:13:26 +01:00
souliane
9b2055bd3f quick_frontend: add quick_list_manager.py and the QuickTagList class 2015-11-19 11:15:06 +01:00
Goffi
09619e6723 jp: use the new actionsGet method 2015-11-17 21:29:03 +01:00
Goffi
a42452ff57 core, bridge: actionsGet:
- added a new mechanism to keep actions until they are answered (or timeout-ed)
    - keep_id must be explicitly used on actionNew
    - actionsGet is used to retrive these actions
    - the mechanism is used in deferXMLUI
2015-11-17 21:28:58 +01:00
Goffi
c0b1f1a86e jp (file): print a message and quit if progress_id is not received 2015-11-17 20:18:51 +01:00
Goffi
706b814e3f quick_frontend(profile manager): fixed alert messages 2015-11-17 12:39:38 +01:00
Goffi
e847a9f001 primitivus: fixed showDialog and XMLUI message dialog 2015-11-17 12:28:45 +01:00
Goffi
fd271b69ba primitivus (xmlui): fixed closing on popup panel "OK" button press 2015-11-16 09:25:05 +01:00
Goffi
909a54995e primitivus: fixed alert case + alert in profileManager 2015-11-16 08:57:36 +01:00
Goffi
5226e6ef6b frontends (xmlui): fixed widget closing on submit 2015-11-16 08:57:02 +01:00
Goffi
6d2df889a1 jp (base, file): file command and progress fixes and adaptation to new API:
- progress use new API, and signals to monitor progression and avoid use of progressGet before progress is actually started
    - progress behaviour on event is managed by callbacks which are Jp attributes
    - progress with unknown or 0 size don't show the progress bar
    - better handling of errors
    - CommandAnswering is update to manage actions instead of the deprecated askConfirmation
    - managed actions use callback easy to associate with an action type.
    - file command is updated to manage these changes and the recent changes in backend behaviour
    - verbosity is used to display more or less message when sending/receiving a file
    - destination path can be specified in file receive
    - file receive doesn't stop yet, still need some work in the backend
2015-11-15 23:42:21 +01:00
Goffi
4233150d7b jp (base): added a self.disp method which manage verbosity and stderr + verbosity property 2015-11-15 23:25:58 +01:00
Goffi
8477d22012 jp (base): added quitFromSignal method to quit from signal handler with errcode without traceback, and addOnQuitCallback to manage cleaning callbacks 2015-11-15 23:16:54 +01:00
Goffi
891a4c33af jp: added a --verbose command 2015-11-14 19:54:27 +01:00
Goffi
fbbb081425 backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument 2015-11-14 19:21:56 +01:00
Goffi
4826320188 jp: added profile/connect command 2015-11-14 19:19:04 +01:00