mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 00:25:59 +03:00
[PR #145] Add max expiration option #178
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#178
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/145
Author: @cgzones
Created: 4/1/2025
Status: 🔄 Open
Base:
master← Head:max_expire📝 Commits (1)
c2b4ca7Add max expires📊 Changes
10 files changed (+158 additions, -25 deletions)
View changed files
📝
README.md(+1 -0)📝
crates/wastebin_core/src/env.rs(+2 -0)📝
crates/wastebin_server/src/env.rs(+12 -2)📝
crates/wastebin_server/src/errors.rs(+3 -1)📝
crates/wastebin_server/src/handlers/insert/api.rs(+85 -13)📝
crates/wastebin_server/src/handlers/insert/form.rs(+7 -5)📝
crates/wastebin_server/src/handlers/insert/mod.rs(+18 -0)📝
crates/wastebin_server/src/main.rs(+10 -2)📝
crates/wastebin_server/src/page.rs(+11 -1)📝
crates/wastebin_server/src/test_helpers.rs(+9 -1)📄 Description
Add an option to limit the maximum expiration time, especially for API requests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.