1472 Commits

Author SHA1 Message Date
ShaopengLin
4d87679811 Add Tooltip to Elided TOC Items 2024-09-27 22:49:19 -04:00
ShaopengLin
a7f07f969c Text Elide for TOC items 2024-09-27 22:07:36 -04:00
ShaopengLin
7efda91489 Remove Visual Side-Effect of <a> Tags
Retain the original look of the headers
2024-09-27 22:03:39 -04:00
ShaopengLin
293ce340f4 Proper Scroll Area Styling for TOC 2024-09-27 21:38:33 -04:00
ShaopengLin
69b5d2338b Proper Style for TOC title section
Style title and hide button text
2024-09-27 21:38:33 -04:00
ShaopengLin
1d1e3fd3c4 Proper TOC Style, Numbering and Indentation 2024-09-27 21:37:36 -04:00
ShaopengLin
7db13c9c26 Only One of ReadingList&TOC Visible
Two side bar will be mutually exclusive.
2024-09-27 20:21:31 -04:00
ShaopengLin
7d7d238a47 Add Hide Button in TOC
Extra button for user to close TOC
2024-09-27 20:21:31 -04:00
ShaopengLin
2a5f766365 Enable ToggleTOCAction
Show/Hide TOC with button and shortcut
2024-09-27 20:21:31 -04:00
ShaopengLin
4e933f1f03 Introduce KiwixWebChannelObject.{h, cpp}
Pass TOC title translation. More to come later
2024-09-27 20:21:31 -04:00
ShaopengLin
9d42ddfdc3 Parses HTML and inject Table of Content 2024-09-27 20:21:00 -04:00
ShaopengLin
0f944e8330 Reserve Space Left for TOC
Same width as reading list.
2024-09-25 15:57:02 -04:00
ShaopengLin
948d8d55d9 Introduce QWebEngine Javascript Infrastructure
Setup for TOC Javascript/CSS Injection
2024-09-23 11:00:56 -04:00
Kelson
7f039ee7ab
Merge pull request #1209 from kiwix/feature/simplify-usb
Monitor data directory on portable mode
2024-09-17 13:32:37 +00:00
sgourdas
adc5c9c441 Portable download & monitor settings immutable 2024-09-17 13:26:22 +00:00
sgourdas
eabb12ff27 Monitor data directory on portable mode 2024-09-17 13:26:22 +00:00
Kelson
082327cfa7
Merge pull request #1208 from kiwix/feature/library-ignore-executable
Stop library from prioritizing executable directory
2024-09-17 13:25:09 +00:00
sgourdas
4bb69389aa Stop library from prioritizing executable dir 2024-09-17 13:15:49 +00:00
Kelson
93ebec0b39
Merge pull request #1198 from kiwix/Issue#157-scroll-tab-buttons
Introduce Scroll Buttons to Replace Ones from Qt's Built-in TabBar.
2024-09-17 10:53:09 +02:00
ShaopengLin
a8acc94f80 Disable Unnecessary tear.
Was a Qt Built-in for scrolling
2024-09-16 08:28:12 -04:00
ShaopengLin
d1e138bfba Display Tab Buttons When Necessary
Includes New Tab, Scroll Next, Scroll Previous Buttons
2024-09-16 08:26:51 -04:00
ShaopengLin
88ed83dc7d Make Public TabBar::realTabCount()
Prepare for future change needing it externally
2024-09-16 08:13:54 -04:00
ShaopengLin
999f37fcb3 Refactor New Tab Button
Set proper size. Added new persistent new tab button.
2024-09-16 07:53:32 -04:00
ShaopengLin
e84f60b2e7 Introduce Next/Previous Tab Buttions
Replaces TabBar scroller buttons
2024-09-16 07:53:32 -04:00
ShaopengLin
5667d0fd86 Group RTL Aware Action Def
Refactor to reduce repetition
2024-09-16 07:53:32 -04:00
ShaopengLin
925407f683 Hide Built-in Scroll Buttons
Buttons are un-scaled. Prepare for adding our own buttonsa
2024-09-16 07:53:32 -04:00
ShaopengLin
d675dd66f3 Fix ::tab:last Style Inheritance Faultiness
Style is being set to every QToolButton in tabbar
2024-09-16 07:53:32 -04:00
Kelson
ae4ba04093
Merge pull request #1212 from kiwix/Issue#1199-wrong-version
Corrected version for checkStateChanged
2024-09-15 12:28:11 +02:00
ShaopengLin
ae0e75de8c Corrected version for checkStateChanged
It is added since Qt 6.7.0
2024-09-14 18:45:51 -04:00
Kelson
19bcdb4943
Merge pull request #1205 from kiwix/feature/fix-deprecations
Resolve deprecations in Qt 6.8
2024-09-13 15:19:39 +02:00
sgourdas
159a996039 Remove text alignment on boomarks 2024-09-13 13:34:02 +03:00
sgourdas
ab5d4c890d Fix deprecation of qAsConst 2024-09-13 13:34:02 +03:00
sgourdas
9b014ccf66 Fix deprecation of CheckBox::stateChanged 2024-09-13 13:34:02 +03:00
Kelson
5b53f5e4b0
Merge pull request #1204 from kiwix/fix-upload-ppa
Fix error in tasks order for packaging CI
2024-09-10 11:11:39 +00:00
Emmanuel Engelhart
0646c135f1
Fix error in tasks order for packaging CI 2024-09-10 12:58:02 +02:00
Kelson
5e5bcdc9f5
Merge pull request #1179 from kiwix/feature/portable-kiwix
Implement portable mode
2024-09-10 09:58:52 +00:00
sgourdas
78a50cfe76 Use data directory in portable mode 2024-09-10 09:44:15 +00:00
sgourdas
380c3ae672 Fixed indentation and comments 2024-09-10 09:44:15 +00:00
Kelson
f383bea78c
Merge pull request #1187 from kiwix/Issue#594-search-bar-text-align
Fix Search Bar Cursor Alignment in RTL
2024-09-10 09:28:37 +00:00
ShaopengLin
3906888801 Fix SearchBar Placeholder Alignment in RTL
Align placeholder at leading position in line edit
2024-09-10 09:27:40 +00:00
ShaopengLin
05fcff0834 Fix SearchBar Cursor Alignment in RTL
The cursor was misaligned to the left in RTL.
2024-09-10 09:27:40 +00:00
Kelson
e47d224469
Merge pull request #1177 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-09-09 20:20:12 +00:00
translatewiki.net
3400c90186 Localisation updates from https://translatewiki.net. 2024-09-09 20:05:51 +00:00
Kelson
8e6d4eef96
Merge pull request #1202 from kiwix/update-package-ci-cd
Update CI/CD for deb packages
2024-09-09 19:59:19 +00:00
Emmanuel Engelhart
586a2108ab
Update CI/CD for deb packages 2024-09-09 21:50:54 +02:00
Kelson
a69db03aff
Merge pull request #1164 from kiwix/smarter_directory_monitoring
Smarter directory monitoring
2024-09-07 07:37:57 +00:00
Veloman Yunkan
c3a4164541 Debouncing of file updates in monitored dir
Now updates to ZIM files that failed to be added to the library upon
their appearance in a monitored dir are not handled immediately. Instead
they are debounced (deferred/delayed by 1 second) and processed only
after the file has been observed to be stable for some time (1 second as
of this commit).
2024-09-07 07:37:21 +00:00
Veloman Yunkan
fdac248492 Directory monitoring ignores unchanged bad ZIMs
When a change to a monitored directory is detected, any bad ZIM files
in it (that could not be added to the library during the previous
update) are ignored unless their modification timestamp has changed.
2024-09-07 07:37:21 +00:00
Veloman Yunkan
3dd58b3ae4 Fixed indentation 2024-09-07 07:37:21 +00:00
Veloman Yunkan
b7d9b5d855 Enter ContentManager::getMonitoredZimFileInfo()
At this point, the new function is just a stub.

Indentation is not fixed intentionally (in order to minimize the diff).
2024-09-07 07:37:21 +00:00