Commit Graph

14722 Commits

Author SHA1 Message Date
Philipp Hörist 84f48a400c Merge branch 'master' into 'master'
fixed lookup of description for keyed options

See merge request !105
2017-07-11 20:45:53 +02:00
SaltyBones e6840ab8b6 fixed lookup of description for keyed options 2017-07-11 20:35:47 +02:00
Philipp Hörist cc682d243f Change defaults on history restore options
Set restore timeout inactiv, this should be really an advanced option,
probably only set for specific MUCs not as default for every MUC.

Set restore_lines to 10, so the User has an indication that Gajim can
display history, and that there is probably a setting to adjust.

Set muc_restore_lines to 100, this is a try to get a reasonable amount
of history, especially in small Groupchats. Most server will limit this
to 20-50 anyway. The limit 100 is more of a precaution if we run into a
misconfigured server. This is intended as a workaround until we can
implement MAM for Groupchats.
2017-07-10 21:03:45 +02:00
Philipp Hörist a818b60ba7 Fix unlimited muc_restore_timeout
muc_restore_timeout set to -1 means we want no particular time set, up
to which we request messages. But we should not deliberate request
messages we already have. Hence even if muc_restore_timeout is set
to -1, we should only request up to the last message we received.
2017-07-10 20:13:10 +02:00
Philipp Hörist b625199c47 Allow for a no limit option on restore_timeout 2017-07-10 18:26:17 +02:00
Philipp Hörist aeb64a516c Use correct history date on muc join
Example:
If we receive a message the last message date is now.
If we restart Gajim and join the MUC again, `time.time() - timeout`
will be most likly smaller then when we received the last message
If the timeout is an hour, this would mean that many messages are requested
from the archive which we already received.

So we always want the most current timestamp (MAX).
2017-07-10 16:39:27 +02:00
Philipp Hörist 5a8965791c Commit to DB before shutdown
Because some operations use the _timeout_commit() it happens that a timeout
is active while we shutdown.

This makes sure everything is commited before shutdown.
2017-07-10 16:25:26 +02:00
Philipp Hörist 0eca29d484 Fix memory leak in plugins window
- remove gui extension point on close, to remove the reference the plugin manager holds to the Class.

- reduce scope of var that holds reference to Gtk.Builder(). We have to be careful with
Gtk.Builder, because it can hold a reference to our Class (methods bound to signals) which creates a reference cycle
which python is not able to detect. Hence neither Gtk.Builder nor our Class are garbage collected.
Why this is not detected as a reference cylce is unclear at the moment.

There are two approaches to circumvent the problem:

1. we lose our reference to Gtk.Builder when closing the window, which lets python garbage
collect the builder, afterwards it can garbage collect our class.

2. we reduce the scope of the var that holds a reference to Gtk.Builder, so that the builder
can be garbage collected at the end of __init__.

I chose to reduce the scope because the builder is not needed class wide.
2017-07-10 01:15:30 +02:00
Yann Leboulanger 016acef245 Merge branch 'appdata' into 'master'
Add old id to appdata file

See merge request !104
2017-07-05 22:43:10 +02:00
André Apitzsch b80f21c1af Add old id to appdata file 2017-07-05 22:25:31 +02:00
Philipp Hörist ab85729fe5 Fix displaying links in textview
Regression from 79716f421f
2017-07-04 12:26:05 +02:00
Philipp Hörist 3d8be9ebe2 Fix emoticons module import on windows 2017-07-03 11:32:47 +02:00
Philipp Hörist 288b2a3bce Update README.md 2017-07-03 00:36:58 +02:00
Philipp Hörist d19f9e110d Merge branch 'popover' into 'master'
New Emoticons Menu

See merge request !102
2017-07-02 22:54:14 +02:00
Philipp Hörist 5dd4ac1c24 Update windows build to include emoticons 2017-07-02 21:30:21 +02:00
Philipp Hörist 635b05c1ca Make noto-emoticons the default theme 2017-07-02 21:30:21 +02:00
Philipp Hörist 89e4a006be Add font-emoticons theme 2017-07-02 21:29:57 +02:00
Philipp Hörist d387cf1d88 Add noto-emoticons theme 2017-07-02 21:29:57 +02:00
Philipp Hörist 79716f421f Rework emoticon menu 2017-07-02 21:27:44 +02:00
Philipp Hörist 0d0671374a Remove old emoticon themes 2017-07-02 19:28:00 +02:00
Yann Leboulanger fe75060098 Merge branch 'rename_src_gajim' into 'master'
Move src/ to gajim/

See merge request !103
2017-07-02 18:57:06 +02:00
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
André Apitzsch 68a57e7c91 Replace src by gajim 2017-07-02 17:25:46 +02:00
Philipp Hörist 6880fba3b4 Raise exception for missing icons
This is a regression from 9dc389cc32

previously we used load_icon() which raises an exception for missing icons

now we use lookup_icon() which does not, and iconinfo can be None now
2017-07-02 15:13:53 +02:00
Yann Leboulanger 6d9f82d827 show all previous corrected messages. Fixes #8669 2017-06-28 14:53:26 +02:00
Philipp Hörist bd3a0c8ac6 Only use GStreamer when Farstream is available
To use GStreamer we need to call Gst.Init().
We call Gst.Init() only when Farstream is available.
2017-06-28 00:43:44 +02:00
Philipp Hörist 923bbc87a2 Add LMC to common features 2017-06-28 00:06:43 +02:00
Philipp Hörist 55889d045f Add new extension point method 2017-06-27 20:51:55 +02:00
Philipp Hörist 1a2d32fca5 Better error message why pgp is not working 2017-06-26 18:09:15 +02:00
Philipp Hörist 7a6d7baebc Set password also on connection object on change 2017-06-25 23:14:35 +02:00
Philipp Hörist 6a49e2d869 Fix plugin installation from zip 2017-06-25 22:34:14 +02:00
Philipp Hörist b5d3578e39 Add tooltip for encryption button
Fixes #8663
2017-06-25 18:06:46 +02:00
Philipp Hörist 49a78ae8ed Support IPV6 and IPV4 domainparts
https://tools.ietf.org/html/rfc7622#section-3.2
2017-06-16 23:40:42 +02:00
Yann Leboulanger 4650615010 Merge branch 'jingleft' into 'master'
Update JingleFT support, and fix sending files

See merge request !89
2017-06-16 21:19:38 +02:00
Yann Leboulanger 7f4e930677 do not decode received data via IBB before writing them to a file 2017-06-16 21:15:24 +02:00
Yann Leboulanger 5606e5b9a2 Merge branch 'jingleft' of https://dev.gajim.org/linkmauve/gajim into HEAD 2017-06-14 22:32:21 +02:00
Emmanuel Gil Peyrot aad5c16054 Update to XEP-0234 version 0.18.0 (:5 namespace). 2017-06-14 20:47:41 +01:00
Emmanuel Gil Peyrot 785a0b61e0 Update to XEP-0300 version 0.5 (:2 namespace). 2017-06-14 20:47:41 +01:00
Yann Leboulanger 44430988a5 update dep list 2017-06-14 21:39:12 +02:00
Emmanuel Gil Peyrot 09e6cfbbc8 Update to XEP-0234 version 0.18.0 (:5 namespace). 2017-06-14 20:31:29 +01:00
Emmanuel Gil Peyrot 8356256f17 Update to XEP-0300 version 0.5 (:2 namespace). 2017-06-14 20:29:52 +01:00
Emmanuel Gil Peyrot 71f0e40c94 Update JingleFT to its latest experimental version 2017-06-14 20:26:37 +01:00
Emmanuel Gil Peyrot 2b9f9f3bb9 Synchronise hashes support with XEP-0300 in Jingle 2017-06-14 20:26:37 +01:00
Yann Leboulanger 0d3ce37b27 fix a test. Fixes #8660 2017-06-14 20:25:06 +02:00
Yann Leboulanger 388acfca5a fix logging single messages. Fixes #8640 2017-06-14 15:29:19 +02:00
Yann Leboulanger 4f7b72883d Merge branch 'master' of dev.gajim.org:gajim/gajim 2017-06-14 15:10:26 +02:00
Yann Leboulanger 2c24c5a1e8 fix frong commit from 2fbadc91 2017-06-14 15:09:29 +02:00
Philipp Hörist 9dc389cc32 Show warning icon when encryption is disabled
'channel-insecure-symbolic' icon if no encryption is selected

'channel-secure-symbolic' if an encryption is selected
2017-06-13 00:02:44 +02:00
Philipp Hörist f7754487cc Fix Layout issues with long status messages
Fixes #8652
2017-06-12 22:20:03 +02:00
Philipp Hörist f419127bb9 Merge branch 'patch-1' into 'master'
Update servers.xml

See merge request !101
2017-06-11 22:59:25 +02:00