Matthieu Gautier
eea6f9fe27
Revert "Fix maybe initialized warning in httplib."
...
This reverts commit 1f6fb238ba
.
2021-11-16 09:36:21 +01:00
Matthieu Gautier
0b9ff92e42
Merge pull request #634 from kiwix/fix_httplib
2021-11-10 14:35:11 +01:00
Matthieu Gautier
1f6fb238ba
Fix maybe initialized warning in httplib.
...
Patch has been send upstream :
https://github.com/yhirose/cpp-httplib/pull/1085
2021-11-08 16:58:11 +01:00
Kelson
9479c0685d
Merge pull request #623 from kiwix/update-ci
...
Re-introduce Ubuntu Impish in CI
2021-10-21 12:41:23 +02:00
Emmanuel Engelhart
09a55d71d6
Re-introduce Ubuntu Impish in CI
2021-10-21 12:36:05 +02:00
Matthieu Gautier
503eb5c4ce
Merge pull request #621 from kiwix/fix_ci_docker_version
2021-10-19 11:49:20 +02:00
Matthieu Gautier
f714ff8d3e
New docker image version is 31.
2021-10-18 18:09:36 +02:00
Matthieu Gautier
08e3d52957
Merge pull request #607 from kiwix/issue/571
2021-10-12 17:40:27 +02:00
Manan Jethwani
30e4c549e4
exposed fileExist, getMimeTypeForFile and getFileCoontent functions
2021-10-12 19:44:38 +05:30
Manan Jethwani
b7b385d87b
added custom index template
2021-10-12 19:44:05 +05:30
Matthieu Gautier
e46b0c07b5
Merge pull request #617 from kiwix/adapt_new_libzim_api
2021-09-30 14:52:17 +02:00
Matthieu Gautier
cd9fb541fc
Fix method call for new libzim API.
...
`add_archive` is now `addArchive`.
2021-09-29 11:55:22 +02:00
Matthieu Gautier
3b942bb745
Merge pull request #602 from kiwix/partial_opds_entries
...
OPDS feed with partial entries
2021-09-09 12:07:02 +02:00
Veloman Yunkan
c0bda426b4
Removed duplication across two mustache templates
...
Deduplicated the mustache templates static/templates/catalog_v2_entries.xml
and static/templates/catalog_v2_complete_entry.xml (the latter was
renamed to static/templates/catalog_v2_entry.xml).
2021-09-09 12:19:22 +04:00
Veloman Yunkan
b3f7556096
Added partial entries feed to the OPDS root feed
2021-09-09 12:19:22 +04:00
Veloman Yunkan
4c657c082e
/catalog/v2/partial_entries OPDS API endpoint
2021-09-09 12:19:22 +04:00
Veloman Yunkan
e773a29f29
Rearranged elements in OPDS entry XML
2021-09-09 12:19:22 +04:00
Veloman Yunkan
e15a0f4338
/catalog/v2/entry/<entry_id> OPDS API endpoint
2021-09-09 12:19:22 +04:00
Veloman Yunkan
12d9b69806
OPDSDumper::dumpOPDSCompleteEntry()
2021-09-09 12:19:22 +04:00
Veloman Yunkan
027854e4f4
Extracted getSingleBookData() in opds_dumper.cpp
2021-09-09 12:19:22 +04:00
Matthieu Gautier
417e7471ac
Merge pull request #614 from kiwix/disable-impish
2021-09-09 10:10:50 +02:00
Matthieu Gautier
51ac1240f8
PPA: Temporarily disable Impish builds
2021-09-09 10:05:18 +02:00
Kelson
ea6413ff88
Merge pull request #591 from kiwix/suggestion_range
...
Allow kiwix-serve to get suggestions of custom range
2021-08-20 08:09:35 +02:00
Maneesh P M
61209ea0d7
Allow kiwix-serve to get suggestions of custom range
...
This will allow handle_suggest API to accept two arguments `start` and
`suggestionLength` that will allow handle_suggest to retrieve
suggestions in the given range rather than the default 0-10 range.
2021-08-19 21:05:39 +05:30
Kelson
e9eaadde9e
Merge pull request #567 from kiwix/suggestion_api_fix
2021-08-14 19:21:29 +02:00
Maneesh P M
8a4080baba
Update libkiwix with new libzim api
2021-08-14 22:26:39 +05:30
Kelson
ba05999cba
Merge pull request #604 from kiwix/issue/603
2021-08-11 06:50:30 +02:00
Manan Jethwani
a4c3cad018
fixed books availablity on larger screens and added zoom level support
2021-08-10 21:45:10 +05:30
Kelson
83e757a530
Merge pull request #600 from kiwix/dynamic_select_box_value
...
Use OPDS API to populate categories/languages select boxes on Kiwix Serve welcome page
2021-08-07 15:33:52 +02:00
Manan Jethwani
5e8f3a5505
added use of lang and category api for select boxes on welcome page
2021-08-07 02:39:50 +05:30
Manan Jethwani
fe93035a4c
updated welcome page to support OPDS multiple Icon
2021-08-07 02:35:29 +05:30
Kelson
6e26c5aa75
Merge pull request #577 from kiwix/opds_multiple_icons
...
Support for multiple illustrations in OPDS entry
2021-08-05 23:22:07 +02:00
Veloman Yunkan
452283cfe6
Handling of /meta?name=Illustration_WxH@1 requests
2021-08-05 22:28:09 +04:00
Veloman Yunkan
e5168d8b3d
Support for multiple illustrations in OPDS entry
2021-08-05 22:21:13 +04:00
Matthieu Gautier
b8aee8a42c
Merge pull request #597 from kiwix/fix_get_results
2021-08-04 15:57:58 +02:00
Maneesh P M
9addd82d2d
Fix usage of zim::Searcher::getResults() in libkiwix
...
The correct usage does not require the user to calculate an `end` using
the `pageLength`. We can directly use getResults(start, pageLength)
2021-08-04 19:20:50 +05:30
Maneesh P M
e74e7f5623
Add unit test for incremental searching
...
With this, we eventually want to see the usage of getResults giving
a FAILING TEST. This happens because the second argument to
getResults is NOT `end` of the range, but `maxResultCount` to retrieve.
This will be fixed in the next commit.
2021-08-04 19:20:05 +05:30
Matthieu Gautier
a032d65eb8
Merge pull request #576 from kiwix/extend_libkiwix_structures_to_use_libzim
2021-08-03 11:50:24 +02:00
Maneesh P M
19afe9442f
Remove OriginId functions since they are not useful right now
2021-08-03 11:42:58 +02:00
Maneesh P M
a3ba7619df
Update Manager to use Archive instead of Reader
...
kiwix::Manager uses Reader to import a zim file, it should be using
zim::Archive directly.
2021-08-03 11:42:58 +02:00
Maneesh P M
8b12434ff2
Update kiwix::book to use libzim structure
...
Some methods in kiwix::Book uses wrapper structure reader. This usage should
be extended from the native libzim structure zim::Archive
2021-08-03 11:42:58 +02:00
Matthieu Gautier
b4f7dfa5a2
Merge pull request #553 from kiwix/catalog_languages_endpoint
2021-08-03 11:41:31 +02:00
Veloman Yunkan
ab3095745e
Languages OPDS feed includes book counts
2021-08-03 11:32:38 +02:00
Veloman Yunkan
45adda44b3
Got rid of <content> node in languages OPDS entry
2021-08-03 11:32:38 +02:00
Veloman Yunkan
96cf7e78a5
OPDSDumper::categoriesOPDSFeed() with no args
2021-08-03 11:32:38 +02:00
Veloman Yunkan
dd118df612
Got rid of langMap in opds_dumper.cpp
...
Language code to human friendly name translation is now done with the
help of the ICU library. It works if the line
```
-include $(LANGSRCDIR)/resfiles.mk
```
in the file `source/data/Makefile.in` of the icu4c dependency is not
commented out. Currently, the said line is commented out (along with
some other include's) by the `icu4c_custom_data.patch` patch of the
`kiwix-build` tool.
2021-08-03 11:32:38 +02:00
Veloman Yunkan
8a4248e48e
Language code in /catalog/v2/languages entries
2021-08-03 11:32:38 +02:00
Veloman Yunkan
5f90f5ee2a
Preliminary version of /catalog/v2/languages
2021-08-03 11:32:38 +02:00
Veloman Yunkan
64b55dbdc7
Made test library.xml a multi-language library
2021-08-03 11:32:38 +02:00
Veloman Yunkan
18871b4b15
Helper function Library::getBookPropValueSet()
...
Introduced a helper function `Library::getBookPropValueSet()` and
deduplicated Library::getBooks{Languages,Creators,Publishers}() methods.
2021-08-03 11:32:38 +02:00