2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/plugins/evernote.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 [fix, lang] Typo in Evernotes description (#4173) 2018-08-19 20:20:00 +02:00
clip.lua [chore] Update MD5 calls with new sha2 library (#6411) 2020-07-21 23:25:46 +02:00
JoplinClient.lua Unify LuaSocket usage (#7405) 2021-03-15 01:25:10 +01:00
main.lua Minor util & ffi/util cleanups (#6657) 2020-09-15 20:39:32 +02:00
note.tpl Add chapter title when exporting notes in Evernote (JSON/HTML, remote) (#6146) 2020-06-17 23:51:02 +02:00
slt2.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00