Commit graph libervia-backend/frontends
Author SHA1 Message Date
souliane
6608eafb9f tools, frontends (xmlui): add setter methods for widgets + new widget InternalButton to process UI operations 2014-04-01 21:30:21 +02:00
souliane
608e2ba9fa tools, frontends, memory: param definition and XMLUI handle multi-selection for list widgets:
- we need to update urwid_satext to revision 79
                          - no more "value" attribute value in the "list" element, use
                            HTML-style "select" attribute in the "option" elements instead
                          - /!\ param saving do not handle multiple values yet!
2014-04-01 21:21:13 +02:00
souliane
8fa0b7b8c2 core, frontends (constants): frontends Const inheritates from core Const 2014-04-01 16:27:59 +02:00
Goffi
57d26c8377 jp: added disco subcommand 2014-04-01 21:16:39 +02:00
Goffi
ba2bed39ab jp: fixed jid unicode decoding 2014-04-01 21:16:02 +02:00
Goffi
a0d69ae187 jp: fixed missing import 2014-04-01 21:15:35 +02:00
Goffi
e95d04b69e core (disco): added discoInfos and discoItems bridge methods 2014-04-01 21:14:57 +02:00
Goffi
7aa7895208 quick frontends: first connection fixes 2014-03-31 15:22:35 +02:00
Goffi
382d49a628 core (memory): entities cache improvments:
- entities cache is no more limited to bare jid
    - resources are now automatically updated in bare jid cache
2014-03-28 18:07:17 +01:00
Goffi
0ff17993f2 wix: fixed onShowProfile 2014-03-27 10:36:20 +01:00
souliane
13586ac57b primitivus: do not display the presence/status dialog if the profile is not connected 2014-03-25 17:26:31 +01:00
souliane
bc9efbda82 bridge, frontends: display presence with the highest priority + reset your own presence when you (dis)connect 2014-03-20 21:18:18 +01:00
Goffi
e689f6bb34 core (memory): moved Params in its own module + introduced a new core/constants module, and moved some constants there 2014-03-21 16:08:11 +01:00
Goffi
399ac31e05 primitivus: EditBar doesn't propagate key pressed anymore if it manage a 'up' or 'down' event (history event) 2014-03-21 15:36:01 +01:00
Goffi
ab9b658e52 primitivus: PrimitivusVerticalContainer box widgets management:
/!\ Urwid SàText need to be updated /!\
    - updated PrimitivusTabsContainer._xmluiAddTab to manage Urwid SàText changes
    - if a box widget is added to PrimitivusVerticalContainer, if will use the full available space if it is alone, else it we have a height of 5 rows
2014-03-21 15:04:13 +01:00
Goffi
7feab1c6d9 primitivus: removed deprecated use of set_focus 2014-03-21 15:04:03 +01:00
souliane
67d15eb488 primitivus: display chat states (with symbols) for MUC participants 2014-03-17 13:24:55 +01:00
souliane
73b374f6fc quick_app: better PEP-8 compliance 2014-03-16 21:25:49 +01:00
souliane
3f233509ea frontends: added SYNTAX_TEXT in the constants 2014-03-10 22:19:11 +01:00
Matteo Cypriani
f0676dfa52 jp: updated main loop to gobject 3 2014-03-05 16:03:04 +01:00
Goffi
97b8554124 removed deprecated and really old Sortilege frontend, today Primitivus is the console frontend 2014-03-04 01:24:15 +01:00
souliane
d158589881 core, frontends: add method asyncDeleteProfile, remove synchronous methods createProfile and deleteProfile 2014-03-03 09:59:10 +01:00
souliane
5b3d5a2f42 plugin card_game: update to use the new XMLUI mechanism:
TODO: the new round is not starting after the scores have been displayed
2014-02-26 02:17:43 +01:00
Goffi
8f0cf4697b core (xmlui), frontends: handling of "text" type in params xml + bug fixes 2014-02-25 23:01:26 +01:00
souliane
b2f32986be frontends: fix typos, do not use logging in the xmlui tools: 2014-02-25 10:59:05 +01:00
souliane
a9cd2cab36 primitivus: displayed presence/status was not updated when the presence is "Online". 2014-02-18 19:37:29 +01:00
souliane
24beb81688 misc: fix unnamed arguments in format strings 2014-02-17 14:58:26 +01:00
souliane
5f59378f86 frontends (tools): addURLToImage makes an image clickable 2014-02-13 15:35:21 +01:00
souliane
d5611ae016 frontends: add COMMANDS constant for Wysiwyg edition + add "image" button info for the syntaxes 2014-02-13 10:42:29 +01:00
souliane
ba1800cc61 tools: composition RICH_FORMATS constant has been renamed to RICH_SYNTAXES 2014-02-12 15:19:48 +01:00
Goffi
2b51a340d4 jp: added ad-hoc subcommand with a remote sub-subcommand to create a D-Bus remote 2014-02-17 18:57:53 +01:00
Goffi
f31dd1adc0 jp: short option for progress is now -P instead of -g, so -g can be used for groups 2014-02-17 18:57:09 +01:00
Goffi
7ca3c657f4 jp: refactoring:
- imports from sat_frontends.jp instead of local imports
    - added __init__.py
    - commands now inherits from a base class: each base.CommandBase instance is a subcommand
    - new arguments are added in CommandBase.add_parser_options methods, starting point si CommandBase.run or CommandBase.connected if a profile connection is needed
    - commands are exported using a __commands__ variable at the top of the module
    - sub-subcommand are easily added by using an other CommandBase instance as parent instead of using a Jp instance. In this case, the parent subcommand must be the one exported, and have a subcommands iterable (see cmd_file or cmd_pipe for examples).
    - options which are often used (like --profile) are automatically added on demand (use_profile=True, use_progress=True)
    - commands are automatically loaded when there are in a module named cmd_XXX
    - restored --connect option
    - restored progress bar
    - restored getVersion bridge call on jp --version
    - fixed file and pipe commands
    - fixed forgotten translations
    - fixed non SàT compliant docstrings
    - better about/version dialog
2014-02-10 13:44:09 +01:00
Goffi
3491335314 jp: added missing license headers 2014-02-05 14:52:38 +01:00
Dal
f4de26e4e8 jp: refactoring using ArgParse 2014-02-05 14:35:26 +01:00
Goffi
4d14048f8c frontends: fixed /me usage + renamed a couple of "type" parameters to type_ 2014-02-04 18:51:16 +01:00
Goffi
2ca6efd8cc dates update 2014-02-04 18:32:49 +01:00
Goffi
d5b255e437 frontends: some modifications to ease the the use of the new sat_frontends.tools.xmlui.XMLUI class in Libervia 2014-02-04 18:32:33 +01:00
Goffi
c6aaaaa297 plugin XEP-0077, plugin XEP-0100, frontends: gateways have been entirely implemented in backend using the new refactored XMLUI and AdvancedListContainer. The now useless code has been removed from frontends. 2014-02-04 18:26:03 +01:00
Goffi
18aeb3a6aa core (XMLUI), frontends: advancedListContainer part 2: 2014-02-04 18:21:51 +01:00
Goffi
edf3e1bc87 XMLUI (core, frontends): added JidWidget and DividerWidget + popup type + some bugfixes:
- JidWidget is a text container a Jabber ID, this can be used by frontends for special treatment (e.g.: possibility to click on it)
    - DividerWidget is a separator, like a blank or dashed line
    - popup type is similar to normal window, but designed for a smaller popping window
2014-02-04 18:19:32 +01:00
Goffi
9661c1c2c5 core, frontends: implementation of AdvancedListContainer first draft + misc:
/!\ Urwid SàText must be updated as the new TableContainer is used /!\
    - fixed button value in paramsXML2XMLUI
    - new Urwid SàText TabContainer is used in Primitivus for PairsContainer and AdvancedListContainer
    - fixed in core's XMLUI AdvanceListContainer
2014-02-04 18:19:29 +01:00
Goffi
b3fb68cb63 core, frontends: XMLUI refactoring:
- XMLUI now use objects with 2 main classes: widgets (button, label, etc), and container which contain widgets according to a layout
    - widgets and containers classes are found through introspection, thereby it's really easy to add a new one
    - there is still the AddWidgetName helper, for example AddText('jid', 'test@example.net') will add a StringWidget with name "jid" and default value "test@example.net"
    - container can be inside other containers. changeContainer change the first parent container
2014-02-04 18:19:00 +01:00
Goffi
72fd99f679 plugin XEP-0045, primitivus: added MUC configuration 2014-02-04 18:06:12 +01:00
Goffi
8ee9e2529e plugin XEP-0055, Primitivus: Directory search dialogs are now entirely done in plugin XEP-0055, specific code in frontend is not needed anymore 2014-02-04 18:03:53 +01:00
Goffi
3b86e8b106 primitivus: fixed bad closure, resulting in menus bug. 2014-02-04 18:02:37 +01:00
Goffi
256a110471 core, frontends: XMLUI refactoring:
- now there is a base XMLUI class. Frontends inherits from this class, and add their specific widgets/containers/behaviour
    - wix: param.py has been removed, as the same behaviour has been reimplemented through XMLUI
    - removed "misc" argument in XMLUI.__init__
    - severals things are broken (gateway, directory search), following patches will fix them
    - core: elements names in xml_tools.dataForm2XMLUI now use a construction with category_name/param_name to avoid name conflicts (could happen with 2 parameters of the same name in differents categories).
2014-02-04 18:02:35 +01:00
souliane
4a0d8be8ec core, bridge: new method paramsRegisterApp to register frontend's specific parameters 2013-12-27 13:28:26 +01:00
Goffi
fc003ecf77 frontends: fixed sendMessage calls, sendMessage is now async so callback and errback need to be specified + redraw in PrimivitusApp.notify 2014-01-03 21:25:07 +01:00
Goffi
401f47273b i18n: merged jp i18n french translation in core fr.po 2013-12-29 17:48:14 +01:00