Commit Graph

685 Commits

Author SHA1 Message Date
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
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
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
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
c1ba2fe77e Use json in foldercontentcontoller_v2 2018-03-25 13:15:49 +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
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
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
Felix Kauselmann
6313df5407 Make BINDIR, DATADIR and LIBDIR fully configurable 2018-03-11 09:40:30 +01:00
Felix Kauselmann
e1af8fa35e Merge develop 2018-03-10 11:49:29 +01:00
Felix Kauselmann
89ed9508ec Replace qrencode with libqrencode (and do some code cleanup) 2018-03-10 11:22:03 +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
aca67f2b2a merged - develop 2018-03-03 23:36:29 +01:00
Luis Ángel San Martín
b14c6d4492 Merged in Anon789/yacreader-5/Anon789/yacreaderlibrary_ruts-minor-corrections--1519496099309 (pull request #67)
yacreaderlibrary_ru.ts

Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2018-03-03 14:53:33 +00:00
Luis Ángel San Martín
218742aafb Merged in selmf/yacreader/default (pull request #64)
9.0.1 fixes
2018-03-03 14:51:51 +00:00
Luis Ángel San Martín
310b9e602b Trim comic vine api key to avoid problems with white spaces. 2018-02-26 14:51:38 +01:00
Anon789
bbeb6256a7 Translation into Russian is completed by 100% In the future there will be only correction of errors, inaccuracies of translation and other improvements in appearance. 2018-02-25 16:02:41 +00:00
Anon789
4f779f7e22 yacreaderlibrary_ru.ts
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00:00
Felix Kauselmann
3654b6b527 Backed out changeset 84d6af62bc15, restore previously removed QProcess improvements for launching YACReader 2018-02-20 16:31:06 +01:00
Felix Kauselmann
251dede93d Remove obsolete QGLWidget based cover flow 2018-02-19 14:36:58 +01:00
Felix Kauselmann
e6c4e92e01 YACReaderLibrary: Activate and rise window on tray icon clicks 2018-02-19 13:54:12 +01:00
Anon789
5a5563a234 Correction in the text, other inaccuracies in the translation, update of the Russian language. This version of translation now looks much better than the last one. 2018-02-19 12:10:29 +00:00
Felix Kauselmann
09c8125f87 Merge default branch 2018-02-18 17:17:14 +01:00
Felix Kauselmann
fc454a81a3 Fix builds with CONFIG+=no_opengl 2018-02-18 15:02:51 +01:00
Luis Ángel San Martín
2a136e3ea3 Merge - 9.0.0 release 2018-02-18 10:35:24 +01:00
Felix Kauselmann
1815ba64a1 YACReaderLibrary: Add a tray icon 2018-02-17 13:40:04 +01:00
Anon789
d3c8bd9349 Update russian translation. 2018-02-17 05:33:27 +00:00
Felix Kauselmann
9103ee0c0c YACReaderLibrary: Add a barebone commandline parser 2018-02-16 15:26:33 +01:00
Luis Ángel San Martín
870b99d0a9 Update translation files. 2018-02-15 19:32:24 +01:00
Felix Kauselmann
f9ed9b19b5 Code cleanup for main.cpp files
Remove ancient OS detection code, unneeded includes and ugly workarounds.
2018-02-12 22:30:19 +01:00
Felix Kauselmann
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00
apollo2k4
f2a356fc70 Update russian translation. Need to subtract and to bring the terminology to a common denominator 2018-01-08 16:32:56 +00:00
Felix Kauselmann
184cd43257 Set application icons for X11 based systems 2018-01-03 20:20:51 +01:00
Felix Kauselmann
1c232b0549 Merged luisangelsm/yacreader/develop into develop 2017-12-11 11:00:52 +01:00
Luis Ángel San Martín
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
Felix Kauselmann
3f1b1f620b Fix typo in icon path 2017-11-21 11:45:10 +01:00
Felix Kauselmann
28a6939a01 svg icons for Linux 2017-11-21 11:01:31 +01:00
Luis Ángel San Martín
a90528e579 Comic updates from a local client have to be processed in the main thread so the UI gets updated inmediatly. 2017-11-20 21:44:00 +01:00
Luis Ángel San Martín
b60c0e523c Fix sorting in siblings calculation, it is the name (file name) not the title. 2017-11-20 21:38:07 +01:00
Luis Ángel San Martín
d5f167b670 Don't set the window icon, let windows use the app icon. 2017-11-20 21:37:26 +01:00
Luis Ángel San Martín
31ba1275d3 Update app icons for YACReader and YACReaderLibrary in Windows. 2017-11-20 19:43:48 +01:00
Luis Ángel San Martín
455509f2b8 Merged in selmf/yacreader/develop (pull request #56)
Fixes for Qt 5.3 and Haiku
2017-11-19 09:10:46 +00: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
Felix Kauselmann
c69499246d Backed out changeset 2a88239c2640 (don't change critical stuff during a beta phase) 2017-11-14 18:05:17 +01:00
Felix Kauselmann
97cfff3ef2 QProcess: always use proper process arguments when opening YACReader from the library 2017-11-12 12:08:22 +01:00
Felix Kauselmann
caf53f0442 Fix spelling errors reported by stevepusser 2017-11-11 08:55:16 +01:00
Felix Kauselmann
6ccc78558f Remove unneeded es.qm files. 2017-11-06 13:11:33 +01:00
Felix Kauselmann
2c914d6579 Support Haiku OS specific libs and compile flags in the build system. 2017-11-03 08:15:46 +01:00
Luis Ángel San Martín
8c4f167fb0 Merged in selmf/yacreader/develop (pull request #55)
Buildsystem tweaks

Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2017-10-24 16:31:54 +00:00
Felix Kauselmann
af59672204 Buildsystem: add folders for 64bit build and improve dependencies detection. 2017-10-21 21:49:00 +02:00
Luis Ángel San Martín
02e7caf5c5 Bug fix. Updates through the server didn't update the read field in the DB. 2017-10-20 17:42:25 +02:00
Luis Ángel San Martín
a1b37eb9cb Fixed comic file path hidden by local declaration in macos. This fixes the comic not found error message. 2017-10-03 18:52:14 +02:00
Luis Ángel San Martín
82ad89b39e Fixed typo. 2017-10-03 10:20:58 +02:00
Luis Ángel San Martín
980b92a27f Fixed add label, begin/end insert rows used to fail in this case, probably it was a qt bug, not it works as intended. 2017-09-29 22:53:29 +02:00
Luis Ángel San Martín
9dc4c7a753 Updated translation resources files. 2017-09-29 11:51:04 +02:00
Felix Kauselmann
958003f52f Fix problems with missing safety checks in Render::fillBuffer and pdfcomic 2017-09-27 22:00:00 +02:00
Luis Ángel San Martín
4d4556f7e2 Removed usage of QSqlRecoerd unless is totally necessary. 2017-08-28 19:02:18 +02:00
Luis Ángel San Martín
9ed1f0f306 Merge 2017-08-28 18:52:24 +02:00
Luis Ángel San Martín
1e74234dbf Fixed data base info retrieving through DBHelper - values(QString) and QSqlRecord. Methods implemented before the fixes in the develop branch. 2017-08-26 17:03:18 +02:00
Luis Ángel San Martín
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
Luis Ángel San Martín
8b20014cc8 Fixed data base info retrieving in ReadingListModel. 2017-08-26 16:17:54 +02:00
Luis Ángel San Martín
f5fda9b530 Fixed db Fixed data base info retrieving in FolderModel. 2017-08-26 16:17:17 +02:00
Luis Ángel San Martín
6de499e566 Fixed db Fixed data base info retrieving in ComicModel. 2017-08-26 16:16:54 +02:00
Luis Ángel San Martín
d6898e9a4e Fixed data base info retrieving through DBHelper, value(QString) should never be used because it is really slow. All items sorting should be done at db level or using std::sort. 2017-08-26 16:16:11 +02: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
85fba7e8f5 Added new methods for getting reading lists and comics in a reading list. Fixed DBHelper for not using GUI related classes (reading_list_item). 2017-05-26 17:27:08 +02:00
Luis Ángel San Martín
d20277736d Added model classes for reading lists and labels. 2017-05-26 17:24:56 +02:00
Luis Ángel San Martín
6a6f983115 Merge 2017-05-25 18:04:29 +02:00
Luis Ángel San Martín
921f6654a2 Added QMAKE_TARGET_BUNDLE_PREFIX to .pro files. 2017-05-23 15:46:29 +02:00
Felix Kauselmann
b202ce0648 Merged develop into mac_build 2017-04-25 11:45:32 +02:00
Luis Ángel San Martín
d6582c05c3 Fixed osx compilation. 2017-04-24 22:18:47 +02:00
Luis Ángel San Martín
290e19aa4b Added missing info view images for light theme. 2017-04-24 22:04:06 +02:00
Luis Ángel San Martín
689a782d5a Enabled light theme for info views in osx. 2017-04-24 21:53:55 +02:00
Luis Ángel San Martín
22971c330c Added info mode icon for osx 2017-04-24 21:52:52 +02:00
Felix Kauselmann
c537583365 Move pdf backend integration logic to seperate .pri file 2017-04-15 18:40:39 +02:00
Luis Ángel San Martín
1459ebb261 Fixed path encoding used for opening PDF files with pdfium. 2017-03-28 22:18:07 +02:00
Luis Ángel San Martín
c700f54673 Merged in selmf/yacreader/pdfium-win (pull request #48)
Pdfium win
2017-03-28 19:45:18 +00:00
Luis Ángel San Martín
c1375abc90 Updated the default comic vine end point base URL. They have switched to SSL https://comicvine.gamespot.com/forums/api-developers-2334/notice-ssl-is-coming-be-ready-to-accept-ssl-video--1861940/#1 2017-03-28 19:01:13 +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
30982be0a9 Updated the comic model for getting the reading comics properly sorted. //TODO This should be using the method in the DBHelper. 2017-03-28 18:43:15 +02:00
Luis Ángel San Martín
e2a8d520a9 Update the new lastTimeOpened value in the DB when it is needed in the DBHelper. Plus updated the getReading method for ordering the comics by the last time they were opened (descending order). 2017-03-28 18:42:25 +02:00
Luis Ángel San Martín
3a5415c335 Add new field to the comic info table in the DB and updated the migration process. 2017-03-28 18:39:59 +02:00
Felix Kauselmann
372531083c Use dynamic pdfium library for linux builds. Keep static library parameters as comments for potential later usage. 2017-03-10 10:08:30 +01:00
Luis Ángel San Martín
6d23989a96 Fixed slot warning at startup 2017-02-18 09:17:37 +01:00
Luis Ángel San Martín
dfb6082294 merged 2017-02-18 08:26:53 +01:00
Felix Kauselmann
625b0967e5 add 64bit build support for pdfium on windows 2017-02-14 12:09:27 +01:00
Felix Kauselmann
d5f09872a4 Fix compilation with pdfium on windows 2017-02-05 16:41:11 +01:00
Felix Kauselmann
e452cc9a6d Add qmake support for pdfium on windows 2017-02-04 16:15:57 +01:00
Luis Ángel San Martín
835a072e23 Usability fixes to Comic View scraper, now the dialog can be resized and once a volume is selected all the comics in that volume are fetched, so no more problems trying to scrap info for large numbers of comics. 2017-01-14 14:58:42 +01:00
Luis Ángel San Martín
27f9bff91b Added tooltip to folder items in the folders' treeview, it will show the complete name of the folder, usefull when the name is clipped by the parent view, plus the number of children in that folder. Only the number of subfolders can be known when the tooltip is decorated 2017-01-13 20:05:56 +01:00
Luis Ángel San Martín
206365f027 Fixed .pro for working with the latest OS X development tools. 2017-01-13 19:00:23 +01:00
Luis Ángel San Martín
b1b91d5013 Merged in selmf/yacreader/pdf_refactoring (pull request #46)
Compilation problem will be fixed once merged :(

Pdf refactoring
2017-01-13 18:54:09 +01:00
Luis Ángel San Martín
75502caa43 merged default 2016-12-12 21:27:59 +01:00
Felix Kauselmann
c48df74d53 Move headless stuff to YACReaderLibrarServer directory. 2016-11-27 15:15:14 +01:00
Felix Kauselmann
cea9933cc2 Cosmetic changes to make pdf flags look nicer in the .pro files 2016-11-23 22:09:34 +01:00
Felix Kauselmann
01218de82c Add no_pdf config options to all builds 2016-11-22 19:41:00 +01:00
Felix Kauselmann
595ceecb62 Add cleanup function to mac pdf image buffer 2016-11-22 18:23:40 +01:00
Felix Kauselmann
46d06f441a merge current develop branch 2016-11-06 16:01:29 +01:00
Luis Ángel San Martín
7598cafd5d New quick navitation mode option for go to flow. 2016-10-30 09:52:03 +01: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
Felix Kauselmann
464a3b6649 Add no_pdf build option 2016-10-21 22:21:32 +02:00
Felix Kauselmann
ac6f96ab05 Add define for pdfkit support on mac to .pro files 2016-10-18 00:56:05 +02:00
Felix Kauselmann
c74934c822 Add support for pdfium 2016-10-18 00:48:56 +02:00
Felix Kauselmann
f05ac77fc2 Always include pdf_comic.h 2016-10-17 22:49:38 +02:00
Felix Kauselmann
2edfe534bd Refactoring: fix mixed indentation and add curly braces in comic.cpp 2016-10-17 22:01:23 +02:00
Luis Ángel San Martín
f326d8761b Moved hack to a better place, this should work in all situations. 2016-08-27 10:49:40 +02:00
Luis Ángel San Martín
9292c1ad0f merged 2016-08-25 21:33:43 +02:00
Luis Ángel San Martín
5137f5ded0 Ugly workaround for glitch when QOpenGLWidget (flow) is used just after any other widget in the views stack, somehow QOpenGLWidget is messing with the rendering of the side bar (wrong buffer swapping). 2016-08-25 18:58:59 +02: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
87e9cf92ff Use FAV_ID instead of hardcoded value. 2016-08-23 22:23:06 +02:00
Luis Ángel San Martín
983a035c31 New method for getting the comics being read, plus added the read state to comics loaded for being served. 2016-08-23 22:22:46 +02:00
Luis Ángel San Martín
a6204bcc65 Fixed Favorites resorting. 2016-08-23 22:03:56 +02:00
Luis Ángel San Martín
94251d3045 Fixed how Favorites are loaded by using the right sorting. 2016-08-23 22:03:20 +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
a17de2e7ef New method for loading the comics in favorites (server listing). 2016-08-23 18:07:19 +02:00
Luis Ángel San Martín
e5671806fc Optimize comic info loading for the server. 2016-08-23 18:04:20 +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
b0b13de52d New method for getting the comics in a tag (aka label). 2016-08-22 23:03:18 +02:00
Luis Ángel San Martín
9cfb4e0f38 Fixed warning. 2016-08-22 13:44:43 +02:00
Luis Ángel San Martín
b356310a7b merged develop 2016-08-22 13:38:52 +02:00
Luis Ángel San Martín
264b016d8b merged 2016-08-22 13:24:43 +02:00
Luis Ángel San Martín
aa50f6cdda Added hack for fixing fullscreen context menus with QOpenGLWidget in YACReaderLibrary (Windows). Tested and working in Qt5.7. 2016-08-22 13:21:13 +02:00
Felix Kauselmann
87551f53d9 Add missing virtual destructor to ListItem class. 2016-07-10 14:36:32 +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
Luis Ángel San Martín
bde712d54b Initialize Static::yacreaderSessionStore. 2016-06-24 18:29:44 +02:00
Luis Ángel San Martín
c408a77e85 Initialize the static pointer to the yacreader session store. 2016-06-24 18:29:08 +02:00
Luis Ángel San Martín
0358fab47a Replace the yacreader sessions map with the new store. 2016-06-24 18:28:44 +02:00
Luis Ángel San Martín
0788ae12a2 Implemented YACReaderHttpSessionStore. 2016-06-24 18:28:22 +02:00
Luis Ángel San Martín
45ab9bc71f Added a new class for storing YACReaderHttpSession objects. 2016-06-24 17:26:51 +02:00
Luis Ángel San Martín
d2e3b51089 Use the new session object in the all the controllers that need yacreader session information. 2016-06-22 20:14:37 +02:00
Luis Ángel San Martín
b3aca9b542 Use the YACReaderHttpSession in request mapper. If yareader session is not set, create a YACReaderHttpSession for matching the current session. 2016-06-22 20:12:34 +02:00
Luis Ángel San Martín
d94f9201ee Replaced the no longer existing HttpResponse::writeText with HttpResponse::write. 2016-06-22 20:07:50 +02:00
Luis Ángel San Martín
0b9e840bf0 Fixed static member initialization. 2016-06-22 20:02:02 +02:00
Luis Ángel San Martín
507168cb93 Fixed some missing resturns and ambiguous assignments in YACReaderHttpSession 2016-06-22 20:01:36 +02:00
Luis Ángel San Martín
706e0921f3 Update httpserver to 1.6.5 2016-06-22 19:09:04 +02:00
Luis Ángel San Martín
44d7c892c1 Use YACReaderHttpSession in Static, so YACReader's session data will be available outside HttpSession. 2016-06-21 22:00:48 +02:00
Luis Ángel San Martín
e67d34a511 Added a new class for storing specific YACReader's http session data. 2016-06-21 21:56:52 +02:00
Luis Ángel San Martín
d2b7487149 Extracted default templateengine setting to Startup, so base code is no longer modified. 2016-06-17 20:11:32 +02:00
Luis Ángel San Martín
95cb741880 Fixing copy paste code error. 2016-06-17 20:08:56 +02:00
Luis Ángel San Martín
232a22489f Fixed setting default value to "minLevel" in log settings. 2016-06-17 20:03:06 +02:00
Luis Ángel San Martín
3675aebdc5 Updated templateengine base code to 1.6.5 2016-06-17 19:56:55 +02:00
Luis Ángel San Martín
5ae7e9fd3f Restored the default behaviour of exiting the app after a fatal error log. I didn't see fatal log messages, so this should be safe. 2016-06-17 19:46:45 +02:00
Luis Ángel San Martín
770aeb2533 Extracted default server log settings to Startup, so there is no need to modify QtWebApp base code. 2016-06-17 19:45:24 +02:00
Luis Ángel San Martín
1657111621 Updated loggin component of QtWebApp to version 1.6.5 2016-06-16 22:16:01 +02:00
Luis Ángel San Martín
e6d229680f renamed folders and files, preparing the code structure to be updated to the latest version of QtWebApp 2016-06-16 19:46:58 +02:00
Luis Ángel San Martín
edbb642cee merged develop 2016-06-16 19:23:36 +02:00
Luis Ángel San Martín
3b08264f6a fixed libraries paths in YACReaderLibraryServer 2016-05-21 21:11:04 +02:00
Luis Ángel San Martín
d011ea2586 fixed log output level in YACReaderLibraryServer 2016-05-21 19:02:04 +02:00
Luis Ángel San Martín
0d661fbf96 fixed previous commit, script module was removed from the wrong .pro file 2016-05-20 23:08:56 +02:00
Luis Ángel San Martín
e8ddfb8f45 removed unneeded Qt module from YACReaderLibraryServer.pro 2016-05-20 23:05:22 +02:00
Luis Ángel San Martín
1cee864583 merged 2016-05-19 20:06:42 +02:00
Luis Ángel San Martín
dd64e013be added a hack for fixing fullscreen context menus with QOpengGLWidget in YACReader 2016-05-01 21:52:22 +02:00
Luis Ángel San Martín
581592909d merged develop 2016-04-19 23:19:39 +02:00
Luis Ángel San Martín
cd2ab92ee2 Raise server log level. 2016-04-19 22:23:15 +02:00
Luis Ángel San Martín
6a06217f0a Save the width of comic info view in the GridView. 2016-04-19 21:56:05 +02:00
Luis Ángel San Martín
0486e5eb5f Added an icon for the show info toolbar action and a setting for remembering its configuration. 2016-04-19 10:48:48 +02:00
Luis Ángel San Martín
64b77586fc Implemented logic for comic info interactive items (read, fav, rating) 2016-04-18 23:21:54 +02:00
Luis Ángel San Martín
6b9041c095 Set a minimum width for the grid view. 2016-04-18 18:50:33 +02:00
Luis Ángel San Martín
b63562f107 Increased scroll speed for info scroll view. 2016-04-18 18:25:04 +02:00
Luis Ángel San Martín
bd78b6f504 Enabled context menut and double click for opening in comic info view. 2016-04-18 17:56:39 +02:00
Luis Ángel San Martín
b983de8888 Fixed double click for opening. 2016-04-18 17:45:54 +02:00
Luis Ángel San Martín
4f0bd14f3d Enabled drop to import into info comics view. 2016-04-18 17:36:06 +02:00
Luis Ángel San Martín
dd5f413ce2 Enable drop support for info comics view. 2016-04-18 17:27:46 +02:00
Luis Ángel San Martín
af235fb516 Fixed drop filtering in GridView. 2016-04-18 17:21:54 +02:00
Luis Ángel San Martín
c052a82195 Use the comics selection helper in the info comics view. 2016-04-18 14:30:28 +02:00
Luis Ángel San Martín
771597e4f4 Use a SplitView in GridView, so the user can resize the comic info view. 2016-04-18 13:28:08 +02:00
Luis Ángel San Martín
1285b46a4c Use the new selection helper class in GridView. 2016-04-18 13:27:37 +02:00
Luis Ángel San Martín
1045081601 Updated YACReaderLibrary .pro file. 2016-04-18 13:26:04 +02:00
Luis Ángel San Martín
eaee7d78d9 Added a new class for dealing with comics selection in comics views. 2016-04-18 13:24:59 +02:00
Luis Ángel San Martín
11f0ea61a7 Implemented selection model in info comics view, so toolbar actions become usable. 2016-04-17 22:27:59 +02:00
Luis Ángel San Martín
49009f78ee Use nullptr instead of NULL with selection model. 2016-04-17 21:58:54 +02:00
Luis Ángel San Martín
aad00d77d3 Implemented InfoRating interaction and value. 2016-04-17 21:49:54 +02:00
Luis Ángel San Martín
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
Luis Ángel San Martín
11456f8a1d Added user interaction capabilities to InfoFavorites. 2016-04-17 11:19:38 +02:00
Luis Ángel San Martín
8aaefd4a4e Remove showInfoAction from the toolbar on grid view close. 2016-04-17 10:32:15 +02:00
Luis Ángel San Martín
2199206401 Update comic info when the index changes in GridView. 2016-04-16 22:57:27 +02:00
Luis Ángel San Martín
28b5a29da9 Added a new action for showing, hiding QML ComicInfo view into the GridView. 2016-04-16 22:40:42 +02:00
Luis Ángel San Martín
ba5dfc0807 Use a context property for setting the comic info visibility. 2016-04-16 22:29:31 +02:00
Luis Ángel San Martín
0aa3aee921 Added publishing information to ComicInfo.qml 2016-04-16 21:30:32 +02:00
Luis Ángel San Martín
11b5e555cd Rearanged methods declaration in GridView 2016-04-16 13:51:23 +02:00
Luis Ángel San Martín
ecb2920685 Fixed shift select functionality in grid view. 2016-04-16 13:50:57 +02:00
Luis Ángel San Martín
d3cb607ac6 Removed no needed signal. 2016-04-16 13:20:14 +02:00
Luis Ángel San Martín
7dea2dec48 Rearranged code. 2016-04-16 13:15:46 +02:00
Luis Ángel San Martín
cacc2a8ea8 Implemented a few trivial methods. 2016-04-15 23:02:48 +02:00
Luis Ángel San Martín
6c76aaffc8 Keep all comics views in memory, views are going to be created lazily. This should fix the issues with QML context deallocating objects between views switching. 2016-04-15 17:05:59 +02:00
Luis Ángel San Martín
4ef185c885 Check model rowCount before accessing to data. 2016-04-13 22:51:15 +02:00
Luis Ángel San Martín
cfece24a3f Show the comics view only if it is needed. 2016-04-13 22:08:32 +02:00
Luis Ángel San Martín
655b39e945 Renamed method. 2016-04-13 22:02:50 +02:00
Luis Ángel San Martín
13ceedc8ec Update comicInfo when the read tick is activated by the user. 2016-04-13 18:13:07 +02:00
Luis Ángel San Martín
0c95001fc5 Added a mouse click handler to InfoTick view plus a signal for notifying user interaction. 2016-04-13 18:02:02 +02:00
Luis Ángel San Martín
b13cf09c09 Added read marks to FlowView.qml 2016-04-13 17:59:49 +02:00
Luis Ángel San Martín
8a478a2ef0 Removed FIXME. 2016-04-12 23:16:49 +02:00
Luis Ángel San Martín
5969fbdd87 Set toolbar in info comic view. 2016-04-12 23:15:10 +02:00
Luis Ángel San Martín
d9105267ac Layout fixes. 2016-04-12 23:08:18 +02:00
Luis Ángel San Martín
4fcd7225da This again :/, fixing this needs a separated feature branch and long debuging session. 2016-04-12 23:01:39 +02:00
Luis Ángel San Martín
939a52dd6e Pass comic and comicInfo to the QML context when the current index is updated, so the ComicInfo view becomes functional. 2016-04-12 22:37:52 +02:00
Luis Ángel San Martín
1612402456 Register ComicDB in GridView too. 2016-04-12 22:35:07 +02:00
Luis Ángel San Martín
2bb8ec8141 Typo 2016-04-12 22:32:33 +02:00
Luis Ángel San Martín
27eebaec17 Use ComicDB and ComiInfo for filling the information in ComicInfo.qml 2016-04-12 22:12:06 +02:00
Luis Ángel San Martín
7ed4c27c01 better approach to avoid comic model problems after switching views 2016-04-10 22:51:20 +02:00
Luis Ángel San Martín
ea4b9a69d4 changed points to pixels for keeping visual size consistency between osx and windows 2016-04-10 22:10:18 +02:00
Luis Ángel San Martín
aa93ac2472 fixed OSX compilation 2016-04-10 21:57:29 +02:00
Luis Ángel San Martín
0d21548638 Register ComicInfo from the grid view controller. 2016-04-10 20:18:38 +02:00
Luis Ángel San Martín
8807a3b509 Link the FlowView in QML with the c++ view controller, so the comic info can be updated whenever the selected comic changes. 2016-04-10 20:11:30 +02:00
Luis Ángel San Martín
af772f8aee Emit a signal from FlowView when the index changes. 2016-04-10 20:07:27 +02:00
Luis Ángel San Martín
3d5eb94ffd Added a property to ComicInfo for storing the model information. 2016-04-10 20:06:52 +02:00
Luis Ángel San Martín
39acc64a68 No more graphical effects on the parent. 2016-04-09 21:51:12 +02:00
Luis Ángel San Martín
49a70c496f Use the right type for InfoFavorites. 2016-04-09 21:35:37 +02:00
Luis Ángel San Martín
42cb3f5ddf Don't use QtGraphicalEffects on parents. 2016-04-09 21:16:56 +02:00
Luis Ángel San Martín
82712e0155 Use direct index asigment on item click. 2016-04-09 19:41:51 +02:00
Luis Ángel San Martín
d17aa196b6 Animated border opacity in grid view when an item is selected or the mouse is hover. 2016-04-09 19:17:18 +02:00
Luis Ángel San Martín
874bc595e3 Improved wheel mouse scrolling in FlowView.qml 2016-04-09 18:52:12 +02:00
Luis Ángel San Martín
6332b4f6e1 Index can't exceed count - 1 2016-04-09 18:51:39 +02:00
Luis Ángel San Martín
48d9c9fdd0 Changed the comics view transition for a simple plain view. In a future the views swaping should be fixed using double buffering. 2016-04-09 14:57:33 +02:00
Luis Ángel San Martín
79b7654924 Show comic info in InfoComicsView 2016-04-09 11:58:09 +02:00
Luis Ángel San Martín
88f2d2a754 Added the basic structure of ComicInfo view. 2016-04-09 11:52:23 +02:00
Luis Ángel San Martín
0b379dbd0b Prepare GridComicsView for showing the comic info view. 2016-04-09 11:43:59 +02:00
Luis Ángel San Martín
43b1fb18e2 Added a new style for the scrollbar in GridComicsView. YACReaderScrollViewStyle is needed because YACReaderScrollView is used instead of ScrollView. 2016-04-09 11:40:50 +02:00
Luis Ángel San Martín
7a43ec131c Updated YACReaderScrollView to the latest SrollView version 2016-04-09 11:39:33 +02:00
Felix Kauselmann
801f94bee8 headless build system cleanup 2016-04-07 00:15:39 +02:00
Luis Ángel San Martín
d3528bf7fa Added a new property to FlowView for controlling the spacing between items. 2016-03-28 19:36:47 +02:00
Luis Ángel San Martín
0318b87697 Added new QML item for displaying the information of a comic. 2016-03-28 19:21:41 +02:00
Luis Ángel San Martín
6b3d5b04d7 Added a busy indicator to the flow view covers. 2016-03-28 19:21:03 +02:00
Luis Ángel San Martín
a28a5de278 Fixed spacing in FlowView. 2016-03-28 19:14:33 +02:00
Luis Ángel San Martín
14663f10ae new tool bar icon for the new comics view mode 2016-03-28 12:03:11 +02:00
Luis Ángel San Martín
81c785f787 Added new info comcis view skeleton + setting the comics model. So far it can loads the list of covers from the model. FlowView.qml will be a FlowGL replacement that will be the default in the ANGLE version and an option in the main version. 2016-03-28 11:40:17 +02:00
Luis Ángel San Martín
56e7737931 Fixed ComicModel QML registering 2016-03-28 11:37:45 +02:00
Luis Ángel San Martín
c8d4d43b66 added the new info comics view to the switch views rotation 2016-03-27 10:33:13 +02:00
Luis Ángel San Martín
cf369485c6 Move attributes from public to protected. 2016-03-26 23:11:41 +01:00
Luis Ángel San Martín
649da584da Added new comics view class oriented to showing comics metadata. 2016-03-26 23:08:56 +01:00
Luis Ángel San Martín
61ae9dc028 removed coment 2016-03-26 21:51:11 +01:00
Luis Ángel San Martín
a4375f0c8e moved comics views managment code to the new class 2016-03-26 21:47:46 +01:00
Luis Ángel San Martín
704408f704 Added new class for dealing with all the comics' views. This way all the related code will be moved away from the library window controller. 2016-03-26 19:59:35 +01:00
Luis Ángel San Martín
1b5797b67c fixed rating context menu in grid view 2016-03-26 13:57:38 +01:00
Luis Ángel San Martín
4b8462459a fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler 2016-03-26 11:31:25 +01:00
Luis Ángel San Martín
e5a9fbbf3e added a drop shadow for grid elements in windows/linux 2016-03-26 09:31:09 +01:00
Luis Ángel San Martín
011176bebb merged master 2016-03-25 17:15:14 +01:00
Luis Ángel San Martín
6df834d5c9 merged develop 2016-03-25 17:14:09 +01:00
Luis Ángel San Martín
71d9254446 fixed resorting comics by drag&drop in tags and reading lists 2016-03-25 14:15:49 +01:00
Luis Ángel San Martín
8179092d56 added a border to selected/mouseHover elements in the grid view 2016-03-25 11:30:31 +01:00
Luis Ángel San Martín
a60d3dffd8 fixed QR image generation in retina display mode 2016-03-20 20:03:40 +01:00
Luis Ángel San Martín
fff2f82955 fixed bug causing start drag on show context menu in the grid view 2016-03-20 12:32:10 +01:00
Luis Ángel San Martín
fafd573b6a reduce the log messages with INFO level 2016-03-15 20:55:00 +01:00
Luis Ángel San Martín
e266813e63 Changed the log level for the main YACReaderLibrary log 2016-03-15 20:06:08 +01:00
Luis Ángel San Martín
8ffb8183e1 Changed the log level for server_log 2016-03-15 19:55:18 +01:00
Luis Ángel San Martín
a66e39802a Updated translation files 2016-03-15 19:19:52 +01:00
Felix Kauselmann
23e6977035 Fix change_fit_action shortcut regression 2016-02-18 21:21:03 +01:00
Luis Ángel San Martín
3df1e99929 replaced separator char 2016-01-25 22:28:15 +01:00
Luis Ángel San Martín
4350d6797e added a new controller for serving the tags in a library 2016-01-25 22:23:49 +01:00
Luis Ángel San Martín
cfffc1bae8 fixed Content-Type for various controllers 2016-01-25 21:22:39 +01:00
Luis Ángel San Martín
88056c819f updating folders' children info for every insert/delete in the db causes big performance issues, so that info is going to be updated explicitly 2016-01-25 18:45:50 +01:00
Luis Ángel San Martín
00f45b9a27 using static regular expresions was a bad idea 2016-01-25 18:40:28 +01:00
Luis Ángel San Martín
d5d9e5206f send the hash of the first comic in a folder, so the client can display an image for that folder 2016-01-24 19:20:00 +01:00
Luis Ángel San Martín
74c64e0280 use the hash of the first comic in a folder for displaying and image for the folder 2016-01-24 19:14:54 +01:00
Luis Ángel San Martín
e23f6b0bc3 store the hash of the first comic in a folder, this is more useful than storing the id 2016-01-24 19:14:16 +01:00
Luis Ángel San Martín
b9e7dbe41e Everytime the content of a folder changes, update numChildren and firstChildId. This could cause performance issues, but the initial tests look good, and it seems that the overhead could be considered negligible. On the other hand, client queries are several times faster. 2016-01-24 18:52:25 +01:00
Luis Ángel San Martín
3cda11eec7 fixed db creation 2016-01-24 18:47:09 +01:00
Luis Ángel San Martín
bac7fe1351 updated Folder class 2016-01-24 17:41:26 +01:00
Luis Ángel San Martín
37328edc64 added a new web controller for providing the content information of a folder 2016-01-24 14:15:18 +01:00
Luis Ángel San Martín
4b3ffdc665 set numChildren to -1 if there is no value in the data base 2016-01-24 14:12:38 +01:00
Luis Ángel San Martín
35b87a9f59 added missing method declaration 2016-01-24 12:56:54 +01:00
Luis Ángel San Martín
2703219a0a map new fields on folder table to model class 2016-01-24 12:14:31 +01:00
Luis Ángel San Martín
cf79dbad91 update the folder table properly in 8.6 version 2016-01-24 10:52:55 +01:00
Luis Ángel San Martín
b0060795b5 added new method for adding constraints to an existing table 2016-01-24 10:52:12 +01:00
Luis Ángel San Martín
37d177e65a removed extra comma 2016-01-24 10:45:07 +01:00
Luis Ángel San Martín
b8031268d0 resort db tables creation 2016-01-24 10:36:19 +01:00
Luis Ángel San Martín
e130698ee9 prepare db update for future 8.6 version 2016-01-24 10:34:54 +01:00
Luis Ángel San Martín
e9210bb366 added a new db helper method for knowing the number of elements in a folder 2016-01-24 10:04:40 +01:00
Luis Ángel San Martín
1009b84363 added new web controller for knowing the version of the web api 2016-01-23 16:06:47 +01:00
Luis Ángel San Martín
97c788203c fixed several qml warnings 2016-01-13 21:24:23 +01:00
Luis Ángel San Martín
ac4772812a merged 2016-01-13 19:31:57 +01:00
Luis Ángel San Martín
543d4f3bbe fixed setting QApplication version number for YACReaderLibrary 2016-01-13 19:19:09 +01:00
Luis Ángel San Martín
4b1ab90aa2 added a reset settings values for grid background 2016-01-03 14:58:18 +01:00
Luis Ángel San Martín
ca9a0a47b7 typo 2016-01-03 14:43:57 +01:00
Luis Ángel San Martín
7c98ebc346 fixed adaptative wheel step size in the grid view using a private property of ScrollView __wheelAreaScrollSpeed 2016-01-03 14:28:46 +01:00
Luis Ángel San Martín
135f2432f1 fixed bug grid view when the current index is requested, if there are no comics then a invalid QModelIndex should be returned 2016-01-03 13:10:04 +01:00
Luis Ángel San Martín
1a8b629e71 added new setting to the UI for using the selected comics cover as background image in the grid view 2016-01-03 13:09:10 +01:00
Luis Ángel San Martín
7ade7e677a added commands for adding/removing existing libraries 2016-01-02 11:36:22 +01:00
Luis Ángel San Martín
16a69a0d3a Added support for using the selected comic cover as background in the grid view. TODO: implement the UI so the user can change the behaviour 2016-01-02 10:50:03 +01:00
Luis Ángel San Martín
9a62cd4a72 added a QStyledItemDelegate to the list QListView in EmptyFolderWidget to center aling folders' names 2016-01-01 13:11:31 +01:00
Luis Ángel San Martín
1ceda5b9d7 only start the server if the command 'start' is used 2016-01-01 11:58:47 +01:00
Felix Kauselmann
ceb5b38cd6 Fix compilation with Qt 5.6 2016-06-11 11:46:52 +02:00
Luis Ángel San Martín
ea625eac29 use the same app name for YACReaderLibraryServer, so it will use by default the same config as YACReaderLibrary 2015-12-30 22:21:19 +01:00
Luis Ángel San Martín
9be0617626 fixed warnings 2015-12-17 21:50:36 +01:00
Luis Ángel San Martín
45fcaa8b2f fixed settings path for server config 2015-12-13 21:46:37 +01:00
Luis Ángel San Martín
7153f65406 added update-library functionality to yacrlserver 2015-12-13 21:15:04 +01:00
Luis Ángel San Martín
aba3d0f1f6 disabled qDebug() output in the whole server project 2015-12-13 21:12:28 +01:00
Luis Ángel San Martín
df6560fcc1 added missing file 2015-12-13 20:30:38 +01:00