b0d2d05bc9
Change the type of path passed to DataBaseManagement::updateToCurrentVersion
2025-03-29 13:29:09 +01:00
d4b7c6dd8a
Extract library paths methods to it's own struct in yacreader_global.h and use it everywhere
2025-03-29 11:31:53 +01:00
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
585ec86b61
Use DB_VERSION instead of VERSION
2023-09-02 22:20:38 +02:00
7249988837
Return invalid databases if the database doesn't exist
2023-08-21 22:40:27 +02:00
51a4dbf049
Remove deprecated property manga
from folder and comic_info
2023-06-10 11:09:55 +02:00
3d95ea37a1
Add "added" date to the root folder
2023-05-17 20:31:34 +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
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
aee337f776
Fix export/import comic tags
...
It should be ready to work as a backup system
2022-09-01 11:10:01 +02:00
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
da51bd45c6
Use InitialComicInfoExtractor everywhere
2021-09-27 15:39:37 +02:00
1e81b58e5c
Add message about wrong type in ageRating field
2021-09-26 18:44:35 +02:00
c3a99b19a5
Fix library creation on 9.8.0 by adding missing manga
field to folder
2021-05-08 15:21:30 +02:00
f7fa4adbd0
Add manga
field to folders too
...
This way we can tell the app that a folder contains mangas so the user doesn't have to constantly set comics as manga when new issues are added. And it should be easier to set all the content in a folder as manga from the folder tree.
2021-01-16 18:29:22 +01:00
3ab05c6777
Add a new boolean field for tagging comics as manga
2021-01-16 14:23:59 +01: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
4126fc71c3
Remove unused variables
2019-06-01 16:04:48 +02:00
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
2189e19a91
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
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
d7c633cf3f
Fix data base management + include cover thumbnails scan to calculate coverSizeRatio.
2018-03-12 21:21:30 +01:00
ffd9631b72
Add original cover size to the comic_info table.
2018-03-11 15:29:01 +01:00
69395398e1
Partial support for storing the cover information in the DB. Work in progress.
2018-03-11 14:43:07 +01:00
f149f314e0
Merge
2017-08-26 16:54:10 +02:00
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