[PR #392] Added AllowFrom and Created to userTable #398

Open
opened 2026-03-13 16:21:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/acme-dns/acme-dns/pull/392
Author: @madsfreek
Created: 9/1/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (6)

  • 66280a2 Added Created to record - tracks when a record is created so it can be deleted if not used at some later time
  • 668d6c5 Added an option to only allow registration from an ip address that belongs to one of a list of configured cidrs - allow_registration_from
  • b8ba4b1 Fixed stupid reverse logic
  • 7353a54 Fixed std. config
  • 4b980bc Added db migration from 1 to 2. Existing records are not updated - they will have NULL value for Created that signals that they from before the migration.
  • cee1a71 Fixed db parameter list

📊 Changes

5 files changed (+81 additions, -20 deletions)

View changed files

📝 api.go (+27 -0)
📝 config.cfg (+6 -1)
📝 db.go (+25 -5)
📝 main.go (+8 -0)
📝 types.go (+15 -14)

📄 Description

Added AllowFrom and Created to userTable to be able to:

  1. Limit where you can register from
  2. Enable cleanup of unused registrations

🔄 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/acme-dns/acme-dns/pull/392 **Author:** [@madsfreek](https://github.com/madsfreek) **Created:** 9/1/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`66280a2`](https://github.com/acme-dns/acme-dns/commit/66280a282b5e28f1c1699382b3f412f3a47370f1) Added Created to record - tracks when a record is created so it can be deleted if not used at some later time - [`668d6c5`](https://github.com/acme-dns/acme-dns/commit/668d6c5e672d5269503e91cb77259c0e067ba94b) Added an option to only allow registration from an ip address that belongs to one of a list of configured cidrs - allow_registration_from - [`b8ba4b1`](https://github.com/acme-dns/acme-dns/commit/b8ba4b129caa7887543ab3ef270f020e7ee51fec) Fixed stupid reverse logic - [`7353a54`](https://github.com/acme-dns/acme-dns/commit/7353a548bb9a649526c30506035799c1de01924e) Fixed std. config - [`4b980bc`](https://github.com/acme-dns/acme-dns/commit/4b980bcd6047aeaed7061f67a470cf97290bae35) Added db migration from 1 to 2. Existing records are not updated - they will have NULL value for Created that signals that they from before the migration. - [`cee1a71`](https://github.com/acme-dns/acme-dns/commit/cee1a717f8a999c2a5fc16f13a070978be0c0b3b) Fixed db parameter list ### 📊 Changes **5 files changed** (+81 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+27 -0) 📝 `config.cfg` (+6 -1) 📝 `db.go` (+25 -5) 📝 `main.go` (+8 -0) 📝 `types.go` (+15 -14) </details> ### 📄 Description Added AllowFrom and Created to userTable to be able to: 1. Limit where you can register from 2. Enable cleanup of unused registrations --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/acme-dns#398
No description provided.