90 Commits

Author SHA1 Message Date
Luis Ángel San Martín
701817d76b Update comic url to use v2.
This should be replaced with json and the url shouldl be built in the client side.
2018-04-25 22:17:51 +02:00
Luis Ángel San Martín
0305377c28 Migrate some more controllers to json. 2018-04-24 14:42:30 +02:00
Luis Ángel San Martín
a9887a2d46 Add methods for getting json from reading lists and labels(tags) 2018-04-24 14:42:06 +02:00
Luis Ángel San Martín
20c7ecadd4 Add new controller for requesting the "full" information for a comic.
For now it doesn't serve the full information, only the information shown in the current/next comic view in iOS. I will see if I create two separated controllers or just on sending all the information when more information is needed in another iOS view.
2018-04-23 19:24:56 +02:00
Luis Ángel San Martín
b3d4e4c11e Include comics' hash in download information. 2018-04-14 10:02:08 +02:00
Luis Ángel San Martín
9a473ae214 Send the full cover for now. Clients will resize and cache them as needed. 2018-04-14 10:01:41 +02:00
Luis Ángel San Martín
9db998174f Use an integer as num_childer in folder. 2018-03-30 10:15:49 +02:00
Luis Ángel San Martín
c1ba2fe77e Use json in foldercontentcontoller_v2 2018-03-25 13:15:49 +02:00
Luis Ángel San Martín
113cf341c0 Fix comic title and number json serialziation 2018-03-24 08:19:23 +01:00
Luis Ángel San Martín
1fc3c2eee7 Add title and number to comic information and fix file name field. 2018-03-22 20:11:42 +01:00
Luis Ángel San Martín
177e3ea3ba Send the cover size ratio in the comic info json. 2018-03-13 19:08:39 +01:00
Luis Ángel San Martín
4c91da82a9 Fix reading comics controller 2018-03-11 15:27:50 +01:00
Luis Ángel San Martín
d7d741f87e Fix comic to json conversion. 2018-03-11 15:26:28 +01:00
Luis Ángel San Martín
0c303e6ea3 Reimplement ReadingComicsControllerV2 for serving JSON. 2018-03-11 11:29:17 +01:00
Luis Ángel San Martín
7e571c8ffe Add a new method to serialize a comic remote information to json 2018-03-11 11:28:41 +01:00
Luis Ángel San Martín
da5a4def96 Reimplement LibrariesControllerV2 for serving JSON. 2018-03-04 17:38:01 +01:00
Luis Ángel San Martín
555adc80bb Use new separator tokens in YACReaderServerDataHelper. 2018-03-04 13:05:42 +01:00
Luis Ángel San Martín
68db72078f Separate v1 and v2 server api classes and execution path. 2018-03-04 13:05:00 +01:00
Luis Ángel San Martín
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
Luis Ángel San Martín
5c268217d3 Fix read flag calculation on progress read updated from the server. 2017-11-19 10:03:40 +01:00
Luis Ángel San Martín
f0d350a827 Use the new controllers. 2017-05-26 17:32:05 +02:00
Luis Ángel San Martín
d08740e32d Added new server controller for providing the content of a reading list. 2017-05-26 17:29:28 +02:00
Luis Ángel San Martín
ac03d61f7d Fixed TagsController. 2017-05-26 17:28:09 +02:00
Luis Ángel San Martín
6373d3660b Implemented ReadingListsController. 2017-05-26 17:27:46 +02:00
Luis Ángel San Martín
0f9396ea9e Commented performance measuring code from folder content controller. 2017-03-28 18:44:52 +02:00
Luis Ángel San Martín
169c6c16dd Fixed reading comics web controller. 2017-03-28 18:43:59 +02:00
Luis Ángel San Martín
6d4ce1eabd Added new regexps for matching requests related to reading lists. 2016-10-30 09:16:53 +01:00
Luis Ángel San Martín
42a16a273b Added new class for serving a list of reading lists, service is not implemented yet. 2016-10-30 09:16:28 +01:00
Luis Ángel San Martín
ff4befb60e Removed extraneous semicolon. 2016-10-30 09:15:16 +01:00
Luis Ángel San Martín
58bc6ae6bf Map the reading uri to the new controller in the request mapper. 2016-08-23 22:23:53 +02:00
Luis Ángel San Martín
dbc9c9848a New controller for serving the comics being read. 2016-08-23 22:23:26 +02:00
Luis Ángel San Martín
036fad4a77 Use the new crotroller in request mapper. 2016-08-23 18:21:14 +02:00
Luis Ángel San Martín
69b83dae5b New controller for serving favoritess. 2016-08-23 18:20:16 +02:00
Luis Ángel San Martín
2aa5c00d34 Include missing info in YSFormat for comics. 2016-08-23 18:03:31 +02:00
Luis Ángel San Martín
ab795212c6 Spacing. 2016-08-23 18:03:03 +02:00
Luis Ángel San Martín
db3f2b6431 Use the new tag content controller in the request mapper. 2016-08-22 23:07:48 +02:00
Luis Ángel San Martín
df87a14dde Include new classes in server.pri 2016-08-22 23:06:33 +02:00
Luis Ángel San Martín
4e50c5628d Add new class for serving the content of tag. 2016-08-22 23:05:36 +02:00
Luis Ángel San Martín
1d73d1f1bf Use the new helper class in FolderContentController. 2016-08-22 23:05:07 +02:00
Luis Ángel San Martín
de4540367f Extracted the data generation for services to a helper class. 2016-08-22 23:04:43 +02:00
Luis Ángel San Martín
9cfb4e0f38 Fixed warning. 2016-08-22 13:44:43 +02:00
Luis Ángel San Martín
c3a0cafcc0 fixed compilation 2016-06-25 08:50:37 +02:00
Luis Ángel San Martín
a8932463f7 Try to listen even if the default port is no available. 2016-06-25 08:37:48 +02:00
Luis Ángel San Martín
ed130010e6 Set more default parameters for the server. 2016-06-25 08:32:58 +02:00
Luis Ángel San Martín
9cd592622a Restored StaticFileController custom code. 2016-06-24 23:03:12 +02:00
Luis Ángel San Martín
3baeac6bac Set the path of the docs root. 2016-06-24 21:09:41 +02:00
Luis Ángel San Martín
10c261c77a Fixed access to Static::yacreaderSessionStore members. 2016-06-24 18:54:31 +02:00
Luis Ángel San Martín
31018a4c38 Fixed compilation errors. 2016-06-24 18:51:50 +02:00
Luis Ángel San Martín
0f247d8641 Added destructor to YACReaderHttpSession 2016-06-24 18:51:30 +02:00
Luis Ángel San Martín
d29719a98d Renamed the method used for adding sessions. 2016-06-24 18:32:22 +02:00