-
-
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
Opds categories feed #492
Opds categories feed #492
Commits on Jun 8, 2021
-
Broke Server.404 with /catalogBLABLABLA/root.xml
The new negative test-point demonstrates that Kiwix server doesn't distinguish /catalogBLABLABLA from /catalog.
Configuration menu - View commit details
-
Copy full SHA for 0a3d293 - Browse repository at this point
Copy the full SHA 0a3d293View commit details -
Fixed handling of /catalogBLABLA/root.xml & alike
Also removed an unneeded namespace qualifier.
Configuration menu - View commit details
-
Copy full SHA for 5b272ac - Browse repository at this point
Copy the full SHA 5b272acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0ff1f - Browse repository at this point
Copy the full SHA 1e0ff1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b78ea - Browse repository at this point
Copy the full SHA 54b78eaView commit details -
Note: This commit somewhat relaxes validation of non variable `<updated>` elements in the OPDS feed - the contents of any `<updated>` element is replaced with the YYYY-MM-DDThh:mm:ssZ placeholder.
Configuration menu - View commit details
-
Copy full SHA for 3c3cf08 - Browse repository at this point
Copy the full SHA 3c3cf08View commit details -
Configuration menu - View commit details
-
Copy full SHA for b259afa - Browse repository at this point
Copy the full SHA b259afaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e53b51 - Browse repository at this point
Copy the full SHA 2e53b51View commit details -
Under Ubuntu 16.04/xenial, ccache seems to have issues with multiline raw string literals used inside macros.
Configuration menu - View commit details
-
Copy full SHA for a1520ce - Browse repository at this point
Copy the full SHA a1520ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for feeb9f2 - Browse repository at this point
Copy the full SHA feeb9f2View commit details -
Enter InternalServer::m_library_id
The new field is intended to serve as a seed for generating semi-stable OPDS feed ids that only need to change when the library is updated.
Configuration menu - View commit details
-
Copy full SHA for 92c2de8 - Browse repository at this point
Copy the full SHA 92c2de8View commit details -
/catalog/v2/entries is intended to play the combined role of /catalog/root.xml and /catalog/search of the old OPDS API. Currently, the latter role is not yet implemented. Implementation note: instead of tweaking and reusing `OPDSDumper::dumpOPDSFeed()`, the generation of the OPDS feed is done via `mustache` and a new template `static/catalog_v2_entries.xml`.
Configuration menu - View commit details
-
Copy full SHA for 19b59fd - Browse repository at this point
Copy the full SHA 19b59fdView commit details -
Reordered several statements so that the next couple of commits are a little simpler.
Configuration menu - View commit details
-
Copy full SHA for 208dece - Browse repository at this point
Copy the full SHA 208deceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aa3c79 - Browse repository at this point
Copy the full SHA 4aa3c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d42ae - Browse repository at this point
Copy the full SHA 70d42aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b60e3ff - Browse repository at this point
Copy the full SHA b60e3ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07252a1 - Browse repository at this point
Copy the full SHA 07252a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfad1c3 - Browse repository at this point
Copy the full SHA dfad1c3View commit details -
/catalog/v2/entries going through OPDSDumper
OPDSDumper sensed threats to its job security, so it lobbied to be involved in handling the /catalog/v2 endpoints, too.
Configuration menu - View commit details
-
Copy full SHA for cdacc0c - Browse repository at this point
Copy the full SHA cdacc0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ca6bd0 - Browse repository at this point
Copy the full SHA 9ca6bd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f886c8c - Browse repository at this point
Copy the full SHA f886c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f179799 - Browse repository at this point
Copy the full SHA f179799View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa42cbc - Browse repository at this point
Copy the full SHA fa42cbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312f2cb - Browse repository at this point
Copy the full SHA 312f2cbView commit details -
OPDSDumper::dumpOPDSFeed() works via mustache
This changes the output of `/catalog/search` as follows: - Entire search query (rather than only the value of the `q` parameter) is put in the <title> node. - Search performed with an empty query presents itself as "All zims". - The feed id remains stable for identical searches on the same library.
Configuration menu - View commit details
-
Copy full SHA for e799f2f - Browse repository at this point
Copy the full SHA e799f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd60235 - Browse repository at this point
Copy the full SHA dd60235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78083f1 - Browse repository at this point
Copy the full SHA 78083f1View commit details