Commit Graph

604 Commits

Author SHA1 Message Date
Philipp Hörist 3fd35a041e Remove PGP encryption/decryption from core 2017-05-07 18:38:33 +02:00
Emmanuel Gil Peyrot f6739730af Implement chatstate in MUC, as defined in XEP-0085 §5.5. 2017-04-14 16:58:04 +01:00
Markus Böhme 8df8486def Add @unique decorator to all enumerations
Currently, there are no enumerations using the enum module which reuse
values/need aliases. Add the @unique decorator to all enum classes as a
safety net for future modifications.
2017-03-29 10:56:31 +02:00
Philipp Hörist 9f5c13b5bb Dont set default list active on block
There could be another list active (eg. invisible)
If we block someone while invisible, setting the default list
active would make us visible again
2017-03-14 22:31:23 +01:00
Philipp Hörist 25b933e294 Dont try to set empty privacy default list
This will result in a conflict stanza because an active
default list cant be deleted

Decline the use of default list first, then delete the list
2017-03-14 22:31:07 +01:00
Philipp Hörist 63335357be Use push event to query privacy list after edit 2017-03-14 22:30:52 +01:00
Philipp Hörist 18e29ebc55 Add blocked contacts always to the default list 2017-03-14 22:30:16 +01:00
Philipp Hörist 9ecabd561e Dont use depracted override_color() 2017-03-03 00:00:22 +01:00
Philipp Hörist e00341e83e Dont use depracted override_background_color() 2017-03-02 23:58:21 +01:00
Philipp Hörist dd3a2f3abc Fix endless loop in various CellRenderers
context.get_background_color() first calls the CellRenderer to render
the cell before giving back the color.

When we call this inside a CellRenderer, this is an endless loop
2017-02-19 18:07:06 +01:00
Emmanuel Gil Peyrot 2fbadc91e9 Use Enum or IntEnum instead of range() constants. 2017-02-11 02:40:07 +00:00
Emmanuel Gil Peyrot 289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Yann Leboulanger d338572271 Update strings for better english. Thanks to Allan Nordhøy for the suggestions 2017-02-04 23:29:45 +01:00
Emmanuel Gil Peyrot 80221afc2c Split ChatControlBase into its own file. 2017-01-04 22:57:05 +00:00
Philipp Hörist 39216af2de print_conversation_line() refactoring
It now orders all messages with the given timestamp
this also includes inserting messages at the correct
point

The timestamp precision for incoming and outgoing messages
was raised to include fractions of a second
2017-01-02 19:09:06 +01:00
lovetox ec99e93a7c Create GCTooltip window only when parent is available 2016-11-18 03:41:37 +01:00
lovetox 7a278d9123 Refactor GC Roster tooltip 2016-11-13 21:06:37 +01:00
lovetox de9a1ce069 Add transients for some MUC dialogs 2016-09-21 20:07:37 +02:00
tmolitor baff629433 Added ability to diconnect muc from tab context menu 2016-09-05 21:11:02 +02:00
tmolitor 7950146105 Minimize groupchats by default, fixes #8369 2016-09-05 19:02:43 +02:00
Yann Leboulanger 0530308a99 pending events are now in objects rather that storing parameters in tuple 2016-02-29 21:04:08 +01:00
Yann Leboulanger fbdb7656af rename msg_id to msg_log_id where it's the id from logs database 2016-02-27 19:52:46 +01:00
Yann Leboulanger 1f2eb5050c Make last message correction work correctly in PM. See #8220 2016-02-27 18:54:19 +01:00
tmolitor 8bfc286d8f added automatic_message flag to GcMessageOutgoingEvent (bugfix) 2016-02-21 16:45:31 +01:00
Yann Leboulanger e2f74117d5 correctly raise change nick dialog. Fixes #8215 2016-01-05 20:53:54 +01:00
Yann Leboulanger 20a0f9c5a6 make completion work 2015-07-25 21:40:51 +02:00
Yann Leboulanger 685c5730e1 fix a few warnings 2015-07-18 17:27:50 +02:00
Yann Leboulanger 731cea3b66 add invities to member list when converting chat to muc. Fixes #8098 2015-07-13 15:42:33 +02:00
Yann Leboulanger 55d3bfdfcd correctly invite contacts when converting chat to groupchat. Fixes #8028 2015-05-12 09:41:58 +02:00
Yann Leboulanger 7edff79486 [SamWhited] fix jingleFT. Fixes #7931 2015-01-19 13:37:28 +01:00
Yann Leboulanger 7b662595d9 [SamWhited] fix Gtk.MenuItem.new_with_label call. Fixes #7916 2015-01-05 22:34:37 +01:00
Yann Leboulanger 1b6550a0e3 add /ping command in groupchat to ping occupants 2014-08-22 15:44:07 +02:00
Yann Leboulanger ebe5da1d0a continue fixing gobject warnings 2014-06-21 10:41:13 +02:00
Yann Leboulanger cc8e49b212 fix gobject warning when hidding tooltips 2014-06-21 10:39:34 +02:00
Yann Leboulanger c5c59967be remove all icons for all menus 2014-11-11 23:11:15 +01:00
=?UTF-8?q?Mat=C4=9Bj=20Cepl?= eb6fa81854 =?UTF-8?q?Don=E2=80=99t=20use=20positional=20arguments=20?= =?UTF-8?q?with=20*MenuItem=20inits.?=
Avoid DepreciationWarning for ImageMenuItem, CheckMenuItemi, and MenuItem.

Fix #7858

Signed-off-by: Matěj Cepl <mcepl@redhat.com>
---
 src/chat_control.py          |  8 +++----
 src/conversation_textview.py |  5 ++--
 src/groupchat_control.py     |  4 ++--
 src/gui_interface.py         |  2 +-
 src/gui_menu_builder.py      | 15 +++++++-----
 src/roster_window.py         | 56 +++++++++++++++++++++++++++-----------------
 src/statusicon.py            | 13 ++++++----
 7 files changed, 61 insertions(+), 42 deletions(-)
2014-10-20 17:20:38 +02:00
Yann Leboulanger 47404ea14d rename some icons so we don't need to check in code if installed iconset has it. Fixes #7445 2014-03-28 21:48:15 +01:00
Yann Leboulanger ff93ad5737 fix receiving highlighted corrected message. Fixes #7431 2014-01-29 22:10:48 +01:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger 6e410b463b show bookmarked rooms in invite to menu when possible. Fixes #4455 2013-12-02 12:17:32 +01:00
Denis Fomin be40a35a36 Set transient_for 'You are no longer in group chat' 2013-11-16 22:23:13 +04:00
Yann Leboulanger 7c5485ab2e add 2 more direction mark :/. Fixes #7284 2013-09-12 17:41:33 +02:00
Yann Leboulanger 7745ea8f95 gtk -> Gtk 2013-09-15 11:54:42 +02:00
Denis Fomin d81f296e4c Fix 'document-open-recent' icon problem. Fixes #7444 2013-09-04 18:01:57 +04:00
Denis Fomin 619500c3d4 Replacing some of the icons. Fixes #7445 2013-08-28 18:33:27 +04:00
Yann Leboulanger 018171033f typo 2013-08-28 20:27:10 +02:00
Denis Fomin 3b41ce148f Coding standards 2013-08-23 12:23:10 +04:00
Yann Leboulanger e1eb9af26f fix transient for windows. Fixes #7185 2013-08-15 23:14:42 +02:00
Yann Leboulanger 4671bba069 [Darlan] improve some strings. Fixes #7239 2013-08-15 10:33:27 +02:00
Yann Leboulanger a57194106f don't try to configure a room for which we are not admin. See #7422 2013-08-13 13:02:31 +02:00