Kelson
196185dd73
Merge pull request #1119 from kiwix/fix-debian-control-file-for-v14
...
Fix deb control file for 14.0.0
2024-09-02 18:14:23 +00:00
Emmanuel Engelhart
affb996769
Fix deb control file for 14.0.0
2024-09-02 19:59:27 +02:00
Kelson
418abbcefa
Merge pull request #1116 from kiwix/bump-up-to-version-14.0.0
...
Bump-up version to 14.0.0
2024-09-01 12:47:13 +00:00
Emmanuel Engelhart
00867a13f6
Rename deb .install file
2024-09-01 14:39:45 +02:00
Emmanuel Engelhart
e096c7e2fd
Bump-up version to 14.0.0
2024-09-01 10:48:49 +02:00
Kelson
69341eab47
Merge pull request #1114 from kiwix/update-deb-packages-ci-cd
...
Update deb packages CI/CD
2024-09-01 08:41:30 +00:00
Emmanuel Engelhart
082727ebb6
Comment out Debian related CI/CD
2024-09-01 10:31:19 +02:00
Emmanuel Engelhart
75a4f8b806
Requires libzim9
2024-09-01 10:14:03 +02:00
Emmanuel Engelhart
2eaa1c4649
Refresh deb packages CI/CD
2024-09-01 10:06:31 +02:00
Matthieu Gautier
199a10d093
Merge pull request #1113 from kiwix/ci_windows
2024-08-27 13:25:40 +02:00
Matthieu Gautier
4812fb18f6
Ensure resources use `\n` as newline and not `\r\n`
...
It appears that git on Windows replace `\n` with `\r\n` in the working
tree.
So compiled resources contain a extra `\r` and our tests are failing.
2024-08-27 13:17:53 +02:00
Matthieu Gautier
940818d801
Do not do iterator underflow in urlDecode
...
`value.end() - 3` may be "before start of string" if string length is < 3.
On Windows debug, is throw an exception.
On other platform it is probably an undefined behavior.
Rewrite the test to avoid such invalid substraction.
2024-08-27 13:17:53 +02:00
Matthieu Gautier
5182a66b19
Update test to have Windows paths on Windows
2024-08-27 13:17:53 +02:00
Matthieu Gautier
b688aa294a
[CI] Build libkiwix on Windows CI
...
As kiwix-build now publish deps archive for libkiwix on Windows (github actions),
we can now start compiling (and test !!) libkiwix on Windows CI.
2024-08-22 17:04:54 +02:00
Kelson
27ad77c566
Merge pull request #1111 from kiwix/revert-1110-revert-1107-feature/data-directory
...
"Removed getDataDirectory()" again
2024-08-21 23:50:24 +02:00
Matthieu Gautier
7677f76854
Revert "Revert "Removed getDataDirectory()""
2024-08-21 22:58:42 +02:00
Kelson
513a8d1383
Merge pull request #1105 from kiwix/string_slugification
...
Add String Slugification for Generating File Name
2024-08-14 20:24:08 +00:00
ShaopengLin
be464a5986
Introduce getSlugifiedFileName in tools.h
...
The function sanitizes file names depending on OS.
2024-08-14 20:11:11 +00:00
Kelson
c2042c3be8
Merge pull request #1112 from kiwix/public_i18n_api
...
Public i18n API
2024-08-14 11:18:29 +00:00
Veloman Yunkan
8d480c8b6d
Introduced translateBookCategory()
2024-08-14 12:45:37 +04:00
Veloman Yunkan
82ff88f5d8
Made some i18n API public
2024-08-14 12:45:37 +04:00
Veloman Yunkan
2535f210b3
Renamed src/server/{i18n -> i18n_utils}.h
...
... so that i18n.h can be introduced in include/
2024-08-14 12:44:20 +04:00
Matthieu Gautier
cb0a2c234a
Merge pull request #1110 from kiwix/revert-1107-feature/data-directory
2024-08-12 16:32:21 +02:00
Matthieu Gautier
5a73a75798
Revert "Removed getDataDirectory()"
2024-08-12 16:22:01 +02:00
Matthieu Gautier
0ea756c42a
Merge pull request #1107 from kiwix/feature/data-directory
2024-08-12 14:41:33 +02:00
sgourdas
7108dfa9c2
Remove makeDirectory
2024-08-11 23:46:48 +03:00
sgourdas
9fd8e81de2
Remove getDataDirectory
2024-08-11 23:46:34 +03:00
sgourdas
566b40a2f8
Pass download directory directly to startDownload
2024-08-11 23:45:27 +03:00
Kelson
ff6d8a4b30
Merge pull request #1108 from kiwix/pkgconf
...
Replace pkg-config by pkgconf package in deb
2024-08-07 05:03:38 +00:00
Emmanuel Engelhart
f456ce3e93
Replace pkg-config by pkgconf
2024-08-07 06:53:25 +02:00
Veloman Yunkan
ece40966f1
Merge pull request #1097 from kiwix/robust_download_management
...
kiwix::Downloader's constructor pauses all downloads found in the aria session file
2024-07-08 20:26:24 +04:00
Veloman Yunkan
65a777d4ed
Active downloads are paused before starting aria2c
...
The aria session file is edited before starting aria2c. This ensures
responsive aria2c RPC server even after a crash.
2024-07-08 20:17:07 +04:00
Veloman Yunkan
42295c9010
Defense against non-responsive aria RPC on startup
...
Downloader constructor may get stuck if the check for the aria2c RPC
being up gets stuck due to curl_easy_perform() never returning (or, at
least, taking longer than I was willing to wait). Currently it may
happen, for example, after an application crashes with active downloads
being saved to slow media. Then the next creation of a Downloader object
will deal with aria2c immediately resuming those downloads and becoming
unresponsive as it struggles flushing incoming data to slow storage (or
because of some other unfortunate timing of the RPC request being
received while it cannot yet be served).
2024-07-08 20:17:07 +04:00
Veloman Yunkan
e8afcbe6ae
Downloader::close() is called in destructor
2024-07-08 20:17:07 +04:00
Veloman Yunkan
c46cd403ae
Downloader::close() pauses all downloads
...
Otherwise, creating a Downloader object next time may take very long (or
that operation may get stuck) if an active download is being saved to slow
media.
2024-07-08 20:17:07 +04:00
Kelson
af96b19bd1
Merge pull request #1091 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-06-30 13:38:26 +02:00
translatewiki.net
8a00e9383d
Localisation updates from https://translatewiki.net .
2024-06-27 14:07:38 +02:00
Veloman Yunkan
964131ce47
Merge pull request #1096 from harsha-mangena/i1095-consistancy-issue
...
[fixes]ZIM size being advertized inconsistently between MB and MiB
2024-06-24 12:50:29 +04:00
harsha-mangena
97832c8436
Book sizes are shown in binary (MiB, etc) units
...
Switched display of ZIM sizes from decimal (MB) to binary (MiB) units.
Also made the size value to be formatted in a more human friendly way
(fractional part is shown only to provide at least three significant
digits).
2024-06-24 12:40:49 +04:00
Kelson
beab8d7041
Merge pull request #1093 from kiwix/network_tools_backward_compatibility
...
Backward compatible support for IPv6
2024-06-11 11:27:05 +02:00
Veloman Yunkan
75bddbf725
"Unittests" for getBestPublicIp() & getNetworkInterfaces()
...
The unit-tests only call the said functions and print their output
which should then be examined by the maintainer.
2024-06-11 11:19:49 +02:00
Veloman Yunkan
5927550a36
kiwix::getNetworkInterfacesIPv4Or6()
...
- Restored kiwix::getNetworkInterfaces() API to the version before
support for IPv6 was introduced
- Renamed the new API method to kiwix::getNetworkInterfacesIPv4Or6()
2024-06-11 11:19:49 +02:00
Veloman Yunkan
135c6f875d
Hid some symbols in unnamed namespace
2024-06-11 11:19:49 +02:00
Veloman Yunkan
83101679a0
Backward compatible overload of getBestPublicIp()
2024-06-11 11:19:49 +02:00
Matthieu Gautier
ae4b652fb2
Merge pull request #1092 from kiwix/fix_extra_lib_args
2024-06-03 16:06:43 +02:00
Matthieu Gautier
01b94418eb
Fix wrong usage of `extra_link_args` variable.
2024-06-03 14:44:31 +02:00
Kelson
a1ce3d10b1
Merge pull request #1074 from aryanA101a/main
...
Add IPv6 support to HTTP daemon
2024-05-29 21:10:13 +02:00
Aryan Arora
b7eadf95bf
handle ip modes & add compilation flags for windows build
2024-05-29 21:05:01 +02:00
Aryan Arora
a6cf161341
add ipv6 support to HTTP daemon
2024-05-29 21:05:01 +02:00
Veloman Yunkan
618a718645
Merge pull request #1073 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-05-27 18:01:00 +04:00