Zbigniew Jędrzejewski-Szmek
9d63b6ae56
Drop (object) from class definitions
...
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
Kovid Goyal
ddd56f5c47
Cleanup plugins_mirror.py
2021-07-19 12:00:04 +05:30
Kovid Goyal
2003641a98
Have plugins mirror run under python 3 and use python2 only for plugins that dont parse under python3
2021-07-19 11:29:40 +05:30
Kovid Goyal
59e471503e
Remove history indication from plugins index
2020-11-25 21:18:03 +05:30
Kovid Goyal
3dbbe1397e
Remove code to check for Qt5 incompatibility in plugins
...
The Qt 5 transition is done and dusted now. The ones that arent going to
be ported will anyway need to be ported to Python 3 as well, which is
also never going to happen.
2020-11-25 13:06:00 +05:30
Kovid Goyal
72308168ef
Support for the new in python 3.8 Constant ast node
2020-11-25 12:55:38 +05:30
Kovid Goyal
a6b4ceff58
Need the future imports for plugins parsing while it is done with python2
2020-08-23 12:19:52 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
...
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
32438d1565
Handle reading version info from jgoguens updated plugins
...
The version info is now specified as an attribute of a module, import.
2020-06-17 08:55:46 +05:30
Kovid Goyal
449672bab1
Make plugins_mirror.py more polyglot
2020-02-10 20:41:23 +05:30
Kovid Goyal
167cb89dc7
...
2019-10-28 08:08:00 +05:30
Kovid Goyal
f4cf168a72
plugins_mirror should not rely on getcwdu
2019-04-23 10:34:37 +05:30
Kovid Goyal
e73dbb0f99
py3: Port calls to json.dump()
2019-03-31 18:30:59 +05:30
Kovid Goyal
6d3fcc853e
Cant use polyglot in plugins_mirror
2019-03-25 17:54:42 +05:30
Eli Schwartz
4f545af415
autopep8
2019-03-24 01:18:27 -04:00
Eli Schwartz
a623717d96
python3: apply various fixes from python-modernize "dict_six"
...
Imports were then fixed and consolidated to derive from the internal
polyglot.builtins
2019-03-24 01:18:27 -04:00
Kovid Goyal
be00d40d02
plugins_mirror cannot depend on polyglot
2018-09-10 21:04:25 +05:30
Kovid Goyal
5234e43f0e
Port future_builtins to polyglot
2018-09-10 20:12:01 +05:30
Kovid Goyal
5697f8f282
More robust timeout retry handling
2018-02-02 15:43:55 +05:30
Kovid Goyal
3dfd846b7b
Retry after sleeping on URL fetch timeout in plugins mirror script
2018-02-02 13:14:04 +05:30
Kovid Goyal
594c52a7af
Double plugin mirror download timeout
2018-02-01 13:06:34 +05:30
Kovid Goyal
8e6fbc1448
Load plugin index over https from mobileread now that mobileread supports https
2017-01-08 20:37:19 +05:30
Kovid Goyal
e4521c7270
...
2017-01-08 17:07:24 +05:30
Kovid Goyal
f8c1dd46bb
Fix detection of plugin data for the amazon multiple countries plugin
2016-11-06 17:14:44 +05:30
Kovid Goyal
e2e93a3a74
...
2016-01-19 00:26:31 +05:30
Kovid Goyal
cad0f939cb
Self host plugin icon
2016-01-10 14:17:15 +05:30
Kovid Goyal
5a24f7f51b
Avoid mixed content warnings when referring to resources on the calibre website
2016-01-08 15:57:20 +05:30
Kovid Goyal
77051cf145
...
2016-01-07 15:49:25 +05:30
Kovid Goyal
5a792a0d6a
...
2016-01-07 15:25:30 +05:30
Kovid Goyal
9c582259be
...
2016-01-07 15:17:35 +05:30
Kovid Goyal
e0871ec10d
...
2016-01-07 15:06:18 +05:30
Kovid Goyal
9daaa81437
Fix detection of plugin class in the KePub metadata plugins
2015-05-26 21:34:41 +05:30
Kovid Goyal
ef09e886b3
Change all shebangs to use python2
2015-01-23 19:08:21 +05:30
Kovid Goyal
44992bbd63
...
2014-09-14 20:10:57 +05:30
Kovid Goyal
77683fb88b
Explicitly close ThreadPool from multiprocessing to ensure no leaked threads
2014-08-30 11:08:34 +05:30
Kovid Goyal
36748387bb
...
2014-08-08 18:31:13 +05:30
Kovid Goyal
de26f1e9a3
Nicer debug output when a plugin's thread is missing the plugin zip file
2014-07-29 11:47:02 +05:30
Kovid Goyal
fe07f51d14
Also list ported plugins
2014-07-18 12:44:47 +05:30
Kovid Goyal
9289d6a4eb
Collect stats on how many plugins have been ported to Qt 5
2014-07-18 12:41:12 +05:30
Kovid Goyal
fe0ea435d2
...
2014-04-08 15:19:32 +05:30
Kovid Goyal
85e0882bbf
...
2014-04-08 14:26:54 +05:30
Kovid Goyal
354589c7a8
Publish download counts for plugins
2014-04-08 14:03:46 +05:30
Kovid Goyal
cf2f7ffd7f
Use abstract named sockets for plugins mirror single instance instead of lock files
2014-04-08 10:31:06 +05:30
Kovid Goyal
7040010cdc
Plugin mirror script: Add a timeout so that the script does not hang if the network or the source server goes down
2014-02-13 21:27:58 +05:30
Kovid Goyal
6a9fe9043a
Plugin mirror: Parse plugins that import metadata
2013-08-22 06:11:11 +05:30
Kovid Goyal
670184a69a
Fix file permissions and user agent
2013-08-03 17:39:16 +05:30
Kovid Goyal
34ed01dbd0
Initial implementation of plugins mirroring
2013-08-03 17:30:45 +05:30