Commit Graph

45 Commits

Author SHA1 Message Date
Philipp Hörist c25e37566e Fix start chat menu action
Fixes #8275
2018-12-18 15:02:57 +01:00
Philipp Hörist efcb6235e2 Fix disabled join groupchat menu
When there are no bookmarks on the server the join groupchat menu
was disabled, preventing the user to open the join groupchat dialog
2018-12-18 15:02:37 +01: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 d35a9f6a10 Add a configurable threshold for MAM in MUC 2018-10-07 00:46:58 +02:00
Philipp Hörist 622d44b202 Fix typo 2018-10-07 00:46:57 +02:00
Philipp Hörist d295472a8e Refactor link context menu
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-10-07 00:46:53 +02:00
Philipp Hörist 16f7620204 pylint W0143 is not available on pylint < 2.0 2018-10-07 00:46:50 +02:00
Philipp Hörist 60173c06db Fix pylint errors
- duplicate-key
- eval-used
- comparison-with-callable
2018-10-07 00:46:50 +02:00
Philipp Hörist 64487929a6 Fix pylint errors
- pointless-statement
- pointless-string-statement
- unnecessary-lambda
2018-10-07 00:46:50 +02:00
Philipp Hörist e842298724 Fix bad-whitespace pylint errors 2018-10-07 00:46:48 +02:00
Philipp Hörist 5d1de209a8 Fix singleton-comparison pylint errors 2018-10-07 00:46:47 +02:00
Philipp Hörist cebd83d436 Fix unused-variable pylint errors 2018-10-07 00:46:44 +02:00
Philipp Hörist d011be2d89 Fix unsued-import pylint errors 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 ebc0dd4536 Fix license comment format
every linter flags this as an error
2018-10-07 00:46:35 +02:00
Philipp Hörist 4d43fc4db5 Add a bookmark sorting method 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
Philipp Hörist 07c87a4194 Rewrite discovery code and move it into own module 2018-07-22 16:20:00 +02:00
Philipp Hörist 2ca0ca38a5 Refactor Pubsub/Bookmarks/UserAvatar into own modules 2018-07-01 22:35:56 +02:00
Alexander Krotov 80fee32223 Rename plugin attribute "allow_privatchat" into "allow_privatechat" 2018-07-01 05:32:41 +03:00
Philipp Hörist 2410121ddb Add dedicated zeroconf menu 2018-05-21 21:18:38 +02:00
Philipp Hörist 764b275394 Dont show encryption methods if not supported 2018-05-21 18:09:44 +02:00
Philipp Hörist 3e0557dae6 Dont build menu for Local account 2018-05-20 20:15:08 +02:00
Philipp Hörist 913634c4c6 Add menu for uploading room avatars 2018-05-06 09:11:32 +02:00
Philipp Hörist 0f7097b7e0 Remove unused Dialog
This was nonfunctional for a long time and nobody complained
2018-05-02 22:38:07 +02:00
Philipp Hörist 99b3aebc99 Remove unused imports 2018-03-26 01:06:56 +02:00
Yann Leboulanger e44d5e9778 typo 2018-03-25 18:29:17 +02:00
Yann Leboulanger a336f48b67 more string improvements 2018-03-25 18:20:37 +02:00
Yann Leboulanger faa88819a1 improve some strings 2018-03-25 16:26:29 +02:00
Philipp Hörist a94276f6e9 Make file transfer labels sound less technical 2018-02-22 22:45:15 +01:00
Bronko 3a3be94aa8 integrate httpupload plugin into gajim core
add new config option 'filetransfer_preference'
add drag and drop support for file upload
2018-01-22 17:29:27 +01:00
Daniel 792be24540 Make more strings translatable 2018-01-15 10:51:04 +01:00
Yann Leboulanger c3369f0304 ability to call ad hoc commands on groupchats and groupchats occupants.
Fixes #8819
2017-12-22 12:21:57 +01:00
Philipp Hörist 1afd4f0e72 New StartChat Dialog 2017-12-03 23:58:02 +01:00
Philipp Hörist fc627fc19c Use appmenu only if system supports it 2017-11-24 18:54:30 +01:00
Philipp Hörist 309e844b4e Escape account label in roster and menus 2017-11-11 17:10:31 +01:00
Philipp Hörist 07055ccaad Update menus on account label change 2017-11-06 23:29:07 +01:00
Philipp Hörist 970d6f8c3f New style for ChatControl
- Move ActionBar into HeaderMenu
- Make Design of ChatControl look cleaner
- Hide the Roster in Groupchats per default
- Add Button to hide/show Roster in Groupchats
- Move Groupchat topic into popover
- Display Avatars on the right side of the ChatControl and status on the
left
- Add a default Avatar for contacts that have none
2017-10-26 22:52:20 +02:00
Philipp Hörist a01cdbf271 Refactor Avatars
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
André Apitzsch 89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
Philipp Hörist 10f8fe2bb5 Use unique id as action name instead of jid
A jid can contain characters that are not allowed in an action name.
This creates a unique UUID4 for each MessageControl and uses it as
action name instead.

We can reuse the UUID for other actions that belong to the
MessageControl

Fixes #8636
2017-08-18 18:58:07 +02:00
Philipp Hörist a5480eb167 Add ServerInfo Dialog 2017-07-26 00:07:43 +02:00
Philipp Hörist 85d220c80e Add Synchronise History Dialog
- On first contact with the MAM Archive only request 7 days
- To sync the rest of the archive the new Dialog can be used.
2017-07-25 21:00:20 +02:00
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Renamed from src/gui_menu_builder.py (Browse further)