Philipp Hörist
1b75403754
Refactor i18n
...
- Make _() available, so other modules can import it from i18n, we need
this because mypy cant handle _() in the builtins namespace
2018-10-07 00:46:36 +02:00
Philipp Hörist
f5cef34910
Add annotations to modules/util.py
2018-10-07 00:46:36 +02:00
Philipp Hörist
9a778541b5
Add annotations for modules/__init__.py
2018-10-07 00:46:36 +02:00
Philipp Hörist
df9651f33b
Remove unnecessary code
...
NetworkIncomingEvent defines base_network_events and generate() already
2018-10-07 00:46:36 +02:00
Philipp Hörist
06c66aaff1
Add debug output for NetworkMonitor
2018-10-07 00:46:36 +02:00
Philipp Hörist
648ac9fe89
Fix subscribing to contact
...
Fixes #9321
2018-10-07 00:46:36 +02:00
Philipp Hörist
950130528d
Request blocking list on connect
2018-10-07 00:46:36 +02:00
Philipp Hörist
204b673e86
Add Builder class
2018-10-07 00:46:36 +02:00
Philipp Hörist
9bd9bef3c3
Fix fallback for bookmark name
2018-10-07 00:46:36 +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
16712645a2
Windows: Fix translation
...
Fixes #9324
2018-10-07 00:46:35 +02:00
Philipp Hörist
ba8d20ab78
Remove verbose logging of idle time
2018-10-07 00:46:35 +02:00
Philipp Hörist
3fbba447db
Windows: Improve locked screen detection
...
UAC prompts count as locked screens, so only trigger extended away
when the screen is more than 10 seconds locked
Fixes #9117
2018-10-07 00:46:35 +02:00
Philipp Hörist
fcda077493
Revert "Windows: Remove locked screen detection"
...
This reverts commit 05307bd609
2018-10-07 00:46:35 +02:00
Philipp Hörist
37420720fe
Windows: Remove locked screen detection
...
This does not reliably tell us when the screen is locked.
For example this triggers when a UAC prompt is active.
From the Windows documentation there is no way to determine
if a workstation is locked
Fixes #9117
2018-10-07 00:46:35 +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
60c9a0383a
Fix pyflakes/pycodestyle errors
2018-10-07 00:46:34 +02:00
pitchum
9a2d915d5d
Bugfix: list index out of range when opening service discovery
...
Fixes #9301
2018-10-07 00:46:34 +02:00
Philipp Hörist
7a8892f021
Windows: Fix IPV6 for Windows 10+
...
Fixes #9326
2018-10-07 00:46:34 +02:00
Philipp Hörist
dd267359be
Fix pyflakes/pycodestyle errors
2018-10-07 00:46:34 +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
39c187ada4
Fix highlight on messages without time
2018-10-07 00:46:34 +02:00
André Apitzsch
9aed694143
music_track_listener: recognize playing song
...
when listener is enabled
2018-10-07 00:46:34 +02:00
André Apitzsch
64ee94fcd1
music_track_listener: don't hard code media players
...
inspired by 0ba346b750/js/ui/mpris.js
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
Philipp Hörist
d4d29f8309
Send all presence through the presence module
2018-10-07 00:46:33 +02:00
Philipp Hörist
42a7dbc79a
Fix contact not beeing found after room destroy
2018-10-07 00:46:33 +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
d01dc442c8
Fix missing attribute
2018-10-07 00:46:33 +02:00
Sophie Herold
afbc0c325f
Unify to use app.get_account_label()
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
Philipp Hörist
a8534800b0
Parse delay after decryption
...
Delay could be encrypted with full stanza encryption
2018-10-07 00:46:33 +02:00
Yann Leboulanger
093ab598b8
improve string for translators
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
Sophie Herold
e1d01e0999
Show avatar in new message notifications
2018-10-07 00:46:32 +02:00
André Apitzsch
501111b93e
Time: use classes from standard library
2018-10-07 00:42:00 +02:00
Philipp Hörist
6e8f064fd0
ServerInfo: Fix empty version result
...
Fixes #9311
2018-08-26 10:38:42 +02:00
Philipp Hörist
0bbcc937fd
Fix MUC invite notification
...
Fixes #9309
2018-08-25 09:42:09 +02:00
Philipp Hörist
163f98f7c4
Windows: Fix gstreamer/farstream plugin paths
2018-08-25 09:42:09 +02:00
Philipp Hörist
33effbbeb6
Call link() on correct object
2018-08-25 09:42:09 +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
e8526bb063
HistoryManager: Convert RGB to hex
2018-08-19 23:48:07 +02:00
Philipp Hörist
8564edd5f3
Fix emoji theme fallback
2018-08-19 21:37:34 +02:00
Philipp Hörist
6a33163d42
Update Gajim version to 1.0.99
2018-08-19 18:09:08 +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
6f8ffb131a
Add JID to VcardReceivedEvent
2018-08-19 16:43:30 +02:00
Philipp Hörist
327865e6fd
Remove not used liststore entrys
2018-08-19 13:46:38 +02:00
Philipp Hörist
25915b4175
Fix theming option names
2018-08-19 12:15:34 +02:00
Philipp Hörist
c4dfc0f8f2
Caps: Lower log level
2018-08-19 10:50:51 +02:00
Philipp Hörist
b37a42c37b
Raise min nbxmpp version to 0.6.7
2018-08-19 10:50:51 +02:00
Alexei Sorokin
036c867902
Support notification daemons with no actions once again
2018-08-19 10:38:22 +02:00
Yann Leboulanger
c49f9d60ab
fix jingle negotiation from an XMPP point of view
2018-08-18 16:05:33 +02:00
Philipp Hörist
dfb7b4a0dd
Simplify removing events on scroll to bottom
2018-08-18 15:56:23 +02:00
Philipp Hörist
bd8486f822
Fix arguments in method call
2018-08-18 15:52:12 +02:00
Philipp Hörist
1a2246947f
Fix removing events when scrolled to bottom
2018-08-18 15:46:51 +02:00
Yann Leboulanger
c6dbf775fa
make a string not translatable
2018-08-18 14:39:32 +02:00
Philipp Hörist
bab834814e
Use a python 3.5 compat method to scan dirs
2018-08-18 14:06:54 +02:00
Philipp Hörist
c8c44f5a78
Fix XMLConsole
...
- Print the stream header again
- Fix template button, it should not be translated
2018-08-18 12:35:21 +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
7392883607
Fix deprecation warning
2018-08-18 00:10:10 +02:00
André Apitzsch
36efb61acc
Remote control: fix some errors
2018-08-17 22:06:02 +02:00
André Apitzsch
f5a52c52b0
Remote control: remove undefined variable
2018-08-17 22:06:02 +02:00
André Apitzsch
7447f33c5e
Port remote control to GDBus
2018-08-17 22:06:02 +02:00
Philipp Hörist
d97c726a9f
Add twitter emojis
2018-08-17 21:55:49 +02:00
Philipp Hörist
1577bcba5a
Move the noto atlas generator code into a new project
2018-08-17 21:55:48 +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
e37ab6b59a
Fix typo
2018-08-17 09:37:43 +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
Sophie Herold
ee3cc9cbab
Reduce number of notifications kept in message tray
2018-08-16 22:48:40 +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
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
Sophie Herold
aa5fca866b
Align vcard dialog labels with profile dialog
2018-08-08 19:59:47 +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
42adff1b1b
Rework Preferences Dialog
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
621d667f4c
Remove unused FeatureNegotiationWindow
2018-08-05 22:51:03 +02:00
Philipp Hörist
2ce78334ca
Fix direct MUC invite
2018-08-04 21:41:44 +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
Sophie Herold
99ec800856
Rework History Dialog
2018-08-04 11:04:36 +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
4096ab5db5
Fix detecting oob data
2018-07-31 21:20:02 +02:00
Philipp Hörist
85bc3896ab
Handle messages without 'to' correctly
2018-07-30 21:58:22 +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
137bf1f831
MAM: Request from last received stanza-id
...
Record stanza-ids from live messages. If Gajim is started query the
archive from the last received stanza-id
2018-07-29 23:16:13 +02:00
Philipp Hörist
dbf891e97c
Add missing bookmark dict entry
2018-07-29 22:26:52 +02:00
Philipp Hörist
394d38e663
Add lost server discovery query
2018-07-29 22:16:06 +02:00
Philipp Hörist
80aee95f2e
Reset connect_maschine after disconnect on purpose
2018-07-29 19:35:45 +02:00