Commit Graph

3224 Commits

Author SHA1 Message Date
Luis Ángel San Martín
71e1d250fa Remove extra quotes 2023-08-25 15:35:25 +02:00
Luis Ángel San Martín
7bfe9ea6b3 Keep disabled actions during navigation while automatic updates are happening 2023-08-24 17:51:18 +02:00
Luis Ángel San Martín
a0dff3a03b Fix LibrariesUpdateCoordinator instantiation in YACReaderLibraryServer 2023-08-24 11:56:25 +02:00
Luis Ángel San Martín
b513103d9b Add a mechanism to control if automatic updates can start
For now they won't start if the user is editing comics information.
2023-08-23 22:45:09 +02:00
Luis Ángel San Martín
e4fb0fd40c lupdate 2023-08-23 22:00:18 +02:00
Luis Ángel San Martín
8e2910607d Make automatic updates cancelable by the user 2023-08-23 21:50:21 +02:00
Luis Ángel San Martín
b709e000cf Update doc 2023-08-22 22:37:50 +02:00
Luis Ángel San Martín
726ae067dd Update ts files 2023-08-22 22:06:37 +02:00
Luis Ángel San Martín
b6282b9bd4 Add a warning about library updates 2023-08-22 22:04:20 +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
fe983c2cd2 Early finish if the database is not valid 2023-08-21 22:43:34 +02:00
Luis Ángel San Martín
9d8766938b updateLibrary should only try to update the library 2023-08-21 22:42:36 +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
d70ea49c53 Minimize the amount of actions available during updates 2023-08-20 18:42:11 +02:00
Luis Ángel San Martín
a6696f35b2 Restore value change committed by mistake 2023-08-20 17:28:27 +02:00
Luis Ángel San Martín
3cd83eb31b Missing declaration 2023-08-20 14:14:54 +02:00
Luis Ángel San Martín
0623a6b101 Implement stop/cancel on LibrariesUpdateCoordinator 2023-08-20 12:39:04 +02:00
Luis Ángel San Martín
bf35d0a621 Stop library creation/updates on exit 2023-08-20 12:38:35 +02:00
Luis Ángel San Martín
45043cf36e Make possible to cancel updates/creations 2023-08-20 12:36:40 +02:00
Luis Ángel San Martín
a6caf98af9 Reload comic cover when it changes 2023-08-17 19:42:10 +02:00
Luis Ángel San Martín
7f129ac1fa Emit a signal when the cover of a comic changes 2023-08-17 19:41:43 +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
d0915024e2 Fix YACReaderFlowGL::remove
last image wasn't getting it's index modified
2023-08-17 19:39:51 +02:00
Luis Ángel San Martín
5b8ec75e5f Update secondary views when the model gets reloaded 2023-08-16 17:46:33 +02:00
Luis Ángel San Martín
f3b551f72a Add libraries_update_coordinator.cpp/h files to YACReaderLibraryServer.pro 2023-08-14 18:45:37 +02:00
Luis Ángel San Martín
5b4205a19b Print some more help in yacreaderlibraryserver's description 2023-08-14 18:20:47 +02:00
Luis Ángel San Martín
42f2771b3f Setup LibrariesUpdateCoordinator in yacreaderlibraryserver 2023-08-14 18:19:24 +02:00
Luis Ángel San Martín
e740ad0f38 Add a readme describing how settings work in yacreaderlibraryserver 2023-08-14 18:18:16 +02:00
Luis Ángel San Martín
12c268ab42 Fix Qt5 Compilation 2023-08-13 15:22:15 +02:00
Luis Ángel San Martín
07cee51ef0 Update CHANGELOG 2023-08-13 12:34:58 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
93a826f80a Setup LibrariesUpdateCoordinator 2023-08-13 11:57:40 +02:00
Luis Ángel San Martín
811ba2f957 Do models updates instead of do full library or folder reloads 2023-08-13 11:55:44 +02:00
Luis Ángel San Martín
7aac11483e Add method to YACReaderContentViewsManager to update the current content view 2023-08-13 11:43:28 +02:00
Luis Ángel San Martín
80ff6ed63b Add method to FolderContentView to reload its contents 2023-08-13 11:42:36 +02:00
Luis Ángel San Martín
b2d48a77ca Update the flow view with new covers when the model adds rows 2023-08-13 11:42:06 +02:00
Luis Ángel San Martín
0024d9afda Add method to ComicView to reload its content 2023-08-13 11:41:40 +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
c06156a937 Make ComicFlow/ComicFlowWidget able to insert new covers at a given position 2023-08-13 11:17:18 +02:00
Luis Ángel San Martín
024f6df9de Add methods to the flow implementations to add new items dynamically 2023-08-13 11:15:47 +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
f7d47103a2 Fix typo 2023-08-13 10:45:12 +02:00
Luis Ángel San Martín
ecde1ee836 Add a busy indicator to YACReaderTitledToolBar
It will be used in the libraries section to show that libraries are being updated in the background.
2023-08-13 10:44:49 +02:00
Luis Ángel San Martín
f02d4e5d98 Make BusyIndicator size configurable 2023-08-13 10:38:49 +02:00
Luis Ángel San Martín
6cef156893 Add new UI settings to control automatic library updates 2023-08-13 10:37:29 +02:00
Luis Ángel San Martín
afa9763499 Add class to coordinate automatic library updates 2023-08-13 10:33:24 +02:00
Luis Ángel San Martín
86e0e7be0a Add setting keys for automatic library updates 2023-08-13 10:22:11 +02:00