sgourdas
3b895c6f69
Library list pinning behavior
2024-05-21 18:11:35 +02:00
Kelson
ba6fee9d3f
Merge pull request #1110 from ShaopengLin/Issue#1100-add-preview-button
...
Added ContextMenu Button for Previewing Online Books
2024-05-18 21:05:52 +02:00
ShaopengLin
0c865181c8
Added ContextMenu button for Book Preview
...
Added action to open preview of an online book in native web browser. The option is available for books with states Online, Downloading, and Paused.
2024-05-18 14:37:45 -04:00
ShaopengLin
3b2019bb94
Created method to generate remote library url
...
Refactored existing file static function makeHttpUrl to a member function that retrieves the remote library url from the request manager. Will be used for implementing the preview functionality.
2024-05-18 14:30:56 -04:00
Kelson
a394efcda8
Merge pull request #1058 from sgourdas/feature/import_settings
...
Import file path memorization
2024-05-12 15:05:30 +02:00
vinurk
bee0c20de5
Import file path memorization
2024-05-12 13:10:30 +03:00
Kelson
921bc729a6
Merge pull request #1060 from ShaopengLin/Issue#832-fix-book-mark
...
Fix #832 : Seperated Bookmark Button from Search Icon
2024-05-11 13:01:41 +02:00
ShaopengLin
b49d6ec8ca
Updated styles for the QToolBar
...
Redefined styles sheets for new widgets. Increased button svg size since QToolButton doesn't increase button size to be larger than source.
2024-05-11 13:00:50 +02:00
ShaopengLin
3c6454d8f4
Connected actions to Bookmark Button
...
BookmarkButton is now a QToolButton to better work with actions. Now clicks can modify menu text displays and menu displays can simulate clicks.
2024-05-11 13:00:50 +02:00
ShaopengLin
fb1d5ea25a
Create Action and Shortcut for Bookmark
...
Created a ON-OFF action for Bookmark and added in Edit Menu Actions. Assigned shortcut Ctrl + D, which the Donation shortcut is now Ctrl + SHIFT + D. Action disabled for non-Zim tabs
2024-05-11 13:00:50 +02:00
ShaopengLin
c4c3367c78
Seperate SearchButton (now BookmarkButton)from LineEdit
...
Renamed SearchButton to BookmarkButton since it no longer has the search icon. Moved BookmarkButton to the right side of SearchBar
2024-05-11 13:00:50 +02:00
ShaopengLin
ea0a682af9
Seperate QLabel from SearchButton to SearchBar
...
Since we will be seperate search icon from bookmark button, we remove the logic in SearchButton and simply put an equivalent QLabel in SearchBar.
2024-05-11 13:00:50 +02:00
ShaopengLin
9f1c8ef497
Refactor SearchBar to QToolBar
...
SearchBar becomes QToolBar instead of QLineEdit. The previous LineEdit is now a child of SearchBar
2024-05-11 13:00:50 +02:00
Kelson
ee3a2be2e8
Merge pull request #1101 from kiwix/Route_de_Lausanne_107_Bourg-en-Lavaux
...
Fixed detection of clicks on download control buttons
2024-05-11 12:59:17 +02:00
Veloman Yunkan
390193a3a6
Fixed detection of clicks on download control buttons
...
Note that the button region is considered to be the bounding rectangle
of the button icon circle rather than the circle itself.
2024-05-10 17:35:43 +04:00
Veloman Yunkan
42d5e78dc0
Introduced DownloadControlLayout
2024-05-10 17:30:21 +04:00
Veloman Yunkan
ec89f87d55
Cleaner download control button drawing primitives
2024-05-10 17:30:21 +04:00
Veloman Yunkan
553568ddc8
Renamed a variable
2024-05-10 17:30:21 +04:00
Kelson
18456eb9c4
Merge pull request #1098 from kiwix/united_states_of_books
...
Declaration of USB (Unified States of Books)
2024-05-09 15:28:41 +02:00
Veloman Yunkan
0ecb142ca6
Rewrote handling of last column clicks using book states
2024-05-09 15:16:30 +02:00
Veloman Yunkan
b6fbfb6104
Rewrote last column display using book states
2024-05-09 15:16:30 +02:00
Veloman Yunkan
7761c6f7b3
Context menu takes error states into account
2024-05-09 15:16:30 +02:00
Veloman Yunkan
d35fc1ff06
Rewrote context menu setup using book states
2024-05-09 15:16:30 +02:00
Veloman Yunkan
7bef510731
Enter ContentManager::BookState
2024-05-09 15:16:30 +02:00
Veloman Yunkan
b7fa28b811
Better nesting & indentation
2024-05-09 15:16:30 +02:00
Veloman Yunkan
9a754715f7
In some situations, short is better than long
2024-05-09 15:16:30 +02:00
Kelson
851ccc59c0
Merge pull request #1104 from ShaopengLin/Bugfix-Qt6-QVariant-TypeId
...
BugFix: Compilation Failure for Qt6 Due to Deprecated Members
2024-05-07 18:10:42 +02:00
ShaopengLin
086ba67b93
Fixed compilation failure in Qt6
...
Replaced deprecated member type() and QVariant::Type to compatible members in both Qt5&6
2024-05-07 11:47:47 -04:00
Veloman Yunkan
904dbb40bf
Merge pull request #1097 from kiwix/Route_de_Lausanne_107_Bourg-en-Lavaux
...
Fixed thumbnail display for books being downloaded
2024-05-04 01:02:59 +04:00
Veloman Yunkan
e12715e6c4
Fixed thumbnail display for books being downloaded
2024-05-02 11:34:42 +02:00
Veloman Yunkan
423f3e8d02
Trivial nano-cleanup
2024-05-02 11:21:09 +02:00
Veloman Yunkan
f70d0b3ccd
Download id is accessed directly via kiwix::Book
...
... whereupon `ContentManager::getBookInfos()` no longer needs to
support the `downloadId` key.
2024-05-02 11:20:23 +02:00
Matthieu Gautier
49858fffc6
Merge pull request #1096 from kiwix/Library_getArchive_doesnt_return_null
2024-05-01 18:36:17 +02:00
Veloman Yunkan
0a42126eff
Removed a check for a hence unachieavable situation
...
Now that `Library::getArchive()` never returns a null pointer the check
that was added a few commits ago as a fix for a particular manifestation
of a general problem is no longer needed.
2024-04-29 15:51:17 +02:00
Veloman Yunkan
2f9700db6b
Library::getArchive() returns non-null or throws
2024-04-29 15:35:38 +02:00
Kelson
073dd06937
Merge pull request #1092 from kiwix/download_dir_checks
...
Detection and reporting of issues with the download directory
2024-04-19 18:12:41 +02:00
Veloman Yunkan
616e2a730f
Reporting of issues with the download directory
...
Before this change a non-existent download directory would result in
"The system doesn't have enough storage available" error. Trying to save
files to non-writable directory resulted in the download seemingly being
stuck (but this is just a special case of not properly handling the download
error status returned by Aria).
2024-04-18 20:52:16 +02:00
Veloman Yunkan
3eeea9e9a0
ContentManagerError exceptions are let through
2024-04-18 20:52:16 +02:00
Veloman Yunkan
ab27a1a9a2
Prevent crashes due to stale bookmarks
...
`kiwix::Library::getArchiveById()` returns a `nullptr` when it turns out
that the ZIM file doesn't exist. That function was added in PR #536 and was
never documented, but that is no justification for us to let the
application crash.
2024-04-18 20:52:16 +02:00
Kelson
07171bad92
Merge pull request #1090 from vinurk/fix/reading-list-shortcut
...
Changes toggle reading list shortcut to Ctrl+B
2024-04-18 17:27:44 +02:00
vinurk
0e5ea8b945
changed shortcut
2024-04-17 01:11:47 +05:30
Matthieu Gautier
2a6fd5f2fa
Merge pull request #1085 from kiwix/no_werror
2024-04-15 14:07:41 +02:00
Matthieu Gautier
d896c17096
Remove -Werror on Windozs.
...
`-Werror` make compilation fails on Windows.
2024-04-15 10:22:41 +02:00
Kelson
cce7de8820
Merge pull request #1086 from kiwix/handling_of_corrupted_xapian_db
...
Handling of corrupted Xapian DB during search
2024-04-12 16:57:20 +02:00
Veloman Yunkan
79bf30577f
Handling of corrupted Xapian DB during search
2024-04-12 16:55:40 +02:00
Kelson
20f32d03b5
Merge pull request #1061 from ShaopengLin/Issue#967-fix-search-bar-shortcut
...
Fix #967 : Search Bar Key Board Short Cut Performs the same as Mouse Click
2024-04-12 12:59:07 +02:00
ShaopengLin
366ab1d173
SearchBar shortcuts work now
...
Refactored shortcut to search bar and removed redundant code. Fix #967
2024-04-12 12:48:41 +02:00
Kelson
0b18cc6a32
Merge pull request #1081 from kiwix/kiwix_Downloader_close_may_throw
...
Handling of exceptions from kiwix::Downloader::close()
2024-04-12 12:48:18 +02:00
Veloman Yunkan
11cdeb9faa
Handle exceptions from kiwix::Downloader::close()
2024-04-12 09:31:59 +02:00
Kelson
ccccc80dfe
Merge pull request #1080 from kiwix/fullscreen_keysequence_fix
...
Fixed the fullscreen keyboard shortcut
2024-04-12 09:27:40 +02:00