Skip to content

Prepare v3 #365

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

Merged
merged 56 commits into from
Jul 21, 2023
Merged

Prepare v3 #365

merged 56 commits into from
Jul 21, 2023

Conversation

qnga
Copy link
Member

@qnga qnga commented Jul 14, 2023

  • Prefix all resources with readium_
  • Remove Ref from the Publication.Context
  • Remove ReadingProgression.TTB/BTT/AUTO.
  • Remove the Parcelable conformance on Manifest, and deprecate the PublicationRepository.
  • Remove all the Activity navigators.
  • Remove older settings API.
  • Remove the HTTP server.
  • Remove highlight.js

@qnga qnga requested a review from mickael-menu July 14, 2023 11:09
@qnga qnga changed the base branch from v3 to refactor-streamer July 14, 2023 11:23
@@ -178,8 +161,7 @@ internal class EpubNavigatorViewModel(
// Serving resources

val baseUrl: String =
baseUrl?.let { it.removeSuffix("/") + "/" }
?: publication.linkWithRel("self")?.href
publication.linkWithRel("self")?.href
?: WebViewServer.publicationBaseHref

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this. Why should we deal with two different cases?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We currently support two cases:

  • A remote web publication, which will have a self link in its manifest pointing to itself on the HTTP server. In this case, we won't use the WebViewServer.
  • A local publication, e.g. parsed from an EPUB, which won't have any self link. In this case the publication is served through the WebViewServer.

Base automatically changed from refactor-streamer to v3 July 17, 2023 12:45
Copy link
Member

@mickael-menu mickael-menu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'm going to merge it and open a new PR for additional fixes.

@mickael-menu mickael-menu merged commit f911a2c into v3 Jul 21, 2023
@mickael-menu mickael-menu deleted the prepare-v3 branch July 21, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants