Commit Graph

97 Commits

Author SHA1 Message Date
Philipp Hörist 4cf7d20600 Fix len-as-condition pylint error 2018-10-07 00:46:40 +02:00
Philipp Hörist a3c687dae1 Fix len-as-condition pylint errors 2018-10-07 00:46:39 +02:00
Philipp Hörist 77c9b3a98d Add annotations and fix pylint/mypy errors 2018-10-07 00:46:38 +02:00
Philipp Hörist 226c42a92a Add stubs file for emoji_data
Otherwise mypy hangs because the file is to big
2018-10-07 00:46:38 +02:00
Philipp Hörist 6753c3e499 Fix pylint errors 2018-10-07 00:46:37 +02:00
Philipp Hörist 204b673e86 Add Builder class 2018-10-07 00:46:36 +02:00
Philipp Hörist 16712645a2 Windows: Fix translation
Fixes #9324
2018-10-07 00:46:35 +02:00
Philipp Hörist 4d53bd9064 Light refactring of bookmark code
- Convert xs:boolean values in bookmark module
- Use python booleans for minimize and autojoin in other parts of Gajim
- Use add_bookmark() instead of manipulating the bookmarks dict
2018-10-07 00:46:34 +02:00
Philipp Hörist 4d43fc4db5 Add a bookmark sorting method 2018-10-07 00:46:34 +02:00
Philipp Hörist 3e73ee93e1 Add XEP-0398 optimizations
- If the server implements XEP-0398 we dont need to add the avatar sha
anymore, the server adds it for us.
- It also means we dont have to query our own avatar from vcard at start
because the server tells us the avatar sha that is published with the inital
presence reflection
2018-10-07 00:46:34 +02:00
Sophie Herold afbc0c325f Unify to use app.get_account_label() 2018-10-07 00:46:33 +02:00
Yann Leboulanger 3305ad7710 better fix for joining groupchats with uppercase letters. Fixes #9198 2018-10-07 00:46:33 +02:00
Philipp Hörist f25634bff5 Register modules defined by plugins 2018-10-07 00:46:33 +02:00
Philipp Hörist 6e8f064fd0 ServerInfo: Fix empty version result
Fixes #9311
2018-08-26 10:38:42 +02:00
Philipp Hörist 2e47f93214 Display only emojis the font supports
Fixes #9299
2018-08-25 09:42:09 +02:00
Philipp Hörist 8564edd5f3 Fix emoji theme fallback 2018-08-19 21:37:34 +02:00
Philipp Hörist a457a9ac21 Move filechoosers into gtk module 2018-08-19 17:44:17 +02:00
Philipp Hörist 25915b4175 Fix theming option names 2018-08-19 12:15:34 +02:00
Philipp Hörist 1bb04ca402 Dont use hide() after show_all()
rather use no_show_all. This reduces flickering when we show the window
2018-08-18 00:48:12 +02:00
Philipp Hörist 042d8aa687 Fix deprecation warning
only keyword args should be used
2018-08-18 00:13:51 +02:00
Philipp Hörist 5feb4becfd Rework Emoji implementation
- Use emoji data from a generated dict based on the offical unicode docs,
this makes it easier to update in the future
- Rewrite the emoji chooser
- Add a search field to the emoji chooser
- The emoji chooser is loaded async
- Update to current Unicode 11 Noto theme
2018-08-17 21:55:42 +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 c332ad6a67 Fix string 2018-08-06 20:24:09 +02:00
Philipp Hörist c778ed6917 Move Preferences into own module
- Port Preferences to Gtk.ApplicationWindow
2018-08-06 19:48:49 +02:00
Sophie Herold 835bffd893 Fix broken history search 2018-08-06 19:07:42 +02:00
Philipp Hörist 94b2d1e577 Fix passing too many args 2018-08-06 18:25:52 +02:00
Philipp Hörist 2e53f47da8 Fix GtkBuilder translation
Fixes #9277
2018-08-06 17:14:07 +02:00
Philipp Hörist 2fd7187d16 Use new DataFormWidget with ServiceRegistration 2018-08-05 22:51:09 +02:00
Philipp Hörist f90b9a6b3a Add new DataFormWidget 2018-08-05 22:51:03 +02:00
Philipp Hörist 92af78f103 Move history window into gtk folder
- fix some pep8 warnings
2018-08-04 20:14:28 +02:00
Philipp Hörist 043e764896 Make Service Registration a Gtk.Assistant
- Move all xmpp Register methods into the register module
2018-08-04 19:47:57 +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 23e39dc9e6 Move shortcuts dialog into gtk folder 2018-07-30 00:24:43 +02:00
Philipp Hörist a7d9701c18 Move AccountCreationWizard into gtk folder 2018-07-30 00:20:38 +02:00
Philipp Hörist b3f1416c24 Move features dialog into gtk folder 2018-07-29 23:58:38 +02:00
Philipp Hörist 5a6f03dea4 Add connect_maschine()
Add method that sequentially works the steps we have to do
before sending first presence

- Move Delimiter into own module
- Move Metacontacts into own module
2018-07-27 16:01:10 +02:00
Philipp Hörist 313b913ae4 Dont get own avatar_sha from contacts 2018-07-25 23:17:12 +02:00
Philipp Hörist 78e4e20d49 Move ProfileWindow into gtk module 2018-07-22 16:53:02 +02:00
Philipp Hörist 8ed3952572 Move ManageBookmarksWindow into gtk module 2018-07-22 16:43:42 +02:00
Philipp Hörist cd9ffc7ebf Move ManagePEPServicesWindow into gtk module 2018-07-22 16:34:51 +02:00
Philipp Hörist 07c87a4194 Rewrite discovery code and move it into own module 2018-07-22 16:20:00 +02:00
Philipp Hörist 5ff9e9febf Move dataforms into modules folder 2018-07-22 16:20:00 +02:00
Philipp Hörist 1156897b5d Show Security Labels support in ServerInfo 2018-07-22 16:19:59 +02:00
Philipp Hörist 3a3b5aff20 Move some dialogs into gtk module 2018-07-18 00:15:46 +02:00
Philipp Hörist dd664643bd Move History Sync Dialog into gtk module 2018-07-15 14:32:08 +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