-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop wrappers from Internal Server #536
Commits on Jul 3, 2021
-
Add m_archives and getArchiveById to Library
These members will mirror the functionality offered by equivalent usage of Reader class.
Configuration menu - View commit details
-
Copy full SHA for 940368b - Browse repository at this point
Copy the full SHA 940368bView commit details -
Drop usage of Reader from InternalServer::handle_meta
This is essentially a code move of meta handlers from using Reader functions to directly using Archive.
Configuration menu - View commit details
-
Copy full SHA for 7d68926 - Browse repository at this point
Copy the full SHA 7d68926View commit details -
Configuration menu - View commit details
-
Copy full SHA for a236751 - Browse repository at this point
Copy the full SHA a236751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b4d31 - Browse repository at this point
Copy the full SHA 75b4d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for c046f64 - Browse repository at this point
Copy the full SHA c046f64View commit details -
Add SearchRenderer handles for libzim structures
Introduces a new member mp_search that houses the zim::Search object, adds a new constructor for this purpose. This commit also add an overload for getHtml that takes start and end integers as arguments since they are not part of the search object we include.
Configuration menu - View commit details
-
Copy full SHA for bcece66 - Browse repository at this point
Copy the full SHA bcece66View commit details -
Drop wrapper structures from handle_search
Since we now have SearcherRenderer that can work with native libzim structure, we will drop the wrapper and use them instead.
Configuration menu - View commit details
-
Copy full SHA for bc82163 - Browse repository at this point
Copy the full SHA bc82163View commit details -
Remove unwanted reader functions
Removing the functions in InternalServer that are no longer needed.
Configuration menu - View commit details
-
Copy full SHA for a94a03c - Browse repository at this point
Copy the full SHA a94a03cView commit details -
Add unit tests for Searcher and Reader
Even though we will be removing the wrappers soon, the test coverage should be complete and we could simply remove these files later.
Configuration menu - View commit details
-
Copy full SHA for 6f63914 - Browse repository at this point
Copy the full SHA 6f63914View commit details