Commit Graph

14982 Commits

Author SHA1 Message Date
Philipp Hörist ed0e2dd82b Merge branch 'plain_connection_dialog_fix' into 'master'
Dialogs: Use get_widget_for_response() to access buttons

See merge request gajim/gajim!178
2017-12-20 20:45:48 +01:00
Marc Schink 65bc965918 dialogs: Use get_widget_for_response() to access buttons
The get_action_area() API is deprecated and under some circumstances
the wrong button gets accessed.
2017-12-19 22:23:27 +01:00
Philipp Hörist e7df2d93b6 HistorySync: Fix first time sync
Fixes #8810

Also remove mam_start_date migration.
mam_start_date didnt exist in Gajim 0.16.x and it doesnt hurt
if people who used the dev version download some extra messages.
Our deduplication algorithm should take care of it.
2017-12-19 21:12:07 +01:00
Philipp Hörist f72608234f Merge branch 'resource' into 'master'
GUI interface: fix resource warning

See merge request gajim/gajim!175
2017-12-19 19:11:02 +01:00
André Apitzsch f3bde561a3 GUI interface: fix resource warning 2017-12-18 23:14:22 +01:00
Yann Leboulanger 01d535527e Merge branch 'zero_con' into 'master'
Zeroconf: fix unexpected keyword argument

See merge request gajim/gajim!174
2017-12-18 23:08:14 +01:00
André Apitzsch 8b960238a6 Zeroconf: fix unexpected keyword argument
_update_status() got an unexpected keyword argument 'idle_time'

introduced by 28917aaf56
2017-12-18 22:52:06 +01:00
Yann Leboulanger 5a33a59ee6 Merge branch 'hostname' into 'master'
Zeroconf: Fix get_own_jid()

See merge request gajim/gajim!173
2017-12-18 22:19:21 +01:00
André Apitzsch 0ffd7b6907 Zeroconf: Fix get_own_jid() 2017-12-18 22:16:22 +01:00
Yann Leboulanger 53a92bdee8 add get_own_jid method to ConnectionZeroconf. Fixes #8809 2017-12-18 14:44:38 +01:00
Philipp Hörist c18ef648e6 Replace deprecated get_background_color() 2017-12-18 00:25:19 +01:00
Philipp Hörist bdf16c5182 Replace deprecated override_background_color() 2017-12-18 00:11:39 +01:00
Philipp Hörist f4a6b0299a Remove deprecated Gdk.Screen methods
height() and weidth() is not supported any more
2017-12-17 22:30:16 +01:00
Philipp Hörist e3effdcb6c Refactor SubscriptionWindow 2017-12-17 22:30:16 +01:00
Philipp Hörist 80ceee57af Remove unused methods
Action Button was removed in the last ChatControl redesign
2017-12-17 22:30:16 +01:00
Philipp Hörist 8f2630b10f Update ChangeLog 2017-12-17 21:28:07 +01:00
Yann Leboulanger ec2da20f58 add transient_for parameter 2017-12-17 18:41:49 +01:00
Philipp Hörist 0959bd44c8 Merge branch 'master' into 'master'
Remove incorrect assert

See merge request gajim/gajim!171
2017-12-17 18:01:44 +01:00
Philipp Hörist 1b11d77034 MAM: Dont convert own_jid to string
We need it later as JID object
2017-12-17 17:56:11 +01:00
Philipp Hörist 65593c613c Fix undefined var 2017-12-17 17:34:22 +01:00
Philipp Hörist 9411ccd827 Fix DB migration for additional_data 2017-12-17 17:10:00 +01:00
Philipp Hörist 2c4c610632 Make sure our own JID is in the DB 2017-12-17 13:48:32 +01:00
Philipp Hörist dfafedc21f Remove unused DB fields
This field was added but never used

This does not remove the columns from the DB, but doesnt add them
in new migrations.
2017-12-17 12:00:15 +01:00
Philipp Hörist 2001cf4a17 Update version to 0.98.2 2017-12-17 11:56:04 +01:00
Philipp Hörist 020d4754df Add correct DB migration
Fixes #8806
2017-12-17 11:55:38 +01:00
Philipp Hörist 410aee7ba0 Fix typo in DB migration 2017-12-17 11:34:54 +01:00
Philipp Hörist ba54c304e8 Add GTK+ version check on start 2017-12-16 23:20:37 +01:00
Apromixately b8fe0e20c3 Remove incorrect assert
When a ping reply is received there is probably a connection. Anyway, the
last ping might have been lost and the ids might not match up.
2017-12-16 16:23:44 +01:00
Yann Leboulanger 9e771add7e re-add usefull file 2017-12-15 23:07:47 +01:00
Philipp Hörist a344a94102 Fix chatstate flood
The new Placeholder text inside MessageTextView was causing many
buffer changed events.

- Add a method that lets us know if there is user input
- Add logging
2017-12-15 23:00:15 +01:00
Philipp Hörist 1455db7522 Remove unused files 2017-12-15 22:34:44 +01:00
Yann Leboulanger 01266aafe8 update po files 2017-12-15 21:32:44 +00:00
Yann Leboulanger 3764567c10 update version number for 1.0.0-alpha1 release 2017-12-15 22:29:31 +01:00
Philipp Hörist 84317053dd Update Changelog 2017-12-15 22:23:00 +01:00
Philipp Hörist df76297640 Merge branch 'fix-uri-handling' into 'master'
Fix xmpp: URI handling.

See merge request gajim/gajim!170
2017-12-15 21:22:00 +01:00
Yann Leboulanger d858ff5171 Merge branch 'remove-gajim-remote-desktop' into 'master'
Remove gajim-remote.desktop and fix gajim.desktop

See merge request gajim/gajim!169
2017-12-15 08:29:37 +01:00
Emmanuel Gil Peyrot 0707f1a27c Fix xmpp: URI handling.
It was previously removing the first three characters of the JID, and
ignored any URI without an action.
2017-12-15 02:40:53 +01:00
Emmanuel Gil Peyrot 1959b486e6 Remove gajim-remote.desktop, its URI handling is now done in Gajim itself. 2017-12-15 02:34:45 +01:00
Emmanuel Gil Peyrot d8bba4545f Fix Gajim’s .desktop file to pass the URI to the program. 2017-12-15 02:34:45 +01:00
Philipp Hörist 4009625e02 Catch invalid URIs 2017-12-14 20:19:12 +01:00
Yann Leboulanger 2604c22e6b Merge branch 'remove-awn-support' into 'master'
Remove support for AWN

See merge request gajim/gajim!168
2017-12-13 23:32:50 +01:00
Emmanuel Gil Peyrot f4cae17d9f Remove support for AWN, which isn’t maintained anymore 2017-12-13 23:19:16 +01:00
Yann Leboulanger 4e7fcea288 Merge branch 'logind' into 'master'
Port logind_listener to GTK dbus

See merge request gajim/gajim!167
2017-12-13 21:57:57 +01:00
Yann Leboulanger a39d68d4ae when internet connection is back, only connect accounts that were
connected before connection broke
2017-12-11 21:13:53 +01:00
Philipp Hörist f8ddefb6da Fix var reference 2017-12-10 22:56:20 +01:00
Philipp Hörist 7815ce19a5 Dont use callbacks when sending messages
Using a callback to display a sent message inside the ChatControl means
that all messages we send have to be issued from the GUI layer
(send_message()) if we want them to display in the ChatControl.

This replaces the callback and catches the stanza-message-outgoing event
after it was processed by the core.

This is easier to read/understand than dealing with callbacks and lets
the core issue messages without having to care if a ChatControl is open or not
2017-12-10 18:56:29 +01:00
André Apitzsch 5364c1980c Port logind_listener to GTK dbus 2017-12-09 15:04:15 +01:00
Philipp Hörist 4cccdad5a1 Merge branch 'removeUpower' into 'master'
Remove upower_listener

See merge request gajim/gajim!166
2017-12-09 11:43:28 +01:00
André Apitzsch be32d9afe6 Remove upower_listener
the 'Sleeping' signal has been removed from UPower about four years ago
https://cgit.freedesktop.org/upower/commit/src/org.freedesktop.UPower.xml?id=1ee642e705a63f5ad56a6b55e4bf5c4a64c959b8
2017-12-09 00:34:47 +01:00
Philipp Hörist 786ef96400 Port InformationEvent handling to new interface 2017-12-09 00:15:26 +01:00