Commit Graph

46 Commits

Author SHA1 Message Date
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 fc5e2d3a75 MUC: Show timestamp also for info messages 2018-10-07 00:46:59 +02:00
Philipp Hörist 31b054723e Fix textview sorting 2018-10-07 00:46:59 +02:00
Philipp Hörist e292b78a5d Fix security labels 2018-10-07 00:46:56 +02:00
Yann Leboulanger 45e03c2545 fix displaying HTML content. Fixes #9210 2018-10-07 00:46:54 +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 edaa4988f0 Dont show encryption status for status messages
Fixes #9353
2018-10-07 00:46:53 +02:00
Philipp Hörist 1956885ae7 Fix colors and icons 2018-10-07 00:46:51 +02:00
Philipp Hörist 30442be2a6 ConvTextview: Rework display of encryption 2018-10-07 00:46:51 +02:00
Philipp Hörist f12dfb811d Fix trailing-whitespace pylint errors 2018-10-07 00:46:48 +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 acb0bacc09 Fix simplifiable-if-statement pylint errors 2018-10-07 00:46:45 +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 ebc0dd4536 Fix license comment format
every linter flags this as an error
2018-10-07 00:46:35 +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 3a3b5aff20 Move some dialogs into gtk module 2018-07-18 00:15:46 +02:00
Philipp Hörist a5b17a87a9 Pass account when clicking on xmpp:?join link 2018-07-06 22:17:05 +02:00
Alexander Krotov 7fa4c9e1c2 Spellcheck 2018-06-28 23:37:34 +02:00
Philipp Hörist 04b86a7bd0 Dont show OOB uri if message body is the same
if oob uri == body there is no need to show the uri
below the message
2018-05-10 16:16:38 +02:00
Philipp Hörist bb33e055a5 Fix regression from refactoring
regression was introduced in e2383fd7a4
2018-05-02 22:38:07 +02:00
Philipp Hörist 99b3aebc99 Remove unused imports 2018-03-26 01:06:56 +02:00
Philipp Hörist abdca0eaac Fix TextView scrolling
Fixes #8813
2018-03-20 22:19:30 +01:00
Philipp Hörist 83f57d49cb Remove unused code 2018-03-19 20:25:25 +01:00
Daniel a3e651b288 Handle geo:-URIs 2018-03-06 11:21:09 +01:00
Daniel 113cd51c11 Set label of link context menu according to kind mail OR jid 2018-03-03 18:38:33 +01:00
Daniel 3ee3ce67ca Add translation for corrected messages 2018-01-22 11:55:32 +01:00
André Apitzsch 6f025a1d4a Remove some unused imports 2018-01-12 00:21:11 +01:00
pitchum cb7eba562d Bugfix in printing fuzzy time. 2017-12-06 21:44:13 +01:00
Philipp Hörist ace904573a Add new Join Groupchat dialog
- Complete rewrite of the old Groupchat dialog
- Has now a "minimal" mode, which is used if we have all infos for joining except the nickname and if we want to bookmark
- Handle xmpp uris received via command line
2017-12-03 23:58:02 +01:00
Philipp Hörist 47f1f41977 Dont use mutable objects as default arguments 2017-12-03 15:34:33 +01:00
Philipp Hörist 3c823d307d Save oob data also on MAM Messages
- add get_oob_data() so we can use it on more than one event
- also remove a forgotten print call
2017-11-04 13:51:12 +01:00
Philipp Hörist 20d5ea90e7 Store oob data into DB
Right now oob data is merged into the message text and stored into the DB.
If we load this message from the DB we cannot know anymore if and which
parts of the text was oob data.

Use the additional_data api to store oob data into the DB instead of
altering the original message text.

This lets us decide later on if and which data we want to display, even
on history replays. Also plugins can use the data.
2017-11-03 20:36:53 +01:00
Philipp Hörist 4c45c186c4 Pass additional_data to groupchats 2017-11-03 16:33:34 +01:00
Philipp Hörist 7ee0636574 Pass iter to print_special_text extension point 2017-10-30 21:11:27 +01:00
Philipp Hörist 3e764c3d35 Fix some logging calls
- Add logging domain to some modules
- Log to module domain instead of generic 'gajim'
2017-09-26 07:14:01 +02:00
Philipp Hörist f6e754727c Differentiate upper/lower case string emojis 2017-09-13 21:20:59 +02:00
Philipp Hörist 00e72b1d73 Remove unused code
Whatever this was, its not used since 4 years
see 8f71d9f219
2017-08-23 18:34:17 +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 ab85729fe5 Fix displaying links in textview
Regression from 79716f421f
2017-07-04 12:26:05 +02:00
Philipp Hörist 79716f421f Rework emoticon menu 2017-07-02 21:27:44 +02:00
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Renamed from src/conversation_textview.py (Browse further)