Kunal Mehta
0df3c14faa
Remove more references to kiwix-read
...
Was removed in f9ce353ad181cb3e.
2022-07-31 09:43:53 +02:00
Kelson
092be45512
Merge pull request #571 from kiwix/rootLocation
...
Default kiwix-serve's rootLocation to "/"
2022-07-28 19:11:33 +02:00
renaud gaudin
442de30ff7
Normalize printed rootLocation
...
Reusing libkiwix's normalizeRootUrl() to display a more reliable representation of the
rootLocation the InternalServer will be using.
Can't reuse server.m_root as it is private.
2022-07-28 15:51:46 +00:00
renaud gaudin
9c16e53767
Default kiwix-serve's rootLocation to "/""
...
Usage mentions that the rootLocation defaults to `/` while it was not.
It defaulted to an empty string.
While it defaulting to "" or "/" has no technical consequence: libkiwix's server
normalizes the requested rootLocation ; it leads to users setting a "/"-prefixed
rootLocation when customizing it, resulting in double-slashed print of the URL
to access kiwix-serve at.
This harmonizes usage and actual default, fixing the URL print.
2022-07-28 11:30:48 +00:00
Matthieu Gautier
f9dc22a671
Merge pull request #565 from kiwix/multipleAddresses
2022-07-11 14:15:20 +02:00
Nikhil Tanwar
7526148f89
Do not allow multiple values for same option
...
Previously, kiwix-serve would take the last value for the same option. This was unintuitive.
This change exits the program if multiple values for the same option are found.
2022-07-11 11:21:09 +02:00
Kelson
da55468a88
Merge pull request #567 from kiwix/exit-if-argument-error
...
Exit if wrong argument given to kiwix-serve
2022-07-11 11:11:50 +02:00
Emmanuel Engelhart
86fac0e9af
Exit if wrong argument given to kiwix-serve
2022-07-10 21:33:27 +02:00
Kelson
5709d4d489
Merge pull request #564 from kiwix/fixHeader
...
Add iostream header and namespace std
2022-07-07 06:34:51 +02:00
Nikhil Tanwar
8efa71d307
Use std namespace consistently
...
Previously, there was an inconsistent usage of no namespace vs namespace.
This change fixes that by correctly adding std:: whenever required.
Adds iostream header in src/version.h to fix cout/cerr problems.
2022-07-06 20:55:44 +05:30
Kelson
3f076c2b27
Merge pull request #560 from kiwix/fix-identation
...
Fix broken indentation in usage()
2022-06-23 10:30:47 +02:00
Emmanuel Engelhart
6266c3baa8
Fix broken indentation in usage()
2022-06-23 10:26:43 +02:00
Matthieu Gautier
b2bc6cead2
Merge pull request #559 from kiwix/version_3.3.0
3.3.0
2022-06-15 14:46:15 +02:00
Matthieu Gautier
b7a6f78150
New version 3.3.0
2022-06-15 14:25:48 +02:00
Kelson
9e3d4c9615
Merge pull request #558 from kiwix/limit_books_search
...
Add a option to limit the number of zim in a fulltext multizim search.
2022-06-14 11:03:14 +02:00
Matthieu Gautier
472ff19861
[CI] Use last docker image (and dependencies)
2022-06-14 10:49:46 +02:00
Matthieu Gautier
97aa28c74d
Add a option to limit the number of zim in a fulltext multizim search.
2022-06-14 10:41:31 +02:00
Kelson
2c40d23991
Merge pull request #555 from kiwix/manager_add_no_library
...
It is ok to not be able to read library if we ADD book to non existant library
2022-06-06 17:37:24 +02:00
Matthieu Gautier
ca8d6e570c
It is ok to not be able to read library if we ADD book to non existant lib
2022-06-03 10:54:43 +02:00
Matthieu Gautier
78887d6815
Merge pull request #553 from kiwix/manager_return_code
2022-06-03 09:11:59 +02:00
Matthieu Gautier
643a07f653
Make kiwix-manage return with something !0 if something went wrong
2022-06-02 23:01:58 +02:00
Matthieu Gautier
9a07dd8314
Merge pull request #546 from kiwix/fix_win_cross_compilation
2022-03-11 14:45:04 +01:00
Matthieu Gautier
bdd36f0379
Do not define stat if not necessary.
...
On recent mingw compiler, `stat` is already defined the same way we do.
So we don't need to do it.
2022-03-11 14:41:47 +01:00
Kelson
62195c788e
Merge pull request #541 from kiwix/ci_fix
2022-02-14 10:34:52 +01:00
Veloman Yunkan
fa7948abbe
Fixed armhf_static CI build
2022-02-14 11:17:37 +04:00
Kelson
2c701cb260
Merge pull request #535 from kiwix/saying_no_to_deprecated_libkiwix_api
...
Removed the usage of libkiwix deprecated API
2022-02-10 10:34:32 +01:00
Veloman Yunkan
8b36e94d50
Now kiwix-tools is built with werror=true
2022-02-10 13:13:11 +04:00
Veloman Yunkan
f9ce353ad1
Goodbye kiwix-read
...
`kiwix-read` was a confusing tool. It was a loose equivalent of
`kiwix-search --suggest` also able to work on old ZIM archives that didn't
contain a title index. Its existence is not justified.
2022-02-10 13:13:10 +04:00
Veloman Yunkan
2bb080ee3b
Cleared kiwix-search of libkiwix deprecated API
2022-02-10 13:13:10 +04:00
Kelson
dd5aa33775
Merge pull request #534 from kiwix/ipLimit
...
Add ip connection limit option
2022-02-06 15:23:39 +01:00
Emmanuel Engelhart
0ed608f5c2
Cosmetic changes in kiwix-serve usage()
2022-02-06 15:22:09 +01:00
Nikhil Tanwar
8f4758a6a9
Add ip connection limit option
...
Adds --ipConnectionLimit/-L option to change MHD_OPTION_PER_IP_CONNECTION_LIMIT by calling server.setIpConnectionLimit()
2022-02-05 18:31:01 +05:30
Kelson
b10f2ed1a1
Merge pull request #530 from kiwix/legoktm-patch-1
...
PPA: Remove Ubuntu Hirsute, EOL
2022-02-01 08:29:22 +01:00
Kunal Mehta
94549828cb
PPA: Remove Ubuntu Hirsute, EOL
2022-01-31 23:13:46 -08:00
Kelson
f342bd5e24
Merge pull request #526 from kiwix/legoktm-patch-1
2022-01-24 06:42:36 +01:00
Kunal Mehta
f316bb14a2
PPA: Fix libzim-dev and libkiwix-dev dependencies
...
Our libzim packages are "7.2.0~focal" but the ~ means that "7.2.0" is greater than
"7.2.0~focal" so the dependency can't be satisfied. Depending on "7.2.0~" will
allow "7.2.0~focal" to satisfy the dependency. Same for libkiwix.
2022-01-23 20:31:31 -08:00
Matthieu Gautier
ea44dc76f6
Merge pull request #525 from kiwix/version_3.2.0
3.2.0
2022-01-20 14:38:07 +01:00
Matthieu Gautier
6dfdcea5ce
New version 3.2.0
2022-01-19 17:03:14 +01:00
Matthieu Gautier
0ef85944b8
Update dependencies.
...
zlib and microhttpd are used by libkiwix, not kiwix-tools.
We indeed need libzim, but we use no feature related to xapian so no
need to mark it as mandatory.
(Libkiwix needs it and the check is there)
2022-01-19 17:03:14 +01:00
Kelson
04ac15508f
New deps needed ( #523 )
...
* kiwix-tools need libkiwix 10.0.0
* Compilation requires libzim 7.2.0 now
2022-01-19 13:04:25 +01:00
rgaudin
eeb41d8047
Merge pull request #524 from OlegSmelov/fix/dockerfile
...
Fix dumb-init HTTPS download in Dockerfile
2022-01-17 09:00:28 +00:00
Oleg Smelov
85a3093df3
Fix dumb-init HTTPS download in Dockerfile
2022-01-16 20:39:19 +02:00
Kelson
2c435926ca
Merge pull request #522 from kiwix/showCustomRoot
...
Add root location in startup message
2022-01-14 16:18:34 +01:00
Nikhil Tanwar
b8c4791dd0
Add root location in startup message
2022-01-14 17:41:34 +05:30
Kelson
701541aa2f
Merge pull request #520 from kiwix/no_werror
...
Do not compile with `werror=true`.
2022-01-12 19:20:17 +01:00
Matthieu Gautier
527981ba66
Do not compile with werror=true
.
...
We are using `kiwix::Reader` and `kiwix::Searcher` which are now
deprecated.
Remove `werror` until we fix this.
2022-01-12 18:22:46 +01:00
Kelson
d8ed915c80
Merge pull request #517 from kiwix/fileExists
...
Change kiwix::fileExists to kiwix::fileReadable
2022-01-09 20:17:26 +01:00
Nikhil Tanwar
74d3bffde0
Change kiwix::fileExists to kiwix::fileReadable
2022-01-09 20:10:45 +01:00
Kelson
b974e121b4
Merge pull request #516 from kiwix/dependences_version
...
Print dependence versions
2022-01-03 09:02:58 +01:00
Emmanuel Engelhart
d2bb9d123e
Print dependence versions
2022-01-03 08:54:38 +01:00