Commit Graph

1025 Commits

Author SHA1 Message Date
8e43bda13b Refresh current content after editing tags instead of doing a full reload.
TODO: detect row movements, now rows are deleted and readded
2023-08-13 12:31:19 +02:00
93a826f80a Setup LibrariesUpdateCoordinator 2023-08-13 11:57:40 +02:00
811ba2f957 Do models updates instead of do full library or folder reloads 2023-08-13 11:55:44 +02:00
7aac11483e Add method to YACReaderContentViewsManager to update the current content view 2023-08-13 11:43:28 +02:00
80ff6ed63b Add method to FolderContentView to reload its contents 2023-08-13 11:42:36 +02:00
b2d48a77ca Update the flow view with new covers when the model adds rows 2023-08-13 11:42:06 +02:00
0024d9afda Add method to ComicView to reload its content 2023-08-13 11:41:40 +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
c06156a937 Make ComicFlow/ComicFlowWidget able to insert new covers at a given position 2023-08-13 11:17:18 +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
f7d47103a2 Fix typo 2023-08-13 10:45:12 +02:00
6cef156893 Add new UI settings to control automatic library updates 2023-08-13 10:37:29 +02:00
afa9763499 Add class to coordinate automatic library updates 2023-08-13 10:33:24 +02:00
be7a16efa6 Refactor YACReaderLibraries
It includes a new UUID per library (which isn't used yet) and a new class YACReaderLibrary that replaces the old `QMap<QString, QPair<int, QString>>`.
2023-08-13 10:19:28 +02:00
dd411db9ef Remove commented code 2023-08-13 10:05:09 +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
71a7a07274 Add DB_VERSION to keep track of DBs versions
This will make easy to track compatibility with a certain DB structure across different flavors of YACReader. It will only change when the DB structure changes.
2023-08-06 08:55:55 +02:00
c0effb43b3 Fix set type context menu 2023-08-06 08:52:18 +02:00
5d10a03044 Fix crash when dropping comics in sublists 2023-07-10 08:39:31 +02:00
acd5caa9fe Rename variable to match logic 2023-07-10 08:38:03 +02:00
a77a704d48 Fix getting only distinct rows when querying folders through the search engine 2023-07-08 19:11:59 +02:00
3bcbcd06ba Try to fix compilation error in Linux with patched version of Qt 5 2023-07-08 16:53:54 +02:00
ceb230a21c Fix sorting in the volume selection dialog 2023-06-25 12:11:10 +02:00
756c514712 Do not generate the qr code if the server is off 2023-06-18 10:42:38 +02:00
5b5c5fc76b Cover page default value is 1
It's [1, numPages]
2023-06-11 08:54:51 +02:00
ecc1a3ef07 Avoid invalid coverPage values 2023-06-10 22:00:03 +02:00
51a4dbf049 Remove deprecated property manga from folder and comic_info 2023-06-10 11:09:55 +02:00
13993f0381 Default folder json includes the new fields so make search include them too 2023-06-10 11:00:44 +02:00
ac5ba7bb31 Include "file_type" 2023-06-10 11:00:02 +02:00
003d88aa24 Calculate manga from type when serving json from the SearchController 2023-06-10 10:59:28 +02:00
751954be76 include file_type and legacy manga when serving json 2023-06-10 10:56:58 +02:00
f0ce50c2da Do not insert garbage in the DB if replacing a comic goes bad. 2023-06-10 09:42:58 +02:00
dfbe597a34 Fix qt5 builds 2023-06-08 22:48:24 +02:00
ceb2d2249f Fix alphanumeric navigation in folders tree view 2023-06-08 22:31:31 +02:00
fa10409a31 Check the file size when updating and only compare the dates if it's enabled 2023-06-07 22:42:40 +02:00
5dac3e1402 Add setting to control dates comparison on updates 2023-06-07 22:41:31 +02:00
3eb6811b1c Use the date that triggers the replacement as added to avoid weird updates 2023-06-07 21:50:24 +02:00
b6eedd4e05 Fix macos macros 2023-06-06 22:28:36 +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
8520a29a05 Detect modified files and update them
The old file is delete, the modified file is inserted and the existing metadata is copied over. The added date is updated to avoid new matches during the update process.
2023-06-05 23:28:12 +02:00
68ece533e1 Replace Q_OS_MAC with Q_OS_MACOS 2023-06-04 20:55:11 +02:00
072f73b986 Use the right signal 2023-06-03 22:08:37 +02:00
16faacec65 Debounce input from the search edit
This makes writing there a little bit more pleasant
2023-06-03 20:25:14 +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
0f974d7caa Update macos icons 2023-06-01 16:38:40 +02:00