Commit Graph

50 Commits

Author SHA1 Message Date
Philipp Hörist
9bb2bc5c0d [preview] Dont crash on errors in other threads 2018-12-08 20:27:03 +01:00
Philipp Hörist
df5d2d60ea [preview] Remove legacy code 2018-10-28 13:09:03 +01:00
Philipp Hörist
97c2bfbdd9 Add compatibility for Gajim 1.1 2018-10-06 20:46:24 +02:00
Philipp Hörist
dcce26e851 [preview] Add compatibility for Gajim 1.1.0 2018-08-19 17:42:06 +02:00
Philipp Hörist
555585b47e [preview] Lower log level on log output 2018-08-07 08:59:29 +02:00
Philipp Hörist
059fa25edf [preview] Fix faulty conversion of text to url 2018-08-06 23:55:46 +02:00
Philipp Hörist
36948f6990 [preview] Port to new FileChooser API 2018-05-10 18:49:08 +02:00
Philipp Hörist
d0b81cae31 [preview] Refactor _accept_uri() 2018-05-07 23:40:24 +02:00
Philipp Hörist
587648dd9d [preview] Remove useless log messages 2018-05-07 22:18:36 +02:00
Philipp Hörist
8061974c37 [preview] Use if/then instead of multiple if conditions 2018-05-07 22:11:22 +02:00
Philipp Hörist
9c91784480 [preview] Add setting to allow all image urls
Fixes #301
2018-05-07 22:11:22 +02:00
Philipp Hörist
6b98cdbc5d [preview] Change default allowed file size 2018-05-07 22:11:22 +02:00
Philipp Hörist
2ff0cbc836 [preview] Fix bug in ratio calculation 2018-05-07 22:11:22 +02:00
Philipp Hörist
e6c1fee17c [preview] Dont use deprecated way to get path 2018-04-21 16:30:19 +02:00
Philipp Hörist
c134ae5b3d [preview] Fix error when mime or size is not set 2018-04-21 14:14:19 +02:00
Philipp Hörist
8d236746ed [preview] Fix error when no Content-Type is set 2018-03-21 22:11:48 +01:00
Philipp Hörist
e8bca2b2c8 [preview] Follow API changes in Gajim 2018-03-21 22:11:47 +01:00
Daniel
fcbf425309 [preview] Add map preview for locations provided by geo:-URIs 2018-03-21 22:10:16 +01:00
Daniel
f583de57d2 [preview] Add margins and drop-shadow 2018-02-14 21:13:24 +01:00
Philipp Hörist
c19b6dee71 [preview] Fix selecting images 2017-12-19 23:21:11 +01:00
Daniel
2b3769f6e6 [preview] Display preview beginning with a new line and add tooltip 2017-12-19 20:29:33 +01:00
Philipp Hörist
9c91679a63 [preview] Add option to disable https verification 2017-12-05 18:08:20 +01:00
Philipp Hörist
1d17a08659 [preview] Preserve aspect ratio while scaling 2017-11-26 13:38:18 +01:00
Philipp Hörist
a438644124 [preview] Add Animated GIF support 2017-11-20 22:21:16 +01:00
Philipp Hörist
cca0fa0b2b [preview] Refactor image loading
- Make Pillow the fallback loader
- Simplify loading of images
- Use Gtk.Image instead of Gajims TextViewImage
2017-11-20 22:21:02 +01:00
Philipp Hörist
e68b434d2f [preview] Pass textview instead of chatcontrol
HistoryWindow doesnt have a ChatControl
2017-11-07 22:31:09 +01:00
Philipp Hörist
2e2cf945c4 [preview] Dont use chatcontrol parent for transient
- In minimized MUCs we dont have a parent window
- use Gtks get_active_window() instead
2017-11-07 15:31:49 +01:00
Philipp Hörist
359b6a703a [preview] Fix pylint/pep8 errors 2017-11-06 15:43:39 +01:00
Philipp Hörist
4bfcefdea8 [preview] Change logging domain 2017-11-06 15:43:39 +01:00
Philipp Hörist
9581970404 [preview] Convert MAX_FILE_SIZE to int 2017-11-06 15:43:39 +01:00
Thilo Molitor
caefa4ffe9 [preview] Use print_real_text extension point
- Remove parsing of OOB data, Gajim does this now
2017-11-06 15:43:39 +01:00
Thilo Molitor
363ac580b6 [preview] Scroll to end after image insertion 2017-11-06 15:43:39 +01:00
Thilo Molitor
78436dbe4c [preview] Add support for history window previews 2017-11-06 15:43:39 +01:00
Thilo Molitor
fa07320cf0 [preview] Limit URIs to httpupload filetransfers 2017-11-06 15:43:39 +01:00
Philipp Hörist
e52ab4c627 [preview] New Config Dialog 2017-11-01 12:33:02 +01:00
Thilo Molitor
371690176d [preview] Port to Gtk3 2017-10-31 23:32:27 +01:00
Philipp Hörist
9ce1c5b961 Use absolute imports on all plugins
This is necessary because Gajim is with 0.16.11 a python package
2017-08-18 21:35:29 +02:00
tmolitor
cd50df05cf Fix API change for print_special_text (added additional_data={}) 2016-10-12 02:55:32 +02:00
Philipp Hörist
92790088e9 [Linus Heckemann] Fix API change for print_special_text, and GTK deprecation warning 2016-10-11 12:07:42 +02:00
Linus Heckemann
6e25bfa15c Fix url_image_preview for gtk3 2016-10-10 14:28:41 +01:00
Denis Fomin
12427d6566 update UrlImagePreviewPlugin to py3 2013-01-28 21:48:49 +04:00
Denis Fomin
e0c61a05c4 url image preview.coding style 2012-06-21 12:31:30 +04:00
Denis Fomin
d7dc50dab4 url image preview. remove qip bbcode in the url 2012-06-21 12:24:42 +04:00
Denis Fomin
330d242734 url_image_preview. remove unused import 2011-11-15 23:26:57 +03:00
Denis Fomin
9671c3640c url_image_preview.fix var name 2011-11-15 22:59:34 +03:00
Yann Leboulanger
2e8993cfce remove debug 2011-11-15 19:47:57 +01:00
Yann Leboulanger
44434e0a69 use proxy in url_preview plugin. Fixes #15 2011-11-15 19:46:47 +01:00
Denis Fomin
585a4fdea4 url_image_preview. remove unused code 2011-10-01 21:55:41 +03:00
Denis Fomin
0cb11c7e10 Juick, Url image preview. Use gajim.thread_interface 2011-09-30 09:46:22 +03:00
Denis Fomin
8350631480 add new url image preview plugin 2011-09-26 22:38:52 +03:00