Commit Graph

1265 Commits

Author SHA1 Message Date
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
865026e46f added new fields to Folder class 2016-01-24 11:36:12 +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
09e8062a9a removed unneeded animation in NotificationsLabelWidget 2016-01-13 22:02:15 +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
799cb10c02 fixed greedy regular expresions in HttpVersionChecker 2016-01-06 10:55:25 +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
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
Luis Ángel San Martín
a99dab4fbe removed some qdebug outputs 2015-12-13 18:57:22 +01:00
Luis Ángel San Martín
0c87ae06da partial command line UI implemented 2015-12-13 18:56:54 +01:00
Luis Ángel San Martín
53162217a0 removed command line options from YACReaderLibrary 2015-12-13 18:51:39 +01:00
Luis Ángel San Martín
a5baa5278e added new class for creating and updating libraries using command line, the opearion progress is shown in the console. TODO add the library to the settings files 2015-12-13 18:51:03 +01:00
Luis Ángel San Martín
2b4c972219 don't use QPixmap if it is not necessary, so QCoreApplication can be used instead of QGuiApplication 2015-12-13 18:45:48 +01:00
Luis Ángel San Martín
7443ed43be ugly fix for an ugly bug, crash on grid view setModel when switching comics views 2015-12-12 15:46:30 +01:00
Luis Ángel San Martín
46ea054d1a added TODO 2015-12-12 15:20:05 +01:00
Luis Ángel San Martín
a9b5b8bd7f cleaning in grid_comics_view.cpp 2015-12-12 15:13:40 +01:00