f9039c7a26
Add support for setting the content type to a whole library
2024-07-09 19:18:22 +02:00
374898702d
Fix folders type when they are added
2024-02-12 19:33:14 +01:00
19e45ef9de
Fix issues getting marked as opened because android minimum current page is 1
2024-02-02 13:04:38 +01:00
08cbb88891
Mark function as deprecated and remove unused function
2024-01-31 19:07:27 +01:00
7a72e7588b
Fix type propagation from the container folder
2024-01-19 16:44:12 +01:00
9ae4911b78
Fix parentId value when a folder info is requested to the server
2024-01-17 16:23:54 +01:00
04f0d22563
Fix "more recent" calculation in the server side
...
All comics received were being sent back if they were already opened
2024-01-13 17:19:20 +01:00
9e05f8ea6e
Add function for loading a single folder by id
2024-01-07 09:18:16 +01:00
15619ed96c
Load comic number when getting the comics currently being read
2024-01-07 09:09:22 +01:00
682f5761b2
Propagate updates to all the parent folders
2023-10-19 19:34:02 +02:00
acd5caa9fe
Rename variable to match logic
2023-07-10 08:38:03 +02:00
51a4dbf049
Remove deprecated property manga
from folder and comic_info
2023-06-10 11:09:55 +02:00
21e237ccf9
Update added
with the modified date in comics added before the new metadata refactoring
2023-06-06 21:45:20 +02:00
11df4a9b42
Update inserted folders with the added date
2023-05-20 16:14:30 +02:00
6ba6adb26f
Fix loading folder from sql query
2023-05-17 18:29:16 +02:00
f2bf53ce5b
Add new fields to the DB and make then available to be used in the apps
2023-05-12 16:59:23 +02:00
689e31891f
Extract method
2022-10-24 19:00:04 +02:00
3fecc3316e
Use the updated folders
2022-10-24 07:38:17 +02:00
a2541a4c96
Exclude root folder
2022-10-24 07:37:36 +02:00
61458b966c
Add a output parameter to know if a comic is found in the DB when we try to load it
2022-10-15 11:42:20 +02:00
23deb889b9
Use always the first comic as the cover of a folder
...
There is no way to show comics and folders together in YACReaderLibrary yet, so it looks confusing to use the cover from a sub-folder.
2022-10-12 22:17:22 +02:00
60e2255886
Fix infinite loop when propagateFolderUpdatesToParent is invoked using the root folder
2022-09-12 19:24:41 +02:00
243892f5d3
Remove debug output
2022-09-01 11:09:02 +02:00
8a6ec5fcc6
Assign covers to folders from subfolders & comics
...
Before this commit folder with no direct comics (only subfolders) didn't have a cover image to be displayed. Now updating the children info is done recursively and subfolders are taken into account.
This affects the iOS client remote browser so far, but it is also needed for the future browser update (display folders as a grid instead of using EmptyFolderWidget)
2022-08-31 18:58:25 +02:00
c9bb429ad6
Remove unused method
2022-08-31 16:13:28 +02:00
59ff02631e
Fix comic number missing from reading lists content provided through the server
2022-08-09 16:42:18 +02:00
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
80f808bd68
Insert xml info while adding a comic to the library
2021-09-27 15:41:33 +02:00
f9285bd099
Add a flag to getReadingListFullContent so it can load all the fields
2021-05-27 18:39:00 +02:00
7bb450408c
Extract "query to ComicInfo" to its own method to avoid duplicated code
2021-05-27 18:38:24 +02:00
13a29e2657
Make "delete" icon work properly in the "Reading" list
...
Only the "Favorites" special list was handled.
2021-05-16 09:01:35 +02:00
811c3fcfe4
Add function to get comics from a folder properly sorted
2021-04-30 09:52:10 +02:00
4dcbb958dc
Eliminate QStringList <=> QList<QString> conversions
...
The conversions prevented return value optimization and caused a
-Wreturn-std-move Clang warning.
2021-03-09 21:32:23 +01:00
3c9ed6ef8f
Deprecated qSort => std::sort
...
This change gets rid of some GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
3f6c44ce7a
Fix SQL update query for setting manga
in all the comics in a folder
2021-01-17 14:05:14 +01:00
6461a4014e
Add actions for setting folders as manga/normal
2021-01-16 18:31:48 +01:00
60de69635b
Get/set new manga field from/to the db
2021-01-16 18:30:25 +01:00
3ab05c6777
Add a new boolean field for tagging comics as manga
2021-01-16 14:23:59 +01:00
2b780e23a4
Make updateFromRemoteClient
return more updated comics
...
So they can be sent back to the client.
2020-08-25 19:01:43 +02:00
4b3042def4
Fix object leaks in database code
...
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.
Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
a6bfd44aec
Remove clear from sql query
...
It was committed by mistake
2019-09-16 23:44:30 +02:00
9056fffb66
Use db transactions when updating the progress from iOS
...
Timeouts were a problem before.
2019-08-24 13:31:52 +02:00
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
3babc0980e
Library: remove unused variable
2019-04-01 11:25:16 +02:00
66941510f0
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
d5a11fb16b
Add .gitattributes rules for text and binary handling
2018-07-30 15:04:04 +02:00
9cc4f65fc8
Use older api currentSecsSinceEpoch was introduced in Qt 5.8
2018-05-28 21:18:11 +02:00
1cd33197cc
Set hasBeenOpened as true if currentPage > 1
...
I have seen comics opened with hasBeenOpened to false.
2018-05-25 19:28:20 +02:00
a8655b1037
All lists should load the coverSizeRatio
2018-05-22 18:58:33 +02:00