-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
website/public: implement fix for the request url leaking
After requesting the url used for requesting '/v1/request' was leaking into the newly rendered search page because it uses the request URL as is. We patch it to instead get rewritten to be a '/search' url in input creation website/public: implement test for csrfLegacyFix The TestCSRFLegacyFix test should be doing about the same logic as the functions used in the android app codebases. mocks: generate extra mock types
- Loading branch information
Showing
4 changed files
with
400 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package radio | ||
|
||
//go:generate go generate ./rpc/generate.go | ||
//go:generate moq -out mocks/radio.gen.go -pkg mocks . StorageService StorageTx TrackStorage SubmissionStorage UserStorage ManagerService | ||
//go:generate moq -out mocks/radio.gen.go -pkg mocks . StorageService StorageTx TrackStorage SubmissionStorage UserStorage ManagerService SearchService RequestStorage | ||
//go:generate moq -out mocks/templates.gen.go -pkg mocks ./templates/ Executor TemplateSelectable | ||
//go:generate moq -out mocks/util.gen.go -pkg mocks ./mocks/ FS File FileInfo |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.