2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/plugins/goodreads.koplugin
NiLuJe 2f9db25969
Unify LuaSocket usage (#7405)
* Add a new socketutil module with a few helper functions that allow us to:
  * Always use a sane User-Agent (previously, only Wikipedia did so)
  * Set timeouts in an almost sane manner. Doing it explicitly prevents an interaction with KOSync that does crazy stuff I don't even want to try to understand.
* Unified said timeouts based on the request's intended usage (except for Wikipedia, which already had meaningful timeout values).
* Stopped using LuaSec directly, LuaSocket defers to LuaSec sanely on its own. Everything now transparently supports HTTPS without code duplication.
2021-03-15 01:25:10 +01:00
..
_meta.lua Add deprecation messages to plugins (#7101) 2021-01-07 23:15:32 +01:00
doublekeyvaluepage.lua Update UI layout code to use new SVG icons 2020-12-19 14:49:18 +01:00
goodreadsapi.lua Unify LuaSocket usage (#7405) 2021-03-15 01:25:10 +01:00
goodreadsbook.lua Unify LuaSocket usage (#7405) 2021-03-15 01:25:10 +01:00
goodreadsnophoto.png Remove PNG icons, add koreader.svg 2020-12-19 14:49:18 +01:00
main.lua [lang] Update Goodreads API key instructions (#6542) 2020-08-23 12:56:17 +02:00