Commit Graph

175 Commits

Author SHA1 Message Date
b7fb45a331 Add support for storing and serving the new comic filters format
It's already implemented on iOS and next is supporting it on Android.
2025-06-14 09:56:33 +02:00
b976b7f809 Add support for setting custom covers on folders 2025-05-08 22:00:55 +02:00
8f84fc7902 Log libraries validation when YACReaderLibrary and YACReaderLibraryServer start 2025-03-30 22:24:17 +02:00
52f1a57c47 Fix compilation 2025-03-30 21:23:54 +02:00
181884a85f More migrations to LibraryPaths 2025-03-30 15:17:24 +02:00
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
72535ffc98 Fix crasher when updating the comics model 2024-11-03 14:48:37 +01:00
611880aba8 Typos 2024-11-03 14:41:41 +01:00
f9039c7a26 Add support for setting the content type to a whole library 2024-07-09 19:18:22 +02:00
9436520399 Merge branch 'develop' of https://github.com/YACReader/yacreader into develop 2024-02-13 18:41:33 +01:00
2b2762c045 Improve and fix comic file size format 2024-02-13 18:41:23 +01:00
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
b4a7d86f96 Unarr: Add 7z to reader file selector and library database for unarr 1.1.x 2024-02-12 22:54:39 +01:00
7baf144c69 Fix columns in the search results. 2024-02-06 18:13:57 +01:00
abdf5bda4f Show the current type as checked in the context menu 2024-01-19 16:43:37 +01:00
16924eea38 Fix url creation for local files 2023-11-29 18:02:56 +01:00
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
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
e6e5208001 Add new columns to the comics model 2023-10-09 19:26:53 +02:00
585ec86b61 Use DB_VERSION instead of VERSION 2023-09-02 22:20:38 +02:00
060131d66a Don't reload anything if the model is not loaded 2023-08-21 22:43:59 +02:00
7249988837 Return invalid databases if the database doesn't exist 2023-08-21 22:40:27 +02:00
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
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
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
82aa380bb5 Add methods to ComicItem to get/set the internal data 2023-08-13 11:13:21 +02:00
f33eb0f3f5 Fix name values used for comparison 2023-08-13 11:12:52 +02:00
a60e11d93a Add methods to FolderItem 2023-08-13 11:12:14 +02:00
231bc59a48 Do not parse any data, we only need the ids 2023-08-08 19:00:01 +02:00
df26f10b9f Remove unused include 2023-08-08 18:59:17 +02:00
5d10a03044 Fix crash when dropping comics in sublists 2023-07-10 08:39:31 +02:00
a77a704d48 Fix getting only distinct rows when querying folders through the search engine 2023-07-08 19:11:59 +02:00
51a4dbf049 Remove deprecated property manga from folder and comic_info 2023-06-10 11:09:55 +02:00
c30e1c6829 Use Q_DECLARE_METATYPE with TypeSpecialList 2023-06-03 17:39:41 +02:00
864516d781 Add Recent list. 2023-06-03 16:45:47 +02:00
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
7b88d47396 #include "yacreader_global.h" in Y_MAC_UI is used 2023-05-24 18:10:03 +02:00
315d2deced Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement 2023-05-23 18:51:33 +02:00
0dd167b9ca Remove TODOs 2023-05-21 21:11:58 +02:00
6d457be912 Improve search engine with new operators and new fields 2023-05-21 20:29:13 +02:00
45af72520b Add setting to control what "recent" is considered. 2023-05-20 17:43:38 +02:00
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
9c9b62db70 Fix role name 2023-05-20 15:33:47 +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
ceb34a1409 Extract sql queries creation for the search engine so we can reuse them 2023-04-07 10:49:09 +02:00
3e2bda7cf1 Extract function 2022-10-29 11:07:10 +02:00
9dc66f532f boolean -> bool 2022-10-25 08:51:52 +02:00