1668 Commits

Author SHA1 Message Date
Kelson
b2c7e94cf0
Merge pull request #1220 from kiwix/feature/libkiwix-sync
Add support for new getBestPublicIp
2024-09-29 13:49:45 +00:00
sgourdas
72d4356ac1 Add support for new getBestPublicIp 2024-09-29 12:25:27 +03:00
Kelson
3a82b9b145
Merge pull request #1207 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-09-27 07:42:24 +00:00
translatewiki.net
aa2ad91bc1
Localisation updates from https://translatewiki.net. 2024-09-26 14:07:49 +02:00
Kelson
13bbd77e59
Merge pull request #1215 from kiwix/feature/network-popup
Fix network share launch popup
2024-09-23 16:53:27 +00:00
sgourdas
10f3f5cfbb Fix network share launch popup 2024-09-23 16:46:28 +00:00
Kelson
b566d87aa4
Merge pull request #1213 from kiwix/kiwix2libkiwix_transition
libkiwix now identifies itself as libkiwix
2024-09-23 16:42:27 +00:00
Veloman Yunkan
482e4c6dfd Fixed CI build
In CI build, dependencies are put in the build install location rather than
in the system libs directory, hence that path must be included in the
search for shared libraries.

The problem seems to have been triggered by recent change in the
libkiwix.pc pkg-config file which resulted in the version of some
of libkiwix dependencies (recorded in libkiwix.so) being bumped up.
As a result, previous/older versions of those dependencies embedded in
the CI build docker image
(ghcr.io/kiwix/kiwix-build_ci_focal:2024-06-03) no longer matched the
requirements of libkiwix.so, whereas the up-to-date versions of those
dependencies (that are downloaded during each build procedure) were not
used because they were not in the search path.
2024-09-23 17:59:13 +04:00
Veloman Yunkan
268363f2fd libkiwix now identifies itself as libkiwix 2024-09-23 17:59:13 +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
Veloman Yunkan
9548c9b778 Directory monitoring tracks invalid ZIM files too
A ZIM file that failed to be added to the library isn't just
discarded by directory monitoring but is added to the set of known
ZIM files with a proper status. This enables to process updates to
such files more efficiently (coming next).
2024-09-07 07:37:21 +00:00
Veloman Yunkan
bc05c75448 Added state to the tracked monitored files
Semantically, nothing changes at this point but the possibility for
an enhancement is now open.
2024-09-07 07:37:21 +00:00
Veloman Yunkan
076c19b645 Introduced ContentManager::getLibraryZims()
It is going to slightly evolve as the type of m_knownZimsInDir is
enhanced to keep track of file modification times.
2024-09-07 07:37:21 +00:00
Veloman Yunkan
72bd099cd1 fixup! Enter MonitoredZimFileInfo::ZimFileStatus 2024-09-07 07:37:21 +00:00