Commit graph

2,626 commits

Author SHA1 Message Date
Goffi
1a74cdce28 quick_frontend (QuickApp): fixed getCache handling after changes in QuickContactList 2018-06-27 22:50:32 +02:00
Goffi
d5c9fa5e31 plugin XEP-0070: use a confirm dialog instead of a form + simplified a bit the code 2018-06-27 21:15:34 +02:00
Goffi
744cb0c503 code style reformatting using black 2018-06-27 20:14:46 +02:00
Goffi
4127bcffd0 plugin merge request (mercurial): clean item_id for import (some chars are not accepted in name) 2018-06-27 07:51:29 +02:00
Goffi
da71887397 core: lines limit 2018-06-27 07:50:35 +02:00
Goffi
e9ca46fba3 plugin merge request (mercurial): escape colons in import name 2018-06-27 07:23:59 +02:00
Goffi
ea9583aea0 core: some more line limiting 2018-06-27 07:23:13 +02:00
Goffi
8432630146 doc (INSTALL): replaced instruction with a simple link to the wiki, to avoid duplication and desynchronisation 2018-06-26 22:02:59 +02:00
Goffi
cf0d3af803 quick app: added missing docstring in showDialog 2018-06-26 07:09:49 +02:00
Goffi
519451bd84 quick_frontend(contact list): refactored update:
update is now called with appropriate constant value (C.UPDATE_ADD, C.UPDATE_DELETE, C.UPDATE_MODIFY and so on) when a widget change visibility according to current options.
Before it was linked to cache only (C.UPDATE_ADD was only called when contact was first added to cache).
This make widget handling in frontends more easy.

Renamed entityToShow to entityVisible, which seems to correspond better.

Started reducing lines lenght to 90 chars as a test. May become the new coding style soon.
2018-06-24 21:59:29 +02:00
Goffi
a365c2b797 plugin events: invitations improvments + personal list
- added invitation by <message> mechanism
- added a personal list in PEP which keep events created by user, or in which she has been invited
- new bridge methods: eventsList, and eventInviteByEmail. eventInvite is now used to invite a entity by jid (not email like before)
- on invite, an invitation message is send to invitee's jid
- when an invitation message is received, event is automatically linked in personal list
- when creating a new event, event is automatically linked in personal list
2018-06-21 01:21:44 +02:00
Goffi
e92971ff09 tools (misc): do not remove flags while using them anymore, instead added "all_used" and "unused" properties in FlagsHandler 2018-06-21 01:21:44 +02:00
Goffi
485dfdf705 jp (event): fixed crash on missing item in get and inviteeGet by making it mandatory. 2018-06-21 01:21:44 +02:00
Goffi
784e99fa49 plugin XEP-0045: fixed crash when muc service is not found 2018-06-21 01:21:44 +02:00
Goffi
0242772939 tools (date_utils): moved date_parse to common.date_utils, because it can be used in frontends 2018-06-21 01:21:44 +02:00
Goffi
d36f76e7d3 install (setup): added python-dateutil as dependency (was already a dependency of Wokkel) 2018-06-21 01:21:44 +02:00
Goffi
28f15f222d jp (common): allow tables filters callbacks to have only one argument 2018-06-21 01:21:34 +02:00
Goffi
edff42a743 jp (base): do not crash when item is specified (e.g. in URL) but not needed in command, but display a message on stderr. 2018-06-06 19:24:15 +02:00
Goffi
38597f81cf jp (forums/edit): fixed unicode when dumping in json 2018-06-03 18:05:01 +02:00
Goffi
5f226a669c core (version): added workaround for Pyjamas, avoiding crash when reading VERSION 2018-06-03 13:54:35 +02:00
Goffi
dbc3a361bb misc (README): added sat_templates installation for Xavier Maillard contributions + removed non contributions related sentences:
non contributions related sentences were not presents for everybody, and not really giving informations.
2018-06-02 17:29:55 +02:00
Goffi
7878dcfde9 jp (info/session): show short + relative date by default for "started" 2018-06-01 18:27:49 +02:00
Goffi
3c30ecd118 plugin merge-requests: allow to set empty repository when "update" is set in extra parameters:
if "update" is set, former patches data can be used, so it's not mandatory to specify a repository. In this case, empty string may be used as repository.
2018-06-01 12:23:43 +02:00
Goffi
6af707e529 plugins schema, merge-requests, tickets: convert labels from textbox to list only when "labels_as_list" is set in extra parameters. 2018-06-01 12:21:23 +02:00
Goffi
219232761f jp (ticket): new "get" subcommand, to retrieve ticket(s) 2018-06-01 12:17:06 +02:00
Goffi
0cbcd566ce jp (output): new OUPUT_XMLUI and OUTPUT_LIST_XMLUI outputs 2018-06-01 12:15:38 +02:00
Goffi
c47ea6fa3b jp (info/session): by default, display started as human readable date instead of Unix time 2018-06-01 12:06:33 +02:00
Goffi
785af76bc0 tools (common): moved date_fmt function from template filters to new date_utils module, so it can be used everywhere. 2018-06-01 12:04:06 +02:00
Goffi
720d23cd1c jp (blog/preview): fixed guessSyntaxFromPath call 2018-06-01 12:02:09 +02:00
Goffi
4d4d594c60 core: discoFindByFeatures now return only available resources 2018-05-25 10:52:01 +02:00
Goffi
a7816961dd core (xmpp): fixed "Force server" param on Android 2018-05-25 10:52:01 +02:00
Goffi
b0a63edd9c core: added local_device argument to discoFindByFeatures 2018-05-25 10:52:01 +02:00
Goffi
3d3d50d5b2 core (xmpp): use "phone" type in identities when backend is started from Android 2018-05-25 10:52:01 +02:00
Goffi
4a09638f32 tools (common): new files_utils module:
get_unique_name find a name not conflicting with an existing file
2018-05-25 10:52:01 +02:00
Goffi
0840442c2a jp (file/share/list): fixed default value for jid 2018-05-25 10:52:01 +02:00
Goffi
37c73105e0 core (constants): new downloads_dir config option (default path where files can be downloaded):
use Android API to find downloads_dir on this platform
2018-05-25 10:51:59 +02:00
Goffi
212b4fe88a quick frontends (app): retrieve namespaces on startup 2018-05-22 10:07:33 +02:00
Goffi
fd73022ccb plugin XEP-0329: new methods/signals to handle shares:
2 new methods:
- FISLocalSharesGet retrieve paths shared locally
- FISUnsharePath stop sharing a file or directory

2 new signals:
- FISSharedPathNew triggered when a new path is shared
- FISSharedPathRemoved triggered when a path is not shared anymore
2018-05-22 10:06:07 +02:00
Goffi
fa9c118d5e jp (base): fixed jid encoding 2018-05-22 10:01:00 +02:00
Goffi
c0e2a4f84b core (disco): fixed disco capabilities (empty disco was used) 2018-05-22 09:59:58 +02:00
Goffi
a6956d424a quick frontend (app): avoid resource locking on new message 2018-05-11 20:06:06 +02:00
Goffi
da147c5cc7 plugin XEP-0050: filter form received from form-processing entity, to only keep "form" and "result" types 2018-05-11 18:20:39 +02:00
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