Commit graph libervia-backend/frontends/src/jp
Author SHA1 Message Date
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
Matteo Cypriani
f0676dfa52 jp: updated main loop to gobject 3 2014-03-05 16:03:04 +01:00
souliane
d158589881 core, frontends: add method asyncDeleteProfile, remove synchronous methods createProfile and deleteProfile 2014-03-03 09:59:10 +01:00
souliane
b2f32986be frontends: fix typos, do not use logging in the xmlui tools: 2014-02-25 10:59:05 +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
2ca6efd8cc dates update 2014-02-04 18:32:49 +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
Goffi
5a00dc9503 core: i18n refactoring:
- _() is no more installed in __builtin__
    - instead, there is a new sat.core.i18n module
    - added D_() method for deferred translation
    - languageSwitch method allow to dynamically change translation language
    - import gettext is tested against ImportError, and dummy methods are used when not available (mainly useful for Libervia)
2013-12-29 17:06:01 +01:00
Goffi
9fdc271294 jp: removed named argument for pipeOut, as it's not managed with dynamicaly added methods 2013-11-26 18:30:35 +01:00
Goffi
31f0e3631a jp: fixed sendFile call 2013-11-23 13:38:05 +01:00
souliane
36cea6fc91 tools: renamed tools.jid.JID attribute "short" to "bare" 2013-10-29 16:26:55 +01:00
Dal
95e6be2b20 jp: profiles management 2013-10-07 14:56:09 +02:00
Goffi
8e2f394b5b core, bridge, jp, quick_frontend: SàT stop more gracefully if bridge can't be initialised:
- new BridgeInitError and BridgeExceptionNoService are in core.exceptions
    - D-Bus NotSupported is catched in bridge, and launch a BridgeInitError
    - BridgeInitError stop SàT core, jp, and quick_frontends with an explanation message.
fix bug 27
2013-06-21 02:00:37 +02:00
Thomas Preud'homme
1005013314 quick frontend, jp: fix locales 2013-04-07 22:54:47 +02:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Goffi
dfe67edc26 jp, core: jp's clean_ustr moved to a new general utils module 2013-02-22 00:11:47 +01:00
Emmanuel Gil Peyrot
88074cd284 Remove every old-style class. 2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
27b3592e16 Remove trailing whitespaces. 2013-01-18 17:55:34 +01:00
Goffi
def79e44cd dates update 2013-01-07 23:30:13 +01:00
Goffi
297b439369 frontends: incoming files transfer management:
- quick app: getWaitingConf is used on profile connexion
    - primitivus: askConfirmation is now managed, use new 'dir' style of FileDialog
2012-11-14 20:37:15 +01:00
Goffi
fa38394401 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
- added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress
    - core, frontends: fixed calls/signals according to new bridge API
    - user of proper profile namespace for progression indicators and dialogs
    - memory: getParam* now return bool when param type is bool
    - memory: added getStringParam* to return string instead of typed value
    - core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles
    - plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
2012-11-10 16:38:16 +01:00
Goffi
15c05811fa jp: - better expandJid: roster's jids' nodes are used after names to expand jid
- small error message fix
	- stdin stream cleaning when sending it as a normal message
2012-08-17 03:17:44 +02:00
Goffi
c5a930b627 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+ 2012-08-01 22:53:02 +02:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
8484dbe56e jp: use with statement to open fifo 2011-10-07 11:19:15 +02:00
Goffi
2531f966f6 jp roster name manegement + Pipe transfer
- added experimental pipe transfer protocol (based on xep-0096)
- jp now manage roster name to jid conversion (if an argument correspond to a roster name, it replace it with the corresponding jid)
- jp now add last known resource of when a resource is needed but we have a bare jid (e.g. for file or pipe transfer)
2011-10-07 00:25:15 +02:00
Goffi
b8edbbab56 jp: added --connect option 2011-10-02 00:29:04 +02:00
Goffi
c64b06921b spelling 2011-09-29 14:59:14 +02:00
Goffi
f19ea1d62e jp: fixed file reception 2011-09-29 14:43:33 +02:00
Goffi
6005b00583 frontends, bridge: sendFile method signature change + jid parameters in bridge now use _jid suffix 2011-09-29 12:13:22 +02:00
Goffi
5a2d30c9d6 jp: fixed bad sat.tools.jid import 2011-01-11 19:14:20 +01:00
Goffi
02509cdeb1 2011 copyright upgrade 2011-01-05 18:52:38 +01:00
Goffi
ff07dfb2b8 distutils installation script, draft 2011-01-05 01:56:36 +01:00
Goffi
e4452c4b03 Files reorganisation 2010-12-29 01:06:29 +01:00