Yann Leboulanger pushed to branch chat_markers at gajim / gajim
Commits:
a90aa9eb by Yann Leboulanger at 2019-09-29T19:46:28Z
add missing chat_markers module
- - - - -
1 changed file:
- + gajim/common/modules/chat_markers.py
Changes:
=====================================
gajim/common/modules/chat_markers.py
=====================================
@@ -0,0 +1,40 @@
+# This file is part of Gajim.
+#
+# Gajim is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; version 3 only.
+#
+# Gajim is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
+
+# Chat Markers (XEP-0333)
+#TODO: add <thread> support
+
+import nbxmpp
+
+from gajim.common.modules.base import BaseModule
+
+
+class ChatMarkers(BaseModule):
+ def __init__(self, con):
+ BaseModule.__init__(self, con)
+
+ def send_marker(self, jid, marker, id_, is_gc):
+ if is_gc:
+ message = nbxmpp.Message(to=jid, typ='groupchat')
+ else:
+ message = nbxmpp.Message(to=jid, typ='chat')
+ message.setTag(marker, namespace=nbxmpp.NS_CHATMARKERS,
+ attrs={'id': id_})
+ self._nbxmpp().send(message)
+
+ def send_displayed_marker(self, jid, id_, is_gc):
+ self.send_marker(jid, 'displayed', id_, is_gc)
+
+def get_instance(*args, **kwargs):
+ return ChatMarkers(*args, **kwargs), 'ChatMarkers'
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a90aa9eba7af2a7eb19f56237b669e60bb…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a90aa9eba7af2a7eb19f56237b669e60bb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch chat_markers at gajim / gajim
Commits:
f5377d98 by Philipp Hörist at 2019-09-29T19:07:51Z
Remove chat marker from modules
- - - - -
1 changed file:
- gajim/common/modules/__init__.py
Changes:
=====================================
gajim/common/modules/__init__.py
=====================================
@@ -40,7 +40,6 @@ MODULES = [
'bookmarks',
'caps',
'carbons',
- 'chat_markers',
'chatstates',
'delimiter',
'discovery',
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f5377d98af23483244d71196a8e5cfab96…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f5377d98af23483244d71196a8e5cfab96…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch chat_markers at gajim / gajim
Commits:
ee7ad12f by Daniel Brötzmann at 2019-09-02T15:25:57Z
DialogButton: Add Accept button type
- - - - -
1044d1c7 by Philipp Hörist at 2019-09-02T19:55:01Z
Improve default avatar caching
Caches now also the circle clipping
- - - - -
032930ce by Philipp Hörist at 2019-09-03T20:47:30Z
Avatar: Add indicator for show value
- - - - -
279143f8 by Philipp Hörist at 2019-09-03T20:50:27Z
StartChat: Display show value with avatar
- - - - -
d15ec5e7 by Philipp Hörist at 2019-09-03T20:50:31Z
ChatControl: Display show value with avatar
- - - - -
c51e8498 by Philipp Hörist at 2019-09-03T22:53:10Z
PrivateChatControl: Display show value with avatar
- - - - -
2745d3ce by Philipp Hörist at 2019-09-04T16:50:26Z
Use cross-platform compatible cursors
see: https://lazka.github.io/pgi-docs/Gdk-3.0/classes/Cursor.html#Gdk.Cursor.new…
Fixes #9800
- - - - -
0927655c by Philipp Hörist at 2019-09-04T16:51:13Z
Remove unused import
- - - - -
18070f59 by Philipp Hörist at 2019-09-04T18:29:28Z
Avatar: Make show indicator smaller
- - - - -
0a3bd34e by Daniel Brötzmann at 2019-09-05T19:33:28Z
Replace PlainConnectionDialog with NewConfirmationCheckDialog
- - - - -
911aaa1f by Daniel Brötzmann at 2019-09-05T19:34:05Z
Remove PlainConnectionDialog
- - - - -
2257da6c by Daniel Brötzmann at 2019-09-05T21:02:00Z
CommandSystem: Add setting to disable execution of commands by default
- - - - -
9f59eb54 by Daniel Brötzmann at 2019-09-05T21:02:00Z
CommandSystem: Fix some pylint errors
- - - - -
45a200f7 by Philipp Hörist at 2019-09-06T20:23:28Z
Remove menu for saving avatar to harddisk
All avatars are available under ~/.cache/gajim/avatars
- - - - -
ea251998 by Philipp Hörist at 2019-09-06T20:23:28Z
Avatar: Force avatars to be square
- - - - -
5623dfba by Philipp Hörist at 2019-09-06T20:23:28Z
Avatar: Remove unused method
- - - - -
a27a4003 by Daniel Brötzmann at 2019-09-07T15:09:32Z
Use Accept (and make it the default) for image pasting
- - - - -
d47bee03 by Daniel Brötzmann at 2019-09-07T15:10:23Z
Use Accept default button, adapt some text strings
- - - - -
07bb750d by Daniel Brötzmann at 2019-09-09T12:35:06Z
Fix handle_event_http_auth answers from NewConfirmationDialog
- - - - -
ac428f11 by Daniel Brötzmann at 2019-09-11T05:02:45Z
Rework SSLErrorDialog
- - - - -
ed80f936 by Daniel Brötzmann at 2019-09-11T09:11:27Z
Remove obsolete ConfirmationDialogDoubleCheck
- - - - -
16046d7e by Andrey Gursky at 2019-09-11T15:17:47Z
ChatControlBase: fix autoscroll on keyboard shortcuts
The issue reported by concerto [1] is a regression since af312830ef42fdb7.
[1] https://conference.gajim.org:5281/muc_log/gajim/2019-09-10#df591057-8693-4e…
- - - - -
890846fc by Philipp Hörist at 2019-09-12T18:50:24Z
Show SSLError dialog for all errors
Fixes #9835
- - - - -
c4a4f60f by Philipp Hörist at 2019-09-15T20:13:42Z
GroupChat: Use correct key when formatting message
- - - - -
92d127ae by Philipp Hörist at 2019-09-16T19:37:30Z
AddContact: Handle only bare JIDs
- - - - -
2c4f4d1e by Philipp Hörist at 2019-09-16T19:41:21Z
AddContact: Set info button sensitive if JID is passed
- - - - -
a1c352f2 by Philipp Hörist at 2019-09-17T18:03:16Z
XMLConsole: Inject jabber:client into message, presence and iq
- - - - -
fee45899 by Philipp Hörist at 2019-09-21T11:02:11Z
Remove unused glade file
- - - - -
642638be by Philipp Hörist at 2019-09-21T11:03:09Z
Make GCTooltip destructable
- - - - -
7f5a6d0a by Philipp Hörist at 2019-09-21T21:57:33Z
Change some MUC helper methods
- Add plural support for get_uf_affiliation()
- Accept nbxmpp.Role and nbxmpp.Affiliation as arguments
- Add is_affiliation_change_allowed()
- Add is_role_change_allowed()
- - - - -
921594c1 by Philipp Hörist at 2019-09-21T21:59:47Z
Rework Groupchat Roster
- Add own module for roster code
- Use avatars with status integrated
- Favor performance over features
- - - - -
e1cdd603 by Philipp Hörist at 2019-09-22T07:29:36Z
MUC: Improve change affiliation logic
- - - - -
933702df by Philipp Hörist at 2019-09-22T08:22:52Z
MUC: Show Make/Revoke Member menu entry correctly
- - - - -
dcbd5f9c by Philipp Hörist at 2019-09-22T08:31:49Z
Remove unused import
- - - - -
837e9a1a by Philipp Hörist at 2019-09-22T09:35:22Z
Icons: Add 32 px feather icons for HiDPI Screens
- - - - -
c230f5c4 by Philipp Hörist at 2019-09-22T16:43:17Z
Consider private variables for @event_filter
- - - - -
94b058cd by Philipp Hörist at 2019-09-22T16:59:32Z
Add account-disconnected event
This is a dedicated event so we dont have to use the our-show event
- - - - -
44e6b0f0 by Philipp Hörist at 2019-09-22T19:58:58Z
MUC: Refactor auto-rejoin
- Rewrite auto-rejoin code and move it into muc module
- - - - -
9922ce1d by Philipp Hörist at 2019-09-23T15:16:23Z
Groupchat: Remove traces of continued conversations
- - - - -
ca328a67 by Philipp Hörist at 2019-09-23T15:20:19Z
Groupchat: Remove unused argument
- - - - -
19e862c2 by Philipp Hörist at 2019-09-23T18:17:46Z
Update pylint-ci.sh
- - - - -
1e37087a by Philipp Hörist at 2019-09-23T19:16:49Z
Update pylint-ci.sh
- - - - -
1d4f0a58 by Philipp Hörist at 2019-09-23T19:36:15Z
Update gitlab-ci.yml
- - - - -
a01c130a by Philipp Hörist at 2019-09-23T20:23:36Z
CI: Disable pylint E1136 for now
This reports a false positiv, see https://gitlab.gnome.org/GNOME/pygobject/issues/361
- - - - -
40ea0c9d by Philipp Hörist at 2019-09-23T20:34:03Z
CI: Disable pylint E1133 for now
see https://gitlab.gnome.org/GNOME/pygobject/issues/361
- - - - -
3647524a by Philipp Hörist at 2019-09-24T16:31:58Z
Presence: Dont show SubscriptionRequestWindow on auto approve
- - - - -
3de999d9 by Daniel Brötzmann at 2019-09-25T16:32:05Z
Fix show_unsubscribed_dialog
- - - - -
3d381a98 by Philipp Hörist at 2019-09-28T23:16:57Z
Add Bookmarks 2 (XEP-0402) support
- - - - -
0c84072e by Philipp Hörist at 2019-09-28T23:33:52Z
Bookmarks: Register event handler correctly
- - - - -
8936a07e by Daniel Brötzmann at 2019-09-29T00:31:30Z
ServerInfo: Rework Dialog
- Split information into different notebook tabs
- Show connection information (Fixes #6096)
- - - - -
1f663a24 by Philipp Hörist at 2019-09-29T08:35:03Z
Remove unused function
- - - - -
f5244e37 by Philipp Hörist at 2019-09-29T11:20:16Z
Bookmarks: Don't accept PEP notificiations before request
- - - - -
a934551c by Philipp Hörist at 2019-09-29T11:32:03Z
Bookmarks: Add dev config setting for testing bookmarks 2
- - - - -
56e3a0bc by Philipp Hörist at 2019-09-29T12:44:45Z
MUC: Move muc state code into MUCManager
- - - - -
61fce039 by Philipp Hörist at 2019-09-29T12:46:41Z
Remove unused attributes
- - - - -
bcd15212 by Philipp Hörist at 2019-09-29T12:57:44Z
Groupchat: Fix hide_groupchat_banner option
- - - - -
52ccca95 by Philipp Hörist at 2019-09-29T13:46:35Z
ChatControl: Move set_lock_image to ChatControlBase
- - - - -
687d0fda by Philipp Hörist at 2019-09-29T14:53:02Z
ChatControl: Access attributes on GtkBuilder directly
- - - - -
a4c82784 by Philipp Hörist at 2019-09-29T15:03:39Z
ChatControl: Remove usage of widget_set_visible()
- - - - -
5324291c by Philipp Hörist at 2019-09-29T15:03:56Z
Remove unused method
- - - - -
7cadbc69 by Philipp Hörist at 2019-09-29T15:37:47Z
Groupchat: Fix various pylint errors
- - - - -
9403eaba by Philipp Hörist at 2019-09-29T15:59:33Z
Modules: Fix various pylint errors
- - - - -
18583623 by Philipp Hörist at 2019-09-29T16:11:28Z
DBus: Fix various pylint errors
- - - - -
f70365da by Philipp Hörist at 2019-09-29T16:19:47Z
Jingle: Fix undefined variable
- - - - -
97625a72 by Link Mauve at 2019-09-29T18:28:52Z
Preferences: Add a video preview widget
In order to work on every system Gajim runs on (instead of only X11),
this new widget uses GTK+ Gstreamer elements.
It currently completely breaks the actual Jingle thing, but that was
already pretty broken so will be fixed in a later commit.
It might be nice to think about the way we want to make preferences
interact with a currently-running audio/video session, since it
currently uses a separate pipeline and thus will conflict when e.g. both
will want to access the same camera device, if the OS doesn’t implement
multiplexing (Linux doesn’t).
- - - - -
3b1f1cd5 by Philipp Hörist at 2019-09-29T18:45:31Z
Groupchat: Fix tab completion
- - - - -
e5347232 by Yann Leboulanger at 2019-09-29T18:59:13Z
start implementing XEP-0333, chat markers
- - - - -
d8887381 by Yann Leboulanger at 2019-09-29T18:59:13Z
fix error
- - - - -
30 changed files:
- .gitlab-ci.yml
- gajim/app_actions.py
- gajim/chat_control.py
- gajim/chat_control_base.py
- gajim/command_system/errors.py
- gajim/command_system/framework.py
- gajim/command_system/implementation/custom.py
- gajim/command_system/implementation/execute.py
- gajim/command_system/implementation/hosts.py
- gajim/command_system/implementation/middleware.py
- gajim/command_system/implementation/standard.py
- gajim/command_system/mapping.py
- gajim/command_system/tools.py
- gajim/common/app.py
- gajim/common/config.py
- gajim/common/connection.py
- gajim/common/contacts.py
- gajim/common/dbus/location.py
- gajim/common/dbus/logind.py
- gajim/common/dbus/music_track.py
- gajim/common/dbus/screensaver.py
- gajim/common/events.py
- gajim/common/helpers.py
- gajim/common/modules/__init__.py
- gajim/common/modules/adhoc_commands.py
- gajim/common/modules/base.py
- gajim/common/modules/bits_of_binary.py
- gajim/common/modules/bookmarks.py
- gajim/common/modules/chatstates.py
- gajim/common/modules/discovery.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/b22005a86aabbc404f2670fc90997c582…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/b22005a86aabbc404f2670fc90997c582…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3b1f1cd5 by Philipp Hörist at 2019-09-29T18:45:31Z
Groupchat: Fix tab completion
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
@@ -1769,7 +1769,7 @@ class GroupchatControl(ChatControlBase):
if res:
return True
- if event.keyval != Gdk.KEY_Tab: # TAB
+ if event.keyval == Gdk.KEY_Tab: # TAB
message_buffer = widget.get_buffer()
start_iter, end_iter = message_buffer.get_bounds()
cursor_position = message_buffer.get_insert()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3b1f1cd51ecb5cd165956cf7dfce5141d4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/3b1f1cd51ecb5cd165956cf7dfce5141d4…
You're receiving this email because of your account on dev.gajim.org.