Luis Ángel San Martín
2e9ec030ad
Implement support for updating FolderModel without resetting the whole model
...
This will make views keep their state after an update.
2023-08-13 11:33:33 +02:00
Luis Ángel San Martín
82aa380bb5
Add methods to ComicItem to get/set the internal data
2023-08-13 11:13:21 +02:00
Luis Ángel San Martín
f33eb0f3f5
Fix name values used for comparison
2023-08-13 11:12:52 +02:00
Luis Ángel San Martín
a60e11d93a
Add methods to FolderItem
2023-08-13 11:12:14 +02:00
Luis Ángel San Martín
231bc59a48
Do not parse any data, we only need the ids
2023-08-08 19:00:01 +02:00
Luis Ángel San Martín
df26f10b9f
Remove unused include
2023-08-08 18:59:17 +02:00
Luis Ángel San Martín
5d10a03044
Fix crash when dropping comics in sublists
2023-07-10 08:39:31 +02:00
Luis Ángel San Martín
a77a704d48
Fix getting only distinct rows when querying folders through the search engine
2023-07-08 19:11:59 +02:00
Luis Ángel San Martín
51a4dbf049
Remove deprecated property manga
from folder and comic_info
2023-06-10 11:09:55 +02:00
Luis Ángel San Martín
c30e1c6829
Use Q_DECLARE_METATYPE with TypeSpecialList
2023-06-03 17:39:41 +02:00
Luis Ángel San Martín
864516d781
Add Recent
list.
2023-06-03 16:45:47 +02:00
Luis Ángel San Martín
e4dbe3d62e
Support filtering by since/before dates in the search engine
...
e.g. added>7 (recent content since 7 days ago) or added<30 (content added before the last 30 days)
2023-05-31 22:11:47 +02:00
Luis Ángel San Martín Rodríguez
7b88d47396
#include "yacreader_global.h" in Y_MAC_UI is used
2023-05-24 18:10:03 +02:00
Luis Ángel San Martín
315d2deced
Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement
2023-05-23 18:51:33 +02:00
Luis Ángel San Martín
0dd167b9ca
Remove TODOs
2023-05-21 21:11:58 +02:00
Luis Ángel San Martín
6d457be912
Improve search engine with new operators and new fields
2023-05-21 20:29:13 +02:00
Luis Ángel San Martín
45af72520b
Add setting to control what "recent" is considered.
2023-05-20 17:43:38 +02:00
Luis Ángel San Martín
6a6a239cc7
Add the possibility to show a recently added/updated indicator
2023-05-20 16:17:40 +02:00
Luis Ángel San Martín
9c9b62db70
Fix role name
2023-05-20 15:33:47 +02:00
Luis Ángel San Martín
3d95ea37a1
Add "added" date to the root folder
2023-05-17 20:31:34 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
830d8d911f
Fix type
...
It is used as a string, and because how sqlite3 works internally the field can actually store a string, so no need for data migration.
2023-05-03 18:58:32 +02:00
Luis Ángel San Martín
ceb34a1409
Extract sql queries creation for the search engine so we can reuse them
2023-04-07 10:49:09 +02:00
Luis Ángel San Martín
3e2bda7cf1
Extract function
2022-10-29 11:07:10 +02:00
Luis Ángel San Martín Rodríguez
9dc66f532f
boolean -> bool
2022-10-25 08:51:52 +02:00
Luis Ángel San Martín
02df90f3bd
Don't do any more iteration if we found the right index
2022-10-25 07:48:39 +02:00
Luis Ángel San Martín
cea26ecc20
Missing ;
2022-10-25 07:40:50 +02:00
Luis Ángel San Martín
54d2fba53d
Restore the selected index in the folders view when doing partial updates
2022-10-24 22:59:21 +02:00
Luis Ángel San Martín
31c4ae6561
More left side bar png to svg assets conversion
2022-10-23 10:43:37 +02:00
Luis Ángel San Martín
e8f31b39ee
Update the current comic model when the server gets a syn request
...
Sadly the grid view resets its scroll to origin. Not sure if it is going to bother anyone, we'll see.
2022-10-15 12:53:02 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
901f05feb1
Add a method to make a comics model reload the continue reading list
2022-10-14 20:54:07 +02:00
Luis Ángel San Martín
00f7d92c9a
Make sure that the changes made to folders are propagated to the subfolder model in FolderContentView
2022-10-13 19:28:55 +02:00
Luis Ángel San Martín
2e16dec51a
Update FolderModel to support new functionality
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
0a00fd3020
Add a new type of role to ComicModel to display a title composed with the available info
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
aa44ad4143
Remove old code
2022-09-16 19:32:30 +02:00
Luis Ángel San Martín
aee337f776
Fix export/import comic tags
...
It should be ready to work as a backup system
2022-09-01 11:10:01 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
d8f224645d
Remove YACReader::SearchModifiers
...
They are no longer used
2021-12-29 14:58:03 +01:00
Igor Kushnir
228fe1284e
Fix a typo in ConcurrentQueue::cancelPending function name
2021-12-29 09:36:44 +01:00
Luis Ángel San Martín
88de0ae25a
Add publication date to the classic comics view table
2021-12-26 20:26:16 +01:00
Luis Ángel San Martín
2cb20cd11e
Remove commented code
2021-12-26 20:23:32 +01:00
Luis Ángel San Martín
542b04287b
Remove unused function
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
da51bd45c6
Use InitialComicInfoExtractor everywhere
2021-09-27 15:39:37 +02:00
Luis Ángel San Martín
1e81b58e5c
Add message about wrong type in ageRating field
2021-09-26 18:44:35 +02:00
Felix Kauselmann
a623dfb133
Database Models: Remove obsolete signals
...
Folder model and comic model contain two signal relais which do not
serve any obvious purpose.
Remove them.
2021-06-29 13:53:12 +02:00
Luis Ángel San Martín
945b24a8f8
Extract opening a comic from YACReaderLibrary to its own file
...
And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
2021-05-27 18:48:52 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
c3a99b19a5
Fix library creation on 9.8.0 by adding missing manga
field to folder
2021-05-08 15:21:30 +02:00