Veloman Yunkan
eb6a0d6456
Enter Book::getIllustrations()
2021-11-18 14:39:00 +04:00
Veloman Yunkan
e2544799a1
Shorter Book::update()
2021-11-18 14:39:00 +04:00
Veloman Yunkan
9f42884507
Book's illustrations are now immutable
2021-11-18 14:39:00 +04:00
Veloman Yunkan
8a6adddc16
Non-throwing Book::getDefaultIllustration()
2021-11-18 14:39:00 +04:00
Veloman Yunkan
c8da5eea2b
Dropped Book::getMutableDefaultIllustration()
...
Now a Book is created without a default illustration.
2021-11-18 14:38:00 +04:00
Veloman Yunkan
bd29c4c7ef
Book::updateFromOpds() resets Book::m_illustrations
2021-11-18 14:37:12 +04:00
Veloman Yunkan
e52a4a646b
Book::updateFromXml() resets Book::m_illustrations
2021-11-18 14:36:42 +04:00
Veloman Yunkan
537ba7e6b9
Book::update() reads illustrations from ZIM file
2021-11-18 14:35:49 +04:00
Veloman Yunkan
f4bc3c8ced
Book::Illustration got dimensions
2021-11-18 14:34:51 +04:00
Veloman Yunkan
5263f6880c
Internally Book supports multiple illustrations
2021-11-18 14:34:51 +04:00
Veloman Yunkan
c129952605
Added a couple of notes on data consistency
2021-11-18 14:34:48 +04:00
Veloman Yunkan
9f0db6b7fa
Book::Illustration::getData()
2021-11-18 14:33:50 +04:00
Veloman Yunkan
7d8a83cc97
Encapsulated access to Book::m_illustration
2021-11-18 14:32:52 +04:00
Veloman Yunkan
ec5a423924
Enter Book::Illustration
...
`Book::m_favicon` and its 2 friends are replaced with a single
`Book::m_illustration` data member.
2021-11-18 13:31:08 +04:00
Veloman Yunkan
811b73a4f1
Moved 2 small method definitions to cpp
2021-11-18 13:27:27 +04:00
Veloman Yunkan
3e5372ef29
RIP Book::{setFavicon(),setFaviconMimeType()}
2021-11-18 13:25:34 +04:00
Veloman Yunkan
abfd9d88d8
Book.updateTest creates the source book from XML
...
... thus eliminating the need for the Book::setFavicon*() methods.
2021-11-18 12:57:21 +04:00
Veloman Yunkan
4f65811011
Moved Book.updateTest below Book.updateFromXMLTest
...
Book.updateTest is going to be modified so that it relies on
functionality tested by Book.updateFromXMLTest. Hence the order of the
tests better reflect that dependency.
2021-11-18 12:57:21 +04:00
Veloman Yunkan
59e5c7ff4e
Enhanced Book.updateFromXMLTest with favicon
2021-11-18 12:57:21 +04:00
Matthieu Gautier
ef1ad4bf47
Merge pull request #628 from kiwix/clickable-kiwix-serve-tile
2021-11-16 14:07:33 +01:00
renaud gaudin
8d50d5e293
added border-radius to download button
2021-11-16 12:33:05 +00:00
renaud gaudin
d76e670d5b
CSS codefactor fix
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
8f5ffc5ef5
Duplicated ids are not allowed in a HTML doc
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
98f9c57e12
Better use double-quote for HTML attributes
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
db06b6b797
Renave static/home.css to static/index.css
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
513c547d99
Remove shadow around kiwix-serve home language in tile
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
c3d2e01157
Move kiwix-serve home download button at top of the tile
2021-11-16 12:10:15 +00:00
Emmanuel Engelhart
4adad9b281
Make kiwix-serve home tiles clickable
2021-11-16 12:10:15 +00:00
Matthieu Gautier
251f3a01ed
Merge pull request #635 from kiwix/fix_httplib
2021-11-16 09:45:44 +01:00
Matthieu Gautier
0fcf166111
Fix warning in httplib.
...
The bug has been fixed upstream at yhirose/cpp-httplib#1091
This commit is a backport of the fix.
2021-11-16 09:39:56 +01:00
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