971374e049
Merge pull request #455 from kiwix/api-break-bumpup-major-version
...
Bump-up version to 10.0.0
2021-02-10 10:47:06 +01:00
f7608c378e
Bump-up version to 10.0.0
2021-02-10 10:31:01 +01:00
c13a43010a
Merge pull request #453 from kiwix/fixed-typo
...
Typo fix in error message
2021-02-09 09:41:00 +01:00
eea10ec3f5
Typo fix in error message
2021-02-09 09:38:18 +01:00
c9bc2b48b0
Merge pull request #452 from kiwix/version-update
...
Bump-up version (and libzim required version)
2021-02-08 21:30:11 +01:00
b1689e0d3c
Bump-up version (and libzim required version)
2021-02-07 19:53:46 +04:00
c70c370ae0
Merge pull request #435 from kiwix/ppa-soname-bump
...
PPA: Update for soname bump
2021-01-27 09:25:39 +01:00
c0ec5eeffd
PPA: Update for soname bump
2021-01-27 09:14:36 +01:00
c81c2a4630
Merge pull request #445 from kiwix/no_pthread
2021-01-26 18:06:16 +01:00
24b2e6e585
Remove unnecessary include.
2021-01-26 17:53:25 +01:00
3fd1310008
Use c++11 std::thread instead of pthread.
2021-01-26 17:53:25 +01:00
17bc1a3e1a
[TEST] Do not try to use the bookId if it is wrong.
2021-01-26 17:53:25 +01:00
f5d9a3714d
Merge pull request #449 from kiwix/handle_no_counter
...
Do not crash if zim file has no `Counter` metadata.
2021-01-26 17:52:33 +01:00
4749656828
Do not crash if zim file has no Counter
metadata.
2021-01-26 15:15:27 +01:00
e0bcafd89a
Merge pull request #442 from kiwix/better-taskbar-insertion
...
Better taskbar insertion
2021-01-18 13:32:11 +01:00
84895c4036
Better </head> detection regex
2021-01-18 13:16:56 +01:00
a8bf9dd5b4
Better Kiwix Serve Taskbar insertion (after charset definition)
2021-01-18 11:18:53 +01:00
a61c94ef10
Add GPLv3 header
2021-01-18 10:54:33 +01:00
a8a864f70e
Merge pull request #434 from kiwix/mandatory_xapian
...
Build kiwix-lib only if meson is compiled with xapian.
2021-01-15 10:03:57 +01:00
a231dfd8e4
Build kiwix-lib only if meson is compiled with xapian.
2021-01-14 12:07:17 +01:00
321d08e3d5
Merge pull request #440 from kiwix/better-taskbar-introduction
...
Fix taskbar insertion in case of '<head>' attributes
2021-01-12 11:48:57 +01:00
8c43fd8d36
Fix taskbar insertion in case of '<head>' attributes
2021-01-11 14:37:19 +01:00
9e032b6eea
Merge pull request #439 from kiwix/mediacount-video-audio
...
Support 'video/*' * 'audio/*' mimetypes in getMediaCount()
2021-01-08 13:01:42 +01:00
3e2810dff4
Support 'video/*' * 'audio/*' mimetypes in getMediaCount()
2021-01-07 12:32:32 +01:00
18afa97674
Merge pull request #437 from kiwix/count-webp-media
...
More robust getMediaCount()
2021-01-03 21:15:55 +01:00
44c4aa931a
Better use kiwix::startsWith()
2021-01-03 15:17:03 +01:00
95b32b168d
More robust getMediaCount()
2021-01-01 17:05:32 +01:00
2659f323cd
Merge pull request #433 from kiwix/small_fixes
...
Fixes related to libzim next.
2020-12-11 06:46:40 +01:00
1002c15e0d
Remove unnecessary checks.
...
`Reader` cannot be created with a null `zimArchive`.
We don't have to check for zimArchive being not null.
2020-12-09 14:25:02 +01:00
d51000c4a9
Use new libzim method hasFulltextIndex
to check for fulltext index.
2020-12-09 14:25:02 +01:00
ba302bed33
Use new libzim method getFaviconEntry
to get the favicon.
2020-12-09 14:25:02 +01:00
9941d245e1
Merge pull request #432 from swills/fbsd-build-fix1
...
fix build on FreeBSD
2020-12-09 14:24:04 +01:00
6900b4e506
fix build on FreeBSD
...
With this header, sockaddr_in and INADDR_ANY are not defined
2020-12-07 09:38:46 -05:00
6fa20f6dcf
Merge pull request #431 from kiwix/legoktm-patch-1
...
PPA: Build for Ubuntu Hirsute
2020-12-05 09:29:47 +01:00
8eacb0d635
PPA: Build for Ubuntu Hirsute
2020-12-03 22:35:46 -08:00
84c320d5d3
Merge pull request #428 from kiwix/libzim_next
...
Adapt kiwx-lib to the new api of libzim (libzim_next).
2020-12-03 09:11:28 +01:00
1a5a2e7a8e
Adapt kiwix-lib to the new libzim api.
2020-12-02 12:16:48 +01:00
d87079ec13
Remove deprecated method in the reader.
2020-11-24 19:00:52 +01:00
fbd4332c87
New version 9.4.1
9.4.1
2020-11-17 15:42:13 +01:00
7c4517ca3c
Merge pull request #427 from kiwix/fix_deps_zlib
2020-11-17 12:05:50 +01:00
bc4b6846ef
Add missing dependency declaration in the README.
2020-11-17 11:54:36 +01:00
f408fecdd0
Add missing zlib dependency.
...
libzim were dependent of zlib and we were (wrongly) using its
dependency declaration to link with zlib.
Now that libzim doesn't depends on zlib, we need to fix our build system
and explicitly depend on it.
2020-11-17 11:54:10 +01:00
038e86e0d8
Merge pull request #419 from kiwix/legoktm-patch-1
...
debian: Have libkiwix-dev depend on libmicrohttpd-dev
2020-11-04 15:20:36 +01:00
41cee1cfe0
debian: Have libkiwix-dev depend on libmicrohttpd-dev
...
As of 9c925f6778
, it's now required in the pkg-config file.
2020-11-04 15:14:09 +01:00
7e2d174cfb
Merge pull request #422 from kiwix/rgaudin/taskbar-height
...
Adjust body padding-top for taskbar
2020-11-04 15:13:18 +01:00
52da58a294
Adjust body padding-top for taskbar
...
taskbar is placed *above* content using a `padding-top: 3em;` rule
Currently, in regular case, padding-top is too large and leaves ~4/5px between the
taskbar and the content.
This fixes it by using a `calc()` rule to eliminate this extra space
2020-11-04 11:53:59 +00:00
0f8caba3a5
Merge pull request #418 from kiwix/fix_counter_parsing
2020-10-30 13:42:52 +01:00
0f8fe1f63f
Alternative implementation of parseMimetypeCounter()
2020-10-29 14:11:27 +04:00
ed32e16db2
Use a reference in test/server.cpp
loop.
...
This is mainly to make the macos CI pass.
2020-10-28 16:08:37 +01:00
08464f23bc
Better parsing of M/Counter
...
Mimetype may contain a parameters.
Then, the mimetype would be something like "text/html;foo=bar;foz=baz"
It will contains a `;` and `=` and it conflicts with the same operators
we use to separate the items in our list.
We have to use a more advanced algorithm which takes the context into
account.
Fix #416
2020-10-28 16:03:18 +01:00