Luis Ángel San Martín
72535ffc98
Fix crasher when updating the comics model
2024-11-03 14:48:37 +01:00
Luis Ángel San Martín
611880aba8
Typos
2024-11-03 14:41:41 +01:00
Luis Ángel San Martín
f9039c7a26
Add support for setting the content type to a whole library
2024-07-09 19:18:22 +02:00
Luis Ángel San Martín
9436520399
Merge branch 'develop' of https://github.com/YACReader/yacreader into develop
2024-02-13 18:41:33 +01:00
Luis Ángel San Martín
2b2762c045
Improve and fix comic file size format
2024-02-13 18:41:23 +01:00
Luis Ángel San Martín
24719fa54b
Merge pull request #419 from selmf/unarr-7z
...
Unarr: Enable 7z for unarr 1.1.x +
2024-02-13 18:04:30 +01:00
Felix Kauselmann
b4a7d86f96
Unarr: Add 7z to reader file selector and library database for unarr 1.1.x
2024-02-12 22:54:39 +01:00
Luis Ángel San Martín
7baf144c69
Fix columns in the search results.
2024-02-06 18:13:57 +01:00
Luis Ángel San Martín
abdf5bda4f
Show the current type as checked in the context menu
2024-01-19 16:43:37 +01:00
Luis Ángel San Martín
16924eea38
Fix url creation for local files
2023-11-29 18:02:56 +01:00
Felix Kauselmann
9278160bbc
ComicInfo::getTypeString: Return an empty string for unhandled enums ( #403 )
...
* ComicInfo::getTypeString: Add default return for unhandled enum
* CXX flags: Promote warnings about missing branches in enum-based switches as errors
* Add missing case in switch
* Catch conversion errors in debug mode and silence missing return warnings
* Replace default with missing cases
* ComicInfo::getTypeString: Use QStringLiterals
* Revert "CXX flags: Promote warnings about missing branches in enum-based switches as errors"
This reverts commit d22c115925
.
---------
Co-authored-by: Luis Ángel San Martín <luisangelsm@gmail.com>
2023-10-28 17:07:32 +02:00
Luis Ángel San Martín
f319b00c70
Add a data migration to ensure that the number types are migrated to text in the db schema
...
This fixes a problem storing some text number formats in the db when the type is integer.
2023-10-15 12:53:30 +02:00
Luis Ángel San Martín
e6e5208001
Add new columns to the comics model
2023-10-09 19:26:53 +02:00
Luis Ángel San Martín
585ec86b61
Use DB_VERSION instead of VERSION
2023-09-02 22:20:38 +02:00
Luis Ángel San Martín
060131d66a
Don't reload anything if the model is not loaded
2023-08-21 22:43:59 +02:00
Luis Ángel San Martín
7249988837
Return invalid databases if the database doesn't exist
2023-08-21 22:40:27 +02:00
Luis Ángel San Martín
ab9472cb58
Add a method for triggering the change of a comic cover from the model
...
Sad day for nice code.
2023-08-17 19:41:13 +02:00
Luis Ángel San Martín
3a0e8db189
Implement support for updating ComicModel without resetting the whole model
...
TODO: Favorites, Label, ReadingList still fallback to full reload because we need a way of comparing old vs new results. SearchResult does nothing because we don't have access to the search query.
2023-08-13 11:40:59 +02:00
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