[PR #55] [CLOSED] add maximum expiration logic #133

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

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/55
Author: @bt-nia
Created: 6/3/2024
Status: Closed

Base: masterHead: master


📝 Commits (5)

  • 602b518 add maximum expiration logic
  • 0cae4c9 Merge branch 'master' into master
  • be7f2a0 Merge branch 'master' into master
  • 8eac733 reorder and fix ifs
  • b3518d8 return Option instead

📊 Changes

3 files changed (+36 additions, -2 deletions)

View changed files

📝 src/env.rs (+16 -0)
📝 src/pages.rs (+4 -1)
📝 templates/index.html (+16 -1)

📄 Description

Disclaimer: I never programmed RUST and this is mostly LLM generated code

This aims to implement https://github.com/matze/wastebin/issues/54

cc: @matze @denissteinhorst for visibility


🔄 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/55 **Author:** [@bt-nia](https://github.com/bt-nia) **Created:** 6/3/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`602b518`](https://github.com/matze/wastebin/commit/602b518f49379a8c2cb052f16289062af7f35df4) add maximum expiration logic - [`0cae4c9`](https://github.com/matze/wastebin/commit/0cae4c92aef58fd9f5349b0ee690b4fbf01c4337) Merge branch 'master' into master - [`be7f2a0`](https://github.com/matze/wastebin/commit/be7f2a06bee99fe1b26710f1f6a9ad1192f7c1ac) Merge branch 'master' into master - [`8eac733`](https://github.com/matze/wastebin/commit/8eac733ec617c4139cf0e9ffd08a1212d2775b02) reorder and fix ifs - [`b3518d8`](https://github.com/matze/wastebin/commit/b3518d8eb7d426f40e17ef8941c053a599316032) return Option<i64> instead ### 📊 Changes **3 files changed** (+36 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/env.rs` (+16 -0) 📝 `src/pages.rs` (+4 -1) 📝 `templates/index.html` (+16 -1) </details> ### 📄 Description Disclaimer: I never programmed RUST and this is mostly LLM generated code This aims to implement https://github.com/matze/wastebin/issues/54 cc: @matze @denissteinhorst for visibility --- <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:53 +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#133
No description provided.