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
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
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
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
Luis Ángel San Martín
dd411db9ef
Remove commented code
2023-08-13 10:05:09 +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
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
Luis Ángel San Martín
c0effb43b3
Fix set type context menu
2023-08-06 08:52:18 +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
acd5caa9fe
Rename variable to match logic
2023-07-10 08:38:03 +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
3bcbcd06ba
Try to fix compilation error in Linux with patched version of Qt 5
2023-07-08 16:53:54 +02:00
Luis Ángel San Martín
ceb230a21c
Fix sorting in the volume selection dialog
2023-06-25 12:11:10 +02:00
Luis Ángel San Martín
756c514712
Do not generate the qr code if the server is off
2023-06-18 10:42:38 +02:00
Luis Ángel San Martín
5b5c5fc76b
Cover page default value is 1
...
It's [1, numPages]
2023-06-11 08:54:51 +02:00
Luis Ángel San Martín
ecc1a3ef07
Avoid invalid coverPage values
2023-06-10 22:00:03 +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
13993f0381
Default folder json includes the new fields so make search include them too
2023-06-10 11:00:44 +02:00
Luis Ángel San Martín
ac5ba7bb31
Include "file_type"
2023-06-10 11:00:02 +02:00
Luis Ángel San Martín
003d88aa24
Calculate manga from type when serving json from the SearchController
2023-06-10 10:59:28 +02:00
Luis Ángel San Martín
751954be76
include file_type and legacy manga when serving json
2023-06-10 10:56:58 +02:00
Luis Ángel San Martín
f0ce50c2da
Do not insert garbage in the DB if replacing a comic goes bad.
2023-06-10 09:42:58 +02:00
Luis Ángel San Martín
dfbe597a34
Fix qt5 builds
2023-06-08 22:48:24 +02:00
Luis Ángel San Martín
ceb2d2249f
Fix alphanumeric navigation in folders tree view
2023-06-08 22:31:31 +02:00
Luis Ángel San Martín
fa10409a31
Check the file size when updating and only compare the dates if it's enabled
2023-06-07 22:42:40 +02:00
Luis Ángel San Martín
5dac3e1402
Add setting to control dates comparison on updates
2023-06-07 22:41:31 +02:00
Luis Ángel San Martín
3eb6811b1c
Use the date that triggers the replacement as added to avoid weird updates
2023-06-07 21:50:24 +02:00
Luis Ángel San Martín Rodríguez
b6eedd4e05
Fix macos macros
2023-06-06 22:28:36 +02:00
Luis Ángel San Martín
21e237ccf9
Update added
with the modified date in comics added before the new metadata refactoring
2023-06-06 21:45:20 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
68ece533e1
Replace Q_OS_MAC with Q_OS_MACOS
2023-06-04 20:55:11 +02:00
Luis Ángel San Martín Rodríguez
072f73b986
Use the right signal
2023-06-03 22:08:37 +02:00
Luis Ángel San Martín
16faacec65
Debounce input from the search edit
...
This makes writing there a little bit more pleasant
2023-06-03 20:25:14 +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 Rodríguez
0f974d7caa
Update macos icons
2023-06-01 16:38:40 +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
d3829bc07c
Add the full path of a library when it can't be found
2023-05-31 22:06:57 +02:00
Luis Ángel San Martín
1bf0c1ff67
Fix InfoComicsView scroll bar in Qt6
2023-05-31 19:03:06 +02:00
Luis Ángel San Martín
94ddc54888
Remove usage of Qt.platform.os
2023-05-24 21:01:02 +02:00
Luis Ángel San Martín
352e52f454
Remove usage of Qt.platform.os
2023-05-24 20:58:01 +02:00
Luis Ángel San Martín
85b1c42380
Remove usage of Qt.platform.os
2023-05-24 20:57:45 +02:00
Luis Ángel San Martín
78800010f6
Remove usage of Qt.platform.os
2023-05-24 20:45:43 +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 Rodríguez
0efa67ab40
Fix compilation in macos
2023-05-24 18:06:23 +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
0651a7be8f
Comment unused connection
2023-05-21 21:16:25 +02:00
Luis Ángel San Martín
f331b8c251
Handle some nulls in qml
2023-05-21 21:12:23 +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
80f9cc445f
Make the style of the tool bar in FolderContentView match the one in ComicsView
2023-05-21 10:01:12 +02:00
Luis Ángel San Martín
f9a52eaeb8
Draw better circles
2023-05-21 10:00:21 +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
11df4a9b42
Update inserted folders with the added date
2023-05-20 16:14:30 +02:00
Luis Ángel San Martín
9c9b62db70
Fix role name
2023-05-20 15:33:47 +02:00
Luis Ángel San Martín
a003ee40f6
Handle undefined values
2023-05-20 15:33:04 +02:00
Luis Ángel San Martín
1744002658
Fix nul -> null in qml
2023-05-20 14:50:32 +02:00
Luis Ángel San Martín
153388ee94
Fix icon name
2023-05-20 14:49:40 +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
ae8d07ccaf
Do not crash if mi is not valid
2023-05-17 18:30:00 +02:00
Luis Ángel San Martín
6ba6adb26f
Fix loading folder from sql query
2023-05-17 18:29:16 +02:00
Luis Ángel San Martín
880e17acff
Display new metadata in the info views
2023-05-16 21:47:59 +02:00
Luis Ángel San Martín
2cb201098d
Update the properties dialog to support the new metadata
2023-05-15 21:04:33 +02:00
Luis Ángel San Martín
d5acae870b
Extract comic vine json parsing to its own file + add support for extra fields
2023-05-14 17:48:10 +02:00
Luis Ángel San Martín
c7faaf6ff5
Fix day parsing from ComicInfo.xml
2023-05-14 17:44:08 +02:00
Luis Ángel San Martín
e9ce6fc5af
Update the XML parser to parse the new supported fields
2023-05-13 11:34:38 +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
a47b706e29
Fix a bunch of warnings
2023-04-30 14:00:09 +02:00
Luis Ángel San Martín
579281aacc
Add an Android link to the server dialog info
2023-04-29 09:23:30 +02:00
Luis Ángel San Martín
37f1b49164
Remove commented code
2023-04-29 09:22:41 +02:00
Luis Ángel San Martín
76347060c7
Update dialog info when it is shown
2023-04-29 09:06:13 +02:00
Luis Ángel San Martín
9b196a655a
Remove obsolete setting that doesn't have any effect
2023-04-29 08:54:31 +02:00
Luis Ángel San Martín
d6b1c68285
Fix json produced by the search controller
2023-04-11 23:32:32 +02:00
Luis Ángel San Martín
1a0b9da8d7
Do not accept empty values for the server port in the server settings dialog
2023-04-08 12:31:15 +02:00
Felix Kauselmann
c100edfcd0
Move network interface filtering to separate file
2023-04-07 20:22:49 +02:00
Felix Kauselmann
9f67bb5e53
Server: Port IP detection and filtering to QNetworkInterface
2023-04-07 20:22:49 +02:00
Luis Ángel San Martín
4198b5ca3a
Implement a server controller to provide a search API
2023-04-07 10:51:34 +02:00
Luis Ángel San Martín
5c0b5c7430
Add method for getting the db container path from a library id
2023-04-07 10:51:05 +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
044bab0c4c
Remove unused import
2023-04-06 19:02:43 +02:00
Luis Ángel San Martín
cab277f3a9
Remove header comments
2023-04-06 19:02:32 +02:00
Felix Kauselmann
8f631763ce
Replace libqrencode with nayuki/QR-Code-generator
2023-03-25 11:06:17 +01:00
Luis Ángel San Martín
8f0619887c
Change how wheel scrolling works in qml grid views
...
This fixes scrolling in Qt6
2023-01-14 14:15:30 +01:00
Luis Ángel San Martín
250c48848c
setAllocationLimit is Qt6 only
2022-12-12 22:07:30 +01:00
Luis Ángel San Martín
7fed222cb7
Format
2022-12-12 21:53:07 +01:00
Luis Ángel San Martín
fc1f48aaa5
Remove image allocation limit
...
This commit fixes this error: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
2022-12-12 18:37:29 +01:00
Felix Kauselmann
06d744e88b
Fix regression in poppler-qt5 build
2022-11-19 20:02:31 +01:00
Felix Kauselmann
d4f12ff066
Fix poppler-qt6 setup for initial comic extractor
2022-11-19 20:02:31 +01:00
Felix Kauselmann
4a59dd6db6
Add support for poppler-qt6
...
Fixes #352
2022-11-19 20:02:31 +01:00
Felix Kauselmann
be85954b0c
Use std::unique_ptr for pdf objects
2022-11-19 20:02:31 +01:00
Luis Ángel San Martín
35466e5080
Fix crash caused by clearing the ip value
...
ip is connected to regenerateQR
2022-11-17 22:53:08 +01:00
Luis Ángel San Martín
0f9d782bb8
Detect back/forward mouse buttons to move back and forward through the browsing history
2022-11-10 21:46:51 +01:00
Luis Ángel San Martín
2b56945374
Make comic vine dialog modal
2022-11-10 21:46:36 +01:00
Luis Ángel San Martín
ffd8fd3bfb
Fix Drag&Drop in the comics grid view
2022-11-06 11:48:27 +01:00
Luis Ángel San Martín
a7ff96b9ce
Fix indentation
2022-11-06 10:15:00 +01:00
Felix Kauselmann
a35cb979e4
Unix: Fix regression in translation install target
...
The introduction of CONFIG+= lrelease introduced a regression in the
installation of translation files on systems using make install targets.
This is fixed by replacing the old translation targets with the target
supplied by lrelease.
Fixes #349
2022-10-31 13:19:50 +01:00
Luis Ángel San Martín
45a480ae68
Update UI strings
2022-10-29 11:09:00 +02:00
Luis Ángel San Martín
ae990d82af
Add a new action to scan the xml info from a folder
2022-10-29 11:07:57 +02:00
Luis Ángel San Martín
76642737fd
Implement XML scanning for a folder
2022-10-29 11:07:40 +02:00
Luis Ángel San Martín
3e2bda7cf1
Extract function
2022-10-29 11:07:10 +02:00
Luis Ángel San Martín
b364501a2c
Do not use GUI code in non GUI components
2022-10-29 08:57:08 +02:00
Luis Ángel San Martín
150d27c3ad
Make import ComicInfo.XML from new comics optional
...
It is disabled by default.
2022-10-28 23:31:55 +02:00
Luis Ángel San Martín
f8d89f7c14
Show the general tab first in the options dialog (YACReaderLibrary)
2022-10-28 22:45:06 +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
72a8d318c9
Merge remote-tracking branch 'origin/develop' into develop
2022-10-24 23:00:35 +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
8530f1f80a
Merge pull request #345 from selmf/openhack
...
YACReaderLibrary Server: Add webui status page
2022-10-24 20:39:22 +02:00
Felix Kauselmann
0533d5d9a3
Server: Check for v2 api before webui
2022-10-24 19:20:45 +02:00
Luis Ángel San Martín
0556276374
Implement comics metadata deletion
2022-10-24 19:00:21 +02:00
Luis Ángel San Martín
689e31891f
Extract method
2022-10-24 19:00:04 +02:00
Luis Ángel San Martín
0cf40e06eb
Add new action to delete all the metadata from the selected comics
2022-10-24 18:58:18 +02:00
Luis Ángel San Martín
3fecc3316e
Use the updated folders
2022-10-24 07:38:17 +02:00
Luis Ángel San Martín
a2541a4c96
Exclude root folder
2022-10-24 07:37:36 +02:00
Felix Kauselmann
f9c07707f3
Fix code formatting
2022-10-23 20:21:16 +02:00
Felix Kauselmann
62ef567280
YACReaderLibrary Server: Add webui status page
2022-10-23 20:01:05 +02:00
Luis Ángel San Martín
a07ac4a956
Merge pull request #344 from selmf/fix_docroot_path
...
Server: Don't overwrite template and docroot path
2022-10-23 19:30:16 +02:00
Felix Kauselmann
25a32314a2
Server: Don't overwrite template and docroot path
2022-10-23 18:35:35 +02:00
Luis Ángel San Martín
6fac77b6f1
Merge pull request #341 from selmf/library_loading
...
QRencode: Add fallback for Linux distros that don't provide unversion…
2022-10-23 17:47:06 +02:00
Luis Ángel San Martín
21461ce8a0
Update context menu(s) icons to svg
2022-10-23 14:36:11 +02:00
Luis Ángel San Martín
6e62fc0a0c
Replace icon in the search edit with SVG versions
2022-10-23 12:45:50 +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
c7a1a73432
Convert more icons to SVG
2022-10-22 16:26:10 +02:00
Luis Ángel San Martín
75c08885be
Replace more icons with svg
2022-10-22 11:40:49 +02:00
Luis Ángel San Martín
4c66b8ecad
Use SVG icons in YACReader's toolbar (windows/linux) and in shortcuts dialog
2022-10-20 17:51:22 +02:00
Luis Ángel San Martín
ebcb3d8a91
Implement LibraryWindow::showContinueReadingContextMenu
2022-10-17 21:17:04 +02:00
Luis Ángel San Martín
60c650d820
Remove TODO
2022-10-17 20:51:05 +02:00
Luis Ángel San Martín
b9c1f0b505
Update translation files with new strings
2022-10-16 18:23:17 +02:00
Luis Ángel San Martín
4839b416bd
Add english translations
2022-10-16 18:20:42 +02:00
Luis Ángel San Martín
424f3c3014
Fix qm files build output in windows
2022-10-16 17:59:41 +02:00
Luis Ángel San Martín
68e67fd777
Copy qm files manually after linking to the output folder
...
Windows only
2022-10-16 17:25:20 +02:00
Felix Kauselmann
fa90982a2d
YACReaderLibrary: Don't load YACReader translation
2022-10-16 14:33:49 +02:00
Felix Kauselmann
76a12cd7e3
Translations: Don't use QLocale::system::name
...
Older versions of the Qt documentation advocate using QLocale::system::name
for system language resolving. This is deprecated and causes misbehavior,
such as selecting the system unit language instead of system display language
on Windows.
Solution: Use QTranslator::load(QLocale(), ... ...), which is display language
aware.
2022-10-16 14:33:49 +02:00
Lisa Thamer
1243346e9a
Fixed typo in word YACReader
2022-10-16 11:19:06 +02:00
Lisa Thamer
a106d899c8
Added unfinished German translations
...
As requested, I have added all unfinished German translations.
2022-10-16 11:19:06 +02:00
Felix Kauselmann
17b0d357b1
QRencode: Add fallback for Linux distros that don't provide unversioned library symlinks
2022-10-15 15:26:19 +02:00
Luis Ángel San Martín
569a699c1d
Typo
2022-10-15 13:55: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
928afa4675
Wrap functionality
2022-10-15 12:46:17 +02:00
Luis Ángel San Martín
2093c072b6
Remove commented code
2022-10-15 12:34:56 +02:00