3
0
Fork 0
Commit Graph

585 Commits (fix-bug-pid)

Author SHA1 Message Date
Matthieu Gautier 2acd276753 [KIWIX-SERVE] Serve a zim metadata on the '/meta' url.
8 years ago
Matthieu Gautier 53b2dadfce Compile without warning.
8 years ago
Matthieu Gautier 8356277562 Set rpath of the installed binaries.
8 years ago
Matthieu Gautier 8b6abc0e35 Correctly pre-increment the loopCounter.
8 years ago
kelson42 712cdf5e7b Update usage() with --suggestion
8 years ago
Matthieu Gautier 3ce668af66 Add a suggestion option to search in suggestion.
8 years ago
Matthieu Gautier 2b69cc8ffc Pass verboseFlag to underlying kiwix::Searcher.
8 years ago
Matthieu Gautier 5c11ff1a30 Correctly cast to int in debug message.
8 years ago
Matthieu Gautier 9eaf512bf9 Correctly handle NULL string for request arguments.
8 years ago
Matthieu Gautier 9a29874f9f Better verbose message.
8 years ago
Matthieu Gautier 3df2fa708b Set the global humanReadableId.
8 years ago
Matthieu Gautier 9021f87715 Handle search with no content and empty query string.
8 years ago
Matthieu Gautier a8e73aab98 Move the request context out of kiwix-serve.cpp.
8 years ago
Matthieu Gautier 234a9d9719 Let the different handlers look for the reader/searcher.
8 years ago
Matthieu Gautier c93617473d Move some variable out of the request's context.
8 years ago
Matthieu Gautier 09e2039aff Rename variable request_context to request.
8 years ago
Matthieu Gautier 4fffaf41b6 Add a small (private) support for geo query.
8 years ago
Matthieu Gautier fa9b027a39 Relative paths are relative to current directory not executable.
8 years ago
kelson42 5fd8dd3c36 Fix HTTP request byte range handling #91
8 years ago
Philip Munaawa 52308b764d do not cache results for searches from the welcome page
8 years ago
kelson42 905b83b3b1 Small beautification of the code
8 years ago
dattaz 894ed12f37 escape the & character of humanReadableBookId to not be interpreted in urls as a new argument
8 years ago
Julian Harty 8051773124 Fixed a typo in an error message
8 years ago
kelson42 8d32bfd16e Remove kiwix-index and kiiwx-compact man pages
8 years ago
Philip Munaawa 871d8f4a51 disable caching for the welcome page
8 years ago
Philip Munaawa 9280d519f5 Adding support for relative url location
8 years ago
Matthieu Gautier ad7238b0c9 Stop refusing the first connection.
8 years ago
Matthieu Gautier b5c91417ff Better debug information of each request.
8 years ago
Matthieu Gautier b638df81fa Implement response to bytes range request.
8 years ago
Matthieu Gautier 58f0a716a6 Correctly return 404 if asked skin is not existing.
8 years ago
Matthieu Gautier a2324b5e8b Use a structure `RequestContext` to pass all the context of a request.
8 years ago
Matthieu Gautier 4534b51f5e Use printf instead of cout.
8 years ago
Matthieu Gautier 0364951f75 Make kiwix-server multi-threaded.
8 years ago
Matthieu Gautier 63cb47247b Serve the taskbar css as separated file.
9 years ago
Matthieu Gautier f2b5904221 Do not do globalSearch if the zim file has no full text index.
9 years ago
Matthieu Gautier 0cfcc59437 Update to new kiwix-lib API about Searcher instantiation.
9 years ago
Matthieu Gautier 7776eafbfc Correctly set ProtocolPrefix and SearchProtocolPrefix for searcher.
9 years ago
Matthieu Gautier ea088b21a4 Introduce a global taskbar on the welcomeHTML page to allow global search.
9 years ago
Matthieu Gautier 558a0375b0 Use a globalSearcher to do multi search on all zims.
9 years ago
Matthieu Gautier 4b9dc39c49 Use only one lock to acces zim library.
9 years ago
Matthieu Gautier 82fb6bc4d0 Remove use of tree.h
9 years ago
Matthieu Gautier 4e3ff03059 Format all the code using clang-format.
9 years ago
Skylsmoi 0f480d9fb8 fixed boxes size with ellipsis + moved style tag to template + reduced margin/padding
9 years ago
Skylsmoi 1aeeaa2c3b rewrite welcome page
9 years ago
Emmanuel Engelhart 569b4d946e Add --nolibrarybutton option
9 years ago
Matthieu Gautier f12a731939 Adapt to new kiwix-lib search API.
9 years ago
Emmanuel Engelhart af10b665a9 ZIM/libzim/libkiwix should provide full HTML DOM
9 years ago
Matthieu Gautier 799a47142b Adapt kiwix-tools to last kiwix-lib API (Xapian in zimlib).
9 years ago
Matthieu Gautier 9ead431b3f Remove indexer and indexing functionality from installer.
9 years ago
Julian Harty 1e6353330d Please discount (ignore) my last commit, it was intended for the kiwix-apache repo.
9 years ago
Julian Harty 482577fd53 You're welcome... and here's the starting point to encourage you to get involved.
9 years ago
Matthieu Gautier 856b487007 Merge pull request #18 from kiwix/snippets
9 years ago
Matthieu Gautier cb20e719ee Update to the new API of kiwix-lib.
9 years ago
Matthieu Gautier 35b83144c6 Do not compress only if the content is small.
9 years ago
Matthieu Gautier 063e9ba80d Use compressBound function to reserve the right amount of space.
9 years ago
Matthieu Gautier e27ce444c6 Correctly check that compress gone well before using the result buffer.
9 years ago
Matthieu Gautier 3592cd84c6 Do not modify the compr buffer pointer.
9 years ago
Matthieu Gautier a27010c247 Correctly change the compression buffer we send.
9 years ago
Matthieu Gautier 0c01ec5bb5 Cleanup a bit kiwix-serve.cpp
9 years ago
Matthieu Gautier 5fe4e9a4ab Delete the macosx directory.
9 years ago
Matthieu Gautier 5cfbda1219 Force the template specialization for the min function.
9 years ago
Matthieu Gautier 9aa7e371f7 Fix header include for cross-compilation to Windows.
9 years ago
Matthieu Gautier 384d113b6f Compile and install other tools than kiwix-serve.
9 years ago
Matthieu Gautier 9f36014449 Use the new script compile_resource from kiwix-lib to compile resources.
9 years ago
Matthieu Gautier 8871e6c2e3 first version of meson
9 years ago
Kelson a53dea6d1e Merge pull request #340 from kiwix/perf_kiwix_serve
9 years ago
kelson42 37bef7cb63 Script to benchmark kiwix-serve
9 years ago
Matthieu Gautier dffff7ba57 Do not make unnecessary copy when serving binary content.
9 years ago
Matthieu Gautier d14460a666 Split accessHandlerCallback into several functions.
9 years ago
Matthieu Gautier 8a9673191e Do not loop infinitely if there is no argument passed to kiwix-serve.
9 years ago
kelson42 cd623ce358 Fix crash with ZIM files without FT indexes
9 years ago
kelson42 2458c22e09 Fix kiwix-mange problem with relative paths
10 years ago
Kelson 96f0fff54d Implement ZIM reader getTags() and getName()
10 years ago
Matthieu Gautier 44255453db Be able to run kiwix-serve with several zim as arguments.
10 years ago
Matthieu Gautier 2fc94514f8 Add support of embedded ft-index in zim for kiwix-serve and kiwix-search.
10 years ago
Elad Keyshawn 5e496b9b40 implemented snackbar - UNDO on closing tab
10 years ago
kelson42 1562e78390 Merge branch 'master' of ssh://git.code.sf.net/p/kiwix/kiwix
10 years ago
kelson42 b7f6ddd3f5 Add a few comments
10 years ago
Florian Schüller 912fb35fae Linux implementation to select interface to bind to
10 years ago
Emmanuel Engelhart 022b8b3445 Fix typo in HTTP 404 error message
10 years ago
Emmanuel Engelhart 09cd024199 Add VAR HTTP-HEADER if necessary
10 years ago
Wilfredo Rodriguez 2490f3c916 small fix redundant
11 years ago
Kelson42 ecb821a834 More aggresive caching
11 years ago
kelson42 0bbe48d13a URLEncode random urls
11 years ago
Emmanuel Engelhart 08b6bc02ae Repush icons (they were destroyed by last commit)
11 years ago
wilfredor 7a0a70c7f6 Adding more ISO languages and fixing identation
11 years ago
Kelson42 7d30941068 FIXED: kiwix-serve XSS attack vulnerability (#763)
11 years ago
Kelson42 374b4235e6 + add indexPath
11 years ago
Kelson42 44d9b2f70c + Allow cross-domain requests
11 years ago
Kelson42 c3d9b5666e + more robus mimetype retrieving
12 years ago
kelson42 51ae9ed8bf + Fix "load" button width in kiwix-serve library page
12 years ago
kelson42 7329997959 Don't append "containing ..." to the suggestions if no search index available
12 years ago
kelson42 b38c4306d1 Don't propose a fulltext search if no fulltext index available
12 years ago
kelson42 e629f59f6e Small beautifications of the code
12 years ago
kelson42 63ec186e37 Few simplification/beautification of the code
12 years ago
kelson42 11a5594816 + mimetype detection fix
12 years ago
kelson42 12a29cb343 Small fix in mimetype detection
12 years ago
kelson42 3c8a8211be Speedup mimetype detection in kiwix-serve
12 years ago
kelson42 69cde1cdee Small simplification of the code
12 years ago
kelson42 965968e38f + small simplification of the code
12 years ago