shiori/internal/model
Monirzadeh 5e9847a288
refactor: migrate ebook routes to new http server (#742)
* add new api

* UI use new API

* remove legacy route

* fix request to new api destination and read that response

* feat: allow authentication using cookies

* fix: return proper error on validatesession

* typo: secret key envionment variable in makefile

* serve ebook file with new api

* cache update use new api path

* add skipexist and batch download use same route as cache

* fix bug - update hasebook status

* remove unneeded part of code

* add swagger documentation

* fix swagger documentation

* fix swagger response

* better statuscode

* fix swagger documentation

* covert to snake_case

* recover coverage.txt that remove

---------

Co-authored-by: Felipe M <me@fmartingr.com>
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2023-10-29 11:57:07 +01:00
..
account.go add create ebook by default in settings (#761) 2023-10-22 13:25:16 +02:00
const.go fix: data dir permissions having execute for all (#493) 2022-10-09 18:50:42 +02:00
http.go Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
legacy.go Run legacy API and new API at the same time. (#648) 2023-07-19 18:25:41 +02:00
main.go Show version in login page (#652) 2023-07-21 09:25:19 +02:00
model.go refactor: migrate ebook routes to new http server (#742) 2023-10-29 11:57:07 +01:00