Commit graph

2,584 commits

Author SHA1 Message Date
Goffi
8f70b2528f plugin XEP-0045: display a note when no configuration is available on the room 2018-05-11 18:18:06 +02:00
Goffi
cd78b78abf plugin XEP-0045: fixed room configuration cancellation 2018-05-11 17:24:37 +02:00
Goffi
bc83869090 quick frontend (contact list): don't store "nick" for group contacts:
plugin XEP-0054 may associate a "nick" with a bare jid, which in case of MUC can cause trouble (Primitivus for instance will use the nick instead of the name of the room).
This hack avoid this issue for now.
2018-05-11 17:13:58 +02:00
Goffi
515add5c7e plugin XEP-0045: fixed joining workflow:
- room keep joining workflow state, and display warning when something is received at unexpected moment
- state is change immediatly when subject is received (which must be the last thing before live messages), avoiding timing issue if history storage in database is taking too much time
- user joined/left data are not saved anymore in history as it takes a lot of space for little interest. A future option may allow to re-enable it if needed.
2018-05-11 17:11:47 +02:00
Goffi
90b8f4be32 quick frontend (chat): added a property to Message which is True when message comes from history 2018-05-10 08:34:44 +02:00
Goffi
2199c99d5b bridge: added generated pb files to repository (needed for Cagou on Android) 2018-04-13 18:45:43 +02:00
Goffi
c43f8e6205 core (constants): updated Android constants for Cagou 2018-04-13 18:44:22 +02:00
Goffi
d1aca28954 primitivus (xmlui): fixed XMLUIPanel signature 2018-04-07 14:07:05 +02:00
Goffi
a9e368cf6a setup, tools(utils): fixed versioning in setup and getRepositoryData 2018-04-06 16:47:40 +02:00
Goffi
854dda8df6 tools (xmlui): fixed XMLUIDialog signature 2018-04-06 15:41:26 +02:00
Goffi
38d303f09d setup: use NAME to get version 2018-04-05 17:42:05 +02:00
Goffi
3951ea451a tools (utils): better repository version handling:
- removed save_dir_path and .hg_data/pickle method: it is not needed to save repository data anymore as its version is now saved on installation by setuptools_scm
- added "distance" (number of commits since last tag)
- use twisted's which method to find the hg executable
- result is now cached on first execution
- fixed dirstate method
- at last resort, try to find the repository version using the package version, as it is saved there by setuptools_scm
2018-04-05 15:23:38 +02:00
Goffi
b5a4d8c58d setup: use scm version 2018-04-05 12:49:25 +02:00
Goffi
ac954f378d setup: version is now set in SAT/VERSION, sat is not imported anymore in setup 2018-04-05 10:41:08 +02:00
Goffi
9564946ee5 README: typo 2018-04-04 22:09:20 +02:00
Goffi
10fbeeb29f README: added Arnaud Joset to contributors 2018-04-04 09:34:58 +02:00
Goffi
578883b8bd tools(utils): fixed path handling in getRepositoryData 2018-04-04 09:21:00 +02:00
Goffi
69faabb405 setup: minimal version of sat_tmp is 0.0.3 2018-04-04 08:45:09 +02:00
Goffi
9c9648016f core: replaced gtk3reactor by gireactor 2018-04-03 20:54:17 +02:00
Goffi
14c817fa2c setup, constant: use https address in APP_URL, and keep pypi NAME separated from constants 2018-04-03 09:04:55 +02:00
Goffi
b92101dabc setup: use constants to get name and version 2018-04-03 08:00:42 +02:00
Goffi
900a16f8ff setup: removed ez_setup.py 2018-04-02 19:48:50 +02:00
Goffi
80ef13612b core, setup: huge cleaning:
- moved directories from src and frontends/src to sat and sat_frontends, which is the recommanded naming convention
- move twisted directory to root
- removed all hacks from setup.py, and added missing dependencies, it is now clean
- use https URL for website in setup.py
- removed "Environment :: X11 Applications :: GTK", as wix is deprecated and removed
- renamed sat.sh to sat and fixed its installation
- added python_requires to specify Python version needed
- replaced glib2reactor which use deprecated code by gtk3reactor

sat can now be installed directly from virtualenv without using --system-site-packages anymore \o/
2018-04-02 19:44:50 +02:00
Goffi
4afd2ff26f plugin merge-request mercurial: keeps more chars for import name 2018-04-02 08:56:24 +02:00
Goffi
4f1fb28a63 plugin merge-request mercurial: accept space and period for import name sanitization 2018-04-02 08:49:20 +02:00
Goffi
b1b765fcc0 plugin merge-request mercurial: better name sanitization for import 2018-04-02 08:45:08 +02:00
Goffi
2b44df2294 jp (merge-request,common): fixed URIFinder when metadata are not needed:
new "meta_map" attribute which allows to select destination argument name, or to discard unused metadata.
2018-04-02 08:23:22 +02:00
Goffi
8e515c0be7 README: minor line addition 2018-04-01 20:55:43 +02:00
Goffi
d4511e8e3a jp (base): fixed URI's item with use_pubsub 2018-04-01 20:41:03 +02:00
Goffi
86a09b6c90 README: label to use for tickets and merge requests is specified 2018-04-01 20:17:00 +02:00
Goffi
e4c56da671 plugin uri finder, jp (merge-request): labels handling:
- a label can now be specified as metadata after specifing a "xmpp:" URI in doc (with « use "[label]" label" » after the URI)
- updated jp to handle new signature of URIFind
- jp (merge-request/set): labels can now be specified using --label
2018-04-01 20:17:00 +02:00
Goffi
a6aa637663 jp (merge-request): find URIs when --service and --node are not specified for get and import:
local dir is used for get, as repository is not in options.
2018-03-31 18:42:01 +02:00
Goffi
060d4a065f jp (base): added C.ITEM pubsub flag when --item is required 2018-03-31 18:40:54 +02:00
Goffi
f4a15b0ffb jp (merge-request/set): if service and node are not specified, URIFinder is now used + ask confirmation before publishing 2018-03-31 18:23:06 +02:00
Goffi
60eab27872 jp (base): new confirmOrQuit helper method to ask confirmation to user, and quit if he cancel 2018-03-31 18:21:56 +02:00
Goffi
c762d0cc31 README: specified URIs location for tickets and merge requests 2018-03-31 17:20:38 +02:00
Goffi
19155ef4d7 plugin uri finder: plugin to find URIs in well-known locations 2018-03-31 17:20:14 +02:00
Goffi
31c8a752bb jp: new argument pubsub_default can be used in Commands to replace default value in help string 2018-03-31 17:10:43 +02:00
Goffi
ec0c5104ed plugin merge-requests: fixed labels (they were using textbox instead of list) 2018-03-30 19:49:35 +02:00
Goffi
514f4e0285 jp (merge-request/import): added import command 2018-03-30 17:53:57 +02:00
Goffi
60043be6b4 plugin merge-requests, mercurial merge-requests: merge request import implementation 2018-03-30 17:53:11 +02:00
Goffi
2422d0a1d7 plugin XEP-0115: fixed caps initial check 2018-03-30 17:51:32 +02:00
Goffi
291127e677 jp (merge/get): "get" command first draft:
get allows to retrieve a merge request, to display it. By default it only display "id", "title" and "body" ; verbosity must be augmented to display more.
2018-03-29 09:09:33 +02:00
Goffi
5fbe44e849 jp (xmlui): added whitelist, read_only and values_only options:
- whitelist is set on XMLUI creation, it's the same as for other frontends
- read_only is set on XMLUI display, it indicates that input are not expected
- values_only is set on XMLUI display, it indicates that only values are to be displayed (it implies read_only)
2018-03-29 09:09:32 +02:00
Goffi
25e6a8748d frontends (xmlui): added whitelist argument:
when set whitelist indicate that only widgets (and their eventual labels) with names in this list are to be kept.
This option is mutually exclusive with ignore.
2018-03-29 09:03:19 +02:00
Goffi
d2dadbaf46 jp (base): add --max option:
when MULTI_ITEMS is set, --max options is automatically added, except if NO_MAX flag is set.
2018-03-29 08:59:38 +02:00
Goffi
b7e2de70d7 jp (base): fixed use_pubsub when pubsub_flags is not needed 2018-03-29 08:57:27 +02:00
Goffi
1c29b1cdc1 tools (common/data_objects): fixed Identity 2018-03-26 08:06:35 +02:00
Goffi
a9105242d0 core: added bare_jid and identities arguments to discoGetByFeatures:
- bare_jid indicate if we are looking for server implementation (True) of devices (False)
    - identities is an optional filter, only entities with this identities set will be kept
2018-03-26 08:01:06 +02:00
Goffi
afb4dcd6bb plugin XEP-0234: fixed regex import 2018-03-25 20:51:02 +02:00