Commit Graph

92 Commits

Author SHA1 Message Date
Daniel Brötzmann
e4c7c446fc [preview] Open file directly if encrypted
If Open Link in Browser is selected as default action for left clicking an image,
the user would get a warning when clicking an encrypted image. Fall back to open
image directly instead of issuing a warning dialog.
2019-04-27 14:29:37 +02:00
Daniel Brötzmann
4901c1e1b7 [preview] Fix on_save_as_menuitem handler name 2019-04-27 14:29:37 +02:00
Daniel Brötzmann
0636307329 [preview] Add Open Folder to context menu 2019-04-27 14:29:37 +02:00
Philipp Hörist
d9b146ee35 [preview] Use new open_uri method to open links 2019-04-27 14:29:11 +02:00
Daniel Brötzmann
e577b42c8f [preview] Update manifest.ini 2019-04-23 16:03:47 +02:00
Daniel Brötzmann
3fbc1b20c9 [preview] Use Settings instead of Options 2019-04-23 16:03:40 +02:00
Philipp Hörist
6436c1cafa Change logging domains 2019-03-10 10:27:07 +01:00
Philipp Hörist
7119f70bba [preview] Update manifest.ini 2018-12-09 11:39:59 +01:00
Philipp Hörist
003f21034f [preview] Make pillow a required dependency
Fixes #367
2018-12-09 11:39:35 +01:00
Philipp Hörist
f61f8d3d67 [preview] Simplify setting cursor on hover 2018-12-09 11:38:30 +01:00
Philipp Hörist
5ee22a6730 [preview] Update manifest.ini 2018-12-08 20:27:03 +01:00
Philipp Hörist
214fb16286 [preview] Fix problem with too long filenames
Fixes #365
2018-12-08 20:27:03 +01:00
Philipp Hörist
9bb2bc5c0d [preview] Dont crash on errors in other threads 2018-12-08 20:27:03 +01:00
Philipp Hörist
c5c82ec4ec [preview] Update manifest.ini 2018-10-28 13:10:01 +01:00
Philipp Hörist
1bbfc60814 [preview] Fix displaying GIFs without duration 2018-10-28 13:09:03 +01:00
Philipp Hörist
df5d2d60ea [preview] Remove legacy code 2018-10-28 13:09:03 +01:00
Philipp Hörist
0f52824c4b Fix typo 2018-10-12 17:59:02 +02:00
Yann Leboulanger
a6fc131a04 prepare plugins for master branch 2018-10-12 11:21:54 +02:00
Philipp Hörist
97c2bfbdd9 Add compatibility for Gajim 1.1 2018-10-06 20:46:24 +02:00
Philipp Hörist
600c37b0d2 [preview] Update manifest.ini 2018-08-19 17:42:31 +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
f2c914e8f1 [preview] Update manifest.ini 2018-08-07 08:59:59 +02:00
Philipp Hörist
555585b47e [preview] Lower log level on log output 2018-08-07 08:59:29 +02:00
Philipp Hörist
77c3a78e30 [preview] Update manifest.ini 2018-08-06 23:56:07 +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
5d770f8596 [preview] Update manifest.ini 2018-05-10 18:50:23 +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
6e9a165a69 [preview] Update manifest.ini 2018-05-07 22:11:22 +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
1cf978ad22 [preview] Fix speed of animated GIFs 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
dc6ef8019f [preview] Update mainifest.ini 2018-04-21 14:26:22 +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
965924c084 [preview] Update manifest.ini 2018-03-21 22:11:48 +01: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
Daniel
7bc484518e [preview] Update manifest.ini 2018-02-14 21:13:24 +01:00
Philipp Hörist
d97bd2caec [preview] Update manifest.ini 2018-01-20 23:23:55 +01:00
Philipp Hörist
f9edddf35d [preview] Get rid of proxy via curl
Pythons urllib supports proxys via env vars `http_proxy` and
`https_proxy`.

If someday needed this should be reimplemented with urllibs ProxyHandler

Fixes #262
2018-01-20 23:23:33 +01:00
Philipp Hörist
8b382857b6 [preview] Improve logging 2018-01-20 19:08:59 +01:00
Philipp Hörist
c1750635c9 [preview] Update manifest.ini 2017-12-19 23:21:33 +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