1028 Commits

Author SHA1 Message Date
Matthieu Gautier
b6934d707b kiwix-desktop now need libkiwix >= 11.0.0 2022-06-16 14:39:21 +02:00
Nikhil Tanwar
b49ea7cbce Remove unused variable warnings
Commented out unused variable names in function parameters
Casted unused variable (void) in for-loop
Fixed a signed-unsigned comparison warning
2022-06-16 14:25:07 +02:00
Nikhil Tanwar
b05daa197d Replace deprecated functions
This replaces the deprecated Reader and Favicon functions from libkiwix

kiwix::Reader functions are converted to use zim::Archive
Favicon functions are converted to use Illustration
Fix #805
2022-06-16 14:25:07 +02:00
Kelson
5037219ab9
Merge pull request #840 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2022-06-06 19:25:16 +02:00
translatewiki.net
60e2c76776 Localisation updates from https://translatewiki.net. 2022-06-06 19:19:45 +02:00
Kelson
8da0ca6607
Merge pull request #845 from kiwix/release-badge-readme
Add release badge in README
2022-06-06 19:18:34 +02:00
Emmanuel Engelhart
46778932c6
Add release badge in README 2022-06-03 10:38:42 +02:00
Matthieu Gautier
9e0575a225
Merge pull request #844 from kiwix/search_pagination_fix 2022-06-03 09:51:48 +02:00
Veloman Yunkan
5de9745aa9 Fixed searchProtocolPrefix
kiwix/libkiwix#764 has eliminated the trailing "?" symbol from
searchProtocolPrefix.
2022-06-03 02:34:37 +04:00
Matthieu Gautier
b51a0f4b06
Merge pull request #842 from kiwix/libkiwix_api_update 2022-06-02 17:25:25 +02:00
Matthieu Gautier
7b870d0def Searcher::add_reader now takes a shared_ptr 2022-06-02 17:17:49 +02:00
Matthieu Gautier
38789f2f75 We now must pass the queryString to select the correct book. 2022-06-02 17:16:35 +02:00
Popo le Chien
e2929b01f0
Update README.md
updated expired Slack link
2022-05-23 16:57:09 +02:00
Kelson
d9d8fbaf66
Merge pull request #841 from kiwix/screenshots
Using Commons URL for screenshots in flathub
2022-05-19 19:27:41 +02:00
renaud gaudin
db6ebdfa66 Using Commons URL for screenshots in flathub 2022-05-18 15:09:23 +00:00
Matthieu Gautier
f8b8b36cee
Merge pull request #838 from kiwix/translatewiki 2022-05-11 17:05:15 +02:00
translatewiki.net
90f40df3a3 Localisation updates from https://translatewiki.net. 2022-05-09 13:06:23 +02:00
Matthieu Gautier
7b4d5305ce
Merge pull request #835 from kiwix/translatewiki 2022-04-26 11:52:11 +02:00
translatewiki.net
ca29c72960 Localisation updates from https://translatewiki.net. 2022-04-25 13:06:22 +02:00
Kelson
46b3398a6a
Merge pull request #830 from kiwix/fix_nonft_search
Do not crash if we are searching on a zim file without fulltext index.
2022-04-11 21:04:29 +02:00
Matthieu Gautier
ad4a770206 Propose a fulltext search only if the zim file has fulltext index.
While we are not crashing now, it is better to not propose fulltext index
to the user if we cannot do a search.
2022-04-11 15:54:25 +02:00
Matthieu Gautier
58d6d1a7ea Do not crash if we are searching on a zim file without fulltext index.
`Searcher::search` throw a exception if there is no fulltext index in
the zim file.
We must be prepared for this.
2022-04-11 15:53:13 +02:00
translatewiki.net
2be144dbef
Localisation updates from https://translatewiki.net. (#829) 2022-04-11 13:16:15 +02:00
translatewiki.net
22da046dfa
Localisation updates from https://translatewiki.net. (#821) 2022-04-10 20:45:30 +02:00
translatewiki.net
949184d13a
Localisation updates from https://translatewiki.net. (#820) 2022-03-17 02:48:19 +01:00
Emmanuel Engelhart
b9be0a7026
Placeholder for 2.3.0 changelog 2022-03-13 16:05:35 +01:00
Matthieu Gautier
fe52c11329
Merge pull request #817 from kiwix/version_2.2.1 2.2.1 2022-03-11 17:22:54 +01:00
Matthieu Gautier
b692debeab New version 2.2.1 2022-03-11 17:16:00 +01:00
Matthieu Gautier
aab8cf75d0
Merge pull request #815 from kiwix/translatewiki 2022-03-11 17:10:02 +01:00
translatewiki.net
d2700e2cda Localisation updates from https://translatewiki.net. 2022-03-11 17:00:35 +01:00
Matthieu Gautier
1fcd40fb1a
Merge pull request #816 from kiwix/fileNameSafeguard 2022-03-11 16:58:04 +01:00
Nikhil Tanwar
4e65bf3782 Add check for fileName in eraseBookFilesFromComputer
Without this check, the function will delete all files in the directory if fileName is "*"
This commit also adds camelCase in some places
2022-03-10 13:55:42 +05:30
Kelson
243dd66400
Merge pull request #811 from kiwix/lessRefresh
Only refresh library if some book has been added/removed in monitor dir
2022-03-05 17:24:40 +01:00
Nikhil Tanwar
2370019491
Only refresh library if some book has been added/removed in monitor dir
This change leads to less refreshes if the monitor directory is same as download directory
Earlier, while downloading a file, it would send many refresh signals to file watcher leading to a bad user experience
2022-03-05 17:15:07 +01:00
Matthieu Gautier
52a96cdf23
Merge pull request #813 from kiwix/version_2.2.0 2.2.0 2022-03-04 17:25:44 +01:00
Matthieu Gautier
27bd61c62f New version 2.2.0 2022-03-04 16:39:08 +01:00
Matthieu Gautier
9f64c6c9c4 Update resources/translations.qrc 2022-03-04 16:39:08 +01:00
Matthieu Gautier
ecad664bdf Make generation script sort the resources.
This will avoid unnecessary modification of the qrc file
just because of random unsorted order.
2022-03-04 16:39:08 +01:00
Matthieu Gautier
42feaa9ac5
Merge pull request #807 from kiwix/translatewiki 2022-03-04 15:34:07 +01:00
translatewiki.net
bb121d93ea Localisation updates from https://translatewiki.net. 2022-03-03 13:06:06 +01:00
Kelson
bfbba8d9fd
Merge pull request #800 from kiwix/monitor-fix
Fix for monitor directory on Windows
2022-02-25 17:55:03 +01:00
Nikhil Tanwar
fac7065c5d
Use native separators in settings panel
Adds functionality to use native separators, to follow Windows standards
2022-02-25 17:54:20 +01:00
Nikhil Tanwar
70e13865aa
Remove save() from load monitor dir
Calling save() from loadMonitorDir() can cause the file watcher (when connected to same directory as download directory) to listen to directoryChanged signal, and going into an infinite loop.
We already call save() in the library destructor, hence no functionality is compromised.
2022-02-25 17:54:19 +01:00
Nikhil Tanwar
2b62e42c55
Fix wrong path creation
The previous implementation lead to a path like: dir1/dir2/dir3\dir4 on windows
2022-02-25 17:54:19 +01:00
Matthieu Gautier
cdc0193522
Merge pull request #798 from kiwix/fix_content_type_filtering 2022-02-25 16:57:48 +01:00
Matthieu Gautier
f053ded6f8 Fix content-type filtering
The commit cb63bb2 was buggy and deactivate filtering by contentType.
We now handle two different lists to store tags we want and tags we don't.
2022-02-25 16:48:26 +01:00
translatewiki.net
7268d7b15a
Localisation updates from https://translatewiki.net. (#790) 2022-02-25 16:24:38 +01:00
Kelson
d483c1abca
Merge pull request #799 from kiwix/paddingFix 2022-02-25 14:16:20 +01:00
Nikhil Tanwar
cea8c2656d Remove padding from QSpinbox
This removes an explicit padding from QSpinbox. QSpinbox will now have the default padding (if any) for QSpinbox.
Helps the text to not disappear at some systems/configurations
To keep the previous design changes QLabel padding to 12px (top and bottom) and 8px (right and left)
2022-02-25 17:39:56 +05:30
Kelson
09a0259554
Merge pull request #774 from kiwix/zoomSearchFix
set zoom factor after page has finished loading
2022-02-25 12:37:37 +01:00