Commit Graph

1917 Commits

Author SHA1 Message Date
Luis Ángel San Martín
e4b4f96369 Use better http status code to notify clientes about what is going on while loading comics. 2018-04-26 18:27:42 +02:00
Luis Ángel San Martín
30211233af Use compact json in responses. 2018-04-26 18:26:44 +02:00
Luis Ángel San Martín
87b0e64b1a Monitorize folder content controller performance in debug mode. 2018-04-26 18:24:35 +02:00
Luis Ángel San Martín
630a5c94a0 Move from session based state to client side tokens.
YACReaderHttpSession is still used, but it is not a http session anymore.
2018-04-25 22:20:03 +02:00
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
3cb6e2cd85 Check bookmarks nullity and return in Comic before updating the bookmark image. 2018-04-25 22:16:20 +02:00
Luis Ángel San Martín
f3f4e7720a Early return if the compressed archive delegate is null 2018-04-25 22:15:30 +02:00
Luis Ángel San Martín
932910d0a9 Fix memory leak, comics need to be in the right thread before deleting them. 2018-04-24 21:01:38 +02:00
Luis Ángel San Martín
040664d3ba Backout changeset c42e71e42d7968ddb6c63fd39011669503b9122c 2018-04-24 20:53:48 +02:00
Luis Ángel San Martín
52c76d5482 Create unique database connections per thread and remove them using the database connection name from the QSqlDatabase instance being used. 2018-04-24 20:53:24 +02:00
Luis Ángel San Martín
0ff7da1d2c boolean is not a standard c++ type 2018-04-24 16:53:47 +02:00
Luis Ángel San Martín
3cff8b59e7 Add some undefined values wrapping. 2018-04-24 16:32:21 +02:00
Luis Ángel San Martín
db66fe33f3 Merge 2018-04-24 14:44:23 +02:00
Luis Ángel San Martín
30c8cf180e Fix loadComic not loading the comic file name. 2018-04-24 14:43:42 +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
a4072b956c Merge 2018-04-23 19:26:00 +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
1f7ec3950f ComicInfo.qml is now ComicInfoView.qml 2018-04-23 19:23:15 +02:00
Luis Ángel San Martín
f6d389ff35 Add current/next comic view to GridView. 2018-04-23 19:22:51 +02:00
Luis Ángel San Martín
b41884d5db Merge 2018-04-14 10:24:19 +02:00
Luis Ángel San Martín
e78de4da52 Merged in selmf/yacreader/9.0+ (pull request #69)
9.0+

Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2018-04-14 08:16:07 +00: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
Felix Kauselmann
d85fb8f6f6 Update changelog 2018-04-01 23:10:57 +02:00
Felix Kauselmann
9691f68df7 Add prebuilt qrencode.dll for Windows (32 and 64 bit)
These need to be copied into the same directories as YACReaderLibrary.exe on
release.
2018-03-31 15:13:59 +02:00
Felix Kauselmann
39a626625d MacOS: Replace qrencode executable with dynamically loaded libqrencode. 2018-03-30 14:40:54 +02:00
Felix Kauselmann
d9d94b103a Fix YACReader launch on MacOS 2018-03-30 14:14:43 +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
e5133c9765 merge develop 2018-03-25 13:16:27 +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
53b19ffecd Fix ComicDB::getTitleOrFileName() 2018-03-25 11:26:07 +02:00
Luis Ángel San Martín
c36d4501cc Fix update remote reading query, a coma was missing. 2018-03-24 21:00:27 +01:00
Luis Ángel San Martín
2bb258df13 Load the coverSizeRatio from DB. 2018-03-24 08:20:29 +01: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
fd4e2ebcb0 Bump version number to 9.5.0. 2018-03-12 21:43:42 +01:00
Luis Ángel San Martín
f8527b9a03 Add a new type of "look" to the import widget. It is going to be used as the "upgrading..." view while a library is being upgraded. 2018-03-12 21:43:24 +01:00
Luis Ángel San Martín
910ec62d30 Update the cover information if a different cover is selected. 2018-03-12 21:25:51 +01:00
Luis Ángel San Martín
062e8a1a8c Fix orignalCoverSize initialization. 2018-03-12 21:25:05 +01:00
Luis Ángel San Martín
049081960f Run the library upgrade in background. 2018-03-12 21:22:00 +01:00
Luis Ángel San Martín
d7c633cf3f Fix data base management + include cover thumbnails scan to calculate coverSizeRatio. 2018-03-12 21:21:30 +01:00
Felix Kauselmann
827a76413b Sanitize YACReader launch code 2018-03-11 20:13:19 +01:00
Luis Ángel San Martín
f0e1458576 Save and load the the new comic info fields in DBHelper. 2018-03-11 15:30:34 +01:00
Luis Ángel San Martín
ffd9631b72 Add original cover size to the comic_info table. 2018-03-11 15:29:01 +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
69395398e1 Partial support for storing the cover information in the DB. Work in progress. 2018-03-11 14:43:07 +01:00
Luis Ángel San Martín
0c303e6ea3 Reimplement ReadingComicsControllerV2 for serving JSON. 2018-03-11 11:29:17 +01:00