New API app to handle upload with a bearer token#576
Closed
charsbar wants to merge 26 commits intoandk:masterfrom
Closed
New API app to handle upload with a bearer token#576charsbar wants to merge 26 commits intoandk:masterfrom
charsbar wants to merge 26 commits intoandk:masterfrom
Conversation
Contributor
|
Why add |
Collaborator
Author
|
Replaced PRNG with URandom |
Collaborator
Author
Owner
|
Thanks, applied and deployed |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds a new API application to the current PAUSE, as well as two new endpoints to the current web UI for generating and revoking tokens. It lacks proper documentation. A large portion of the code is taken from the files under
lib/pause_2017, so there's a huge room to refactor.If you have a working local PAUSE environment, you can 1) modify the authen_pause schema using one-off util, 2) launch app_2026.psgi (instead of app_2017.psgi), and then you can post a new distribution like this: