Commit Graph

2828 Commits

Author SHA1 Message Date
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
Veloman Yunkan c2cc4c39f1 Registered i18n resources for new languages 2024-05-27 17:41:29 +04:00
translatewiki.net 8477e04ffa Localisation updates from https://translatewiki.net. 2024-05-27 14:07:46 +02:00
Kelson 5345d43017
Merge pull request #1086 from kiwix/getdatadirectory-doc
Improve  documentation
2024-05-20 15:43:33 +02:00
Emmanuel Engelhart 843adb3397
Improve documentation 2024-05-20 15:41:31 +02:00
Kelson 4fe4a88574
Merge pull request #1088 from kiwix/better-kiwix-server-home-buttom-width
Better Kiwix Server taskbar home button max-width
2024-05-20 14:22:28 +02:00
Emmanuel Engelhart 6ee09114eb
Better Kiwix Server taskbar home button max-width 2024-05-19 20:54:36 +02:00
Kelson 7366938785
Merge pull request #1079 from kiwix/raw-tag-displayed
Revert humanfriendly tag display in Kiwix Server
2024-05-12 17:59:06 +02:00
Emmanuel Engelhart 84405b1318
Revert humanfriendly tag disply in Kiwix Server 2024-05-12 17:54:34 +02:00
Kelson a0c4118fd3
Merge pull request #1080 from kiwix/improve-custom-lang-mapping
Complete custom language mapping
2024-05-12 15:02:58 +02:00
Emmanuel Engelhart 72147aec5b
Complete custom language mapping 2024-05-11 16:42:43 +02:00
Kelson 016072292c
Merge pull request #1075 from kiwix/kiwix-server-accesskeys
Add Kiwix server a few accesskeys
2024-05-11 11:23:35 +02:00
Emmanuel Engelhart 2964cc5e92 Updates tests 2024-05-11 11:23:27 +02:00
Emmanuel Engelhart 8d766335b4 Add accesskey to Kiwix Server home button 2024-05-11 11:23:27 +02:00
Emmanuel Engelhart 5450bcd3c2 Add accesskey to Kiwix Server library button 2024-05-11 11:23:27 +02:00
Emmanuel Engelhart a0b66eae0c Add accesskey to Kiwix Server random button 2024-05-11 11:23:27 +02:00
Emmanuel Engelhart 22c75245a5 Add accesskey to Kiwix Server multiple search inputs 2024-05-11 11:23:27 +02:00
Kelson f40c3426a5
Merge pull request #1077 from kiwix/better-kiwix-server-download-overlay
Better labels/hints for Kiwix Server download overlay
2024-05-11 11:23:05 +02:00
Emmanuel Engelhart 8e6569362c
Better labels/hints for Kiwix Server download overlay 2024-05-11 11:21:39 +02:00
Matthieu Gautier eb328ed73d
Merge pull request #1071 from kiwix/build_dir 2024-04-09 14:16:39 +02:00
Matthieu Gautier 21e3c5c19f New version of dl_deps_archive action doesn't need os_name. 2024-04-09 11:36:55 +02:00
Matthieu Gautier f0927fec49 Build libkiwix with new archive from kiwix-build 2024-04-08 16:46:14 +02:00