Commit Graph

131 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 22b3388554 Move roster methods into Roster module 2019-05-18 01:30:37 +02:00
Daniel Brötzmann 245cecf1a9 Rework PassphraseDialog 2019-04-23 23:11:25 +02:00
Philipp Hörist 6e7f53df48 Remove unused code 2019-04-20 08:37:48 +02:00
Philipp Hörist b2b249c60b Refator DataFormDialog 2019-04-19 16:57:12 +02:00
Philipp Hörist 9d75c77982 Remove GPG code from Gajim
Code moved into plugin
2019-04-16 23:24:40 +02:00
Daniel Brötzmann 2f9b716ab0 Add speller to ChangeStatus dialog 2019-04-15 18:23:55 +02:00
Daniel Brötzmann b32b0f4411 HTTPUpload: Display filename and transfer speed
Fixes #9661
2019-04-14 20:39:44 +02:00
Philipp Hörist f62f922733 Fix unused-wildcard-import pylint errors 2019-04-07 20:27:07 +02:00
Philipp Hörist 20d3e981b9 Fix consider-using-ternary pylint errors 2019-04-07 19:48:09 +02:00
Philipp Hörist 47dae61e21 Fix unnecessary-pass pylint errors 2019-04-07 18:20:15 +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
Daniel Brötzmann 74ed71f57e Rework HTTPUpload dialog 2019-03-27 00:40:46 +01:00
Philipp Hörist b9b9dae6a0 Refactor UserActivity
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-31 22:57:15 +01:00
Philipp Hörist be95b04007 Refactor UserNickname and UserMood
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-30 23:36:01 +01:00
Philipp Hörist d1ccfd515a MUC: Dont check for unique room id support
This feature was remove from XEP-0045 in Version 1.25 (2012-02-08). We simply now use an uuid instead.
2019-01-03 00:50:22 +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 b98f0a3f76 Remove all usage of get_gtk_builder() 2018-11-18 22:24:34 +01:00
André Apitzsch 09f0835fbd Fix some PyGObject deprecation warnings
like
The "flags" argument for dialog construction is deprecated. Please use initializer keywords: modal=True and/or destroy_with_parent=True.
or
Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title, transient_for, flags" or use a class specific constructor.

See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
2018-11-03 13:58:11 +01:00
Philipp Hörist c109db6eeb Switch some calls to gtk.util helper methods 2018-10-28 15:00:04 +01:00
Philipp Hörist 960008a69a Use get_icon_name() instead of get_iconset_name_for() 2018-10-28 14:32:54 +01:00
Philipp Hörist f89347516f Only use absolute imports from gtk module
- This reduces import cycles
2018-09-26 19:06:47 +02:00
Philipp Hörist 6b2aa24d6e Fix rest of mypy errors
- This allows us to run mypy on the full gajim folder
2018-09-21 23:55:57 +02:00
Philipp Hörist 422cd12991 Fix pylint errors
- deprecated-method
- anomalous-backslash-in-string
- cell-var-from-loop
- undefined-loop-variable
2018-09-18 18:45:16 +02:00
Philipp Hörist ccc06a04ab Fix bad-whitespace pylint errors 2018-09-18 12:06:01 +02:00
Philipp Hörist ff6ca57033 Fix no-else-return pylint errors 2018-09-18 10:16:54 +02:00
Philipp Hörist d6f0242655 Fix redefined-argument-from-local pylint errors 2018-09-18 08:37:18 +02:00
Philipp Hörist e8ac644440 Fix unused-variable pylint errors 2018-09-17 21:16:19 +02:00
Philipp Hörist c6547b6d30 Fix superfluous-parens pylint errors 2018-09-16 14:42:18 +02:00
Philipp Hörist bb545d546a Fix useless-object-inheritance pylint errors 2018-09-16 11:56:56 +02:00
Philipp Hörist d54d4bc232 Add annotations and fix pylint/mypy errors 2018-09-13 23:56:12 +02:00
Philipp Hörist b99632ab03 Fix pylint errors 2018-09-12 00:01:54 +02:00
Philipp Hörist a4a136566f Fix license comment format
every linter flags this as an error
2018-09-05 02:59:34 +02:00
Philipp Hörist 9d5131b8b4 Rework Gajim Theming
- Save all Theme settings to .css instead of the config file
- Add a gajim-dark.css
- Refactor the ThemesWindow
2018-08-16 22:53:33 +02:00
Philipp Hörist f699df9bd6 Dont use dict to keep track of window instances
GtkApplication maintains a store for all active ApplicationWindows,
we dont need to replicate that.
2018-08-16 20:47:54 +02:00
Philipp Hörist 560a122ab5 Add error message to change password dialog
- Move register methods to own module
2018-08-01 00:35:42 +02:00
Philipp Hörist 5d24c9bbdd Move subscription code into presence module 2018-07-23 23:04:07 +02:00
Philipp Hörist 8c299c0b77 Remove unused imports 2018-07-22 16:46:37 +02:00
Philipp Hörist 5ff9e9febf Move dataforms into modules folder 2018-07-22 16:20:00 +02:00
Philipp Hörist 3a3b5aff20 Move some dialogs into gtk module 2018-07-18 00:15:46 +02:00
Philipp Hörist bff5f14b92 Move invites into MUC module 2018-07-17 18:38:36 +02:00
Philipp Hörist ebbe06d587 Refactor MAM into own module
- Rework the MAM Preference dialog
- Move MAM Preference dialog into a new gtk module
- Refactor all MAM code into own module
- Refactor the MAM code itself so we can easier test it in the future
- Add a misc module for smaller XEPs and move EME, Last Message Correction
Delay, OOB into it
- Add dedicated module for XEP-0082 Time Profiles
2018-07-15 14:26:00 +02:00
Sophie Herold 6d96005d55 Disable recently button if popover is empty 2018-07-10 18:08:11 +02:00
Sophie Herold a506226d88 Add paste from clipboard in JoinGroupchat dialog
Closes #9237
2018-07-10 18:01:50 +02:00
Sophie Herold 0750d6f6ef Fixes account box with one account is shown 2018-07-08 19:50:49 +02:00
Philipp Hörist bd79fe629f Refactor Privacy and Blocking into own modules 2018-07-08 16:44:14 +02:00
Philipp Hörist ff2fab73a1 Parse input sent via XMLConsole
This allows us to show the user an error if the stanza is invalid.
Until now the server would instantly disconnect us.

Also this fixes the problem that XMLConsole input was not counted for
streammanagement.

Fixes #8563
2018-07-07 19:20:28 +02:00
Sophie Herold 0eeb111a02 Rework Add Contact Dialog 2018-07-07 00:46:23 +02:00