Browse Source
Add option to force random filenames (fixes #86)
Add option to force random filenames (fixes #86)
* Hide the "randomize filename" checkbox on the index and the "filename" text box on the paste page * Update API documentation to show random filenames in examples * Don't force a random filename when overwriting with a valid delete key * If a filename already exists and a random filename is being used, keep generating new random filenames until one doesn't exist instead of using a counterpull/159/head
8 changed files with 120 additions and 17 deletions
-
1README.md
-
11pages.go
-
3server.go
-
75server_test.go
-
14templates/API.html
-
2templates/index.html
-
2templates/paste.html
-
29upload.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue