Commit Graph

1840 Commits

Author SHA1 Message Date
Luis Ángel San Martín
1503fe5383 Add method for marking a comic as reading without opening it first.
Usefull when closing the a comic in the last page to mark the next one and the next being readed.
2018-05-20 14:49:07 +02:00
Luis Ángel San Martín
45e44fa54f Only set a comic as reading if it has been opened beyod the cover. 2018-05-20 14:48:08 +02:00
Luis Ángel San Martín
82cfdfdf30 YACReader should be dummy about has been opened.
It should only send back information, hasBeenOpened will be set in YACReaderLibrary depending on various factors.
2018-05-20 14:43:19 +02:00
Luis Ángel San Martín
23823725ac Fix how we consider a comic as being read.
Basically is this: it has been opened and not set as READ.
2018-05-20 14:41:55 +02:00
Luis Ángel San Martín
26fdb5a303 Fixed wrong index asigned to current page from the viewer 2018-05-20 14:40:07 +02:00
Luis Ángel San Martín
d3bb598a7d Add controllers to provide comics information from reading lists and labels 2018-05-01 11:54:00 +02:00
Luis Ángel San Martín
0e45767e67 Check for comic opening failures before trying to serve a page. 2018-04-28 18:00:40 +02:00
Luis Ángel San Martín
618f6575b2 Fix error code in page controller 2018-04-28 17:57:06 +02:00
Luis Ángel San Martín
aba45b3011 Keep track of erros while opening a comic
This way we can query if an error ocurred opening a comic.
2018-04-28 17:55:48 +02:00
Luis Ángel San Martín
6542162293 Fix YACReaderLibraryServer compilation for v2 2018-04-28 10:24:38 +02:00
Luis Ángel San Martín
c593e3570d Add the ability to update libraries to new versions in the headless server
It checks the libraries on the start up. It will block the app until everyting it is ready. C
2018-04-28 10:24:10 +02:00
Luis Ángel San Martín
a4941553ec Merge branch 'develop' into server_2.0 2018-04-27 23:14:40 +02:00
Luis Ángel San Martín
381c0f6560 Update gitignore file 2018-04-27 23:14:09 +02:00
Luis Ángel San Martín
4e004f87af Fix compilation in windows. 2018-04-27 22:40:36 +02:00
Luis Ángel San Martín
841771c11a Merge branch 'develop' into server_2.0 2018-04-27 22:34:47 +02:00
Luis Ángel San Martín
1b72f27cee Remove hgignore file. 2018-04-27 22:34:22 +02:00
Luis Ángel San Martín
9df2cf51eb Add gitignore file 2018-04-27 22:33:40 +02:00
Luis Ángel San Martín
451c2ec688 Fix label content controller v2 2018-04-26 22:19:16 +02:00
Luis Ángel San Martín
b92b696458 Fix favorites controler v2 2018-04-26 22:18:56 +02:00
Luis Ángel San Martín
f3e8f1a6cd Fix label to json 2018-04-26 22:18:25 +02:00
Luis Ángel San Martín
dc992edb55 Fix color loading for labels. 2018-04-26 22:18:12 +02:00
Luis Ángel San Martín
4deec13cff Fix background color of the current comic list in macosx 2018-04-26 22:17:11 +02:00
Luis Ángel San Martín
505d54d8b4 Remove outdated comments. 2018-04-26 18:29:36 +02:00
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