Commit Graph

118 Commits

Author SHA1 Message Date
Philipp Hörist c2f2ba9787 Dont draw contact after selection change
This seems to be an old codepath, currently there is no need to redraw a contact on selection change

Fixes #9496
2018-12-18 15:03:07 +01:00
Philipp Hörist 2a8d5739d3 MUC: Identify subject change correctly
Fixes #9491
2018-12-09 21:24:56 +01:00
Philipp Hörist 1c09b50791 Use custom dict for additional data
This makes it easier to retrive and store values
2018-12-07 23:31:00 +01:00
Philipp Hörist 9d6fac6942 Fix opening links in MUC subject
The default GTK link handler does not work on Windows and Mac

Fixes #9453
2018-12-03 15:44:18 +01:00
Philipp Hörist 0c1a271e7a Dont show joined message on status change 2018-10-07 00:47:01 +02:00
Philipp Hörist f197358e2f Import _() instead of using builtin namespace
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-07 00:47:00 +02:00
Philipp Hörist 8ace1f2b2b MUC: Add option for showing the subject on join 2018-10-07 00:47:00 +02:00
Philipp Hörist ae629d821a MUC: Show info message that we joined the room 2018-10-07 00:46:59 +02:00
Philipp Hörist ec839cc1d4 Dont show MUC subject on rejoin
- We only show it, if it changed
2018-10-07 00:46:59 +02:00
Philipp Hörist 8bab5d1adc Better determine when we fully joined a muc 2018-10-07 00:46:59 +02:00
Philipp Hörist 33a62760fe MUC: Make print_status affect the 333 status code 2018-10-07 00:46:59 +02:00
Philipp Hörist d35a9f6a10 Add a configurable threshold for MAM in MUC 2018-10-07 00:46:58 +02:00
Philipp Hörist cbce361f12 Fix wrong argument 2018-10-07 00:46:57 +02:00
Philipp Hörist 50c670e61b Refactor Chat State Notifications
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-10-07 00:46:57 +02:00
Philipp Hörist e292b78a5d Fix security labels 2018-10-07 00:46:56 +02:00
Philipp Hörist ec76d8ac3b Only use absolute imports from gtk module
- This reduces import cycles
2018-10-07 00:46:55 +02:00
Philipp Hörist 8e28ca08d4 GroupchatControl: Add a is_connected property 2018-10-07 00:46:54 +02:00
Philipp Hörist 7c45943d20 Check if path is None 2018-10-07 00:46:54 +02:00
Philipp Hörist e842298724 Fix bad-whitespace pylint errors 2018-10-07 00:46:48 +02:00
Philipp Hörist dad5331bf2 Fix no-else-return pylint errors 2018-10-07 00:46:46 +02:00
Philipp Hörist c4bd6d6ab2 Fix consider-iterating-dictionary pylint errors 2018-10-07 00:46:44 +02:00
Philipp Hörist cebd83d436 Fix unused-variable pylint errors 2018-10-07 00:46:44 +02:00
Philipp Hörist 6305fc69b9 Fix logging-not-lazy pylint errors 2018-10-07 00:46:43 +02:00
Philipp Hörist a6525e19a2 Fix superfluous-parens pylint errors 2018-10-07 00:46:41 +02:00
Philipp Hörist a3c687dae1 Fix len-as-condition pylint errors 2018-10-07 00:46:39 +02:00
Philipp Hörist 6753c3e499 Fix pylint errors 2018-10-07 00:46:37 +02:00
Philipp Hörist 069c0263e1 Improve speed of groupchat roster
- Save reference to contact in a dict instead of iterating the whole model
- Sort roster only once after all contacts have been added to the roster
- Speed up get_gc_contact()

Fixes #9334
2018-10-07 00:46:36 +02:00
Philipp Hörist ebc0dd4536 Fix license comment format
every linter flags this as an error
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 39c187ada4 Fix highlight on messages without time 2018-10-07 00:46:34 +02:00
Philipp Hörist b5414e3849 Disco the room after it has been created 2018-10-07 00:46:33 +02:00
Philipp Hörist 41a7196620 Fix displaying MUC subjects with delay tag
Dont print it as "old" conversation, instead add the delay timestamp
at the end of the subject
2018-10-07 00:46:33 +02:00
Yann Leboulanger 093ab598b8 improve string for translators 2018-10-07 00:46:33 +02:00
Philipp Hörist a457a9ac21 Move filechoosers into gtk module 2018-08-19 17:44:17 +02:00
Philipp Hörist def4f548c1 Add reason to MUC service-error kick 2018-08-19 17:02:39 +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 71586e01d2 Escape groupchat name in tab label 2018-08-12 00:06:22 +02:00
Philipp Hörist f438a27ab8 Handle new MUC status code 333 2018-08-08 21:51:23 +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 a943a35a5d Move caps code into own module 2018-07-22 20:49:53 +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 78858f7c82 Move more MUC methods into muc module 2018-07-22 16:19:53 +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
Ave O c3a359ba23
Change to gender-neutral alternatives of pronouns 2018-07-11 23:15:56 +03:00
Philipp Hörist aaab5f17ce Remove whitespace char from groupchat label 2018-07-11 19:04:09 +02:00
Philipp Hörist bd79fe629f Refactor Privacy and Blocking into own modules 2018-07-08 16:44:14 +02:00
Philipp Hörist 4bcdbde2c8 Move httpupload into modules 2018-07-07 01:49:50 +02:00