Commit Graph

179 Commits

Author SHA1 Message Date
Philipp Hörist 519d86444a Refactor conditions to determine connected state
GUI code must not be aware of what integers map to connection states
2019-05-20 21:33:42 +02:00
Philipp Hörist 275e719da3 Move ConnectionJingle code to module 2019-05-19 22:33:20 +02:00
Philipp Hörist 9dbac0f098 Remove custom status per contact feature 2019-05-17 23:38:06 +02:00
Daniel Brötzmann 5fb231876d Use native GTK icons for audio and video 2019-04-29 21:35:54 +02:00
Philipp Hörist dd7496d7a7 Add dedicated method for parsing and opening URIs 2019-04-27 12:30:56 +02:00
Daniel Brötzmann 245cecf1a9 Rework PassphraseDialog 2019-04-23 23:11:25 +02:00
Philipp Hörist 30997fa1e4 Remove some useless settings 2019-04-22 15:36:28 +02:00
Philipp Hörist 9d75c77982 Remove GPG code from Gajim
Code moved into plugin
2019-04-16 23:24:40 +02:00
Philipp Hörist 1c39d66d21 Fix assignment-from-none pylint errors 2019-04-07 20:13:55 +02:00
Daniel Brötzmann 318ae4e9d4 Rework InvitationReceivedDialog 2019-04-05 20:08:00 +02:00
Daniel Brötzmann e83a246703 Rework SubscriptionRequestWindow 2019-04-02 19:49:57 +02:00
Philipp Hörist 11c5fd29e5 Remove not used PEP module code 2019-02-18 23:02:05 +01:00
Philipp Hörist 54a9992696 Remove atom modules 2019-02-18 19:46:47 +01:00
Philipp Hörist fa71052464 Remove unused import 2019-02-06 20:46:53 +01:00
Philipp Hörist 959be5b8ee Remove unused code 2019-02-06 20:42:26 +01:00
Philipp Hörist a89bec0b9d Refactor Bookmarks
- Simplify modules because nbxmpp handles more stuff
2019-02-04 21:59:33 +01:00
Philipp Hörist d37b95e45e Refactor UserTune
- Simplify modules because nbxmpp handles more stuff
2019-02-02 12:51:24 +01:00
Philipp Hörist 911674d580 Fix status tray notification
Clicking on a new message notification in the status tray didnt open the chat
2019-01-10 22:08:11 +01:00
Philipp Hörist 247ee81334 Remove unused vars 2019-01-10 21:37:47 +01:00
Philipp Hörist 371756c2a5 Remove unnecessary event classes 2019-01-03 09:06:44 +01:00
Philipp Hörist d622439a44 Remove unused code 2019-01-03 00:50:00 +01:00
Philipp Hörist 9ae6654dd3 Add IQ and Gateway module 2019-01-03 00:19:23 +01:00
Philipp Hörist a289ad5f60 Refactor Presence
- Remove option to hide self contacts for now. This makes the code less
complicated.
- Move as much code as possible into the presence module
- Use nbxmpp properties
2019-01-02 02:04:42 +01:00
Philipp Hörist d06b73d7c6 Rename some muc events 2018-12-30 21:18:17 +01:00
Philipp Hörist 0ad369dc97 Refactor MUC Presence
- Use nbxmpp properties
- Split into multiple events
- Add new options in the group chat menu for print settings
2018-12-30 20:06:59 +01:00
Philipp Hörist 8094cadbea Refactor MUC module
- nbxmpp provides now most of the MUC code
2018-12-27 22:13:35 +01:00
Philipp Hörist 94479dd7f6 Check if event was not consumed
Fixes #9096
2018-12-21 23:13:34 +01:00
Philipp Hörist a6b8ecf6f5 Fix error when opening sign-in/out notification 2018-12-17 15:02:40 +01:00
Philipp Hörist 6e30d3af64 Adapt to nbxmpp API changes
- Remove support for OAUTH2
- Remove insecure password dialog, its impossible now that a user can connect plain by mistake
- Refactor requesting the password
- Add possibility to delete passwords
2018-12-09 18:48:44 +01:00
Philipp Hörist 78f439c611 Refactor disconnect code
Fixes #9467
2018-12-04 19:28:50 +01:00
Philipp Hörist c97fddf0f8 Move PrivateChatControl into own module 2018-11-20 22:41:43 +01:00
Philipp Hörist fedc00eb83 Move notify to gtk folder
- Rename notify to notification
- Move get_show_in_roster() to gtk.util
- Move get_show_in_systray() to gtk.util
2018-11-18 22:24:33 +01:00
Philipp Hörist 3ba34fa396 Remove old iconset code 2018-11-18 22:24:32 +01:00
Philipp Hörist 62b210a9e5 Pass account to plugins when encrypting a file 2018-11-11 10:40:48 +01:00
Philipp Hörist e4a9ffe1ca Dont test for sys.platform == 'linux'
This excludes other unix systems which was not intended
2018-11-10 19:30:19 +01:00
Philipp Hörist 8d95eb9b99 Better determine soundplayer on unix systems
- sys.platform == 'linux', excludes many other unix systems
- use shutil.which() to test if a command is available
2018-11-10 19:30:12 +01:00
Philipp Hörist 61a791d67c Rewrite GroupchatConfig dialog
- Complete rewrite of the dialog
- Use new DataFormWidget
2018-11-02 22:24:28 +01:00
Philipp Hörist 3ae03a24b1 Remove unused method 2018-10-29 00:12:44 +01:00
Philipp Hörist a6d9b2c193 Set the Window icon correctly
Set the default list after the first window has been initialized. Only
set icons on Windows that are different from the default.
2018-10-28 23:01:09 +01:00
Philipp Hörist cdeb902fda FiletransferWindow: Move to gtk module 2018-10-28 20:20:49 +01:00
Philipp Hörist f4a7e2a353 Move AtomWindow to gtk folder 2018-10-28 19:45:10 +01:00
Philipp Hörist b5441b6169 Move ManageSounds into own module 2018-10-28 17:15:34 +01:00
Philipp Hörist 9af4b4f016 Move GroupchatConfig into own module 2018-10-28 15:36:43 +01:00
Matthew W. S. Bell 2a62209e1e Obtain sleep inhibitor again after every sleep
- There is a PrepareForSleep signal before and after every sleep event.
The expectation is that before sleep, gajim cleans up and then releases
the sleep inhibitor. Accordingly, we must reacquire the inhibitor after
sleeping, which can helpfully be done with the other signal.

- Moved module to the dbus folder

- Embed logic in a LogindListener object so we can import the module
without listening to dbus
2018-10-26 12:57:13 +02:00
Philipp Hörist ef167349f8 Fix imports 2018-10-26 01:31:49 +02:00
Philipp Hörist df7f0324a3 Move dbus modules into own folder
- light refactor of the screensaver module
2018-10-26 01:19:47 +02:00
Philipp Hörist d7ea69f36c Refactor StatusIcon
- Move to gtk folder
- Rename some handlers
- Use get_builder
2018-10-25 00:12:28 +02:00
Philipp Hörist bf87ad5ac8 Import _() instead of using builtin namespace
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-06 22:38:55 +02:00
Philipp Hörist 460d390795 Refactor Chat State Notifications
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Philipp Hörist 58796d223e Preferences: Update layout and some options
- Add a 'convert ascii emoji' checkbutton
- Remove 'Disabled' from Emoji theme
- Change the layout of the style tab
2018-09-27 21:38:23 +02:00