-
Notifications
You must be signed in to change notification settings - Fork 110
Add support for full remote publications #337
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
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
31662cb
First working version
qnga 8bd8fad
Fix LCP and remote manifests
qnga c2ed3bf
Clean up
qnga 38688f1
Various changes
qnga cd3dec4
Consider status in LSD when the license cannot be updated
qnga 7d12036
Ignore local file headers in remote zips
qnga 3a1e08f
Refactor publication assets
qnga afa71d0
Fix ImageParserTest
qnga a88be55
Merge remote-tracking branch 'origin/v3' into feature/remote-zip
qnga 2047411
Lint
qnga d328717
Lint
qnga b0f0900
Update LCPL URL before opening a publication
qnga 92e53fe
Various fixes
qnga f57969a
Documentation
qnga 60936d7
Update licenses
qnga 37c141a
Testapp clean up
qnga 6b97d83
Merge branch 'v3' into feature/remote-zip
mickael-menu 3a41e2c
Fix build
qnga 418c7d3
Merge branch 'feature/remote-zip' of github.com:readium/kotlin-toolki…
qnga 6dea03a
Small fixes
qnga 4ffe157
Various changes
qnga 74bfcc9
Add custom Url type
qnga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
readium/lcp/src/main/java/org/readium/r2/lcp/auth/LcpDumbAuthentication.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright 2023 Readium Foundation. All rights reserved. | ||
* Use of this source code is governed by the BSD-style license | ||
* available in the top-level LICENSE file of the project. | ||
*/ | ||
|
||
package org.readium.r2.lcp.auth | ||
|
||
import org.readium.r2.lcp.LcpAuthenticating | ||
|
||
internal class LcpDumbAuthentication : LcpAuthenticating { | ||
|
||
override suspend fun retrievePassphrase( | ||
license: LcpAuthenticating.AuthenticatedLicense, | ||
reason: LcpAuthenticating.AuthenticationReason, | ||
allowUserInteraction: Boolean, | ||
sender: Any? | ||
): String? = null | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.