Matthieu Gautier
b2bc6cead2
Merge pull request #559 from kiwix/version_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
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
Kelson
9b158360a6
Merge pull request #499 from kiwix/startup-message
...
Add startup message to provide http url to server
2021-12-22 18:38:25 +01:00
Nikhil Tanwar
7d2c67f43d
Add startup message to provide http url to server
2021-12-22 18:37:13 +01:00
Kelson
a080a3137e
Merge pull request #515 from kiwix/dumb-init
...
Fixed docker image for non-amd64 platforms
2021-12-21 12:00:29 +01:00
renaud gaudin
dedcae83cd
Fixed docker image for non-amd64 platforms
...
PR#489 (01430603b6 ) introduced dumb-init for better
signals handling.
While this has the intended effect, it was done ny downloading the dumb-init static bin
into the image… only using the amd64 version.
Ever since, the image(s) have been broken for armv7 and arm64.
As dumb-init doesn't provide 32b arm binary and because it's such a simple/small code,
this fix compiles it in a builder shallow image ; ensuring we're getting an appropriate
binary for the target arch.
We are also statically linking against musl-C as this is supported by dumb-init and is
much smaller than glibc.
2021-12-21 10:27:28 +00:00
Kelson
c0fa06c931
Merge pull request #514 from kiwix/legoktm-patch-1
...
PPA: Reinstate Ubuntu Impish, add Jammy
2021-12-20 07:57:17 +01:00
Kunal Mehta
dbe6126496
PPA: Reinstate Ubuntu Impish, add Jammy
2021-12-19 16:47:59 -08:00
Kelson
94bf71eb82
Merge pull request #512 from kiwix/updated-kiwix-serve-usage-message
2021-12-13 19:19:17 +01:00
Veloman Yunkan
25e9941f6a
Mentioned --monitorLibrary in the help message
2021-12-13 22:16:47 +04:00
Kelson
81d8ad964a
Merge pull request #511 from kiwix/kiwix-serve-help-option
2021-12-13 17:16:19 +01:00
Emmanuel Engelhart
9a49623879
Add -h/--help option to kiwix-serve
2021-12-13 15:48:42 +01:00
Kelson
f7f10597eb
Merge pull request #504 from fazlerabbi37/feature-docker-compose
...
Add docker-compose for kiwix-server
2021-12-11 05:13:30 +01:00
Fazle Rabbi
c8be7c47ca
Modify README.md to link to docker-compose doc
2021-12-10 21:09:14 +06:00
Fazle Rabbi
f356587b23
Add docker-compose for kiwix-server
...
added docker-compose for kiwix-server via docker-compose.yml.example which supports both local and remote zim file.
updated README.md to update about docker-compose.yml.example
2021-12-09 18:16:41 +06:00
Matthieu Gautier
32432a7113
Merge pull request #503 from kiwix/automatic_library_reloading
2021-12-06 10:53:13 +01:00
Veloman Yunkan
7985ba1b0c
kiwix-serve [--monitorLibrary|-M]
2021-12-05 19:53:18 +04:00
Kelson
933aa0cd63
Merge pull request #497 from kiwix/library_reloading
...
Library reloading on SIGHUP
2021-12-03 16:34:26 +01:00
Veloman Yunkan
098e1cfe51
Library reloading on SIGHUP
...
Note that this enhancement drops the --donottrustlibrary mode.
2021-12-03 18:52:34 +04:00
Kelson
43b5be179a
Merge pull request #501 from kiwix/fix_option_parsing
...
Add missing break in the switch case.
2021-12-01 15:44:12 +01:00
Matthieu Gautier
88213b3f3b
Add missing break in the switch case.
...
Fix #500
2021-12-01 15:41:16 +01:00
Matthieu Gautier
7659efa97c
Merge pull request #488 from kiwix/kiwix-serve_sigterm_handling
2021-10-18 10:42:54 +02:00
Veloman Yunkan
4faaa978f7
Handling of SIGTERM & SIGINT in kiwix-serve
2021-10-18 00:01:25 +04:00
Matthieu Gautier
d73fcb357f
Merge pull request #491 from kiwix/fix_ci_docker_version
2021-10-14 14:18:52 +02:00
Matthieu Gautier
61e82228a4
Last CI docker image is 31
2021-10-14 14:16:13 +02:00
Matthieu Gautier
01430603b6
Merge pull request #489 from kiwix/docker-signals
2021-10-14 14:12:23 +02:00
renaud gaudin
6c31d0d7b0
Fixed #482 : use dumb-init in docker for signal forwarding
...
Following-up on discussion in #488 , now using https://github.com/Yelp/dumb-init
as entrypoint so our kiwix-* tools properly receives signals
2021-10-14 09:30:04 +02:00
Kelson
c1731c9697
Merge pull request #490 from kiwix/ci-disable-impish
...
Disable Ubuntu Impish in CI
2021-10-14 09:29:35 +02:00
Emmanuel Engelhart
929c36c930
Disable Ubuntu Impish in CI
2021-10-14 09:26:46 +02:00
Kelson
3df4a94863
Merge pull request #477 from kiwix/kiwix-serve/issue/571
...
added --customIndexTemplate option
2021-10-13 06:55:12 +02:00
Emmanuel Engelhart
2cd190e965
Tune a bit an error message
2021-10-11 15:32:08 +02:00
Manan Jethwani
6a7c737d48
added --customIndexTemplate option
2021-10-11 18:55:47 +05:30
Kelson
b20e83bd0b
Merge pull request #485 from karandeeppotato/issue#483
2021-09-29 18:36:25 +02:00
karandeeppotato
7a3f77dbf2
Removed a redundant error message from kiwix-serve
...
The error message about failing to open the specified port was produced both
by kiwix-tools/src/server/kiwix-serve.cpp and by the InternalServer
constructor (in libkiwix/src/server/internalServer.cpp).
2021-09-29 18:47:55 +05:30
Kelson
71e065312f
Merge pull request #474 from kiwix/remove_groovy_package
...
Remove Groovy package
2021-07-28 21:38:40 +02:00
Emmanuel Engelhart
9f207a61f9
Remove Groovy package
2021-07-28 21:35:58 +02:00
Kelson
43656554f1
Merge pull request #465 from kiwix/ppa-impish
...
PPA: Build for Ubuntu Impish
2021-07-08 13:16:03 +02:00
Kunal Mehta
7d55c0f6ac
PPA: Build for Ubuntu Impish
2021-07-08 13:13:21 +02:00
Kelson
c3721970c5
Merge pull request #468 from kiwix/new_tools_libkiwix
...
Adapt kiwix-tools to the new libkiwix headers.
2021-07-08 13:10:45 +02:00
Matthieu Gautier
81ac333cc9
Adapt kiwix-tools to the new libkiwix headers.
...
Fix #467
2021-07-08 10:09:17 +02:00
Kelson
d1edbc11d3
Merge pull request #462 from kiwix/update-readme-libkiwix
...
Kiwix-tools does not depend on libmicrohttpd anymore
2021-05-30 15:55:05 +02:00
Emmanuel Engelhart
47929008cf
Kiwix-tools does not depend on libmicrohttpd anymore
2021-05-30 15:33:52 +02:00
Kelson
4ba79d9776
Merge pull request #459 from kiwix/update-readme-libkiwix
...
Update readme libkiwix
2021-05-28 14:10:45 +02:00
Emmanuel Engelhart
c1e2913f24
Kiwix-lib has been renamed to libkiwix, update README.md
2021-05-28 09:56:37 +02:00
Kelson
ac3e889388
Merge pull request #461 from kiwix/use_suggestion_class_functions
...
Use SuggestionItem member function getTitle()
2021-05-28 09:55:17 +02:00
Maneesh P M
6d9fa0cb45
Use SuggestionItem member function getTitle()
...
We have introduced a new class SuggestionItem in libkiwix, it must be
used in kiwix-tools as well for handling suggestions.
2021-05-28 12:56:22 +05:30
rgaudin
c76bbabd10
Merge pull request #455 from kiwix/kiwix-tools-docker-badge
...
Add kiwix-tools Docker badge
2021-05-03 07:55:06 +00:00
Kelson
a5cf735ffe
Add kiwix-tools Docker badge
2021-05-02 09:50:05 +02:00
Matthieu Gautier
b064796c2d
Merge branch 'arjun-369-master'
2021-04-28 14:49:20 +02:00
arjun-369
6f2316bc8a
Update kiwix-search.cpp for a bug fix
2021-04-28 14:48:46 +02:00
Kelson
b2aeb08051
Merge pull request #433 from kiwix/better-pid-type-conversion
...
Better PID type conversion
2021-01-24 19:41:11 +01:00
luddens
17b7fb2145
Better PID type conversion
2021-01-24 11:22:57 +01:00
Kelson
36c7bf4d6f
Better Docker badge
2021-01-11 10:41:38 +01:00
renaud gaudin
a3ed7ad3e1
using two jobs to isolate envs
2021-01-08 18:35:23 +00:00
rgaudin
b7d884ceb2
Merge pull request #429 from kiwix/docker
...
CI built docker image
2021-01-08 15:33:26 +00:00
renaud gaudin
19322958b3
Support for non-release builds
...
- only building on workflow_dispatch with a specified version that can be a release or release-build
2021-01-08 15:29:19 +00:00
renaud gaudin
ccb8d11dce
CI built docker image
...
- added a new generic kiwix/kiwix-tools image
- kiwix/kiwix-serve now based on kiwix/kiwix-tools ; with its entrypoint
- both images are built with official binary distribution
- both images are built on github action and pushed to both docker.io and ghcr.io
- both images are multi-arch and support arm/v7, arm64 and amd64
- built on release published or workflow_dispatch event (to be triggered by kiwix-build)
2021-01-07 22:13:49 +00:00
Kelson
7bdbe901db
Merge pull request #419 from kiwix/legoktm-patch-1
...
PPA: Build for Ubuntu Hirsute
2020-12-18 23:51:42 +01:00
Kunal Mehta
7e6e74330a
PPA: Build for Ubuntu Hirsute
2020-12-03 22:48:19 -08:00
Matthieu Gautier
9efd18a9a4
Merge pull request #409 from kiwix/kelson42-patch-1
...
Add instructions to build image for ARM
2020-09-21 18:12:29 +02:00
Kelson
0e9f406180
Add instructions to build image for ARM
2020-09-19 13:55:15 +02:00
Kelson
0160f356a6
Merge pull request #405 from kiwix/multiarch-docker
...
Add support for ARM in Docker
2020-09-02 17:13:37 +02:00
renaud gaudin
8cc34782bc
support arm arch for kiwix-serve image
2020-08-31 11:27:29 +02:00
Kelson
b2c68d7f22
Merge pull request #403 from hashworks/archCommunityPkg
...
Add repology package badge
2020-08-30 22:06:42 +02:00
hashworks
977cfb9887
Switch to repology package badge
2020-08-30 21:00:28 +02:00
hashworks
1671effaf4
Replace AUR shield with official Arch Linux package
...
I recently became an Arch Linux Trusted User and moved kiwix-tools to
the official community repository. Hence, the shield needs to be
updated.
2020-08-30 13:19:28 +02:00
Kelson
8d00e45d2a
Merge pull request #398 from kiwix/ppa-sync
...
PPA: Drop eoan and sync with proper Debian package
2020-07-24 12:42:19 +02:00
Kunal Mehta
730f20e86f
debian: Sync with proper Debian package, bump to debhelper 13
2020-07-24 03:08:53 -07:00
Kunal Mehta
ff5f1d96d2
PPA: Drop Ubuntu eoan, EOL
...
Launchpad no longer accepts eoan uploads.
2020-07-24 03:07:47 -07:00
Kelson
d1d72218b3
Example with multiple ZIM files
2020-07-22 16:53:31 +02:00
Matthieu Gautier
88269c1ff2
Merge pull request #394 from kiwix/ppa
2020-07-20 11:54:56 +02:00
Kunal Mehta
4ee202514e
PPA: Set fail-fast: false
...
See discussion/rationale on <https://github.com/openzim/libzim/pull/370 >.
2020-07-16 06:04:01 -07:00
Kunal Mehta
98b372ee17
Automatically build and publish packages via Github Actions
...
Same exact configuration as kiwix-lib.
2020-07-13 17:46:02 -07:00
Kunal Mehta
8e5df188b3
Add minimal Debianization for our PPA
2020-07-13 17:45:59 -07:00
Matthieu Gautier
ed709454bd
Merge pull request #392 from kiwix/manpages
...
Add man pages for kiwix-read and kiwix-search
2020-07-09 10:47:06 +02:00
Kunal Mehta
f5762c72d3
Add man pages for kiwix-read and kiwix-search
2020-07-09 10:44:34 +02:00
Matthieu Gautier
1744b152ac
Merge pull request #393 from kiwix/legoktm-grammar
...
Improve grammar in kiwix-search help
2020-07-09 10:42:20 +02:00
Kunal Mehta
7f09e55077
Improve grammar in kiwix-search help
...
Suggested by Debian's lintian.
2020-07-09 00:35:24 -07:00
Matthieu Gautier
fdec897bc7
Release 3.1.2
2020-07-02 15:20:01 +02:00
Matthieu Gautier
764dd8848b
Merge pull request #391 from kiwix/new_kiwixlib_suggestion_api
...
Use new suggestion API of kiwix-lib.
2020-07-02 14:39:53 +02:00
Matthieu Gautier
4a944cc901
Use new suggestion API of kiwix-lib.
...
Old API is not threadsafe and is deprecated.
2020-07-01 16:51:41 +02:00
Matthieu Gautier
4120e7fd25
New version 3.1.1
2020-05-18 15:17:14 +02:00
Matthieu Gautier
8736a2f4ea
Merge pull request #383 from kiwix/include_windows
2020-05-18 13:38:38 +02:00
Matthieu Gautier
00b810d649
Include missing "windows.h"
...
Now that libzim doesn't inculde "windows.h" in its public headers it fails
if we don't include it.
2020-05-18 13:27:14 +02:00
Matthieu Gautier
5d21baa759
Fix typo in meson.build
2020-04-09 23:51:23 +02:00
Matthieu Gautier
6ba6046850
New version 3.1.0
2020-04-08 18:01:34 +02:00
Matthieu Gautier
d24f474dda
Merge pull request #367 from kiwix/block-external-links
...
Add support for external links blocking in kiwix-serve
2020-04-06 20:15:08 +02:00
Kelson
07de2d29c4
Merge pull request #371 from kiwix/better-ci-event
...
Run Github actions on any push (not only in PR)
2020-04-03 16:28:34 +02:00
Kelson
d99e5cd975
Run Github actions on any push (not only in PR)
2020-04-03 16:26:47 +02:00
Kelson
f82d5aa7e5
CI badge from Github actions (instead of Travis)
2020-04-03 16:24:04 +02:00
renaud gaudin
824aef9189
Add support for external links blocking in kiwix-serve
...
Add a new `-b` `--blockexternallinks` option to kiwix-serve
triggering the corresponding response taskbar option in kiwix-lib.
2020-04-02 09:10:00 +00:00
Kelson
d6914eb34f
Bump-up version to 3.0.3
2020-03-01 15:50:32 +01:00
Kelson
b65212fab7
Merge pull request #364 from kiwix/fix-argument-parsing
...
Fix argument parsing
2020-03-01 15:49:17 +01:00
Kelson
83427af3d2
Update Changelog
2020-03-01 15:45:31 +01:00
Kelson
d572bf875d
Better --version argument parsing
2020-03-01 15:42:44 +01:00
Kelson
833c997782
Remove usell origId option parsing
2020-03-01 15:36:31 +01:00
Kelson
44613aae5d
Print information about /data if error
2020-02-18 08:38:18 +01:00
Matthieu Gautier
62e6c7ffb0
Merge pull request #359 from kiwix/new_version
...
New version 3.0.2
2020-02-13 11:44:29 +01:00
Matthieu Gautier
1df899ea87
New version 3.0.2
2020-02-12 15:23:29 +01:00
Kelson
3dd357e8ac
Merge pull request #356 from kiwix/missing-options
...
added shortcut for options --address and --nodatealiases
2020-02-10 16:42:24 +01:00
renaud gaudin
2744879df0
added shortcut for options --address and --nodatealiases
...
* allowed shortcut `-i` for `--address`
* allowed shortcut `-z` for `--nodatealiases`
2020-02-10 15:30:31 +00:00
Matthieu Gautier
19c3ebe629
Merge pull request #353 from kiwix/trust_library
...
[serve] Trust the library by default.
2020-02-05 11:06:05 +01:00
Kelson
cccd17a394
Github Kiwix Sponsoring page link
2020-02-01 17:56:27 +01:00
Matthieu Gautier
e9676ae66f
[serve] Trust the library by default.
...
Now `kiwix-serve` trust the information in the library.xml.
We do not open all zim file at startup and so kiwix-serve starts faster.
Need kiwix/kiwix-lib#314
Fix #319
2020-01-30 17:58:41 +01:00
Matthieu Gautier
2fd393285f
Use github action for the CI. ( #352 )
...
Use github action for the CI.
2020-01-21 18:52:26 +01:00
Matthieu Gautier
a44fd1a4d0
Use github action for the CI.
2020-01-21 18:50:58 +01:00
Kelson
a9ff2aebee
Simpliciation of README
2020-01-16 16:02:59 +01:00
Kelson
a2b944618f
More debug messages at kiwix-serve start
2020-01-16 14:57:53 +01:00
Kelson
d27abb41b7
Fix wrong URL in Kiwix serve Docker documentation
2020-01-16 14:49:17 +01:00
Kelson
5f12d0349f
Use latest version of kiwix-serve in Dockerfile
2020-01-16 14:19:46 +01:00
Kelson
7ec2308053
Add ability to download a file at container start
2020-01-16 14:04:03 +01:00
Kelson
e8b33a7136
Merge pull request #326 from kiwix/version
...
Version
2019-12-05 02:06:42 -05:00
Kelson
ca943b9d0b
Rename VERSION to KIWIX_TOOLS_VERSION to avoid collision
2019-12-05 07:59:57 +01:00
Kelson
c6757dd309
Various README.md improvements
2019-12-05 07:59:07 +01:00
Kelson
23b0ff3d01
Update changelog
2019-12-05 07:57:52 +01:00
Kelson
93116c76b3
Add --version option to kiwix-read
2019-12-05 07:57:52 +01:00
Kelson
4aca5ff551
Add --version option to kiwix-search
2019-12-05 07:57:52 +01:00
Kelson
4eb38869c1
New --version argument to kiwix-manage
2019-12-05 07:57:52 +01:00
Kelson
d17fd2af94
Add --version argument to kiwix-serve
2019-12-05 07:57:52 +01:00
Kelson
48db92af09
Move version.h to src/
2019-12-05 07:57:52 +01:00
Kelson
612081ec51
Compile with Meson version #defined
2019-12-05 07:57:52 +01:00
Kelson
4b5eb482b5
New version() function
2019-12-05 07:57:52 +01:00
Kelson
28997ccd58
Bump-up version to 3.0.2
2019-12-05 07:57:52 +01:00
Kelson
9dd042d813
travis-ci.org -> travis-ci.com
2019-12-05 06:56:43 +01:00
Kelson
61580bb738
Add 'Distribution' section in README.md
2019-11-23 17:57:12 +01:00
Kelson
dbae6439b2
Use latest version of kiwix-serve
2019-09-29 01:56:45 +02:00
Kelson
d6094b4112
Merge pull request #334 from kiwix/docker-badge-fix
...
Fix Docker badge
2019-09-08 20:07:33 +02:00
Kelson
64f1aa2408
Fix Docker badge
2019-09-08 20:06:51 +02:00
Kelson
ed1bae76c3
Merge pull request #333 from kiwix/aur-badges
...
Add AUR badge
2019-09-08 17:10:27 +02:00
Kelson
7418702a07
Add AUR badge
2019-09-08 17:08:09 +02:00
Kelson
796614fd7d
New kiwix-serve screenshots
2019-08-27 16:37:22 +02:00
Kelson
2ba9037687
Merge pull request #328 from kiwix/better-readme
...
Better README.md
2019-08-27 14:59:51 +02:00
Kelson
22be7c0dcf
Better README.md
2019-08-27 14:59:03 +02:00
Kelson
3fc9525754
Remove benchmark.sh
2019-08-27 14:46:10 +02:00
Kelson
a9d8f77526
Merge pull request #327 from kiwix/remove-backticks
...
Remove backticks from benchmark.sh
2019-08-27 14:42:38 +02:00
Kelson
1109b62570
Remove backticks from benchmark.sh
2019-08-27 14:27:44 +02:00
Kelson
3248c0f233
Merge pull request #325 from kiwix/last-kiwix-serve
...
Use kiwix-serve 3.0.1
2019-08-22 20:49:26 +02:00
Kelson
f8f66288ea
Use kiwix-serve 3.0.1
2019-08-22 20:42:49 +02:00
Matthieu Gautier
98c810eb2a
Nodatealiases regression fix ( #324 )
...
Nodatealiases regression fix
2019-08-22 17:31:51 +02:00
Kelson
50ca36417f
Remove [[gnu::unused]] for noDateAliasesFlag variable
2019-08-22 17:28:25 +02:00
Kelson
5a2714c9c9
Fix --nodatealiases inverted logic regression
2019-08-22 17:23:18 +02:00
Kelson
63cc513974
Bump-up version to 3.0.1
2019-08-22 17:23:11 +02:00
Matthieu Gautier
63ec03a3d4
New version ( #320 )
...
New version
2019-08-20 14:32:54 +02:00
Matthieu Gautier
e2f7c7a0ac
New version 3.0.0
2019-08-19 17:26:37 +02:00
Matthieu Gautier
a14cd5de23
Fix kiwix-serve usage message.
2019-08-19 17:26:28 +02:00
Matthieu Gautier
06c31430c5
Port kiwix-serve to new api in kiwix-lib to serve a content. ( #315 )
...
Port kiwix-serve to new api in kiwix-lib to serve a content.
2019-08-12 15:25:35 +02:00
Matthieu Gautier
8ffff9cd47
Port kiwix-serve to new api in kiwix-lib to serve a content.
...
A lot of code removed from this repository !!
2019-08-11 11:59:21 +02:00
Kelson
ef0fc514ad
Configure the Move bot
2019-08-05 10:32:37 +02:00
Kelson
6c1739d4cd
Merge pull request #314 from kiwix/nolibrarybutton-fix
...
Fix buggy --nolibrarybutton (regression)
2019-08-04 22:15:40 +02:00
Kelson
cd44ba53a5
Fix buggy --nolibrarybutton (regression)
2019-08-04 20:19:47 +02:00
Matthieu Gautier
d82f9e7d5e
Merge pull request #312 from kiwix/new_version
...
New version 2.1.0
2019-07-31 14:33:54 +02:00
Matthieu Gautier
720a319d53
New version 2.1.0
2019-07-30 17:46:38 +02:00
Matthieu Gautier
2426c35547
Merge pull request #306 from kiwix/multiple-tags-api
...
search api accept multiple tags parameter
2019-07-30 17:32:27 +02:00
luddens
794f63e22b
search api accept multiple tags parameter
2019-07-30 16:56:48 +02:00
Matthieu Gautier
79a64d5af3
Merge pull request #305 from kiwix/notag-parameter
...
add notag parameter to the api
2019-07-29 14:51:31 +02:00
luddens
2ef160bcad
add notag parameter to the api
...
this parameter get a string that contains all tags to exclude separated by
a ";". The kiwix::Filter() is set with this rejected tags.
2019-07-25 15:17:42 +02:00
Kelson
817a5d4847
Merge pull request #311 from kiwix/tools-details
...
Infos about the tools
2019-07-21 15:58:08 +02:00
Kelson
2c3882671b
Infos about the tools
2019-07-21 15:36:27 +02:00
Kelson
7e2c5bda03
Merge pull request #310 from kiwix/better-taskbar-padding
...
Increase a bit the taskbar padding
2019-07-13 07:19:40 +02:00
Kelson
59281bf496
Increase a bit the taskbar padding
2019-07-12 21:33:37 +02:00
Kelson
ee9ae0e81f
Merge pull request #309 from kiwix/better-taskbar-padding
...
Better kiwix-serve content (because of taskbar) top-padding
2019-07-12 20:18:25 +02:00
Kelson
2dbe0a0016
Better kiwix-serve content (because of taskbar) top-padding
2019-07-12 20:14:00 +02:00
Kelson
64717c2124
Merge pull request #300 from kiwix/ISNIT0/server-toolbar
...
Make server toolbar auto-hide and collapse buttons into dropdown on small screens
2019-07-09 12:36:23 +02:00
Kelson
fc1eb3c282
Bump-up kiwix-tools version to 2.1.0
2019-07-09 12:31:25 +02:00
Kelson
e31c1cd9a3
Update Changelog
2019-07-09 12:31:22 +02:00
Joe Reeve
e897dd4e59
Update classes and ids to have Kiwix namespace
2019-07-09 12:24:57 +02:00
Joe Reeve
7db7d2a2ab
Switch caret to image and move JS to separate file
2019-07-09 12:24:57 +02:00
Joe Reeve
5b612e67bd
Fix a few bugs found in code review
2019-07-09 12:24:57 +02:00
Joe Reeve
df047588a9
fix kiwix-serve toolbar search icon on article pages
2019-07-09 12:24:57 +02:00
Joe Reeve
9dede26717
Search icon positioning fix for Firefox
2019-07-09 12:24:57 +02:00
Joe Reeve
a22ae3d467
👌 updates from pr review
2019-07-09 12:24:57 +02:00
Joe Reeve
ea93a8a195
Fix padding and search bug, update button toggle icon
2019-07-09 12:24:57 +02:00
Joe Reeve
0a7f375f3a
Format taskbar.css
2019-07-09 12:24:57 +02:00
Joe Reeve
66c35b7b3e
Fix alignment, improve search box appearance
2019-07-09 12:24:57 +02:00
Joe Reeve
bad7f2ddf1
Make server toolbar auto-hide and collapse buttons into dropdown on small screens
2019-07-09 12:24:57 +02:00
Matthieu Gautier
758014a5ba
Merge pull request #304 from kiwix/int_retcode
...
Use integer to store the returnCode.
2019-07-01 11:24:22 +02:00
Matthieu Gautier
4fd961a761
Use integer to store the returnCode.
...
If we want to return `-1` we must use a integer, not a bool.
2019-06-27 19:15:41 +02:00
Matthieu Gautier
c063587a69
Merge pull request #303 from kiwix/no_unistd
...
Remove include of unistd.h
2019-06-27 18:49:13 +02:00
Matthieu Gautier
9b24676b02
Remove include of unistd.h
...
unistd.h is useless.
2019-06-27 18:20:22 +02:00
Matthieu Gautier
fc5572f495
Merge pull request #302 from kiwix/adapt_to_new_book_filter
...
Adapt kiwix-serve to the new api to filter library.
2019-06-27 09:55:50 +02:00
Matthieu Gautier
a1b3f46e4e
Adapt kiwix-serve to the new api to filter library.
...
See kiwix/kiwix-lib#234
2019-06-26 17:38:35 +02:00
Kelson
e0177c4923
Create FUNDING.yml
2019-06-22 07:58:19 +02:00
Matthieu Gautier
a365c1e720
Merge pull request #297 from kiwix/new_version
...
New version 2.0.0
2019-05-29 12:00:23 +02:00
Matthieu Gautier
3e97352128
[CI] Build on xenial.
2019-05-29 11:52:03 +02:00
Matthieu Gautier
78d2530878
New version 2.0.0
2019-05-29 11:52:03 +02:00
Kelson
d09f481b47
Merge pull request #298 from kiwix/better_usage
...
Small updates of the README
2019-05-29 10:37:27 +02:00
Emmanuel Engelhart
e0f07086d5
Small updates of the README
2019-05-29 10:29:48 +02:00
Kelson
bbff57e6aa
Merge pull request #290 from kiwix/add_footer
...
Add footer
2019-05-14 13:29:47 +02:00
Kelson
3c24d0a026
Add kiwix-serve welcome page footer
2019-05-04 14:09:26 +02:00
Kelson
6107bad17e
Remove deprecated js code
2019-05-04 13:44:06 +02:00
Kelson
5931ac45c4
Merge pull request #289 from kiwix/fix_multiple_add
...
Correctly set the zimPathToSave if there are several zim file to add.
2019-05-03 12:50:19 +02:00
Matthieu Gautier
4de8623a52
Correctly set the zimPathToSave if there are several zim file to add.
...
The variable `zimPathToSave` is used to store the option passed by the
user.
If we reuse this variable to store the real path to use for the first
zim file, then we will mess the path to save of other zim files.
Let's use a local variable here.
Fix #288
2019-05-03 12:09:23 +02:00
Kelson
6eace310a2
Merge pull request #284 from kiwix/better_kiwix-serve_usage
...
Better kiwix-serve usage()
2019-05-03 11:49:58 +02:00
Kelson
c6499ad5c6
Fix typo in kiwix-manage usage()
2019-05-03 11:41:18 +02:00
Emmanuel Engelhart
34ceaf37f2
Better kiwix-serve usage()
2019-05-03 11:38:35 +02:00
Kelson
f05096e2ce
Merge pull request #282 from kiwix/better_usage
...
Better kiwix-manage usage()
2019-05-03 11:31:48 +02:00
Emmanuel Engelhart
3864b2404c
Better kiwix-manage usage()
2019-05-03 11:23:53 +02:00
Kelson
4cd74dca4b
Merge pull request #283 from kiwix/remove_download_action
...
Remove kiwix-manage download action
2019-05-03 10:50:11 +02:00
Kelson
88cea54520
Revert "[kiwix-manage] Add a download command to kiwix-manage."
...
This reverts commit c1e635bd4e .
2019-05-03 10:42:14 +02:00
Matthieu Gautier
3061c8bba3
Merge pull request #281 from kiwix/thread_win
...
Do not use this_thread::sleep or thread::hardware_concurrency.
2019-04-17 17:57:03 +02:00
Matthieu Gautier
2774eb9529
Do not use this_thread::sleep or thread::hardware_concurrency.
...
Mingw doesn't implement them. So, we should not use it.
I suppose that it was working before because mingw package for debian trusty
simply no provides a "thread" header.
We may face to include the native "thread" header.
2019-04-17 15:48:33 +00:00
Kelson
77dc2ef2ed
Merge pull request #280 from kiwix/3_columns_fix
...
Display cards in 3 columns properly
2019-04-17 16:44:18 +02:00
Emmanuel Engelhart
17d11f9772
Display cards in 3 columns properly
2019-04-17 09:12:23 +02:00
Matthieu Gautier
68ac06c397
Merge pull request #278 from kiwix/fix_server
...
Fix server
2019-04-16 14:37:58 +02:00
Matthieu Gautier
99f6941614
New version 1.2.1
2019-04-16 14:30:54 +02:00
Matthieu Gautier
848d058610
Always use POLL wen possible.
...
SELECT works only with fd < 1024. If we've got "too many" zim files,
the fd of the socket is > 1024 and we cannot create the daemon.
Also add the MHD_USE_DEBUG flag when we are verbose.
Fix #277
2019-04-16 14:29:06 +02:00
Matthieu Gautier
cdb9b28d35
Merge pull request #276 from kiwix/new_version
...
New version 1.2.0
2019-04-15 16:02:34 +02:00
Matthieu Gautier
43e1740d52
New version 1.2.0
2019-04-15 15:56:05 +02:00
Matthieu Gautier
7e8d02990e
Merge pull request #270 from kiwix/noDateAliasesFlag
...
Add --nodatealiases command line option #269
2019-04-15 10:24:59 +02:00
Kelson
c337cf174e
Add --nodatealiases command line option #269
2019-04-07 10:09:37 +02:00
Matthieu Gautier
8a64083d5b
Merge pull request #274 from kiwix/fix_win
...
Do not use POLL on windows.
2019-04-04 14:06:42 +02:00
Matthieu Gautier
d0687e40a6
Do not use POLL on windows.
...
libmicrohttpd has no support of poll on windows.
2019-04-04 12:14:37 +02:00
Matthieu Gautier
14b0b901f1
Merge pull request #273 from kiwix/no_rpath
...
Remove rpath in installed binaries.
2019-04-04 12:12:13 +02:00
Matthieu Gautier
336cbe691d
Remove rpath in installed binaries.
...
Fix #250
2019-04-02 17:53:27 +02:00
Matthieu Gautier
26b4dd5f57
Merge pull request #272 from kiwix/multiple_add
...
[manage] Allow user to add several zim files to library in the same time.
2019-04-02 15:33:39 +02:00
Matthieu Gautier
8882a716a0
[manage] Allow user to add several zim files to library in the same time.
...
Note that no option is allowed if several zim files are specified.
Fix #236
2019-04-02 15:25:05 +02:00
Matthieu Gautier
fede5ef9b6
Merge pull request #271 from kiwix/show_id
...
[manage] Do not show all books if id has been provided on command line.
2019-04-02 14:58:56 +02:00
Matthieu Gautier
c5b293c6f3
[manage] Do not show all books if id has been provided on command line.
...
Fix #240 .
2019-04-02 14:45:36 +02:00
Kelson
d57a37cde6
Merge pull request #268 from kiwix/docker
...
New Docker image of kiwix-serve #257
2019-03-23 17:01:20 +01:00
Kelson
7d2bec3e39
New Docker image of kiwix-serve #257
2019-03-23 17:01:17 +01:00
Matthieu Gautier
472de06e6d
Merge pull request #267 from kiwix/new_version
...
Version 1.1.0
2019-03-19 17:36:57 +01:00
Matthieu Gautier
51a4a4e8ef
Version 1.1.0
2019-03-19 17:32:58 +01:00
Matthieu Gautier
6e310c7147
Force use of meson 0.49.2
2019-03-19 17:32:58 +01:00
Matthieu Gautier
790bd03bd7
Merge pull request #266 from kiwix/filter_by_tag
...
Allow to search the catalog by tags.
2019-03-08 15:11:05 +01:00
Matthieu Gautier
15c6252db4
Allow to search the catalog by tags.
...
This way a client may filter the catalog by category.
2019-03-07 17:22:16 +01:00
Matthieu Gautier
6fd22dec61
Merge pull request #264 from kiwix/fix_absolute_urls
...
Fix handling of absolute url in kiwix-serve.
2019-03-07 17:20:37 +01:00
Matthieu Gautier
c332c123fe
Fix handling of absolute url in kiwix-serve.
...
We still need to change the html content to handle absolute url in zims.
Issue has been introduced by commit 978dc47 . Some code was not related
to redirection but to absolute url. I have made a clean a bit too more
aggressive.
Fix #262
2019-03-04 14:54:03 +01:00
Matthieu Gautier
e4eafd7459
Merge pull request #260 from kiwix/new_version
...
New version 1.0.0
2019-02-22 11:19:03 +01:00
Matthieu Gautier
16a29127a1
New version 1.0.0
2019-02-22 10:50:33 +01:00
Matthieu Gautier
7fa0579ea1
Merge pull request #258 from kiwix/redirect
...
[server] Correctly implement 302 redirection if the entry is a redirection
2019-02-20 17:14:52 +01:00
Matthieu Gautier
978dc47865
[server] Correctly implement 302 redirection if the entry is a redirection.
...
If the entry is a redirection, we should redirect the client to the
right entry instead of serving the target content.
As we are doing a redirection, urls are good and we don't have to change
link inside the html or css content.
Fix #192
2019-02-20 16:57:10 +01:00
Matthieu Gautier
b7793f6e75
Merge pull request #259 from kiwix/use_correct_dep_archive
...
Use new xz archive
2019-02-20 16:46:19 +01:00
Matthieu Gautier
8095ae9ea8
Use new xz archive
2019-02-20 16:06:04 +01:00
Matthieu Gautier
286f599b3e
Merge pull request #256 from kiwix/new_version
...
New version
2019-01-29 14:00:23 +01:00
Matthieu Gautier
174b236312
New version 0.9.0
2019-01-29 11:45:55 +01:00
Matthieu Gautier
c7e9d44b38
We do not need the exact version 0.43.0 for meson.
2019-01-29 11:45:55 +01:00
Matthieu Gautier
3a80951c23
Merge pull request #255 from kiwix/update_to_api
...
Update to api
2019-01-23 17:42:59 +01:00
Matthieu Gautier
ffaecb5389
Update to last kiwix-lib API.
...
The `common` repository has been renamed to `tools`.
2019-01-23 15:48:53 +01:00
Matthieu Gautier
7b25308248
Update build system as we don't use ctpp2 anymore.
2019-01-23 15:46:14 +01:00
Matthieu Gautier
7ac14aa64f
Merge pull request #254 from kiwix/new_api_no_external_index
...
Do not handle external index.
2019-01-09 10:18:48 +01:00
Matthieu Gautier
3c8da8c74c
Do not handle external index.
...
Now that kiwix-lib do not handle external index, we must not try to handle
it ourselves.
See kiwix/kiwix-lib#190.
Fix #245
2019-01-08 17:40:02 +01:00
Matthieu Gautier
9ed3fc353b
Merge pull request #253 from kiwix/fix_warning
...
Initialize geoquery variables.
2019-01-08 17:39:30 +01:00
Matthieu Gautier
51051752f1
Initialize geoquery variables.
...
Fix #251
2019-01-08 16:15:55 +01:00
Kelson
4e8a8533c4
Merge pull request #248 from kiwix/legoktm-patch-2
...
Improve kiwix-serve.1
2018-12-20 10:05:32 +01:00
Kelson
fd2a0decd3
Merge branch 'master' into legoktm-patch-2
2018-12-20 09:40:34 +01:00
Kelson
624fb32091
Merge pull request #247 from kiwix/legoktm-patch-1
...
Improve grammar in kiwix-manage.1
2018-12-20 09:39:15 +01:00
Kunal Mehta
067a40a156
Improve kiwix-serve.1
...
Minor grammar fixes and remove reference to kiwix-install(1).
2018-12-20 00:36:09 -08:00
Kunal Mehta
cfa22365fe
Improve grammar in kiwix-manage.1
...
And change one of the URLs to HTTPS, and remove a reference
to the removed kiwix-install(1).
2018-12-20 00:28:32 -08:00
Popo le Chien
d5066ba6bf
Updated README
...
typo
2018-12-13 14:54:23 +01:00
Kelson
f1ec1ec182
Merge pull request #239 from kiwix/updated_usage
...
Update usage()
2018-11-17 09:08:19 +01:00
Kelson
d1802c52a2
Update usage()
2018-11-17 09:05:37 +01:00
Matthieu Gautier
38088ee321
New version 0.8.0
2018-11-12 16:52:29 +01:00
Matthieu Gautier
0f445e9791
Merge pull request #238 from kiwix/remove_several_id
...
Be able to remove several books in a single command.
2018-11-12 14:38:28 +01:00
Matthieu Gautier
1032a46c57
Be able to remove several books in a single command.
...
Fix #236
2018-11-12 14:00:45 +01:00
Matthieu Gautier
cbe8f1df87
Merge pull request #234 from kiwix/new_version
...
New version 0.7.0
2018-10-31 15:30:03 +01:00
Matthieu Gautier
2fe5ec1d7c
New version 0.7.0
2018-10-31 14:45:05 +01:00
Matthieu Gautier
eba80b92ef
Merge pull request #229 from kiwix/new_kiwix-lib_api
...
WIP New kiwix lib api
2018-10-26 13:28:59 +02:00
Matthieu Gautier
c1e635bd4e
[kiwix-manage] Add a download command to kiwix-manage.
...
With the download command, it is possible to download a zim corresponding
to a remote book in the library.
2018-10-26 13:26:04 +02:00
Matthieu Gautier
c8be8fbad8
[kiwix-manage] Update to last API of kiwix-lib.
...
`kiwix::Manager` cannot set the book index. We have to modify the book
itself.
We remove the `backend` option as the only supported xapian was and always
was xapian.
2018-10-24 15:24:27 +02:00
Matthieu Gautier
640f907fb2
Avoid recopy of books
2018-10-24 15:05:33 +02:00
Matthieu Gautier
eb407956b9
The index path must be absolute.
2018-10-24 15:05:14 +02:00
Matthieu Gautier
422dde9ff2
Allow the opds feed to filtered by the language and "paged".
2018-10-24 15:03:14 +02:00
Matthieu Gautier
f691f85724
Correctly get the bookIds to the opdsfeed.
...
We want to have LOCAL and REMOTE and VALID files.
2018-10-24 15:01:46 +02:00
Matthieu Gautier
fd4f228a41
Use the to_string function in kiwix lib instead of redefine it.
2018-10-24 14:53:25 +02:00
Matthieu Gautier
bf40d4ff91
Adapt kiwix-manage to new kiwix-lib API.
...
- Books are identified by Id, not by index.
- No more current option.
2018-09-06 18:59:51 +02:00
Matthieu Gautier
74fecd34e6
Adapt kiwix-serve to new API.
...
We also change the welcome page to link to icon url instead of
embeded them as base64 data.
2018-09-06 18:58:54 +02:00
Matthieu Gautier
881fe9f41d
Merge pull request #224 from kiwix/new_version
...
New version 0.6.1
2018-08-30 16:02:33 +02:00
Matthieu Gautier
c23e0bc38a
New version 0.6.1
2018-08-30 15:50:12 +02:00
Matthieu Gautier
d4d32aa2e8
Merge pull request #218 from int19h/217
...
Fix #217 : RequestContext::connection is unused
2018-08-03 11:52:54 +02:00
Pavel Minaev
4a88c44626
Fix #217 : RequestContext::connection is unused
2018-08-03 02:46:31 -07:00
Matthieu Gautier
0cc5b18488
Merge pull request #214 from int19h/213
...
Fix #213 : sockaddr_in is undefined when compiling on FreeBSD
2018-08-03 11:37:28 +02:00
Pavel Minaev
88a32a152f
Fix #213 : sockaddr_in is undefined when compiling on FreeBSD
...
Make sure that <netinet/in.h> is included as per POSIX spec.
2018-08-03 02:32:16 -07:00
Matthieu Gautier
4b8c8c5f6f
Merge pull request #216 from int19h/215
...
Fix #215 : istringstream used without #include <sstream>
2018-08-03 11:17:56 +02:00
Pavel Minaev
f0568ff4a7
Fix #215 : istringstream used without #include <sstream>
2018-08-03 02:12:53 -07:00
Kelson
ccdfe9839d
Merge pull request #212 from int19h/211
...
Fix #211 : getMimeTypeForFile does not handle files without extensions correctly
2018-08-03 07:57:51 +00:00
Pavel Minaev
221f3ef340
Fix #211 : getMimeTypeForFile does not handle files without extensions correctly
...
Use `auto` instead of `unsigned int` to ensure proper size on 64-bit platforms
2018-08-03 00:48:08 -07:00
Matthieu Gautier
0785636ca5
Merge pull request #219 from kiwix/new_dep_archive_root
...
New deps archives now contains the BUILD_ directory
2018-08-03 08:54:12 +02:00
Matthieu Gautier
a3429fdc88
New deps archives now contains the BUILD_ directory
2018-08-03 08:38:56 +02:00
Kelson
f99b6965e9
Merge pull request #210 from cyrillemoureaux/fix-141
...
Fix crash when --library is provided but no actual library path is.
2018-06-29 15:12:17 +02:00
cyrillemoureaux
228402b505
Fix crash when --library is provided but no actual library path is, by
...
avoiding going over argc.
2018-06-29 14:26:38 +02:00
Kelson
a9f8364333
Merge pull request #206 from kiwix/update_readme
...
Updated README
2018-06-24 16:18:49 +02:00
Emmanuel Engelhart
9f06c9c5eb
Updated README
2018-06-24 16:08:56 +02:00
Matthieu Gautier
0efbb2461d
Merge pull request #203 from kiwix/version_0.6.0
...
New version 0.6.0
2018-06-15 19:29:59 +02:00
Matthieu Gautier
b251e18af1
New version 0.6.0
2018-06-15 18:34:09 +02:00
Matthieu Gautier
5c040d3ee6
Merge pull request #200 from kiwix/improved_kiwix_serve_taskbar
...
Improved taskbar #160 #59
2018-06-15 18:32:06 +02:00
Matthieu Gautier
bb1afb5120
Also set magnify glass in the global taskbar.
2018-06-15 18:28:04 +02:00
Kelson
8fccbc4c99
Improved taskbar #160 #59
2018-06-15 18:08:48 +02:00
Matthieu Gautier
d0dc9ac81b
Merge pull request #202 from kiwix/gcc4.8
...
[TRAVIS] Compile using default gcc (4.8)
2018-06-15 18:03:49 +02:00
Matthieu Gautier
f9edd75f6c
[TRAVIS] Compile using default gcc (4.8)
2018-06-15 08:50:13 +02:00
Matthieu Gautier
9571148375
Merge pull request #201 from kiwix/compile_gcc4.8
...
Compile gcc4.8
2018-06-14 18:20:19 +02:00
Matthieu Gautier
282b85c341
Do not use std::sto[fi] or std::to_string.
2018-06-14 18:01:15 +02:00
Matthieu Gautier
4c3acd06de
Add missing include.
...
Needed by printf.
2018-06-14 17:35:40 +02:00
Kelson
4cd9d78d21
Merge pull request #199 from kiwix/kiwix_server_404
...
return 404 for missing resources
2018-06-09 16:21:17 +02:00
Philip Munaawa
efd4a1434e
return 404 for missing resources
2018-06-09 15:29:40 +02:00
Matthieu Gautier
dfc601dacf
Merge pull request #196 from kiwix/no_install
...
Remove kiwix-install tool.
2018-05-21 12:18:30 +02:00
Matthieu Gautier
7c254544ca
Remove kiwix-install tool.
...
Fix #189
2018-05-21 12:09:13 +02:00
Kelson
b22ee94f10
Merge pull request #195 from kiwix/proper_exit_code
...
Proper exit code
2018-05-20 08:34:41 +02:00
Kelson
3766c4882b
Proper exit code #194
2018-05-19 20:59:18 +02:00
Matthieu Gautier
26da54f9c3
Merge pull request #187 from swiftugandan/kiwix_serve-fix-global_page_static_resources-1
...
fix static resources on home page when using --nosearchbar
2018-04-24 14:16:12 +02:00
Philip Munaawa
4433421c48
also replace __CONTENT_ESCAPED__ for --nosearchbar
2018-04-24 13:06:46 +01:00
Philip Munaawa
c00f0be7ef
fix static resources on home page when using --nosearchbar
2018-04-24 11:29:41 +01:00
Matthieu Gautier
773b9e5443
Merge pull request #185 from kiwix/0.5.0
...
0.5.0
2018-04-23 20:49:57 +02:00
Matthieu Gautier
fbddabb10f
New version 0.5.0
2018-04-23 19:22:18 +02:00
Matthieu Gautier
3ad50ccf17
Update depenedency version of kiwix-lib.
2018-04-23 19:22:06 +02:00
Matthieu Gautier
c265eb8b24
Merge pull request #182 from kiwix/new_api
...
Update kiwix-serve to the new kiwix-lib API.
2018-04-23 18:42:52 +02:00
Matthieu Gautier
6f49e78eb4
Update kiwix-serve to the new kiwix-lib API.
...
Related to kiwix/kiwix-lib#123
2018-04-23 15:26:24 +02:00
Matthieu Gautier
d25329ecb4
Merge pull request #178 from kiwix/opds
...
Opds
2018-04-23 15:24:15 +02:00
Matthieu Gautier
bd8d0c3805
Get the dependencies archive using the correct new name scheme.
...
Now that we are compiling to ios, deendencies archive names have
TRAVIS_OS_NAME included.
2018-04-23 10:31:22 +02:00
Matthieu Gautier
a01906d273
[manage] Move handling of action in separated function.
2018-04-19 18:05:41 +02:00
Matthieu Gautier
4bd18ce466
Add open search support to search in the catalog.
2018-04-19 18:05:41 +02:00
Matthieu Gautier
fb8c14a1e4
Make kiwix-serve serve an opds stream of all zims.
2018-04-19 18:05:41 +02:00
Matthieu Gautier
2acd276753
[KIWIX-SERVE] Serve a zim metadata on the '/meta' url.
...
This can be used to get some metadata about a zim with a simple http
request.
2018-04-19 18:05:41 +02:00
Matthieu Gautier
53b2dadfce
Compile without warning.
2018-04-19 18:05:41 +02:00
Matthieu Gautier
eccf5e194c
Merge pull request #177 from kiwix/rpath
...
Set rpath of the installed binaries.
2018-04-17 17:14:53 +02:00
Matthieu Gautier
8356277562
Set rpath of the installed binaries.
...
Let's set RPATH of installed binaries, this way, we will be able to
run dynamically linked binaries without changing LD_LIBRARY_PATH.
2018-04-17 16:29:41 +02:00
Matthieu Gautier
c6ace1eafc
Merge pull request #171 from kiwix/new_version
...
New version 0.4.0
2018-03-27 12:03:21 +02:00
Matthieu Gautier
8552985cd4
New version 0.4.0
2018-03-27 11:20:21 +02:00
Matthieu Gautier
9997a6ec18
Merge pull request #169 from kiwix/infinit_redirect
...
Correctly pre-increment the loopCounter.
2018-03-26 10:04:28 +02:00
Matthieu Gautier
8b6abc0e35
Correctly pre-increment the loopCounter.
...
In case of infinit redirection, if we post-increment the loop counter,
we will exit the loop when loopCounter will be 42 and increment it.
So loop counter will be 43.
Let's pre-increment the counter to still compare with 42 (more consistancy)
Fix #168
2018-03-25 17:07:38 +02:00
Kelson
426796dc37
Merge pull request #135 from kiwix/search_suggestions
...
Update usage() with --suggestion
2017-12-20 19:54:22 +01:00
kelson42
712cdf5e7b
Update usage() with --suggestion
2017-12-20 19:07:38 +01:00
Matthieu Gautier
74cc1d0708
Merge pull request #133 from kiwix/better_search_tool
...
Better search tool
2017-12-19 15:24:29 +01:00
Matthieu Gautier
3ce668af66
Add a suggestion option to search in suggestion.
...
There are two kinds of search system :
- Suggestion (search in title only)
- "Classical" search (search in whole content)
The option `--suggestion` allow `kiwix-search` to search for suggestion.
Without the option, a "classical" search is made.
Fix #132 .
2017-12-19 14:17:15 +01:00
Matthieu Gautier
2b69cc8ffc
Pass verboseFlag to underlying kiwix::Searcher.
2017-12-19 14:13:36 +01:00
Matthieu Gautier
71ffaaa05a
Merge pull request #127 from kiwix/compilation_fixes
...
Compilation fixes
2017-12-13 16:26:57 +00:00
Matthieu Gautier
f3fb5d61cc
Use correct option to compile a static binary in travis.
...
We must use custom option `static-linkage` instead of meson's
`default-library`.
2017-12-13 17:17:28 +01:00
Matthieu Gautier
05c63536de
Force usage of meson 0.43.0.
...
Static compilation is broken with meson 0.44.0.
2017-12-13 16:43:42 +01:00
Matthieu Gautier
16e12ad463
Stop workaround xapian-core.pc
...
`xapian-core.pc` is now correct stop workaround it adding extra
link args.
The workaround is broken with meson 0.44.0 and static compilation.
However, libmicrohttpd is using `librt` if present but doesn't declare
it in its `libmicrohttpd.pc` file so we must add it manually if we found
it.
2017-12-13 16:43:08 +01:00
Matthieu Gautier
c91285fc29
Merge pull request #123 from kiwix/fix_crash
...
Fix crash
2017-12-04 16:04:08 +00:00
Matthieu Gautier
5c11ff1a30
Correctly cast to int in debug message.
...
A `class enum` is not implicitly cast to an `int`.
It is better to explicitly cast it to avoid future error with different
versions of compiler.
2017-12-04 15:12:27 +00:00
Matthieu Gautier
9eaf512bf9
Correctly handle NULL string for request arguments.
...
When iterating over arguments of a request, the value can be a null pointer
if the argument is provided without a `=`.
https://www.gnu.org/software/libmicrohttpd/manual/html_node/microhttpd_002drequests.html
We have to handle this correctly.
Should fix #116 .
2017-12-04 15:10:45 +00:00
Matthieu Gautier
9a29874f9f
Better verbose message.
...
The parsing of the request in the `RequestContext` constructor may be
buggy and make kiwix-serve crash.
If we print debug information only after the request is parsed, we will
never print the debug information if the parsing crash.
It is better to, at least, write that we've got a new request to avoid
us to try to debug previous request where everything were ok.
2017-12-04 15:08:18 +00:00
Matthieu Gautier
aa9647e88c
Merge pull request #122 from kiwix/gcc5
...
Compile using gcc-5 on native ubuntu.
2017-12-04 12:29:59 +00:00
Matthieu Gautier
da0c697963
Compile using gcc-5 on native ubuntu.
...
As dependencies prepared by kiwix-build are build using gcc-5
(kiwix/kiwix-build@7fc557d ), we need to also compile libzim using gcc-5.
2017-12-04 11:15:50 +00:00
Matthieu Gautier
77d25686cb
Merge pull request #115 from kiwix/better_search_handling
...
Better search handling
2017-11-29 16:21:45 +00:00
Matthieu Gautier
3df2fa708b
Set the global humanReadableId.
...
This is needed by kiwix-lib to generate correct "next page" links.
2017-11-27 12:45:41 +00:00
Matthieu Gautier
9021f87715
Handle search with no content and empty query string.
...
We need to handle :
- No content because it is how we do multisearch.
- No query string because it is how we can do geosearch.
2017-11-27 12:44:25 +00:00
Matthieu Gautier
04b05b7902
Merge pull request #111 from kiwix/better_request_parsing
...
Better request parsing
2017-11-27 11:39:10 +00:00
Matthieu Gautier
a8e73aab98
Move the request context out of kiwix-serve.cpp.
...
RequestContext is now a "complex" class that handle a lot of thing for
the handlers :
- The rootLocation is correctly handle and remove from the url.
So a handler doesn't have to care about it (when parsing the url)
- Request arguments and header are stored in a map and there are access
methods to get it.
- Request arguments can be automatically convert to other type than string.
- Better parsing of the `byte` header. Related to #91 .
2017-11-27 11:20:02 +00:00
Matthieu Gautier
234a9d9719
Let the different handlers look for the reader/searcher.
...
It is to the handlers to get the right reader/searcher they want and
create correct error/default page if the name doesn't correspond to a
zim file.
The `handle_default` function has also be renamed to `build_homepage`
because it is what is done. (And it doesn't handle a request).
2017-11-22 16:16:54 +00:00
Matthieu Gautier
c93617473d
Move some variable out of the request's context.
...
`humanReadableBookId`, `reader` and `searcher` are not so global that
it seems.
Let's move it out of the request object as handler may or not use them.
2017-11-22 15:53:34 +00:00
Matthieu Gautier
09e2039aff
Rename variable request_context to request.
2017-11-22 15:47:23 +00:00
Matthieu Gautier
5c6a1870b9
Merge pull request #107 from kiwix/geo_loc
...
Add a small (private) support for geo query.
2017-11-22 12:46:47 +01:00
Matthieu Gautier
4fffaf41b6
Add a small (private) support for geo query.
...
This use the small API of kiwix-lib and so, cannot search a text query
and filter around a geo position in the same time.
There is no way to do a search but than write directly the search url
by hand.
If the request is wrongly formatted, the search is simply not done without
error message.
2017-11-14 17:42:01 +01:00
Matthieu Gautier
05c734fc31
Merge pull request #104 from kiwix/library_relative_path
...
Relative paths are relative to current directory not executable.
2017-11-13 15:14:42 +01:00
Matthieu Gautier
fa9b027a39
Relative paths are relative to current directory not executable.
...
Almost nothing should be relative to the executable directory.
Content coming from the user should be relative to where the user
is (its working directory).
Fixes #70 .
2017-11-13 14:42:52 +01:00
Matthieu Gautier
1fcc1ad9d4
Merge pull request #98 from kiwix/http_byte_range_fix
...
Fix HTTP request byte range handling #91
2017-11-13 14:42:16 +01:00
kelson42
5fd8dd3c36
Fix HTTP request byte range handling #91
2017-11-13 12:01:45 +01:00
Matthieu Gautier
f03ed85972
Merge pull request #87 from swiftugandan/master
...
do not cache results for searches from the welcome page
2017-11-09 15:48:15 +01:00
Philip Munaawa
52308b764d
do not cache results for searches from the welcome page
2017-11-09 14:24:03 +00:00
Kelson
03bac00019
Merge pull request #99 from kiwix/dattaz-patch_issue_19_good
...
Dattaz patch issue 19 good
2017-11-08 20:19:57 +01:00
kelson42
905b83b3b1
Small beautification of the code
2017-11-08 20:11:55 +01:00
dattaz
894ed12f37
escape the & character of humanReadableBookId to not be interpreted in urls as a new argument
2017-11-08 19:50:23 +01:00
Kelson
573b826861
Merge pull request #62 from kiwix/julianharty-patch-1
...
Update kiwix-serve.cpp
2017-11-07 20:01:28 +01:00
Julian Harty
8051773124
Fixed a typo in an error message
2017-11-07 19:10:23 +01:00
Matthieu Gautier
69dd6cd869
Merge pull request #94 from kiwix/man_cleaning
...
Remove kiwix-index and kiiwx-compact man pages
2017-11-06 15:45:11 +01:00
kelson42
8d32bfd16e
Remove kiwix-index and kiiwx-compact man pages
2017-11-06 15:31:06 +01:00
Matthieu Gautier
b1d2a1378b
Merge pull request #90 from kiwix/new_release
...
Release of kiwix-tools 0.3.0.
2017-10-24 11:29:34 +02:00
Matthieu Gautier
df7d44128c
Release of kiwix-tools 0.3.0.
2017-10-23 11:40:00 +02:00
Matthieu Gautier
ee5333bb91
Merge pull request #86 from kiwix/swiftugandan_root
...
Swiftugandan root
2017-10-17 16:21:04 +02:00
Philip Munaawa
871d8f4a51
disable caching for the welcome page
2017-10-17 15:46:55 +02:00
Philip Munaawa
9280d519f5
Adding support for relative url location
2017-10-17 15:46:11 +02:00
Matthieu Gautier
540fcd3be9
Merge pull request #84 from kiwix/byte_range
...
Byte range
2017-10-11 17:14:01 +02:00
Matthieu Gautier
ad7238b0c9
Stop refusing the first connection.
...
I don't know why we are refusing the first connection.
It seems to work without this.
Moreover, this is not thread safe and it would be pretty complex to
make it thread safe.
2017-10-11 17:00:55 +02:00
Matthieu Gautier
b5c91417ff
Better debug information of each request.
2017-10-11 17:00:55 +02:00
Matthieu Gautier
b638df81fa
Implement response to bytes range request.
...
Handle bytes range request http header.
Do not read the full buffer but try to stream it as far as possible.
2017-10-11 17:00:55 +02:00
Matthieu Gautier
58f0a716a6
Correctly return 404 if asked skin is not existing.
...
Fix #83
2017-10-10 17:02:15 +02:00
Matthieu Gautier
a2324b5e8b
Use a structure RequestContext to pass all the context of a request.
...
This simplifies the code and avoid to pass a lot of arguments to
each function.
2017-10-10 16:59:45 +02:00
Matthieu Gautier
c2ac40d4f5
Merge pull request #82 from kiwix/multi_thread
...
Make kiwix-server multi-threaded.
2017-10-10 14:43:50 +02:00
Matthieu Gautier
4534b51f5e
Use printf instead of cout.
...
`std::cout` stream is not thread safe at all.
Printing from different threads can lead to corrupted stream (and no
output working).
Using `printf` may still lead to interleaved output but nothing will broke.
2017-10-10 14:39:42 +02:00
Matthieu Gautier
0364951f75
Make kiwix-server multi-threaded.
2017-10-03 16:35:03 +02:00
Matthieu Gautier
a2627e81c4
Merge pull request #78 from kiwix/patch-1
...
Look for renamed kiwix-compile-resources script as well
2017-09-27 19:15:57 +02:00
Kunal Mehta
cd72a2d73c
Look for renamed kiwix-compile-resources script as well
...
See https://github.com/kiwix/kiwix-lib/pull/76
2017-09-27 19:10:57 +02:00
Matthieu Gautier
fa3f33d3c7
Use sudo to install pip dependencies in travis
2017-09-27 19:03:11 +02:00
Matthieu Gautier
a210cb3a4b
Merge pull request #68 from kiwix/css_taskbar
...
Css taskbar
2017-08-15 15:51:09 -04:00
Matthieu Gautier
63cb47247b
Serve the taskbar css as separated file.
...
For firefox, the file encoding must be specified in the first 1024 bytes.
If it is not, firefox will reload the page when it founds it.
By inserting the taskbar's css directly in the html, we are "moving" down
the encoding of the page, and the encoding is not inside the first 1024
bytes.
This also improve a bit the performance as the browser can cache the css
file and it's avoid us to send the css in earch html file.
2017-08-15 15:15:26 -04:00
Matthieu Gautier
3220ee1276
Move <link> tag in <head> tag.
...
In html, the link tag should be in head tag, not in the body tag.
2017-08-15 15:08:56 -04:00
Matthieu Gautier
4a1b9cbfa9
Merge pull request #67 from kiwix/no_globalsearch_on_zim
...
Do not do globalSearch if the zim file has no full text index.
2017-08-15 14:54:35 -04:00
Matthieu Gautier
f2b5904221
Do not do globalSearch if the zim file has no full text index.
...
Global search is made only on the global task bar.
Task bar display in the article should provide full text search only
if the zim file has associated full text index.
This is done by having a `NULL` searcher. However, commit `558a0375`
return the globalSearcher if no searcher is associated to a zim.
This commit associate a `NULL` searcher to the zim, so we will not use
the globalSearcher.
2017-08-13 11:35:57 -04:00
Matthieu Gautier
f44722fbbc
Merge pull request #64 from kiwix/fix_protocol
...
Correctly set ProtocolPrefix and SearchProtocolPrefix for searcher.
2017-08-11 00:44:28 -04:00
Matthieu Gautier
0cfcc59437
Update to new kiwix-lib API about Searcher instantiation.
...
`kiwix-lib` remove `setContentHumanReadableId` method in favour of
specifying directly it in the constructor.
2017-08-10 09:45:08 -04:00
Matthieu Gautier
7776eafbfc
Correctly set ProtocolPrefix and SearchProtocolPrefix for searcher.
...
Default `protocolPrefix` for the kiwix-lib searcher is `zim:://`.
We have to change it to `/` for all searcher we create else the search's
results will have a `zim://...` url, which will obviously won't work.
2017-08-09 20:20:56 -04:00
Matthieu Gautier
5989146931
Merge pull request #49 from kiwix/globalSearch
...
Global search
2017-07-19 09:54:31 +02:00
Matthieu Gautier
ea088b21a4
Introduce a global taskbar on the welcomeHTML page to allow global search.
...
Global search is a search on all zims.
2017-07-17 18:24:27 +02:00
Matthieu Gautier
558a0375b0
Use a globalSearcher to do multi search on all zims.
2017-07-17 18:23:12 +02:00
Matthieu Gautier
5f0a05e8d8
Add a global_taskbar.html.part file to be use as taskbar in library home.
...
This is a simplified version of taskbar.html.part without the buttons
(specific to the current read zim)
2017-07-17 18:20:55 +02:00
Matthieu Gautier
4b9dc39c49
Use only one lock to acces zim library.
...
Search can now use reader. So there is no need to have to different locks.
2017-07-17 18:17:33 +02:00
Matthieu Gautier
08f2373360
Merge pull request #48 from kiwix/no_use_of_tree_h
...
Remove use of tree.h
2017-07-12 14:45:38 +02:00
Matthieu Gautier
82fb6bc4d0
Remove use of tree.h
...
All code using tree.h where commented.
As tree.h where install by kiwix-lib and we removed it there, let's remove
its use here.
2017-07-12 10:28:40 +02:00
Matthieu Gautier
17eceeff5b
Merge pull request #46 from kiwix/format_code
...
Format code
2017-07-12 10:06:46 +02:00
Matthieu Gautier
aef20d6c96
Move to C++11.
...
Code and kiwix-lib are C++11. So compile using C++11.
2017-07-12 10:01:25 +02:00
Matthieu Gautier
4e3ff03059
Format all the code using clang-format.
...
Add a script `format_code.sh` to easily format the code.
2017-07-05 15:52:32 +02:00
Matthieu Gautier
856bfc675a
Bump-up the version to 0.2.
...
Time to make a new release.
2017-06-27 15:22:33 +02:00
Kelson
7850e79eab
Merge pull request #44 from kiwix/custom_welcome_css
...
custom welcome page css
2017-06-08 13:21:01 +02:00
Emmanuel Engelhart
62769aed57
custom welcome page css
2017-06-08 13:12:31 +02:00
Kelson
29e281209d
Merge pull request #43 from Skylsmoi/335/rewrite_welcome_page
...
rewrite welcome page (fixed histo)
2017-06-08 12:47:55 +02:00
Skylsmoi
0f480d9fb8
fixed boxes size with ellipsis + moved style tag to template + reduced margin/padding
2017-06-08 09:55:11 +02:00
Skylsmoi
1aeeaa2c3b
rewrite welcome page
2017-06-07 11:48:21 +02:00
Matthieu Gautier
2fe1a9443c
Merge pull request #39 from kiwix/t38
...
Add --nolibrarybutton option refs #38
2017-06-06 14:40:07 +02:00
Emmanuel Engelhart
569b4d946e
Add --nolibrarybutton option
2017-06-04 18:49:55 +02:00
Matthieu Gautier
e51539d161
Merge pull request #36 from kiwix/new_api
...
Adapt to new kiwix-lib search API.
2017-05-28 23:15:27 +02:00
Matthieu Gautier
f12a731939
Adapt to new kiwix-lib search API.
2017-05-28 23:11:02 +02:00
Matthieu Gautier
d94423964e
Merge pull request #34 from kiwix/full_html_document
...
ZIM/libzim/libkiwix should provide full HTML DOM
2017-05-22 16:00:51 +02:00
Emmanuel Engelhart
af10b665a9
ZIM/libzim/libkiwix should provide full HTML DOM
2017-05-19 20:37:21 +02:00
Kelson
c2d29376d9
Merge pull request #32 from Skylsmoi/336/fix_display_taskbar_save
...
336/fix display taskbar save
2017-05-16 14:11:28 +02:00
Skylsmoi
fd9c63c76a
Merge branch '336/fix_display_taskbar_save' of github.com:Skylsmoi/kiwix-tools into 336/fix_display_taskbar_save
2017-05-16 11:16:26 +02:00
Skylsmoi
4cc46685f7
fix breakpoint for cybook
2017-05-16 11:16:04 +02:00
Kelson
e30da0c0cd
Merge pull request #29 from Skylsmoi/336/fix_display_taskbar_save
...
css rules for taskbar are now more strict
2017-05-07 10:06:27 +02:00
Kelson
70a652e020
Merge branch 'master' into 336/fix_display_taskbar_save
2017-05-06 21:08:38 +02:00
Skylsmoi
97f0c8ec5b
added important rules to set the taskbar design
2017-05-02 16:20:59 +02:00
Matthieu Gautier
da83027710
Merge pull request #26 from kiwix/no_ssh_key
...
Get dependencies from http server, not from ssh.
2017-04-24 17:20:37 +02:00
Matthieu Gautier
ef9b48682b
Get dependencies from http server, not from ssh.
...
`kiwix-build` now publish intermediate dependencies archives in a
http accessible location.
Let's use this location instead of `scp` the archives.
2017-04-24 17:13:42 +02:00
Kelson
e26244687d
Merge pull request #24 from Skylsmoi/336/fix_display_taskbar_save
...
336/fix display taskbar save
2017-04-23 15:43:22 +02:00
Skylsmoi
2634167f41
fix taskbar design for iOS
2017-04-21 15:00:57 +02:00
Skylsmoi
7edc49c4eb
Merge branch 'master' of github.com:kiwix/kiwix-tools into 336/fix_display_taskbar_save
2017-04-20 17:37:03 +02:00
Skylsmoi
36225207c0
force custom design to override rules from libraries
2017-04-20 17:35:12 +02:00
Emmanuel Engelhart
1d61e270fb
Add CTPP2 link in README
2017-04-16 20:37:01 +02:00
Kelson
5aecb4231d
Merge pull request #20 from Skylsmoi/336/fix_display_taskbar
...
#336 taskbar is now responsive
2017-04-16 11:06:47 +02:00
Skylsmoi
126781bbb5
removed calc()
2017-04-13 11:52:27 +02:00
Skylsmoi
f045590243
#336 taskbar is now responsive
2017-04-13 11:52:27 +02:00
Matthieu Gautier
f46e560d7f
Merge pull request #22 from kiwix/search_in_libzim
...
Search in libzim
2017-04-11 14:02:21 +02:00
Matthieu Gautier
643293c7df
Try to link with uuid only if xapian is present.
2017-04-10 14:47:19 +02:00
Matthieu Gautier
799a47142b
Adapt kiwix-tools to last kiwix-lib API (Xapian in zimlib).
2017-04-10 14:47:19 +02:00
Matthieu Gautier
79fdee1df2
Merge pull request #23 from kiwix/travisci
...
Travisci
2017-04-10 14:46:22 +02:00
Matthieu Gautier
ab623b7176
Add TravisCI.
...
Now the project is build on every PR using TravisCI.
The project dependencies are get from the archive generated by kiwix-build.
2017-04-10 14:42:41 +02:00
Matthieu Gautier
208050df4b
Merge pull request #21 from kiwix/no_indexer
...
Remove indexer and indexing functionality from installer.
2017-04-06 15:39:07 +02:00
Matthieu Gautier
9ead431b3f
Remove indexer and indexing functionality from installer.
...
This is handled by zimwriterfs now (and zimlib itself later on).
2017-04-06 15:37:39 +02:00
Julian Harty
1e6353330d
Please discount (ignore) my last commit, it was intended for the kiwix-apache repo.
2017-04-06 00:05:08 +01:00
Julian Harty
482577fd53
You're welcome... and here's the starting point to encourage you to get involved.
2017-04-06 00:02:27 +01:00
Matthieu Gautier
856b487007
Merge pull request #18 from kiwix/snippets
...
Update to the new API of kiwix-lib.
2017-03-28 11:37:58 +02:00
Matthieu Gautier
cb20e719ee
Update to the new API of kiwix-lib.
2017-03-21 16:33:57 +01:00
Matthieu Gautier
25091c320b
Merge pull request #16 from kiwix/kiwix-serve.bugfix
...
Kiwix serve.bugfix
2017-03-20 11:05:21 +01:00
Matthieu Gautier
35b83144c6
Do not compress only if the content is small.
...
We do not need the test "contentLength < COMPRESSOR_BUFFER_SIZE" to know
if we compress the content or not.
This is a non sens, we WANT to compress the content if it is big.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
063e9ba80d
Use compressBound function to reserve the right amount of space.
...
compressBound function give the upper bound of space needed to
reserve to the compression buffer. Use it instead of using a define.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
e27ce444c6
Correctly check that compress gone well before using the result buffer.
...
We need to check the return code of compress.
Compress may fail for different reason, one being that the compr_buffer
is not large enough.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
3592cd84c6
Do not modify the compr buffer pointer.
...
The compr pointer points to the allocated memory. We must not modify
it value.
If we advance the pointer by two bytes each time we compress an answer
we will end to write in some random memory and segfault.
Now, we use a std::vector to correctly handle allocation
(and deallocation!) of the memory.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
a27010c247
Correctly change the compression buffer we send.
...
For ie browser, we need to remove the two first bytes.
If we make our buffer start two bytes after, we also need to reduce the
size of the buffer by two bytes. Else we will read and send two extra
junk bytes.
Fix #15
2017-03-20 10:08:14 +01:00
Matthieu Gautier
0c01ec5bb5
Cleanup a bit kiwix-serve.cpp
...
- Remove spaces at end of lines
- Remove unused variables.
2017-03-20 10:08:14 +01:00
Matthieu Gautier
a3a0127edb
Do not try to discover ctpp2 ourselves.
...
Kiwixlib now exports ctpp2 link/cflags in its pkg-config file.
So we don't have to check to ctpp2 here.
2017-02-22 12:10:47 +01:00
Matthieu Gautier
ad7d30cc4f
Do not link with iconv when cross-compilating to windows.
...
Ideally we should check if iconv is present to know if ctpp2 has been
build with iconv.
This may be a bit too complex for our present case. As we know our
cross-compilation environment. It is better to remove the use of iconv
everywhere for now.
2017-02-07 12:25:43 +01:00