[PR #2] [MERGED] Download button #122

Closed
opened 2026-02-27 10:15:51 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: download-button


📝 Commits (7)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/matze/wastebin/pull/2 **Author:** [@yannickfunk](https://github.com/yannickfunk) **Created:** 6/20/2022 **Status:** ✅ Merged **Merged:** 6/23/2022 **Merged by:** [@matze](https://github.com/matze) **Base:** `master` ← **Head:** `download-button` --- ### 📝 Commits (7) - [`58fe592`](https://github.com/matze/wastebin/commit/58fe592d4c6849d29cd446903ec7c1ba4a74471c) Add download button - [`4e2b143`](https://github.com/matze/wastebin/commit/4e2b143e54af3138be0c839907ade805fed78d3f) Revert whitespace removal - [`0fdb4dc`](https://github.com/matze/wastebin/commit/0fdb4dc74e63f77198613b31e40fb666e52fc3cf) Merge branch 'master' of https://github.com/yannickfunk/wastebin into download-button - [`18a2958`](https://github.com/matze/wastebin/commit/18a295846abf70346dc7556ee55d4e3e55a7a46f) Revert db changes and use extension from Key passed to Paste template - [`abae852`](https://github.com/matze/wastebin/commit/abae852771db7f55b5b65a6ba5e3d6b27db92c2f) Fix rambled file - [`18d6528`](https://github.com/matze/wastebin/commit/18d6528f3be7f705229d48c6420a1b472ffef8a5) Revert db changes - [`522043b`](https://github.com/matze/wastebin/commit/522043b3f6621eb764684bd86cf69ee37ff2d763) Validate id and file extension, add Static constraint ### 📊 Changes **5 files changed** (+43 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description This PR persists the file extension into the database and adds a download button for direct file download --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:15:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wastebin-matze#122
No description provided.