mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[PR #2] [MERGED] Download button #122
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/matze/wastebin/pull/2
Author: @yannickfunk
Created: 6/20/2022
Status: ✅ Merged
Merged: 6/23/2022
Merged by: @matze
Base:
master← Head:download-button📝 Commits (7)
58fe592Add download button4e2b143Revert whitespace removal0fdb4dcMerge branch 'master' of https://github.com/yannickfunk/wastebin into download-button18a2958Revert db changes and use extension from Key passed to Paste templateabae852Fix rambled file18d6528Revert db changes522043bValidate id and file extension, add Static constraint📊 Changes
5 files changed (+43 additions, -3 deletions)
View changed files
📝
src/cache.rs(+4 -0)📝
src/main.rs(+4 -1)📝
src/rest.rs(+29 -1)📝
src/web.rs(+3 -0)📝
templates/paste.html(+3 -1)📄 Description
This PR persists the file extension into the database and adds a download button for direct file download
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.